* [U-Boot] [PATCH][v1] ppc/85xx/86xx: Bug fix: call to puts in probecpu() moved to checkcpu().
@ 2009-09-03 14:12 Poonam Aggrwal
2009-09-05 18:11 ` Kumar Gala
0 siblings, 1 reply; 2+ messages in thread
From: Poonam Aggrwal @ 2009-09-03 14:12 UTC (permalink / raw)
To: u-boot
While in probecpu() UART is still not initialized.
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
---
applies on git.am.freescale.net/mirrors/u-boot.git
cpu/mpc85xx/cpu.c | 4 ++++
cpu/mpc86xx/cpu.c | 6 ++++++
cpu/mpc8xxx/cpu.c | 6 ------
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c
index 63bdb6f..3b89f61 100644
--- a/cpu/mpc85xx/cpu.c
+++ b/cpu/mpc85xx/cpu.c
@@ -61,6 +61,10 @@ int checkcpu (void)
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
volatile ccsr_pic_t *pic = (void *)(CONFIG_SYS_MPC85xx_PIC_ADDR);
printf("CPU%d: ", pic->whoami);
} else {
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;
diff --git a/cpu/mpc8xxx/cpu.c b/cpu/mpc8xxx/cpu.c
index c73ac3c..00791e1 100644
--- a/cpu/mpc8xxx/cpu.c
+++ b/cpu/mpc8xxx/cpu.c
@@ -107,12 +107,6 @@ int probecpu (void)
gd->cpu = identify_cpu(ver);
-#ifndef CONFIG_MP
- if (cpu_numcores() > 1) {
- puts("Unicore software on multiprocessor system!!\n"
- "To enable mutlticore build define CONFIG_MP\n");
- }
-#endif
return 0;
}
--
1.5.6.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH][v1] ppc/85xx/86xx: Bug fix: call to puts in probecpu() moved to checkcpu().
2009-09-03 14:12 [U-Boot] [PATCH][v1] ppc/85xx/86xx: Bug fix: call to puts in probecpu() moved to checkcpu() Poonam Aggrwal
@ 2009-09-05 18:11 ` Kumar Gala
0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2009-09-05 18:11 UTC (permalink / raw)
To: u-boot
On Sep 3, 2009, at 9:12 AM, Poonam Aggrwal wrote:
> While in probecpu() UART is still not initialized.
>
> Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
> Acked-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> applies on git.am.freescale.net/mirrors/u-boot.git
> cpu/mpc85xx/cpu.c | 4 ++++
> cpu/mpc86xx/cpu.c | 6 ++++++
> cpu/mpc8xxx/cpu.c | 6 ------
> 3 files changed, 10 insertions(+), 6 deletions(-)
applied to 85xx
- K
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-05 18:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03 14:12 [U-Boot] [PATCH][v1] ppc/85xx/86xx: Bug fix: call to puts in probecpu() moved to checkcpu() Poonam Aggrwal
2009-09-05 18:11 ` Kumar Gala
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.