aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-12-05 23:33:48 +0100
committerWolfgang Denk <wd@denx.de>2011-12-05 23:33:48 +0100
commitd194837fc3042d943ba088fcc221d534330b2872 (patch)
tree4ab6098374e2c02fb99f3672a23c271fd5ade89f /drivers
parent2157497615696c41512d857478158f8546942d70 (diff)
parent7717fe10bd61e16790d4605505100a2f8f632f02 (diff)
Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging
* 'agust@denx.de' of git://git.denx.de/u-boot-staging: Makefile: add tools/mkenvimage to target 'clean' mv_common.c: get rid of 'defined but not used' warning m68k: fix ambiguous bit testing sparc: fix unknown escape sequence warnings sparc: fix unused variable warnings sf: fix erase debug output
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/spi/spi_flash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c
index ced4c9400..f689cc47c 100644
--- a/drivers/mtd/spi/spi_flash.c
+++ b/drivers/mtd/spi/spi_flash.c
@@ -233,8 +233,7 @@ int spi_flash_cmd_erase(struct spi_flash *flash, u8 erase_cmd,
goto out;
}
- debug("SF: Successfully erased %zu bytes @ %#x\n",
- len * erase_size, start);
+ debug("SF: Successfully erased %zu bytes @ %#x\n", len, start);
out:
spi_release_bus(flash->spi);