summaryrefslogtreecommitdiff
path: root/src/drivers/spi/eon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/eon.c')
-rw-r--r--src/drivers/spi/eon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/spi/eon.c b/src/drivers/spi/eon.c
index 7d9bc44523..2215a74d8a 100644
--- a/src/drivers/spi/eon.c
+++ b/src/drivers/spi/eon.c
@@ -112,8 +112,10 @@ static int eon_write(struct spi_flash *flash,
byte_addr = 0;
}
- printk(BIOS_INFO, "SF: EON: Successfully programmed %zu bytes @ 0x%x\n",
+#if CONFIG_DEBUG_SPI_FLASH
+ printk(BIOS_SPEW, "SF: EON: Successfully programmed %zu bytes @ 0x%x\n",
len, offset);
+#endif
spi_release_bus(flash->spi);
return ret;