From c248382d5200c15bcb97176c0fd6a8f4ef66343d Mon Sep 17 00:00:00 2001 From: Frans Hendriks Date: Thu, 19 Nov 2020 08:54:28 +0100 Subject: vendorcode/eltan/security: Add dependency for menu items Subitem for VENDORCODE_ELTAN_VBOOT and VENDORCODE_ELTAN_MBOOT are always displayed. Add dependency and display these items when feature is enabled only. Tested on Facebook FBG1701. Change-Id: I51e47efddbcf51d87439bec33b85432da56fa4c6 Signed-off-by: Frans Hendriks Reviewed-on: https://review.coreboot.org/c/coreboot/+/47740 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/vendorcode/eltan/security/mboot/Kconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vendorcode/eltan/security/mboot') diff --git a/src/vendorcode/eltan/security/mboot/Kconfig b/src/vendorcode/eltan/security/mboot/Kconfig index 91898fc401..540b7b22eb 100644 --- a/src/vendorcode/eltan/security/mboot/Kconfig +++ b/src/vendorcode/eltan/security/mboot/Kconfig @@ -10,8 +10,11 @@ config VENDORCODE_ELTAN_MBOOT Enabling MBOOT will use mboot to measure the components of the firmware (stages, payload, etc). +if VENDORCODE_ELTAN_MBOOT + config VENDORCODE_ELTAN_CRTM_VERSION_STRING string "default CRTM version" default "default CRTM version" +endif # VENDORCODE_ELTAN_MBOOT endmenu # Measured Boot (mboot) -- cgit v1.2.3