mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-02 07:31:11 +01:00
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>
This commit is contained in:
parent
2a1680e30e
commit
fa39ffe5d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue