summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-02-04 09:35:57 -0600
committerAndy Fleming <afleming@freescale.com>2009-02-16 18:05:50 -0600
commitb29dee3c906e9daaf6baf7772d2e15e26b8636b8 (patch)
treef53b8b7a26da87e151ad6adf5e80cb4b427e16b8 /cpu/mpc85xx
parent952a6bdd77b6b0a780e76a0b17ad139f4ee6dfde (diff)
85xx: Format cpu freq printing to handle 8 cores
Only print 4 cpu freq per line. This way when we have 8 cores its a bit more readable. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx')
-rw-r--r--cpu/mpc85xx/cpu.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c
index a34e2515e8..2ed44bf2ad 100644
--- a/cpu/mpc85xx/cpu.c
+++ b/cpu/mpc85xx/cpu.c
@@ -142,11 +142,13 @@ int checkcpu (void)
get_sys_info(&sysinfo);
- puts("Clock Configuration:\n ");
- for (i = 0; i < CONFIG_NUM_CPUS; i++)
+ puts("Clock Configuration:");
+ for (i = 0; i < CONFIG_NUM_CPUS; i++) {
+ if (!(i & 3)) printf ("\n ");
printf("CPU%d:%-4s MHz, ",
i,strmhz(buf1, sysinfo.freqProcessor[i]));
- printf("CCB:%-4s MHz,\n", strmhz(buf1, sysinfo.freqSystemBus));
+ }
+ printf("\n CCB:%-4s MHz,\n", strmhz(buf1, sysinfo.freqSystemBus));
switch (ddr_ratio) {
case 0x0: