mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-15 06:33:45 +09:00
sf: use print_size() for sector_size output
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
334eb4b02f
commit
493c360721
@ -297,8 +297,8 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
|
|||||||
goto err_manufacturer_probe;
|
goto err_manufacturer_probe;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("SF: Detected %s with page size %u, total ",
|
printf("SF: Detected %s with page size ", flash->name);
|
||||||
flash->name, flash->sector_size);
|
print_size(flash->sector_size, ", total ");
|
||||||
print_size(flash->size, "\n");
|
print_size(flash->size, "\n");
|
||||||
|
|
||||||
spi_release_bus(spi);
|
spi_release_bus(spi);
|
||||||
|
Loading…
Reference in New Issue
Block a user