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:
parent
0d512179c5
commit
825005ac3d
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue