From e6ff1596e7417d24746162b3a567bcb6dd9ef988 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 24 Jun 2017 21:34:29 -0600 Subject: soc/intel: add IS_ENABLED() around Kconfig symbol references Change-Id: I3c5f9e0d3d1efdd83442ce724043729c8648ea64 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/20348 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/soc/intel/broadwell/spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/intel/broadwell/spi.c') diff --git a/src/soc/intel/broadwell/spi.c b/src/soc/intel/broadwell/spi.c index eea3ade7f5..3ebc3bfaca 100644 --- a/src/soc/intel/broadwell/spi.c +++ b/src/soc/intel/broadwell/spi.c @@ -162,7 +162,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) { -- cgit v1.2.3