mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
exynos: Tidy up CPU frequency display
Line up the display with the line below, e.g.: CPU: Exynos5250 @ 1.7 GHz Model: Google Spring DRAM: 2 GiB MMC: EXYNOS DWMMC: 0 Also show the speed as GHz where appropriate. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
129c942f32
commit
71db6341c5
1 changed files with 2 additions and 5 deletions
|
@ -30,11 +30,8 @@ u32 get_device_type(void)
|
|||
#ifdef CONFIG_DISPLAY_CPUINFO
|
||||
int print_cpuinfo(void)
|
||||
{
|
||||
char buf[32];
|
||||
|
||||
printf("CPU:\t%s%X@%sMHz\n",
|
||||
s5p_get_cpu_name(), s5p_cpu_id,
|
||||
strmhz(buf, get_arm_clk()));
|
||||
printf("CPU: %s%X @ ", s5p_get_cpu_name(), s5p_cpu_id);
|
||||
print_freq(get_arm_clk(), "\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue