summaryrefslogtreecommitdiff
path: root/cpu/mpc86xx/cpu.c
diff options
context:
space:
mode:
authorPoonam Aggrwal <poonam.aggrwal@freescale.com>2009-09-03 19:42:40 +0530
committerKumar Gala <galak@kernel.crashing.org>2009-09-08 09:10:08 -0500
commit21170c80a83f1e60ce7f6f83005e06a5c2d15a8e (patch)
tree2d582b31526556eebbc469ace17d177f23d10baf /cpu/mpc86xx/cpu.c
parentf8027f6b4789e3340f10620d8fb6113b95b88d9c (diff)
downloadu-boot-imx-21170c80a83f1e60ce7f6f83005e06a5c2d15a8e.zip
u-boot-imx-21170c80a83f1e60ce7f6f83005e06a5c2d15a8e.tar.gz
u-boot-imx-21170c80a83f1e60ce7f6f83005e06a5c2d15a8e.tar.bz2
ppc/85xx/86xx: Bug fix: call to puts in probecpu() moved to checkcpu().
While in probecpu() UART is still not initialized. Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc86xx/cpu.c')
-rw-r--r--cpu/mpc86xx/cpu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c
index e97ab6d..f7e012d 100644
--- a/cpu/mpc86xx/cpu.c
+++ b/cpu/mpc86xx/cpu.c
@@ -61,6 +61,12 @@ checkcpu(void)
major = SVR_MAJ(svr);
minor = SVR_MIN(svr);
+ if (cpu_numcores() > 1) {
+#ifndef CONFIG_MP
+ puts("Unicore software on multiprocessor system!!\n"
+ "To enable mutlticore build define CONFIG_MP\n");
+#endif
+ }
puts("CPU: ");
cpu = gd->cpu;