From dd0dc1ac9234fd2d6e786146739172eba0d4564f Mon Sep 17 00:00:00 2001 From: Wim Vervoorn Date: Thu, 14 Nov 2019 14:42:24 +0100 Subject: security/intel: Hide Intel submenu when INTEL TXT is disabled An empty submenu Intel is displayed in security menu when INTEL_TXT is disabled. Enable submenu Intel only when INTEL_TXT is enabled. BUG=N/A TEST=build Change-Id: Iff1d84ff60a15259b60c6205a63a27ecb26346a3 Signed-off-by: Wim Vervoorn Reviewed-on: https://review.coreboot.org/c/coreboot/+/36852 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/security/intel/Kconfig | 4 ---- src/security/intel/txt/Kconfig | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/security') diff --git a/src/security/intel/Kconfig b/src/security/intel/Kconfig index 333e3857ac..a4525e7b9b 100644 --- a/src/security/intel/Kconfig +++ b/src/security/intel/Kconfig @@ -13,8 +13,4 @@ ## GNU General Public License for more details. ## -menu "Intel" - source "src/security/intel/txt/Kconfig" - -endmenu # Intel diff --git a/src/security/intel/txt/Kconfig b/src/security/intel/txt/Kconfig index 011a41cdc3..97d24fd6c9 100644 --- a/src/security/intel/txt/Kconfig +++ b/src/security/intel/txt/Kconfig @@ -26,6 +26,8 @@ config INTEL_TXT if INTEL_TXT +menu "Intel" + config INTEL_TXT_BIOSACM_FILE string "BIOS ACM file" default "3rdparty/blobs/soc/intel/fsp_broadwell_de/biosacm.bin" if SOC_INTEL_FSP_BROADWELL_DE @@ -51,4 +53,6 @@ config INTEL_TXT_BIOSACM_ALIGNMENT Exceptions are Ivy- and Sandy Bridge with 64KB and Purely with 256KB alignment size. Please overwrite it SoC specific. +endmenu # Intel + endif -- cgit v1.2.3