ramips: fix memory detection rt5350
authorJohn Crispin <john@openwrt.org>
Mon, 6 May 2013 18:23:56 +0000 (18:23 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 6 May 2013 18:23:56 +0000 (18:23 +0000)
Signed-off-by: Felix Kaechele <felix@fetzig.org>
SVN-Revision: 36568

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

index 877e442b62eedf3b136eb88ac5406a468a846de9..bf6d7f388d2b30b6d3618004537073791be67371 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)