提交 3ab270d5 编写于 作者: T Tom Rini

Revert "memsize: Fix for bug in memory sizing code"

After further investigation this change is not correct and results in
get_ram_size returning incorrectly large values.  Reported first by
Gerlando Falauto.

This reverts commit b8496cce.
Signed-off-by: NTom Rini <trini@ti.com>
上级 5fb29f3c
......@@ -73,7 +73,6 @@ long get_ram_size(long *base, long maxsize)
}
return (0);
}
*addr = save[i];
for (cnt = 1; cnt < maxsize / sizeof (long); cnt <<= 1) {
addr = base + cnt; /* pointer arith! */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册