summaryrefslogtreecommitdiff
path: root/board/freescale/mpc7448hpc2/tsi108_init.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-11 22:56:11 +0200
committerWolfgang Denk <wd@denx.de>2008-07-11 22:56:11 +0200
commitbde63587622c4b830a27d1ddf7265843de9e994f (patch)
tree17ad533148bc822a5c97a6297b30849e657e9e9a /board/freescale/mpc7448hpc2/tsi108_init.c
parent184f1b404a90eef8b425c0e7b3018d59ef9982c8 (diff)
downloadu-boot-imx-bde63587622c4b830a27d1ddf7265843de9e994f.zip
u-boot-imx-bde63587622c4b830a27d1ddf7265843de9e994f.tar.gz
u-boot-imx-bde63587622c4b830a27d1ddf7265843de9e994f.tar.bz2
Fix some more printf() format issues.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/freescale/mpc7448hpc2/tsi108_init.c')
-rw-r--r--board/freescale/mpc7448hpc2/tsi108_init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/mpc7448hpc2/tsi108_init.c b/board/freescale/mpc7448hpc2/tsi108_init.c
index efa952c..ad80694 100644
--- a/board/freescale/mpc7448hpc2/tsi108_init.c
+++ b/board/freescale/mpc7448hpc2/tsi108_init.c
@@ -165,8 +165,8 @@ int board_early_init_f (void)
printf ("Invalid DDR2 clock setting\n");
return -1;
}
- printf ("BUS: %d MHz\n", get_board_bus_clk() / 1000000);
- printf ("MEM: %d MHz\n", gd->mem_clk / 1000000);
+ printf ("BUS: %lu MHz\n", get_board_bus_clk() / 1000000);
+ printf ("MEM: %lu MHz\n", gd->mem_clk / 1000000);
return 0;
}
@@ -622,8 +622,8 @@ int misc_init_r (void)
#ifdef CFG_L2
l2cache_enable ();
#endif
- printf ("BUS: %d MHz\n", gd->bus_clk / 1000000);
- printf ("MEM: %d MHz\n", gd->mem_clk / 1000000);
+ printf ("BUS: %lu MHz\n", gd->bus_clk / 1000000);
+ printf ("MEM: %lu MHz\n", gd->mem_clk / 1000000);
/*
* All the information needed to print the cache details is avaiblable