diff options
author | Wolfgang Denk <wd@denx.de> | 2010-07-04 23:36:11 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-07-04 23:36:11 +0200 |
commit | f12d4cb48a1040c25a55148d0eedee1a896364e6 (patch) | |
tree | 8d7e6120f059a2436d3e21db3644994c24b6ea2d /drivers/mtd/spi/macronix.c | |
parent | a5496a180b3b6fd9feac6dc51822167892879470 (diff) | |
parent | b376bbb49f42ed8ea566ca1b3e440240204008ca (diff) |
Merge branch 'sf' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'drivers/mtd/spi/macronix.c')
-rw-r--r-- | drivers/mtd/spi/macronix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index fe1310bf94..76d52841d1 100644 --- a/drivers/mtd/spi/macronix.c +++ b/drivers/mtd/spi/macronix.c @@ -330,8 +330,9 @@ struct spi_flash *spi_flash_probe_macronix(struct spi_slave *spi, u8 *idcode) mcx->flash.size = params->page_size * params->pages_per_sector * params->sectors_per_block * params->nr_blocks; - printf("SF: Detected %s with page size %u, total %u bytes\n", - params->name, params->page_size, mcx->flash.size); + printf("SF: Detected %s with page size %u, total ", + params->name, params->page_size); + print_size(mcx->flash.size, "\n"); return &mcx->flash; } |