提交 7d69dfd2 编写于 作者: M Mike Frysinger

Blackfin: skip RAM display for 0 mem systems

Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 f57689e7
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册