summaryrefslogtreecommitdiff
path: root/board/alaska
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/alaska
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/alaska')
-rw-r--r--board/alaska/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/alaska/flash.c b/board/alaska/flash.c
index 383491f..7156160 100644
--- a/board/alaska/flash.c
+++ b/board/alaska/flash.c
@@ -670,7 +670,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 (%lx)\n", (ulong) addr, *addr);
+ printf ("not erased at %08lx (%lx)\n", (ulong)addr, (ulong)*addr);
return (2);
}
/* Disable interrupts which might cause a timeout here */
@@ -712,7 +712,7 @@ static int write_data_block (flash_info_t * info, ulong src, ulong dest)
for (i = 0; i < WR_BLOCK; i++)
if ((*dstaddr++ & 0xff) != 0xff) {
printf ("not erased at %08lx (%lx)\n",
- (ulong) dstaddr, *dstaddr);
+ (ulong)dstaddr, (ulong)*dstaddr);
return (2);
}