ramips: fix memory detection rt5350
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 May 2013 18:23:56 +0000 (18:23 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 6 May 2013 18:23:56 +0000 (18:23 +0000)
Signed-off-by: Felix Kaechele <felix@fetzig.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36568 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/patches-3.8/0123-MIPS-ralink-add-memory-definition-for-RT305x.patch

index 877e442..bf6d7f3 100644 (file)
@@ -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)