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 <fhendriks@eltan.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47740
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Frans Hendriks 2020-11-19 08:54:28 +01:00 committed by Patrick Georgi
parent d8d8be1a6a
commit c248382d52
2 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -8,6 +8,8 @@ config VENDORCODE_ELTAN_VBOOT
default n
select VBOOT_LIB
if VENDORCODE_ELTAN_VBOOT
config VENDORCODE_ELTAN_VBOOT_SIGNED_MANIFEST
bool "Enable Signed Manifest"
depends on VENDORCODE_ELTAN_VBOOT
@ -52,4 +54,5 @@ config VENDORCODE_ELTAN_VBOOT_KEY_SIZE
int
default 552
endif # VENDORCODE_ELTAN_VBOOT
endmenu # Verified Boot (verified_boot)