diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2008-10-12 06:02:55 -0400 | 
|---|---|---|
| committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-28 13:27:28 -0500 | 
| commit | fe033ad6d0883063fe857237abb9436fab03208c (patch) | |
| tree | e635372f14fe4e287311d6e75fd3ada63b7b41e0 /common/cmd_otp.c | |
| parent | 1f4a3bb50343719c434d7e2541a2f86480a6d25c (diff) | |
| download | olio-uboot-2014.01-fe033ad6d0883063fe857237abb9436fab03208c.tar.xz olio-uboot-2014.01-fe033ad6d0883063fe857237abb9436fab03208c.zip | |
Blackfin: fixup misc warnings such as printf's and missing casts
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/cmd_otp.c')
| -rw-r--r-- | common/cmd_otp.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/common/cmd_otp.c b/common/cmd_otp.c index 5d85a484d..65232903b 100644 --- a/common/cmd_otp.c +++ b/common/cmd_otp.c @@ -149,8 +149,8 @@ int do_otp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])  			"Writing one time programmable memory\n"  			"Make sure your operating voltages and temperature are within spec\n"  			"   source address:  0x%p\n" -			"   OTP destination: %s page 0x%03X - %s page 0x%03X\n" -			"   number to write: %ld halfpages\n" +			"   OTP destination: %s page 0x%03X - %s page 0x%03lX\n" +			"   number to write: %lu halfpages\n"  			" type \"YES\" (no quotes) to confirm: ",  			addr,  			lowup(half), page, @@ -175,7 +175,7 @@ int do_otp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])  		}  	} -	printf("OTP memory %s: addr 0x%08lx  page 0x%03X  count %ld ... ", +	printf("OTP memory %s: addr 0x%p  page 0x%03X  count %zu ... ",  		argv[1], addr, page, count);  	set_otp_timing(otp_func == bfrom_OtpWrite); |