summaryrefslogtreecommitdiff
path: root/board/barco/barco.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-10 13:16:09 +0200
committerWolfgang Denk <wd@denx.de>2008-07-10 13:16:09 +0200
commit06c53beae1a726e707971c555613f09b270a2461 (patch)
tree3e0d99e3062d27b8e3b99faf14e2be63fdfcff3e /board/barco/barco.c
parentc4b81f3238d77a4df343bd70ddfb7ebd29ca1dda (diff)
downloadu-boot-imx-06c53beae1a726e707971c555613f09b270a2461.zip
u-boot-imx-06c53beae1a726e707971c555613f09b270a2461.tar.gz
u-boot-imx-06c53beae1a726e707971c555613f09b270a2461.tar.bz2
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/barco/barco.c')
-rw-r--r--board/barco/barco.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/barco/barco.c b/board/barco/barco.c
index 72e7e0b..f8b2084 100644
--- a/board/barco/barco.c
+++ b/board/barco/barco.c
@@ -177,7 +177,7 @@ unsigned update_flash (unsigned char *buf)
write_flash ((char *)buf, (*buf) & 0xFE);
*((unsigned char *)0xFF800000) = 0xF0;
udelay (100);
- printf ("buf [%#010x] %#010x\n", buf, (*buf));
+ printf ("buf [%#010x] %#010x\n", (unsigned)buf, (*buf));
/* XXX - fall through??? */
case BOOT_WORKING :
return BOOT_WORKING;
@@ -273,10 +273,10 @@ void barcobcd_boot (void)
/* give length of the kernel image to bootm */
sprintf (bootm_args[0],"%x",start->size);
/* give address of the kernel image to bootm */
- sprintf (bootm_args[1],"%x",buf);
+ sprintf (bootm_args[1],"%x",(unsigned)buf);
printf ("flash address: %#10x\n",start->address+8);
- printf ("buf address: %#10x\n",buf);
+ printf ("buf address: %#10x\n",(unsigned)buf);
/* aha, we reserve 8 bytes here... */
for (cnt = 0; cnt < start->size ; cnt++) {