aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/patches-3.8/001-adm5120.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-24 18:08:14 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-24 18:08:14 +0000
commit21acabb63d8aae6eb3b4a136aa1e77863380dae7 (patch)
treeb0d56e010b84bfa27a6fc043d2ddc4c0c29b0b5e /target/linux/adm5120/patches-3.8/001-adm5120.patch
parentfc6e5812f4c3731110908e4fa13c978f3efff49b (diff)
downloadupstream-21acabb63d8aae6eb3b4a136aa1e77863380dae7.tar.gz
upstream-21acabb63d8aae6eb3b4a136aa1e77863380dae7.tar.bz2
upstream-21acabb63d8aae6eb3b4a136aa1e77863380dae7.zip
adm5120: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35769 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/patches-3.8/001-adm5120.patch')
-rw-r--r--target/linux/adm5120/patches-3.8/001-adm5120.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/target/linux/adm5120/patches-3.8/001-adm5120.patch b/target/linux/adm5120/patches-3.8/001-adm5120.patch
new file mode 100644
index 0000000000..28349ebed3
--- /dev/null
+++ b/target/linux/adm5120/patches-3.8/001-adm5120.patch
@@ -0,0 +1,44 @@
+--- a/arch/mips/Kconfig
++++ b/arch/mips/Kconfig
+@@ -51,6 +51,24 @@ choice
+ prompt "System type"
+ default SGI_IP22
+
++config ADM5120
++ bool "Infineon/ADMtek ADM5120 SoC based machines"
++ select BOOT_RAW
++ select NO_EXCEPT_FILL
++ 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
++ select HAVE_CLK
++
+ config MIPS_ALCHEMY
+ bool "Alchemy processor based machines"
+ select 64BIT_PHYS_ADDR
+@@ -836,6 +854,7 @@ config NLM_XLP_BOARD
+
+ endchoice
+
++source "arch/mips/adm5120/Kconfig"
+ source "arch/mips/alchemy/Kconfig"
+ source "arch/mips/ath79/Kconfig"
+ source "arch/mips/bcm47xx/Kconfig"
+--- a/arch/mips/Kbuild.platforms
++++ b/arch/mips/Kbuild.platforms
+@@ -1,5 +1,6 @@
+ # All platforms listed in alphabetic order
+
++platforms += adm5120
+ platforms += alchemy
+ platforms += ar7
+ platforms += ath79