85xx if NUM_CPUS>1, print cpu number
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
This commit is contained in:
parent
f7fecc3e25
commit
6856b3d022
|
@ -99,7 +99,12 @@ int checkcpu (void)
|
||||||
#endif
|
#endif
|
||||||
minor = SVR_MIN(svr);
|
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: ");
|
puts("CPU: ");
|
||||||
|
#endif
|
||||||
|
|
||||||
cpu = identify_cpu(ver);
|
cpu = identify_cpu(ver);
|
||||||
if (cpu) {
|
if (cpu) {
|
||||||
|
|
Loading…
Reference in New Issue