Commit 3ea708f0 authored by Jagannadha Sutradharudu Teki's avatar Jagannadha Sutradharudu Teki
Browse files

sf: probe: Print erase_size while printing flash details



Included erase_size while printing probed flash details.
Signed-off-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
parent 567901c8
...@@ -325,7 +325,8 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, ...@@ -325,7 +325,8 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
#endif #endif
#ifndef CONFIG_SPL_BUILD #ifndef CONFIG_SPL_BUILD
printf("SF: Detected %s with page size ", flash->name); 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, ""); print_size(flash->size, "");
if (flash->memory_map) if (flash->memory_map)
printf(", mapped at %p", flash->memory_map); printf(", mapped at %p", flash->memory_map);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment