aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.8/0102-MIPS-ralink-add-RT5350-sdram-register-defines.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-04-25 19:02:42 +0000
committerJohn Crispin <john@openwrt.org>2013-04-25 19:02:42 +0000
commitdeb36359236e3d815aac8c2d062eca87d9cbd639 (patch)
treeea16c522c6d68a46b73e859a6e7c0a71591fdc75 /target/linux/ramips/patches-3.8/0102-MIPS-ralink-add-RT5350-sdram-register-defines.patch
parent831c7ea04faf74a1f30c3b03a11b3ac48bbfae48 (diff)
downloadupstream-deb36359236e3d815aac8c2d062eca87d9cbd639.tar.gz
upstream-deb36359236e3d815aac8c2d062eca87d9cbd639.tar.bz2
upstream-deb36359236e3d815aac8c2d062eca87d9cbd639.zip
ramips: sync kernel patches with the mips-next tree
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36431
Diffstat (limited to 'target/linux/ramips/patches-3.8/0102-MIPS-ralink-add-RT5350-sdram-register-defines.patch')
-rw-r--r--target/linux/ramips/patches-3.8/0102-MIPS-ralink-add-RT5350-sdram-register-defines.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/ramips/patches-3.8/0102-MIPS-ralink-add-RT5350-sdram-register-defines.patch b/target/linux/ramips/patches-3.8/0102-MIPS-ralink-add-RT5350-sdram-register-defines.patch
deleted file mode 100644
index c4bf63aae2..0000000000
--- a/target/linux/ramips/patches-3.8/0102-MIPS-ralink-add-RT5350-sdram-register-defines.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From ac2614707be7ddceb0f0b623d55d200f28695d5f Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Mon, 25 Mar 2013 11:19:58 +0100
-Subject: [PATCH 102/121] 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>
----
- 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