ramips: fix memory detection rt5350
[openwrt.git] / 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;
 +      }
 +
 +              break;
 +      }
 +
-+      return ret;
++      return ret * 1024 * 1024;
 +}
 +
  void __init ralink_clk_init(void)
 +}
 +
  void __init ralink_clk_init(void)