commit | 60ac15aa758fc339a75738e6894d459c17c1ae8a | [log] [tgz] |
---|---|---|
author | York Sun <yorksun@freescale.com> | Fri May 02 17:28:05 2014 -0700 |
committer | Tom Rini <trini@ti.com> | Mon May 12 15:20:05 2014 -0400 |
tree | 7fabf8a543f0199125427167aaa3649b4ae90c7d | |
parent | 021d202b391c2f253d00f7069147e0cfbc15fcbf [diff] [blame] |
common/board_f: Fix size variable DRAM size should use 64-bit variable when the size could be more than 4GB. Caught and verified on P4080DS with 4GB DDR. Signed-off-by: York Sun <yorksun@freescale.com> Acked-by: Simon Glass <sjg@chromium.org>
diff --git a/common/board_f.c b/common/board_f.c index b6be386..4ea4cb2 100644 --- a/common/board_f.c +++ b/common/board_f.c
@@ -194,7 +194,7 @@ static int show_dram_config(void) { - ulong size; + unsigned long long size; #ifdef CONFIG_NR_DRAM_BANKS int i;