summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/ramtron.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/spi/ramtron.c')
-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 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");