85xx if NUM_CPUS>1, print cpu number

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
master
Ed Swarthout 16 years ago committed by Wolfgang Denk
parent f7fecc3e25
commit 6856b3d022
  1. 5
      cpu/mpc85xx/cpu.c

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

Loading…
Cancel
Save