Skip to content
Snippets Groups Projects
Commit 6856b3d0 authored by Ed Swarthout's avatar Ed Swarthout Committed by Wolfgang Denk
Browse files

85xx if NUM_CPUS>1, print cpu number

parent f7fecc3e
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment