projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b5a4bc
)
arm, lib/board.c: use gd->ram_size instead of bd->bi_memsize
author
Heiko Schocher
<hs@denx.de>
Thu, 2 Jun 2011 22:11:37 +0000
(22:11 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Sat, 3 Sep 2011 20:40:46 +0000
(22:40 +0200)
Signed-off-by: Heiko Schocher <hs@denx.de>
cc: Albert Aribaud <albert.u.boot@aribaud.net>
arch/arm/lib/board.c
patch
|
blob
|
history
diff --git
a/arch/arm/lib/board.c
b/arch/arm/lib/board.c
index 14a56f6f0a921ee84f1616b6ba8c1ff3caa43fee..646cf450f70d83ea774c023834cdaf3b9c364248 100644
(file)
--- a/
arch/arm/lib/board.c
+++ b/
arch/arm/lib/board.c
@@
-626,7
+626,7
@@
void board_init_r(gd_t *id, ulong dest_addr)
pram += (LOGBUFF_LEN + LOGBUFF_OVERHEAD) / 1024;
#endif
#endif
- sprintf((char *)memsz, "%ldk", (
bd->bi_mem
size / 1024) - pram);
+ sprintf((char *)memsz, "%ldk", (
gd->ram_
size / 1024) - pram);
setenv("mem", (char *)memsz);
}
#endif