diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2019-10-10 16:41:57 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2019-10-11 07:08:27 +0000 |
commit | cbe5357de02fa9f25ab9c0ca557e3057c701b059 (patch) | |
tree | 8e111fae6f78e1e0948e70a5ed9bd23f289d0724 | |
parent | 894240d362e3e8474c36ec821b0dcf40e8327520 (diff) |
vendorcode/eltan/Kconfig: Hide the Kconfig options when lacking support
The vendorcode/eltan mboot and verified boot options only build if a
few other Kconfig options are defined.
Change-Id: Ie333d2fbf294e23ec01df06ee551e2d09541c744
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35954
Reviewed-by: Wim Vervoorn
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/mainboard/facebook/fbg1701/Kconfig | 1 | ||||
-rw-r--r-- | src/vendorcode/eltan/Kconfig | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/facebook/fbg1701/Kconfig b/src/mainboard/facebook/fbg1701/Kconfig index 0aa4acc75d..a6077052c8 100644 --- a/src/mainboard/facebook/fbg1701/Kconfig +++ b/src/mainboard/facebook/fbg1701/Kconfig @@ -30,6 +30,7 @@ config BOARD_SPECIFIC_OPTIONS select DISABLE_HPET select INTEL_GMA_HAVE_VBT select GENERIC_SPD_BIN + select USE_VENDORCODE_ELTAN config ONBOARD_SAMSUNG_MEM bool "Onboard memory manufacturer Samsung" diff --git a/src/vendorcode/eltan/Kconfig b/src/vendorcode/eltan/Kconfig index 731dd2cea3..dc756ab4d7 100644 --- a/src/vendorcode/eltan/Kconfig +++ b/src/vendorcode/eltan/Kconfig @@ -13,5 +13,10 @@ ## GNU General Public License for more details. ## +config USE_VENDORCODE_ELTAN + bool + +if USE_VENDORCODE_ELTAN source src/vendorcode/eltan/security/mboot/Kconfig source src/vendorcode/eltan/security/verified_boot/Kconfig +endif |