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