Patrick Georgi submitted this change.
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>
---
M src/southbridge/intel/common/firmware/Kconfig
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/southbridge/intel/common/firmware/Kconfig b/src/southbridge/intel/common/firmware/Kconfig
index 36dde56..a1026e8 100644
--- a/src/southbridge/intel/common/firmware/Kconfig
+++ b/src/southbridge/intel/common/firmware/Kconfig
@@ -57,6 +57,7 @@
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 @@
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.
To view, visit change 56107. To unsubscribe, or for help writing mail filters, visit settings.