diff options
author | Frans Hendriks <fhendriks@eltan.com> | 2020-11-19 08:54:28 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-22 22:27:43 +0000 |
commit | c248382d5200c15bcb97176c0fd6a8f4ef66343d (patch) | |
tree | 7a961aa7e7337c0ca4991e8151ab61ea130168c9 /src/vendorcode/eltan/security | |
parent | d8d8be1a6a008d061727ddd07bd39bd435c4aaf0 (diff) |
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>
Diffstat (limited to 'src/vendorcode/eltan/security')
-rw-r--r-- | src/vendorcode/eltan/security/mboot/Kconfig | 3 | ||||
-rw-r--r-- | src/vendorcode/eltan/security/verified_boot/Kconfig | 3 |
2 files changed, 6 insertions, 0 deletions
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) diff --git a/src/vendorcode/eltan/security/verified_boot/Kconfig b/src/vendorcode/eltan/security/verified_boot/Kconfig index b4d1378d47..7741782650 100644 --- a/src/vendorcode/eltan/security/verified_boot/Kconfig +++ b/src/vendorcode/eltan/security/verified_boot/Kconfig @@ -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) |