summaryrefslogtreecommitdiff
path: root/board/versatile/flash.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-07-12 14:36:34 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 16:55:00 +0200
commit0a5676befb0c590212a53f7627fa5d0d8a84bf34 (patch)
treeea6812919abaf744be8c7b5b904dc78244cbaa4d /board/versatile/flash.c
parent18c8a28aad49803780bd8d52432ded528e37e701 (diff)
downloadu-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.zip
u-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.tar.gz
u-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.tar.bz2
Fix some more printf() format issues.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'board/versatile/flash.c')
-rw-r--r--board/versatile/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/versatile/flash.c b/board/versatile/flash.c
index ca77c8a..bbe5df7 100644
--- a/board/versatile/flash.c
+++ b/board/versatile/flash.c
@@ -476,7 +476,7 @@ static int write_data (flash_info_t * info, ulong dest, FPW data)
/* Check if Flash is (sufficiently) erased */
if ((*addr & data) != data) {
- printf ("not erased at %08lx (%x)\n", (ulong) addr, *addr);
+ printf ("not erased at %08lx (%lx)\n", (ulong) addr, (ulong) *addr);
return (2);
}