1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -159,6 +159,17 @@ config BASLER_EXCITE_PROTOTYPE
4 note that a kernel built with this option selected will not be
5 able to run on normal units.
8 + bool "Amazon support (EXPERIMENTAL)"
9 + depends on EXPERIMENTAL
10 + select DMA_NONCOHERENT
12 + select SYS_HAS_CPU_MIPS32_R1
13 + select HAVE_STD_PC_SERIAL_PORT
14 + select SYS_SUPPORTS_BIG_ENDIAN
15 + select SYS_SUPPORTS_32BIT_KERNEL
16 + select SYS_HAS_EARLY_PRINTK
20 select DMA_NONCOHERENT
21 @@ -823,6 +834,7 @@ config TOSHIBA_RBTX4938
25 +source "arch/mips/amazon/Kconfig"
26 source "arch/mips/ddb5xxx/Kconfig"
27 source "arch/mips/gt64120/ev64120/Kconfig"
28 source "arch/mips/jazz/Kconfig"
29 --- a/arch/mips/Makefile
30 +++ b/arch/mips/Makefile
31 @@ -267,6 +267,13 @@ libs-$(CONFIG_MIPS_XXS1500) += arch/mips
32 load-$(CONFIG_MIPS_XXS1500) += 0xffffffff80100000
37 +core-$(CONFIG_AMAZON) += arch/mips/amazon/
38 +cflags-$(CONFIG_AMAZON) += -Iinclude/asm-mips/mach-amazon
39 +load-$(CONFIG_AMAZON) += 0xffffffff80002000
44 core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/
45 --- a/include/asm-mips/bootinfo.h
46 +++ b/include/asm-mips/bootinfo.h
48 #define MACH_GROUP_NEC_EMMA2RH 25 /* NEC EMMA2RH (was 23) */
49 #define MACH_NEC_MARKEINS 0 /* NEC EMMA2RH Mark-eins */
52 + * Valid machtype for group Infineon
54 +#define MACH_GROUP_INFINEON 27
55 +#define MACH_INFINEON_AMAZON 0
57 #define CL_SIZE COMMAND_LINE_SIZE
59 const char *get_system_type(void);