summaryrefslogtreecommitdiff
path: root/cpu/mpc83xx/speed.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2008-07-10 14:00:15 -0500
committerWolfgang Denk <wd@denx.de>2008-07-10 22:12:09 +0200
commit4109df6f75fc00ab7da56d286ba50149a0d16a69 (patch)
treef2f2bca858b24e5278a12044b8a7cc37131df8ef /cpu/mpc83xx/speed.c
parent4b13860e746b65e796213f2c97de8a80db8b68be (diff)
downloadu-boot-imx-4109df6f75fc00ab7da56d286ba50149a0d16a69.zip
u-boot-imx-4109df6f75fc00ab7da56d286ba50149a0d16a69.tar.gz
u-boot-imx-4109df6f75fc00ab7da56d286ba50149a0d16a69.tar.bz2
silence misc printf formatting compiler warnings
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'cpu/mpc83xx/speed.c')
-rw-r--r--cpu/mpc83xx/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc83xx/speed.c b/cpu/mpc83xx/speed.c
index 16145dd..76c569d 100644
--- a/cpu/mpc83xx/speed.c
+++ b/cpu/mpc83xx/speed.c
@@ -508,7 +508,7 @@ int do_clocks (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
#endif
printf(" Local Bus Controller:%4d MHz\n", gd->lbiu_clk / 1000000);
printf(" Local Bus: %4d MHz\n", gd->lclk_clk / 1000000);
- printf(" DDR: %4d MHz\n", gd->mem_clk / 1000000);
+ printf(" DDR: %4ld MHz\n", gd->mem_clk / 1000000);
#if defined(CONFIG_MPC8360)
printf(" DDR Secondary: %4d MHz\n", gd->mem_sec_clk / 1000000);
#endif