projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334eb4b
)
sf: use print_size() for sector_size output
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 12 Apr 2011 06:09:28 +0000
(
02:09
-0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 12 Apr 2011 06:30:25 +0000
(
02:30
-0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/spi_flash.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/spi_flash.c
b/drivers/mtd/spi/spi_flash.c
index ccb7e314085066879e4842ec4b1ad2c5da003783..c75b716fd43b6f984769348e4d95873d36030c6d 100644
(file)
--- a/
drivers/mtd/spi/spi_flash.c
+++ b/
drivers/mtd/spi/spi_flash.c
@@
-297,8
+297,8
@@
struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
goto err_manufacturer_probe;
}
- printf("SF: Detected %s with page size
%u, total ",
-
flash->name, flash->sector_size
);
+ printf("SF: Detected %s with page size
", flash->name);
+
print_size(flash->sector_size, ", total "
);
print_size(flash->size, "\n");
spi_release_bus(spi);