summaryrefslogtreecommitdiff
path: root/board/earthlcd/favr-32-ezkit/flash.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-08-20 09:27:37 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-08-20 09:27:37 +0200
commit25da0b84195fdda89a943b2d25757db5afeef5b8 (patch)
treed955bf8c14e1212cc8e644ca556360ccb43e80b0 /board/earthlcd/favr-32-ezkit/flash.c
parent462da25e89b0b58bf4c66346c1fcb3087c61b4b8 (diff)
downloadu-boot-imx-25da0b84195fdda89a943b2d25757db5afeef5b8.zip
u-boot-imx-25da0b84195fdda89a943b2d25757db5afeef5b8.tar.gz
u-boot-imx-25da0b84195fdda89a943b2d25757db5afeef5b8.tar.bz2
favr-32-ezkit: Fix printf format warnings
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'board/earthlcd/favr-32-ezkit/flash.c')
-rw-r--r--board/earthlcd/favr-32-ezkit/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/earthlcd/favr-32-ezkit/flash.c b/board/earthlcd/favr-32-ezkit/flash.c
index 49a715a..2aa9415 100644
--- a/board/earthlcd/favr-32-ezkit/flash.c
+++ b/board/earthlcd/favr-32-ezkit/flash.c
@@ -68,7 +68,7 @@ unsigned long flash_init(void)
void flash_print_info(flash_info_t *info)
{
- printf("Flash: Vendor ID: 0x%02x, Product ID: 0x%02x\n",
+ printf("Flash: Vendor ID: 0x%02lx, Product ID: 0x%02lx\n",
info->flash_id >> 16, info->flash_id & 0xffff);
printf("Size: %ld MB in %d sectors\n",
info->size >> 10, info->sector_count);