Commit fa39ffe5 authored by York Sun's avatar York Sun Committed by Tom Rini

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: default avatarYork Sun <yorksun@freescale.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 2a1680e3
......@@ -194,7 +194,7 @@ static int init_func_ram(void)
static int show_dram_config(void)
{
ulong size;
unsigned long long size;
#ifdef CONFIG_NR_DRAM_BANKS
int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment