summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/patches-2.6.37/001-adm5120.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-12 17:06:16 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-12 17:06:16 +0000
commit8db1ac1beb8f851c08a105eaca5a768fab9efc10 (patch)
treec6e7a08bcd301d22e357fb8154f61981b257c31a /target/linux/adm5120/patches-2.6.37/001-adm5120.patch
parent52c60e6c8e8ecc1561737f4862e157509a9d5342 (diff)
linux/adm5120: add preliminary 2.6.37 kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23973 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/patches-2.6.37/001-adm5120.patch')
-rw-r--r--target/linux/adm5120/patches-2.6.37/001-adm5120.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/adm5120/patches-2.6.37/001-adm5120.patch b/target/linux/adm5120/patches-2.6.37/001-adm5120.patch
new file mode 100644
index 0000000000..ddcb126b12
--- /dev/null
+++ b/target/linux/adm5120/patches-2.6.37/001-adm5120.patch
@@ -0,0 +1,32 @@
+--- a/arch/mips/Kconfig
++++ b/arch/mips/Kconfig
+@@ -29,6 +29,21 @@ choice
+ prompt "System type"
+ default SGI_IP22
+
++config ADM5120
++ bool "Infineon/ADMtek ADM5120 SoC based machines"
++ select CEVT_R4K
++ select CSRC_R4K
++ select SYS_HAS_CPU_MIPS32_R1
++ select SYS_HAS_EARLY_PRINTK
++ select DMA_NONCOHERENT
++ select IRQ_CPU
++ select SYS_SUPPORTS_LITTLE_ENDIAN
++ select SYS_SUPPORTS_BIG_ENDIAN
++ select SYS_SUPPORTS_32BIT_KERNEL
++ select ARCH_REQUIRE_GPIOLIB
++ select SWAP_IO_SPACE if CPU_BIG_ENDIAN
++ select MIPS_MACHINE
++
+ config MIPS_ALCHEMY
+ bool "Alchemy processor based machines"
+ select 64BIT_PHYS_ADDR
+@@ -714,6 +729,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
+
+ endchoice
+
++source "arch/mips/adm5120/Kconfig"
+ source "arch/mips/alchemy/Kconfig"
+ source "arch/mips/bcm63xx/Kconfig"
+ source "arch/mips/jazz/Kconfig"