summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorJan Tatje <jan@jnt.io>2019-01-06 17:38:36 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-01-10 12:37:38 +0000
commit82a4e27341bf292925d25779985a38f70a9858aa (patch)
treee9d2c1fac495072c3649ad41b2cec689aa5c8f12 /src/southbridge
parent7bc4dc5648c6ff37a847e99d7acee11e3e72a79d (diff)
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 <jan@jnt.io> Reviewed-on: https://review.coreboot.org/c/30697 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/common/firmware/Kconfig5
1 files changed, 4 insertions, 1 deletions
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.