From 63e3eca5522b4dbcaa0412b1dadc44fa7ccc3ce5 Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 6 May 2013 18:23:56 +0000 Subject: ramips: fix memory detection rt5350 Signed-off-by: Felix Kaechele git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36568 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-3.8/0123-MIPS-ralink-add-memory-definition-for-RT305x.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux') 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 877e442b6..bf6d7f388 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) -- cgit v1.2.3