|
@@ -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");
|
|
|
|