summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-3.8
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-06 18:23:56 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-06 18:23:56 +0000
commit63e3eca5522b4dbcaa0412b1dadc44fa7ccc3ce5 (patch)
tree6176c3bc8e305cd2e93faed60420cc6db0201e20 /target/linux/ramips/patches-3.8
parent1a901d68bda40b8d56e77a571daaf04b4264ea8b (diff)
ramips: fix memory detection rt5350
Signed-off-by: Felix Kaechele <felix@fetzig.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36568 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/patches-3.8')
-rw-r--r--target/linux/ramips/patches-3.8/0123-MIPS-ralink-add-memory-definition-for-RT305x.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-3.8/0123-MIPS-ralink-add-memory-definition-for-RT305x.patch b/target/linux/ramips/patches-3.8/0123-MIPS-ralink-add-memory-definition-for-RT305x.patch
index 877e442b62..bf6d7f388d 100644
--- a/target/linux/ramips/patches-3.8/0123-MIPS-ralink-add-memory-definition-for-RT305x.patch
+++ b/target/linux/ramips/patches-3.8/0123-MIPS-ralink-add-memory-definition-for-RT305x.patch
@@ -65,7 +65,7 @@ Patchwork: http://patchwork.linux-mips.org/patch/5180/
+ break;
+ }
+
-+ return ret;
++ return ret * 1024 * 1024;
+}
+
void __init ralink_clk_init(void)