From 825005ac3d5357b1b3add5c8f15b82610b17edd4 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 26 May 2020 17:31:52 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41730 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/drivers/smmstore/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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