mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 07:01:39 +00:00
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>
This commit is contained in:
parent
952a6bdd77
commit
b29dee3c90
1 changed files with 5 additions and 3 deletions
|
@ -142,11 +142,13 @@ int checkcpu (void)
|
||||||
|
|
||||||
get_sys_info(&sysinfo);
|
get_sys_info(&sysinfo);
|
||||||
|
|
||||||
puts("Clock Configuration:\n ");
|
puts("Clock Configuration:");
|
||||||
for (i = 0; i < CONFIG_NUM_CPUS; i++)
|
for (i = 0; i < CONFIG_NUM_CPUS; i++) {
|
||||||
|
if (!(i & 3)) printf ("\n ");
|
||||||
printf("CPU%d:%-4s MHz, ",
|
printf("CPU%d:%-4s MHz, ",
|
||||||
i,strmhz(buf1, sysinfo.freqProcessor[i]));
|
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) {
|
switch (ddr_ratio) {
|
||||||
case 0x0:
|
case 0x0:
|
||||||
|
|
Loading…
Add table
Reference in a new issue