commit | 2915512e04140ae43ecfa1daadf4fb6b3337916c | [log] [tgz] |
---|---|---|
author | Ed Swarthout <Ed.Swarthout@freescale.com> | Wed Oct 08 23:37:59 2008 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Sat Oct 18 21:54:05 2008 +0200 |
tree | e4f0033d003d798e136cb30e2fb2dcfd46d0a840 | |
parent | 06c70d6edffcbcf25580d59a41ab06c8e4447cff [diff] |
85xx if NUM_CPUS>1, print cpu number Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c index 61162a8..9c4f214 100644 --- a/cpu/mpc85xx/cpu.c +++ b/cpu/mpc85xx/cpu.c
@@ -99,7 +99,12 @@ #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) {