diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-11 22:56:11 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-11 22:56:11 +0200 |
commit | bde63587622c4b830a27d1ddf7265843de9e994f (patch) | |
tree | 17ad533148bc822a5c97a6297b30849e657e9e9a /board/freescale | |
parent | 184f1b404a90eef8b425c0e7b3018d59ef9982c8 (diff) |
Fix some more printf() format issues.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mpc7448hpc2/tsi108_init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/mpc7448hpc2/tsi108_init.c b/board/freescale/mpc7448hpc2/tsi108_init.c index efa952c2e7..ad80694077 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 |