summaryrefslogtreecommitdiff
path: root/src/drivers/smmstore
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2020-05-26 17:31:52 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-28 09:35:20 +0000
commit825005ac3d5357b1b3add5c8f15b82610b17edd4 (patch)
treece51fa119ec807fd8a895854a4bbf3902d2d41a3 /src/drivers/smmstore
parent0d512179c5e33de51620973250c9e3acf18ad082 (diff)
drivers/smmstore/Kconfig: Add a proper dependency
This feature is only available if properly hooked up to an smihandler. Change-Id: I99baef07b0623f9a6b41e8b8e000a89589c298d0 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41730 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/smmstore')
-rw-r--r--src/drivers/smmstore/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/smmstore/Kconfig b/src/drivers/smmstore/Kconfig
index 019666b1ff..7ee8676014 100644
--- a/src/drivers/smmstore/Kconfig
+++ b/src/drivers/smmstore/Kconfig
@@ -2,7 +2,7 @@
config SMMSTORE
bool "Support for flash based, SMM mediated data store"
- depends on BOOT_DEVICE_SUPPORTS_WRITES
+ depends on BOOT_DEVICE_SUPPORTS_WRITES && HAVE_SMI_HANDLER
default y if PAYLOAD_TIANOCORE
select SPI_FLASH_SMM if BOOT_DEVICE_SPI_FLASH_RW_NOMMAP