summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-10-07 17:21:20 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-10-07 19:35:09 +0530
commitadbb5860e5d00771ecc04a1480a85e94ef0e187e (patch)
tree8c8ffbb2d1f0f6dbc4462bf838f2c5a192b01c97 /drivers/mtd
parentce22b922dd1fdd3f6cb25660e6e845d4f1cb4f70 (diff)
downloadu-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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/spi/ramtron.c3
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");