projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a1680e
)
common/board_f: Fix size variable
author
York Sun
<yorksun@freescale.com>
Sat, 3 May 2014 00:28:05 +0000
(17:28 -0700)
committer
Tom Rini
<trini@ti.com>
Mon, 12 May 2014 19:20:05 +0000
(15:20 -0400)
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>
common/board_f.c
patch
|
blob
|
history
diff --git
a/common/board_f.c
b/common/board_f.c
index b6be386a7f71294b8c46398327a1b195714be06f..4ea4cb21bed6efa9e76d91c375003cfa27a19af6 100644
(file)
--- a/
common/board_f.c
+++ b/
common/board_f.c
@@
-194,7
+194,7
@@
static int init_func_ram(void)
static int show_dram_config(void)
{
- ulong size;
+ u
nsigned long
long size;
#ifdef CONFIG_NR_DRAM_BANKS
int i;