summaryrefslogtreecommitdiff
path: root/src/drivers/spi/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/Kconfig')
-rw-r--r--src/drivers/spi/Kconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/drivers/spi/Kconfig b/src/drivers/spi/Kconfig
index a4be84d814..c9d94d9f4b 100644
--- a/src/drivers/spi/Kconfig
+++ b/src/drivers/spi/Kconfig
@@ -61,9 +61,14 @@ config BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY
Include the common implementation in all stages, including the
early ones.
+config SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS
+ bool
+ default y if COMMON_CBFS_SPI_WRAPPER
+ default n
+
config SPI_FLASH_INCLUDE_ALL_DRIVERS
bool
- default n if COMMON_CBFS_SPI_WRAPPER
+ default n if SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS
default y
config SPI_FLASH_SMM