From 862064cc6741e07986fd4f910532e319745df20a Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Tue, 6 Jul 2021 13:50:23 +0200 Subject: sb/intel/common: Hide IFD options if !HAVE_IFD_BIN When `HAVE_IFD_BIN` is not enabled, do not show IFD-related options. Change-Id: I8736f32b4c695efbd68adf551e1376726c718b56 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/56107 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Furquan Shaikh --- src/southbridge/intel/common/firmware/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/southbridge/intel/common') diff --git a/src/southbridge/intel/common/firmware/Kconfig b/src/southbridge/intel/common/firmware/Kconfig index 36dde562a9..a1026e84cf 100644 --- a/src/southbridge/intel/common/firmware/Kconfig +++ b/src/southbridge/intel/common/firmware/Kconfig @@ -57,6 +57,7 @@ config CHECK_ME config ME_REGION_ALLOW_CPU_READ_ACCESS bool "Allows HOST/CPU read access to ME region" + depends on HAVE_IFD_BIN default y if SOC_INTEL_CSE_LITE_SKU default n help @@ -137,8 +138,8 @@ config EC_BIN_PATH default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/ec.bin" choice - prompt "Protect flash regions" - default UNLOCK_FLASH_REGIONS + prompt "Protect flash regions" if HAVE_IFD_BIN + default UNLOCK_FLASH_REGIONS if HAVE_IFD_BIN help This option allows you to protect flash regions. -- cgit v1.2.3