ramips: fix memory detection rt5350
[lede.git] / 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)