summaryrefslogtreecommitdiff
path: root/common/cmd_mfsl.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2008-07-17 12:25:46 +0200
committerWolfgang Denk <wd@denx.de>2008-07-20 23:10:34 +0200
commit1953d128fd07f07d1c3810a28c0863ea64dae1b6 (patch)
tree5df2528b42f073dd5bbb34b14f288a1811073729 /common/cmd_mfsl.c
parentde2a07e534f18b1ca5f9869a4ef0604ca829cff0 (diff)
downloadu-boot-imx-1953d128fd07f07d1c3810a28c0863ea64dae1b6.zip
u-boot-imx-1953d128fd07f07d1c3810a28c0863ea64dae1b6.tar.gz
u-boot-imx-1953d128fd07f07d1c3810a28c0863ea64dae1b6.tar.bz2
microblaze: Fix printf() format issues
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'common/cmd_mfsl.c')
-rw-r--r--common/cmd_mfsl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_mfsl.c b/common/cmd_mfsl.c
index 5982b76..c2442ee 100644
--- a/common/cmd_mfsl.c
+++ b/common/cmd_mfsl.c
@@ -183,7 +183,7 @@ int do_frd (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
return 1;
}
- printf ("%01x: 0x%08lx - %s %s read\n", fslnum, num,
+ printf ("%01x: 0x%08x - %s %s read\n", fslnum, num,
blocking < 2 ? "non blocking" : "blocking",
((blocking == 1) || (blocking == 3)) ? "control" : "data" );
return 0;
@@ -341,7 +341,7 @@ int do_fwr (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
return 1;
}
- printf ("%01x: 0x%08lx - %s %s write\n", fslnum, num,
+ printf ("%01x: 0x%08x - %s %s write\n", fslnum, num,
blocking < 2 ? "non blocking" : "blocking",
((blocking == 1) || (blocking == 3)) ? "control" : "data" );
return 0;
@@ -382,7 +382,7 @@ int do_rspr (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
puts ("Unsupported register\n");
return 1;
}
- printf (": 0x%08lx\n", val);
+ printf (": 0x%08x\n", val);
return 0;
}