summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/patches-3.18/001-adm5120.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-02-28 23:39:14 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-02-28 23:39:14 +0000
commit780d6939b2ae13603734b815b8dd9772842f4c70 (patch)
tree89edc4c1ba07c54a882029bab8d3aa3e96f54683 /target/linux/adm5120/patches-3.18/001-adm5120.patch
parent0e7e585752b3a73d7cb0c368f3a850447e9f79a0 (diff)
downloadmtk-20170518-780d6939b2ae13603734b815b8dd9772842f4c70.zip
mtk-20170518-780d6939b2ae13603734b815b8dd9772842f4c70.tar.gz
mtk-20170518-780d6939b2ae13603734b815b8dd9772842f4c70.tar.bz2
adm5120: add 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44580
Diffstat (limited to 'target/linux/adm5120/patches-3.18/001-adm5120.patch')
-rw-r--r--target/linux/adm5120/patches-3.18/001-adm5120.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/target/linux/adm5120/patches-3.18/001-adm5120.patch b/target/linux/adm5120/patches-3.18/001-adm5120.patch
new file mode 100644
index 0000000..3e0e3ff
--- /dev/null
+++ b/target/linux/adm5120/patches-3.18/001-adm5120.patch
@@ -0,0 +1,44 @@
+--- a/arch/mips/Kconfig
++++ b/arch/mips/Kconfig
+@@ -60,6 +60,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
+@@ -834,6 +852,7 @@ config MIPS_PARAVIRT
+
+ 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