sf: ramtron: Remove page_size print
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 7 Oct 2013 11:51:20 +0000 (17:21 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 7 Oct 2013 14:05:09 +0000 (19:35 +0530)
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>
drivers/mtd/spi/ramtron.c

index 7367e7ab223126669a36643574dd43257f97009e..d50da37c89af4418b5a6ad52c297007f6bb3dfc3 100644 (file)
@@ -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");