Skip to content
Snippets Groups Projects
Commit b29dee3c authored by Kumar Gala's avatar Kumar Gala Committed by Andy Fleming
Browse files

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: default avatarKumar Gala <galak@kernel.crashing.org>
parent 952a6bdd
No related branches found
No related tags found
No related merge requests found
...@@ -142,11 +142,13 @@ int checkcpu (void) ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment