From: John Crispin Date: Mon, 6 May 2013 18:23:56 +0000 (+0000) Subject: ramips: fix memory detection rt5350 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bd6e12d90470d55fdf18b42e02798488dd6d189f;p=openwrt%2Fstaging%2Fneocturne.git ramips: fix memory detection rt5350 Signed-off-by: Felix Kaechele SVN-Revision: 36568 --- 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)