2008-05-19 06:34:16 +00:00
|
|
|
Index: linux-2.6.21.7/arch/mips/Kconfig
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.21.7.orig/arch/mips/Kconfig
|
|
|
|
+++ linux-2.6.21.7/arch/mips/Kconfig
|
|
|
|
@@ -159,6 +159,17 @@ config BASLER_EXCITE_PROTOTYPE
|
2007-07-23 22:10:11 +00:00
|
|
|
note that a kernel built with this option selected will not be
|
|
|
|
able to run on normal units.
|
|
|
|
|
|
|
|
+config AMAZON
|
|
|
|
+ bool "Amazon support (EXPERIMENTAL)"
|
|
|
|
+ depends on EXPERIMENTAL
|
|
|
|
+ select DMA_NONCOHERENT
|
|
|
|
+ select IRQ_CPU
|
|
|
|
+ select SYS_HAS_CPU_MIPS32_R1
|
|
|
|
+ select HAVE_STD_PC_SERIAL_PORT
|
|
|
|
+ select SYS_SUPPORTS_BIG_ENDIAN
|
|
|
|
+ select SYS_SUPPORTS_32BIT_KERNEL
|
|
|
|
+ select SYS_HAS_EARLY_PRINTK
|
|
|
|
+
|
|
|
|
config MIPS_COBALT
|
|
|
|
bool "Cobalt Server"
|
|
|
|
select DMA_NONCOHERENT
|
2008-05-19 06:34:16 +00:00
|
|
|
@@ -823,6 +834,7 @@ config TOSHIBA_RBTX4938
|
2007-07-23 22:10:11 +00:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
+source "arch/mips/amazon/Kconfig"
|
|
|
|
source "arch/mips/ddb5xxx/Kconfig"
|
|
|
|
source "arch/mips/gt64120/ev64120/Kconfig"
|
|
|
|
source "arch/mips/jazz/Kconfig"
|
2008-05-19 06:34:16 +00:00
|
|
|
Index: linux-2.6.21.7/arch/mips/Makefile
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.21.7.orig/arch/mips/Makefile
|
|
|
|
+++ linux-2.6.21.7/arch/mips/Makefile
|
|
|
|
@@ -267,6 +267,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
|
2007-07-23 22:10:11 +00:00
|
|
|
load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
|
|
|
|
|
|
|
|
#
|
|
|
|
+# Infineon AMAZON
|
|
|
|
+#
|
|
|
|
+core-$(CONFIG_AMAZON) += arch/mips/amazon/
|
|
|
|
+cflags-$(CONFIG_AMAZON) += -Iinclude/asm-mips/mach-amazon
|
|
|
|
+load-$(CONFIG_AMAZON) += 0xffffffff80002000
|
|
|
|
+
|
|
|
|
+#
|
|
|
|
# Cobalt Server
|
|
|
|
#
|
|
|
|
core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
|
2008-05-19 06:34:16 +00:00
|
|
|
Index: linux-2.6.21.7/include/asm-mips/bootinfo.h
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.21.7.orig/include/asm-mips/bootinfo.h
|
|
|
|
+++ linux-2.6.21.7/include/asm-mips/bootinfo.h
|
|
|
|
@@ -213,6 +213,12 @@
|
2007-07-23 22:10:11 +00:00
|
|
|
#define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */
|
|
|
|
#define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */
|
|
|
|
|
|
|
|
+/*
|
2008-10-24 16:24:31 +00:00
|
|
|
+ * Valid machtype for group Infineon
|
2007-07-23 22:10:11 +00:00
|
|
|
+ */
|
|
|
|
+#define MACH_GROUP_INFINEON 27
|
|
|
|
+#define MACH_INFINEON_AMAZON 0
|
|
|
|
+
|
|
|
|
#define CL_SIZE COMMAND_LINE_SIZE
|
|
|
|
|
|
|
|
const char *get_system_type(void);
|