提交 6856b3d0 编写于 作者: E Ed Swarthout 提交者: Wolfgang Denk

85xx if NUM_CPUS>1, print cpu number

Signed-off-by: NEd Swarthout <Ed.Swarthout@freescale.com>
上级 f7fecc3e
......@@ -99,7 +99,12 @@ int checkcpu (void)
#endif
minor = SVR_MIN(svr);
#if (CONFIG_NUM_CPUS > 1)
volatile ccsr_pic_t *pic = (void *)(CONFIG_SYS_MPC85xx_PIC_ADDR);
printf("CPU%d: ", pic->whoami);
#else
puts("CPU: ");
#endif
cpu = identify_cpu(ver);
if (cpu) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册