summaryrefslogtreecommitdiff
path: root/cpu/mpc512x/speed.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-11 01:16:00 +0200
committerWolfgang Denk <wd@denx.de>2008-07-11 01:16:00 +0200
commit9b55a2536919f4de1bb1044e6eb8262c2f53bc96 (patch)
tree56a8a946f45094770f1f4b3e10b2344191c6c40c /cpu/mpc512x/speed.c
parent4109df6f75fc00ab7da56d286ba50149a0d16a69 (diff)
downloadu-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.zip
u-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.tar.gz
u-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.tar.bz2
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/mpc512x/speed.c')
-rw-r--r--cpu/mpc512x/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc512x/speed.c b/cpu/mpc512x/speed.c
index cfaffb5..e62477b 100644
--- a/cpu/mpc512x/speed.c
+++ b/cpu/mpc512x/speed.c
@@ -126,7 +126,7 @@ ulong get_bus_freq (ulong dummy)
int do_clocks (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
{
printf("Clock configuration:\n");
- printf(" CPU: %4d MHz\n", gd->cpu_clk / 1000000);
+ printf(" CPU: %4ld MHz\n", gd->cpu_clk / 1000000);
printf(" Coherent System Bus: %4d MHz\n", gd->csb_clk / 1000000);
printf(" IPS Bus: %4d MHz\n", gd->ips_clk / 1000000);
printf(" PCI: %4d MHz\n", gd->pci_clk / 1000000);