From bd6e12d90470d55fdf18b42e02798488dd6d189f Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 6 May 2013 18:23:56 +0000 Subject: [PATCH] ramips: fix memory detection rt5350 Signed-off-by: Felix Kaechele SVN-Revision: 36568 --- .../0123-MIPS-ralink-add-memory-definition-for-RT305x.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2