diff options
author | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2013-10-07 17:21:20 +0530 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2013-10-07 19:35:09 +0530 |
commit | adbb5860e5d00771ecc04a1480a85e94ef0e187e (patch) | |
tree | 8c8ffbb2d1f0f6dbc4462bf838f2c5a192b01c97 | |
parent | ce22b922dd1fdd3f6cb25660e6e845d4f1cb4f70 (diff) | |
download | u-boot-imx-adbb5860e5d00771ecc04a1480a85e94ef0e187e.zip u-boot-imx-adbb5860e5d00771ecc04a1480a85e94ef0e187e.tar.gz u-boot-imx-adbb5860e5d00771ecc04a1480a85e94ef0e187e.tar.bz2 |
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 <jaganna@xilinx.com>
-rw-r--r-- | drivers/mtd/spi/ramtron.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/spi/ramtron.c b/drivers/mtd/spi/ramtron.c index 7367e7a..d50da37 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"); |