summaryrefslogtreecommitdiff
path: root/board/versatile/flash.c
diff options
context:
space:
mode:
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);
}