aboutsummaryrefslogtreecommitdiffstats
path: root/board/bf533-ezkit
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-12 06:02:55 -0400
committerMike Frysinger <vapier@gentoo.org>2009-01-28 13:27:28 -0500
commitfe033ad6d0883063fe857237abb9436fab03208c (patch)
treee635372f14fe4e287311d6e75fd3ada63b7b41e0 /board/bf533-ezkit
parent1f4a3bb50343719c434d7e2541a2f86480a6d25c (diff)
downloadu-boot-midas-fe033ad6d0883063fe857237abb9436fab03208c.tar.gz
u-boot-midas-fe033ad6d0883063fe857237abb9436fab03208c.tar.bz2
u-boot-midas-fe033ad6d0883063fe857237abb9436fab03208c.zip
Blackfin: fixup misc warnings such as printf's and missing casts
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/bf533-ezkit')
-rw-r--r--board/bf533-ezkit/flash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/bf533-ezkit/flash.c b/board/bf533-ezkit/flash.c
index 539c00d52f..ab808d86b0 100644
--- a/board/bf533-ezkit/flash.c
+++ b/board/bf533-ezkit/flash.c
@@ -127,7 +127,7 @@ void flash_print_info(flash_info_t * info)
printf("ST Microelectronics ");
break;
default:
- printf("Unknown Vendor: (0x%08X) ", info->flash_id);
+ printf("Unknown Vendor: (0x%08lX) ", info->flash_id);
break;
}
for (i = 0; i < info->sector_count; ++i) {
@@ -215,7 +215,7 @@ int write_data(long lStart, long lCount, uchar * pnData)
read_flash(ulOffset, &d);
if (d != 0xffff) {
printf
- ("Flash not erased at offset 0x%x Please erase to reprogram \n",
+ ("Flash not erased at offset 0x%lx Please erase to reprogram\n",
ulOffset);
return FLASH_FAIL;
}
@@ -234,7 +234,7 @@ int write_data(long lStart, long lCount, uchar * pnData)
read_flash(ulOffset, &d);
if (d != 0xffff) {
printf
- ("Flash not erased at offset 0x%x Please erase to reprogram \n",
+ ("Flash not erased at offset 0x%lx Please erase to reprogram\n",
ulOffset);
return FLASH_FAIL;
}