summaryrefslogtreecommitdiff
path: root/board/bf537-stamp/spi_flash.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-12 06:02:55 -0400
committerMike Frysinger <vapier@gentoo.org>2009-01-28 13:27:28 -0500
commitfe033ad6d0883063fe857237abb9436fab03208c (patch)
treee635372f14fe4e287311d6e75fd3ada63b7b41e0 /board/bf537-stamp/spi_flash.c
parent1f4a3bb50343719c434d7e2541a2f86480a6d25c (diff)
downloadu-boot-imx-fe033ad6d0883063fe857237abb9436fab03208c.zip
u-boot-imx-fe033ad6d0883063fe857237abb9436fab03208c.tar.gz
u-boot-imx-fe033ad6d0883063fe857237abb9436fab03208c.tar.bz2
Blackfin: fixup misc warnings such as printf's and missing casts
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/bf537-stamp/spi_flash.c')
-rw-r--r--board/bf537-stamp/spi_flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/bf537-stamp/spi_flash.c b/board/bf537-stamp/spi_flash.c
index a99c3fa..99caa96 100644
--- a/board/bf537-stamp/spi_flash.c
+++ b/board/bf537-stamp/spi_flash.c
@@ -797,8 +797,8 @@ int eeprom_info(void)
ret = 1;
else
printf("SPI Device: %s 0x%02X (%s) 0x%02X 0x%02X\n"
- "Parameters: num sectors = %i, sector size = %i, write size = %i\n"
- "Flash Size: %i mbit (%i mbyte)\n"
+ "Parameters: num sectors = %lu, sector size = %lu, write size = %i\n"
+ "Flash Size: %lu mbit (%lu mbyte)\n"
"Status: 0x%02X\n",
flash.flash->name, flash.manufacturer_id, flash.manufacturer->name,
flash.device_id1, flash.device_id2, flash.num_sectors,