projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7fecc3
)
85xx if NUM_CPUS>1, print cpu number
author
Ed Swarthout
<Ed.Swarthout@freescale.com>
Thu, 9 Oct 2008 04:37:59 +0000
(23:37 -0500)
committer
Wolfgang Denk
<wd@denx.de>
Sat, 18 Oct 2008 19:54:05 +0000
(21:54 +0200)
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
cpu/mpc85xx/cpu.c
patch
|
blob
|
history
diff --git
a/cpu/mpc85xx/cpu.c
b/cpu/mpc85xx/cpu.c
index 61162a8bb3a7721254b69bc09fdd8a49f5599dc6..9c4f2145025f8d2d12004006075a40e0775b5fb4 100644
(file)
--- a/
cpu/mpc85xx/cpu.c
+++ b/
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) {