linux/adm5120: add preliminary 2.6.37 kernel support
[openwrt.git] / target / linux / adm5120 / patches-2.6.37 / 001-adm5120.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -29,6 +29,21 @@ choice
4         prompt "System type"
5         default SGI_IP22
6  
7 +config ADM5120
8 +       bool "Infineon/ADMtek ADM5120 SoC based machines"
9 +       select CEVT_R4K
10 +       select CSRC_R4K
11 +       select SYS_HAS_CPU_MIPS32_R1
12 +       select SYS_HAS_EARLY_PRINTK
13 +       select DMA_NONCOHERENT
14 +       select IRQ_CPU
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
20 +       select MIPS_MACHINE
21 +
22  config MIPS_ALCHEMY
23         bool "Alchemy processor based machines"
24         select 64BIT_PHYS_ADDR
25 @@ -714,6 +729,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
26  
27  endchoice
28  
29 +source "arch/mips/adm5120/Kconfig"
30  source "arch/mips/alchemy/Kconfig"
31  source "arch/mips/bcm63xx/Kconfig"
32  source "arch/mips/jazz/Kconfig"