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 <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56107
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Angel Pons
2021-07-06 13:50:23 +02:00
committed by Patrick Georgi
parent c75c8c15b9
commit 862064cc67

View File

@@ -57,6 +57,7 @@ config CHECK_ME
config ME_REGION_ALLOW_CPU_READ_ACCESS config ME_REGION_ALLOW_CPU_READ_ACCESS
bool "Allows HOST/CPU read access to ME region" bool "Allows HOST/CPU read access to ME region"
depends on HAVE_IFD_BIN
default y if SOC_INTEL_CSE_LITE_SKU default y if SOC_INTEL_CSE_LITE_SKU
default n default n
help help
@@ -137,8 +138,8 @@ config EC_BIN_PATH
default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/ec.bin" default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/ec.bin"
choice choice
prompt "Protect flash regions" prompt "Protect flash regions" if HAVE_IFD_BIN
default UNLOCK_FLASH_REGIONS default UNLOCK_FLASH_REGIONS if HAVE_IFD_BIN
help help
This option allows you to protect flash regions. This option allows you to protect flash regions.