From 82a4e27341bf292925d25779985a38f70a9858aa Mon Sep 17 00:00:00 2001 From: Jan Tatje Date: Sun, 6 Jan 2019 17:38:36 +0100 Subject: sb/intel/common: Show "Add EC firmware" only for boards that need it Most boards currently do not use EC firmware from SPI flash in the IFD, this hides this option by default and shows it only for boards that need it. A new config variable MAINBOARD_USES_IFD_EC_REGION is introduced to enable this option for boards that need it. The following list of boards requiring this was provided by Lijian Zhao: 1. intel/cannonlake_rvp 2. intel/coffeelake_rvp 3. intel/icelake_rvp 4. google/sarien 5. google/hatch Change-Id: I52ab977319d99a23a5e982cc01479fe801e172a7 Signed-off-by: Jan Tatje Reviewed-on: https://review.coreboot.org/c/30697 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Lijian Zhao --- src/southbridge/intel/common/firmware/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/southbridge/intel/common/firmware') diff --git a/src/southbridge/intel/common/firmware/Kconfig b/src/southbridge/intel/common/firmware/Kconfig index 97fb99320a..8891c613fc 100644 --- a/src/southbridge/intel/common/firmware/Kconfig +++ b/src/southbridge/intel/common/firmware/Kconfig @@ -120,9 +120,12 @@ config GBE_BIN_PATH depends on HAVE_GBE_BIN default "3rdparty/blobs/mainboard/$(MAINBOARDDIR)/gbe.bin" +config MAINBOARD_USES_IFD_EC_REGION + def_bool n + config HAVE_EC_BIN bool "Add EC firmware" - depends on HAVE_IFD_BIN + depends on HAVE_IFD_BIN && MAINBOARD_USES_IFD_EC_REGION help The embedded controller needs a firmware file. -- cgit v1.2.3