]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sf: probe: Print erase_size while printing flash details
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 15 Sep 2013 17:36:12 +0000 (23:06 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 7 Oct 2013 12:25:48 +0000 (17:55 +0530)
Included erase_size while printing probed flash details.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/spi_flash_probe.c

index 68290bb2d8acf35d7b653845114eebc6dbe0177e..8abb27dde6b67bff948e0f113e34797c6a1eb12e 100644 (file)
@@ -325,7 +325,8 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
 #endif
 #ifndef CONFIG_SPL_BUILD
        printf("SF: Detected %s with page size ", flash->name);
-       print_size(flash->page_size, ", total ");
+       print_size(flash->page_size, ", erase size ");
+       print_size(flash->erase_size, ", total ");
        print_size(flash->size, "");
        if (flash->memory_map)
                printf(", mapped at %p", flash->memory_map);