aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/firmware/Makefile.inc
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2015-12-03 14:27:45 -0700
committerMartin Roth <martinroth@google.com>2015-12-08 00:01:03 +0100
commitb9de78beb67fdf5057e01af7aae198eaacb76d14 (patch)
treed887824d877e8f25238425a2a0d162199be7d636 /src/southbridge/intel/common/firmware/Makefile.inc
parent359737d89700998048e1b04d8d0ae49b461cbbcb (diff)
intel/common/firmware: Add option to configure SPI for EM100
Add a Kconfig option to set the firmware descriptor to allow EM100 use. Change-Id: If5d7cd6ad671f0328ee5be0b5e660dbc837fcac3 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/12637 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/southbridge/intel/common/firmware/Makefile.inc')
-rw-r--r--src/southbridge/intel/common/firmware/Makefile.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/southbridge/intel/common/firmware/Makefile.inc b/src/southbridge/intel/common/firmware/Makefile.inc
index 49a44348e8..fa28ccfe10 100644
--- a/src/southbridge/intel/common/firmware/Makefile.inc
+++ b/src/southbridge/intel/common/firmware/Makefile.inc
@@ -71,6 +71,12 @@ else ifneq ($(CONFIG_BUILD_WITH_FAKE_IFD),y)
mv $(obj)/coreboot.pre.new $(obj)/coreboot.pre
endif
+ifeq ($(CONFIG_EM100),y)
+ printf " IFDTOOL Setting EM100 mode\n"
+ $(objutil)/ifdtool/ifdtool --em100 $(obj)/coreboot.pre
+ mv $(obj)/coreboot.pre.new $(obj)/coreboot.pre
+endif
+
PHONY+=add_intel_firmware
endif