aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.9/0105-MIPS-ralink-add-RT5350-sdram-register-defines.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-22 13:52:32 +0000
committerJohn Crispin <john@openwrt.org>2013-07-22 13:52:32 +0000
commit5525b2136e90fcfc8823b519fa4aa2499f0120ba (patch)
treee614278bc48faf84a9ff7de35d9de77b7e630fb6 /target/linux/ramips/patches-3.9/0105-MIPS-ralink-add-RT5350-sdram-register-defines.patch
parentec6954e64e7cd7e503b62ab73381cfa0adce24fc (diff)
downloadupstream-5525b2136e90fcfc8823b519fa4aa2499f0120ba.tar.gz
upstream-5525b2136e90fcfc8823b519fa4aa2499f0120ba.tar.bz2
upstream-5525b2136e90fcfc8823b519fa4aa2499f0120ba.zip
ralink: set v3.10 as default
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37497
Diffstat (limited to 'target/linux/ramips/patches-3.9/0105-MIPS-ralink-add-RT5350-sdram-register-defines.patch')
-rw-r--r--target/linux/ramips/patches-3.9/0105-MIPS-ralink-add-RT5350-sdram-register-defines.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/ramips/patches-3.9/0105-MIPS-ralink-add-RT5350-sdram-register-defines.patch b/target/linux/ramips/patches-3.9/0105-MIPS-ralink-add-RT5350-sdram-register-defines.patch
deleted file mode 100644
index 2caf089d8d..0000000000
--- a/target/linux/ramips/patches-3.9/0105-MIPS-ralink-add-RT5350-sdram-register-defines.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 4c77c43dbef08096dd3798d4e421495b2c048285 Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Mon, 25 Mar 2013 11:19:58 +0100
-Subject: [PATCH 105/164] MIPS: ralink: add RT5350 sdram register defines
-
-Add a few missing defines that are needed to make memory detection work on the
-RT5350.
-
-Signed-off-by: John Crispin <blogic@openwrt.org>
-Acked-by: Gabor Juhos <juhosg@openwrt.org>
-Patchwork: http://patchwork.linux-mips.org/patch/5169/
----
- arch/mips/include/asm/mach-ralink/rt305x.h | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
---- a/arch/mips/include/asm/mach-ralink/rt305x.h
-+++ b/arch/mips/include/asm/mach-ralink/rt305x.h
-@@ -97,6 +97,14 @@ static inline int soc_is_rt5350(void)
- #define RT5350_SYSCFG0_CPUCLK_320 0x2
- #define RT5350_SYSCFG0_CPUCLK_300 0x3
-
-+#define RT5350_SYSCFG0_DRAM_SIZE_SHIFT 12
-+#define RT5350_SYSCFG0_DRAM_SIZE_MASK 7
-+#define RT5350_SYSCFG0_DRAM_SIZE_2M 0
-+#define RT5350_SYSCFG0_DRAM_SIZE_8M 1
-+#define RT5350_SYSCFG0_DRAM_SIZE_16M 2
-+#define RT5350_SYSCFG0_DRAM_SIZE_32M 3
-+#define RT5350_SYSCFG0_DRAM_SIZE_64M 4
-+
- /* multi function gpio pins */
- #define RT305X_GPIO_I2C_SD 1
- #define RT305X_GPIO_I2C_SCLK 2