summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-20 05:18:55 -0500
committerMike Frysinger <vapier@gentoo.org>2011-04-08 00:44:26 -0400
commit7d69dfd2a80885b570cd1d47e5c25f0f76f09468 (patch)
treef565b9a6b64a98a35c69b41640fd80c05ef67c66
parentf57689e795c6b28db15e307536ec821426bba145 (diff)
downloadu-boot-imx-7d69dfd2a80885b570cd1d47e5c25f0f76f09468.zip
u-boot-imx-7d69dfd2a80885b570cd1d47e5c25f0f76f09468.tar.gz
u-boot-imx-7d69dfd2a80885b570cd1d47e5c25f0f76f09468.tar.bz2
Blackfin: skip RAM display for 0 mem systems
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--arch/blackfin/lib/board.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c
index 8eca7d6..59a0810 100644
--- 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();