summaryrefslogtreecommitdiff
path: root/src/drivers/spi/gigadevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/gigadevice.c')
-rw-r--r--src/drivers/spi/gigadevice.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/drivers/spi/gigadevice.c b/src/drivers/spi/gigadevice.c
index 0647baf674..ece6978c2b 100644
--- a/src/drivers/spi/gigadevice.c
+++ b/src/drivers/spi/gigadevice.c
@@ -175,9 +175,12 @@ static int gigadevice_write(struct spi_flash *flash, u32 offset,
byte_addr = 0;
}
- printk(BIOS_INFO,
+#if CONFIG_DEBUG_SPI_FLASH
+ printk(BIOS_SPEW,
"SF gigadevice.c: Successfully programmed %zu bytes @ %#x\n",
len, (unsigned int)(offset - len));
+#endif
+
ret = 0;
out: