From: Jagannadha Sutradharudu Teki Date: Mon, 7 Oct 2013 11:51:20 +0000 (+0530) Subject: sf: ramtron: Remove page_size print X-Git-Tag: v2013.10~38^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=adbb5860e5d00771ecc04a1480a85e94ef0e187e;p=u-boot sf: ramtron: Remove page_size print There is no page_size for ramtron flashes, so just print the detected flash and it's size. Signed-off-by: Jagannadha Sutradharudu Teki --- diff --git a/drivers/mtd/spi/ramtron.c b/drivers/mtd/spi/ramtron.c index 7367e7ab22..d50da37c89 100644 --- a/drivers/mtd/spi/ramtron.c +++ b/drivers/mtd/spi/ramtron.c @@ -380,8 +380,7 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, goto err_manufacturer_probe; } - printf("SF: Detected %s with page size ", flash->name); - print_size(flash->sector_size, ", total "); + printf("SF: Detected %s with total size ", flash->name); print_size(flash->size, ""); puts("\n");