aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brandt <michael.brandt@stericsson.com>2011-04-13 10:27:36 +0200
committerMichael BRANDT <michael.brandt@stericsson.com>2011-04-14 10:22:21 +0200
commit47c500dad18ae24a3d20ff532bf405e8ae619428 (patch)
treea4b8f2fef36faede03d85138dbfb91ef0dffa827
parent515e97c63806d451d877b08ced86ded609cd6df2 (diff)
db8500: Fix ARM clock printout
The printout "ST-Ericsson db8500 v2 (Dual ARM Cortex A9) 798.720 Mhz" make some people think that it displays the maximum possible frequency, which is not the case. This patch makes it more clear that this is the current frequency. Furthermore fix the unit to the SI notation MHz. Change-Id: Ie20af72a35743c1365d904b5dfea42b77c7d7e99 Signed-off-by: Michael Brandt <michael.brandt@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20728 Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com> Reviewed-by: Wenhai FANG <wenhai.h.fang@stericsson.com> Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com> Reviewed-by: Mikael LARSSON1 <mikael.xt.larsson@stericsson.com>
-rw-r--r--cpu/arm_cortexa9/db8500/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/arm_cortexa9/db8500/cpu.c b/cpu/arm_cortexa9/db8500/cpu.c
index e05eaad9b..b1bc035fd 100644
--- a/cpu/arm_cortexa9/db8500/cpu.c
+++ b/cpu/arm_cortexa9/db8500/cpu.c
@@ -100,13 +100,13 @@ int print_cpuinfo(void)
if (arm_khz == 0)
clock = "External clock";
else {
- sprintf(clockbuf, "%u.%u Mhz",
+ sprintf(clockbuf, "%u.%u MHz",
arm_khz / 1000, arm_khz % 1000);
clock = clockbuf;
}
- printf("CPU:\tST-Ericsson db8500 %s (Dual ARM Cortex A9) %s\n",
- version, clock);
+ printf("CPU:\tST-Ericsson db8500 %s (Dual ARM Cortex A9) "
+ "currently at %s\n", version, clock);
return 0;
}