aboutsummaryrefslogtreecommitdiffstats
path: root/board/lwmon5
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-07-10 09:58:06 +0200
committerStefan Roese <sr@denx.de>2008-07-10 09:58:06 +0200
commitb002144e1dc21374b1ef5281fe6b5d014af96650 (patch)
tree896b31b7743d5d8a736e1f807bf32a95ec117f18 /board/lwmon5
parent5d812b8b4ad9667c77a5bf92b4ba81699abc9fc3 (diff)
downloadu-boot-midas-b002144e1dc21374b1ef5281fe6b5d014af96650.tar.gz
u-boot-midas-b002144e1dc21374b1ef5281fe6b5d014af96650.tar.bz2
u-boot-midas-b002144e1dc21374b1ef5281fe6b5d014af96650.zip
ppc4xx: Fix printf format warnings now visible with the updated format check
This patch fixes ppc4xx related printf format warning. Those warnings are now visible since patch dc4b0b38d4aadf08826f6c31270f1eecd27964fd [Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is really helpful. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/lwmon5')
-rw-r--r--board/lwmon5/sdram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/lwmon5/sdram.c b/board/lwmon5/sdram.c
index 0a13831156..189e824073 100644
--- a/board/lwmon5/sdram.c
+++ b/board/lwmon5/sdram.c
@@ -84,7 +84,7 @@ void board_add_ram_info(int use_default)
puts(" (ECC not");
get_sys_info(&board_cfg);
- printf(" enabled, %d MHz", (board_cfg.freqPLB * 2) / 1000000);
+ printf(" enabled, %ld MHz", (board_cfg.freqPLB * 2) / 1000000);
mfsdram(DDR0_03, val);
val = DDR0_03_CASLAT_DECODE(val);