commit | 6856b3d0221a838580e6bb06f61425fd7529ba93 | [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 | f7fecc3e25050a036c9f50f0d2b85bc3199a96e0 [diff] [blame] |
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) {