summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-10-10 16:41:57 +0200
committerArthur Heymans <arthur@aheymans.xyz>2019-10-11 07:08:27 +0000
commitcbe5357de02fa9f25ab9c0ca557e3057c701b059 (patch)
tree8e111fae6f78e1e0948e70a5ed9bd23f289d0724
parent894240d362e3e8474c36ec821b0dcf40e8327520 (diff)
downloadcoreboot-cbe5357de02fa9f25ab9c0ca557e3057c701b059.tar.gz
coreboot-cbe5357de02fa9f25ab9c0ca557e3057c701b059.tar.bz2
coreboot-cbe5357de02fa9f25ab9c0ca557e3057c701b059.zip
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/Kconfig1
-rw-r--r--src/vendorcode/eltan/Kconfig5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/facebook/fbg1701/Kconfig b/src/mainboard/facebook/fbg1701/Kconfig
index 0aa4acc75da6..a6077052c84b 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 731dd2cea3ab..dc756ab4d769 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