85xx if NUM_CPUS>1, print cpu number

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
This commit is contained in:
Ed Swarthout 2008-10-08 23:37:59 -05:00 committed by Wolfgang Denk
parent f7fecc3e25
commit 6856b3d022
1 changed files with 5 additions and 0 deletions

View File

@ -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) {