summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorDavid Imhoff <dimhoff_devel@xs4all.nl>2015-05-03 13:47:49 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-05-04 22:33:39 +0200
commit8d4377b56d28678dd4dba156b27f12a72fcff6a3 (patch)
treeac0a2b09fa5b61fbd7b9b9d9b5417f32b190f617 /src/drivers
parentd36b80c791a10d976f30388b8393136a85c14532 (diff)
downloadcoreboot-8d4377b56d28678dd4dba156b27f12a72fcff6a3.tar.xz
spi: Change 'page' to 'sector' in log message
The log message says 'page size' while actually the sector size is printed. This is confusing since for stmicro page size != sector size. Also add '0x' prefix to numbers to make it clear they are in hex. TEST=Build and booted on Minnowboard Max Change-Id: I795a4b7c1bc8de2538a87fd4ba56f5a78d9ca2ac Signed-off-by: David Imhoff <dimhoff_devel@xs4all.nl> Reviewed-on: http://review.coreboot.org/10067 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/spi/spi_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi/spi_flash.c b/src/drivers/spi/spi_flash.c
index d40f72a852..d2a3c66bd2 100644
--- a/src/drivers/spi/spi_flash.c
+++ b/src/drivers/spi/spi_flash.c
@@ -381,7 +381,7 @@ flash_detected:
tseg_relocate((void **)&flash->name);
#endif
- printk(BIOS_INFO, "SF: Detected %s with page size %x, total %x\n",
+ printk(BIOS_INFO, "SF: Detected %s with sector size 0x%x, total 0x%x\n",
flash->name, flash->sector_size, flash->size);
spi_flash_dev = flash;