Skip to content
Snippets Groups Projects
Commit 493c3607 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

sf: use print_size() for sector_size output


Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 334eb4b0
No related branches found
No related tags found
No related merge requests found
......@@ -297,8 +297,8 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs,
goto err_manufacturer_probe;
}
printf("SF: Detected %s with page size %u, total ",
flash->name, flash->sector_size);
printf("SF: Detected %s with page size ", flash->name);
print_size(flash->sector_size, ", total ");
print_size(flash->size, "\n");
spi_release_bus(spi);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment