1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -19,6 +19,21 @@ choice
8 + bool "Infineon/ADMtek ADM5120 SoC based machines"
11 + select SYS_HAS_CPU_MIPS32_R1
12 + select SYS_HAS_EARLY_PRINTK
13 + select DMA_NONCOHERENT
15 + select SYS_SUPPORTS_LITTLE_ENDIAN
16 + select SYS_SUPPORTS_BIG_ENDIAN
17 + select SYS_SUPPORTS_32BIT_KERNEL
18 + select ARCH_REQUIRE_GPIOLIB
19 + select SWAP_IO_SPACE if CPU_BIG_ENDIAN
23 bool "Alchemy processor based machines"
25 @@ -633,6 +648,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
29 +source "arch/mips/adm5120/Kconfig"
30 source "arch/mips/alchemy/Kconfig"
31 source "arch/mips/basler/excite/Kconfig"
32 source "arch/mips/jazz/Kconfig"
33 --- a/arch/mips/Makefile
34 +++ b/arch/mips/Makefile
35 @@ -181,6 +181,22 @@ cflags-$(CONFIG_MACH_JAZZ) += -I$(srctre
36 load-$(CONFIG_MACH_JAZZ) += 0xffffffff80080000
39 +# Infineon/ADMtek ADM5120
41 +libs-$(CONFIG_ADM5120) += arch/mips/adm5120/prom/
42 +core-$(CONFIG_ADM5120) += arch/mips/adm5120/common/
43 +core-$(CONFIG_ADM5120_OEM_CELLVISION) += arch/mips/adm5120/cellvision/
44 +core-$(CONFIG_ADM5120_OEM_COMPEX) += arch/mips/adm5120/compex/
45 +core-$(CONFIG_ADM5120_OEM_EDIMAX) += arch/mips/adm5120/edimax/
46 +core-$(CONFIG_ADM5120_OEM_INFINEON) += arch/mips/adm5120/infineon/
47 +core-$(CONFIG_ADM5120_OEM_MIKROTIK) += arch/mips/adm5120/mikrotik/
48 +core-$(CONFIG_ADM5120_OEM_MOTOROLA) += arch/mips/adm5120/motorola/
49 +core-$(CONFIG_ADM5120_OEM_OSBRIDGE) += arch/mips/adm5120/osbridge/
50 +core-$(CONFIG_ADM5120_OEM_ZYXEL) += arch/mips/adm5120/zyxel/
51 +cflags-$(CONFIG_ADM5120) += -I$(srctree)/arch/mips/include/asm/mach-adm5120
52 +load-$(CONFIG_ADM5120) += 0xffffffff80001000
55 # Common Alchemy Au1x00 stuff
57 core-$(CONFIG_SOC_AU1X00) += arch/mips/alchemy/common/