aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.2/100-mips-ralink-core.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-12 12:52:14 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-12 12:52:14 +0000
commita287c60a61bbad21af22523ca50281850dd1e2c1 (patch)
tree96d48290c14dd4976311bb801c031b68285a74f2 /target/linux/ramips/patches-3.2/100-mips-ralink-core.patch
parent388013b0ce70c0cc7a40d031a8f94188f1214ad0 (diff)
downloadupstream-a287c60a61bbad21af22523ca50281850dd1e2c1.tar.gz
upstream-a287c60a61bbad21af22523ca50281850dd1e2c1.tar.bz2
upstream-a287c60a61bbad21af22523ca50281850dd1e2c1.zip
ramips: add initial support for 3.2
SVN-Revision: 30476
Diffstat (limited to 'target/linux/ramips/patches-3.2/100-mips-ralink-core.patch')
-rw-r--r--target/linux/ramips/patches-3.2/100-mips-ralink-core.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.2/100-mips-ralink-core.patch b/target/linux/ramips/patches-3.2/100-mips-ralink-core.patch
new file mode 100644
index 0000000000..5e120efbd5
--- /dev/null
+++ b/target/linux/ramips/patches-3.2/100-mips-ralink-core.patch
@@ -0,0 +1,39 @@
+--- a/arch/mips/Kconfig
++++ b/arch/mips/Kconfig
+@@ -87,6 +87,9 @@ config ATH79
+ help
+ Support for the Atheros AR71XX/AR724X/AR913X SoCs.
+
++config MIPS_RALINK
++ bool "Ralink MIPS SoC based boards"
++
+ config BCM47XX
+ bool "Broadcom BCM47XX based boards"
+ select CEVT_R4K
+@@ -794,6 +797,7 @@ source "arch/mips/jz4740/Kconfig"
+ source "arch/mips/lantiq/Kconfig"
+ source "arch/mips/lasat/Kconfig"
+ source "arch/mips/pmc-sierra/Kconfig"
++source "arch/mips/ralink/Kconfig"
+ source "arch/mips/powertv/Kconfig"
+ source "arch/mips/sgi-ip27/Kconfig"
+ source "arch/mips/sibyte/Kconfig"
+@@ -1143,7 +1147,7 @@ config BOOT_ELF32
+
+ config MIPS_L1_CACHE_SHIFT
+ int
+- default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
++ default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL || RALINK_RT288X
+ default "6" if MIPS_CPU_SCACHE
+ default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
+ default "5"
+--- a/arch/mips/Kbuild.platforms
++++ b/arch/mips/Kbuild.platforms
+@@ -21,6 +21,7 @@ platforms += pmc-sierra
+ platforms += pnx833x
+ platforms += pnx8550
+ platforms += powertv
++platforms += ralink
+ platforms += rb532
+ platforms += sgi-ip22
+ platforms += sgi-ip27