diff options
author | Stefan Roese <sr@denx.de> | 2008-07-10 07:58:06 (GMT) |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-07-10 07:58:06 (GMT) |
commit | b002144e1dc21374b1ef5281fe6b5d014af96650 (patch) | |
tree | 896b31b7743d5d8a736e1f807bf32a95ec117f18 /board/amcc | |
parent | 5d812b8b4ad9667c77a5bf92b4ba81699abc9fc3 (diff) | |
download | u-boot-fsl-qoriq-b002144e1dc21374b1ef5281fe6b5d014af96650.tar.xz |
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/amcc')
-rw-r--r-- | board/amcc/katmai/cmd_katmai.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/amcc/katmai/cmd_katmai.c b/board/amcc/katmai/cmd_katmai.c index 439be4f..703d225 100644 --- a/board/amcc/katmai/cmd_katmai.c +++ b/board/amcc/katmai/cmd_katmai.c @@ -176,7 +176,7 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) #endif } #ifdef DEBUG - printf(" pin strap0 to write in i2c = %x\n", data); + printf(" pin strap0 to write in i2c = %lx\n", data); #endif /* DEBUG */ if (i2c_write(chip, 0, 1, (uchar *)&data, 4) != 0) @@ -201,7 +201,7 @@ static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) data |= 0x05A50000; #ifdef DEBUG - printf(" pin strap1 to write in i2c = %x\n", data); + printf(" pin strap1 to write in i2c = %lx\n", data); #endif /* DEBUG */ udelay(1000); |