소스 검색

ramips: fix memory detection rt5350

Signed-off-by: Felix Kaechele <[email protected]>

SVN-Revision: 36568
John Crispin 12 년 전
부모
커밋
bd6e12d904
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      target/linux/ramips/patches-3.8/0123-MIPS-ralink-add-memory-definition-for-RT305x.patch

+ 1 - 1
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)