diff options
author | Tom Rini <trini@konsulko.com> | 2015-08-06 19:56:03 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-06 19:56:03 -0400 |
commit | ae27120c31d58b8bb694d9155bcffdcfae8552a6 (patch) | |
tree | 8fcd4823406dc3adfb82174314198e9396c24feb /arch/arm/cpu/armv7/s5p-common/cpu_info.c | |
parent | f05fa6781ae1122f348e66b5b26acbfe552f6602 (diff) | |
parent | fac971b2b5efbdb6ed2d12ebdbf7e029c5ed30e8 (diff) |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'arch/arm/cpu/armv7/s5p-common/cpu_info.c')
-rw-r--r-- | arch/arm/cpu/armv7/s5p-common/cpu_info.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/cpu/armv7/s5p-common/cpu_info.c b/arch/arm/cpu/armv7/s5p-common/cpu_info.c index a8d91e769f..154d67490d 100644 --- a/arch/arm/cpu/armv7/s5p-common/cpu_info.c +++ b/arch/arm/cpu/armv7/s5p-common/cpu_info.c @@ -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; } |