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:
f57689e
)
Blackfin: skip RAM display for 0 mem systems
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 20 Dec 2010 10:18:55 +0000
(
05:18
-0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 8 Apr 2011 04:44:26 +0000
(
00:44
-0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/lib/board.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/lib/board.c
b/arch/blackfin/lib/board.c
index 8eca7d6fb64d4cd1490c3c1063e16e774ca6c82d..59a0810544665f0067d5166e8ab55f6dc1cae03d 100644
(file)
--- a/
arch/blackfin/lib/board.c
+++ b/
arch/blackfin/lib/board.c
@@
-283,8
+283,11
@@
void board_init_f(ulong bootflag)
printf("Core: %s MHz, ", strmhz(buf, get_cclk()));
printf("System: %s MHz\n", strmhz(buf, get_sclk()));
- printf("RAM: ");
- print_size(bd->bi_memsize, "\n");
+ if (CONFIG_MEM_SIZE) {
+ printf("RAM: ");
+ print_size(bd->bi_memsize, "\n");
+ }
+
#if defined(CONFIG_POST)
post_init_f();
post_bootmode_init();