1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -79,6 +79,22 @@ config MIPS_COBALT
4 select SYS_SUPPORTS_LITTLE_ENDIAN
5 select GENERIC_HARDIRQS_NO__DO_IRQ
8 + bool "Infineon Twinpass, Danube, Amazon-SE"
9 + select DMA_NONCOHERENT
13 + select SYS_HAS_CPU_MIPS32_R1
14 + select SYS_HAS_CPU_MIPS32_R2
15 + select SYS_SUPPORTS_BIG_ENDIAN
16 + select SYS_SUPPORTS_32BIT_KERNEL
17 + select SYS_HAS_EARLY_PRINTK
20 + select SWAP_IO_SPACE
21 + select GENERIC_HARDIRQS_NO__DO_IRQ
23 config MACH_DECSTATION
26 @@ -607,6 +623,7 @@ source "arch/mips/sgi-ip27/Kconfig"
27 source "arch/mips/sibyte/Kconfig"
28 source "arch/mips/txx9/Kconfig"
29 source "arch/mips/vr41xx/Kconfig"
30 +source "arch/mips/ifxmips/Kconfig"
34 --- a/arch/mips/Makefile
35 +++ b/arch/mips/Makefile
36 @@ -285,6 +285,13 @@ cflags-$(CONFIG_MIPS_COBALT) += -I$(srct
37 load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000
42 +core-$(CONFIG_IFXMIPS) += arch/mips/ifxmips/
43 +cflags-$(CONFIG_IFXMIPS) += -I$(srctree)/arch/mips/include/asm/mach-ifxmips
44 +load-$(CONFIG_IFXMIPS) += 0xffffffff80002000
49 core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/
50 --- a/arch/mips/include/asm/bootinfo.h
51 +++ b/arch/mips/include/asm/bootinfo.h
53 #define MACH_MIKROTIK_RB532 0 /* Mikrotik RouterBoard 532 */
54 #define MACH_MIKROTIK_RB532A 1 /* Mikrotik RouterBoard 532A */
57 + * Valid machtype for group IFXMIPS
59 +#define MACH_GROUP_IFXMIPS 29
60 +#define MACH_INFINEON_IFXMIPS 0
62 #define CL_SIZE COMMAND_LINE_SIZE
64 extern char *system_type;
65 --- a/arch/mips/pci/Makefile
66 +++ b/arch/mips/pci/Makefile
67 @@ -52,3 +52,4 @@ obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc
68 obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
69 obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o
70 obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
71 +obj-$(CONFIG_IFXMIPS) += pci-ifxmips.o ops-ifxmips.o