summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail/spi.c')
-rw-r--r--src/soc/intel/baytrail/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/baytrail/spi.c b/src/soc/intel/baytrail/spi.c
index 340c00c27c..aa7dde214b 100644
--- a/src/soc/intel/baytrail/spi.c
+++ b/src/soc/intel/baytrail/spi.c
@@ -163,7 +163,7 @@ enum {
SPI_OPCODE_TYPE_WRITE_WITH_ADDRESS = 3
};
-#if CONFIG_DEBUG_SPI_FLASH
+#if IS_ENABLED(CONFIG_DEBUG_SPI_FLASH)
static u8 readb_(const void *addr)
{