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>
This commit is contained in:
Arthur Heymans 2020-05-26 17:31:52 +02:00 committed by Patrick Georgi
parent 0d512179c5
commit 825005ac3d
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
config SMMSTORE config SMMSTORE
bool "Support for flash based, SMM mediated data store" 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 default y if PAYLOAD_TIANOCORE
select SPI_FLASH_SMM if BOOT_DEVICE_SPI_FLASH_RW_NOMMAP select SPI_FLASH_SMM if BOOT_DEVICE_SPI_FLASH_RW_NOMMAP