adm5120: add support for 3.7
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / patches-3.7 / 001-adm5120.patch
1 --- a/arch/mips/Kconfig
2 +++ b/arch/mips/Kconfig
3 @@ -50,6 +50,24 @@ 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 + select HAVE_CLK
24 +
25 config MIPS_ALCHEMY
26 bool "Alchemy processor based machines"
27 select 64BIT_PHYS_ADDR
28 @@ -855,6 +873,7 @@ config NLM_XLP_BOARD
29
30 endchoice
31
32 +source "arch/mips/adm5120/Kconfig"
33 source "arch/mips/alchemy/Kconfig"
34 source "arch/mips/ath79/Kconfig"
35 source "arch/mips/bcm47xx/Kconfig"
36 --- a/arch/mips/Kbuild.platforms
37 +++ b/arch/mips/Kbuild.platforms
38 @@ -1,5 +1,6 @@
39 # All platforms listed in alphabetic order
40
41 +platforms += adm5120
42 platforms += alchemy
43 platforms += ar7
44 platforms += ath79