| 1 | --- a/arch/mips/Kconfig |
| 2 | +++ b/arch/mips/Kconfig |
| 3 | @@ -39,6 +39,23 @@ choice |
| 4 | prompt "System type" |
| 5 | default SGI_IP22 |
| 6 | |
| 7 | +config ADM5120 |
| 8 | + bool "Infineon/ADMtek ADM5120 SoC based machines" |
| 9 | + select BOOT_RAW |
| 10 | + select NO_EXCEPT_FILL |
| 11 | + select CEVT_R4K |
| 12 | + select CSRC_R4K |
| 13 | + select SYS_HAS_CPU_MIPS32_R1 |
| 14 | + select SYS_HAS_EARLY_PRINTK |
| 15 | + select DMA_NONCOHERENT |
| 16 | + select IRQ_CPU |
| 17 | + select SYS_SUPPORTS_LITTLE_ENDIAN |
| 18 | + select SYS_SUPPORTS_BIG_ENDIAN |
| 19 | + select SYS_SUPPORTS_32BIT_KERNEL |
| 20 | + select ARCH_REQUIRE_GPIOLIB |
| 21 | + select SWAP_IO_SPACE if CPU_BIG_ENDIAN |
| 22 | + select MIPS_MACHINE |
| 23 | + |
| 24 | config MIPS_ALCHEMY |
| 25 | bool "Alchemy processor based machines" |
| 26 | select 64BIT_PHYS_ADDR |
| 27 | @@ -813,6 +830,7 @@ config NLM_XLP_BOARD |
| 28 | |
| 29 | endchoice |
| 30 | |
| 31 | +source "arch/mips/adm5120/Kconfig" |
| 32 | source "arch/mips/alchemy/Kconfig" |
| 33 | source "arch/mips/ath79/Kconfig" |
| 34 | source "arch/mips/bcm47xx/Kconfig" |
| 35 | --- a/arch/mips/Kbuild.platforms |
| 36 | +++ b/arch/mips/Kbuild.platforms |
| 37 | @@ -1,5 +1,6 @@ |
| 38 | # All platforms listed in alphabetic order |
| 39 | |
| 40 | +platforms += adm5120 |
| 41 | platforms += alchemy |
| 42 | platforms += ar7 |
| 43 | platforms += ath79 |
| 44 | |