diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-11 01:16:00 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-11 01:16:00 +0200 |
commit | 9b55a2536919f4de1bb1044e6eb8262c2f53bc96 (patch) | |
tree | 56a8a946f45094770f1f4b3e10b2344191c6c40c /board/tqc | |
parent | 4109df6f75fc00ab7da56d286ba50149a0d16a69 (diff) | |
download | u-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.zip u-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.tar.gz u-boot-imx-9b55a2536919f4de1bb1044e6eb8262c2f53bc96.tar.bz2 |
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/tqc')
-rw-r--r-- | board/tqc/tqm5200/cmd_stk52xx.c | 2 | ||||
-rw-r--r-- | board/tqc/tqm8272/tqm8272.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/tqc/tqm5200/cmd_stk52xx.c b/board/tqc/tqm5200/cmd_stk52xx.c index 7472ca9..58039d4 100644 --- a/board/tqc/tqm5200/cmd_stk52xx.c +++ b/board/tqc/tqm5200/cmd_stk52xx.c @@ -478,7 +478,7 @@ static int cmd_wav(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) } set_attenuation(volume); - printf("Play wave file at %#p with length %#x\n", addr, length); + printf("Play wave file at %lX with length %lX\n", addr, length); rcode = i2s_play_wave(addr, length); return rcode; diff --git a/board/tqc/tqm8272/tqm8272.c b/board/tqc/tqm8272/tqm8272.c index 29099f5..cde0296 100644 --- a/board/tqc/tqm8272/tqm8272.c +++ b/board/tqc/tqm8272/tqm8272.c @@ -652,7 +652,7 @@ static int dump_hwib(void) printf ("ethaddr: %s\n", hw->ethaddr); printf ("FLASH : %x nr:%d\n", hw->flash, hw->flash_nr); printf ("RAM : %x cs:%d\n", hw->ram, hw->ram_cs); - printf ("CPU : %d\n", hw->cpunr); + printf ("CPU : %lu\n", hw->cpunr); printf ("CAN : %d\n", hw->can); if (hw->eeprom) printf ("EEprom : %x\n", hw->eeprom); else printf ("No EEprom\n"); @@ -663,7 +663,7 @@ static int dump_hwib(void) printf ("Bus %s mode.\n", (hw->Bus ? "60x" : "Single PQII")); printf (" real : %s\n", (immr->im_siu_conf.sc_bcr & BCR_EBM ? \ "60x" : "Single PQII")); - printf ("Option : %x\n", hw->option); + printf ("Option : %lx\n", hw->option); printf ("%s Security Engine\n", (hw->SecEng ? "with" : "no")); printf ("CPM Clk: %d\n", hw->cpmcl); printf ("CPU Clk: %d\n", hw->cpucl); |