aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-05-06 18:23:56 +0000
committerJohn Crispin <john@openwrt.org>2013-05-06 18:23:56 +0000
commitbd6e12d90470d55fdf18b42e02798488dd6d189f (patch)
treedf4fa024f88debccd80e2e49cd7da3997468c0a3 /target/linux/ramips
parent899120ddefba7b8485851df2d11b43b46e48677b (diff)
downloadupstream-bd6e12d90470d55fdf18b42e02798488dd6d189f.tar.gz
upstream-bd6e12d90470d55fdf18b42e02798488dd6d189f.tar.bz2
upstream-bd6e12d90470d55fdf18b42e02798488dd6d189f.zip
ramips: fix memory detection rt5350
Signed-off-by: Felix Kaechele <felix@fetzig.org> SVN-Revision: 36568
Diffstat (limited to 'target/linux/ramips')
-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)