summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/elog/Kconfig1
-rw-r--r--src/drivers/spi/Kconfig3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/elog/Kconfig b/src/drivers/elog/Kconfig
index c7bed75059..c5ff7aeffe 100644
--- a/src/drivers/elog/Kconfig
+++ b/src/drivers/elog/Kconfig
@@ -41,6 +41,7 @@ endif
config ELOG_GSMI
depends on ELOG && SMM_TSEG
bool "SMI interface to write and clear event log"
+ select SPI_FLASH_SMM if BOOT_DEVICE_SPI_FLASH_RW_NOMMAP
default n
help
This interface is compatible with the linux kernel driver
diff --git a/src/drivers/spi/Kconfig b/src/drivers/spi/Kconfig
index c8d86ff104..b15a502cfd 100644
--- a/src/drivers/spi/Kconfig
+++ b/src/drivers/spi/Kconfig
@@ -62,8 +62,7 @@ config SPI_FLASH_INCLUDE_ALL_DRIVERS
default y
config SPI_FLASH_SMM
- bool "SPI flash driver support in SMM"
- default n
+ bool
depends on HAVE_SMI_HANDLER
help
Select this option if you want SPI flash support in SMM.