diff options
author | Martin Roth <martinroth@google.com> | 2015-12-03 14:27:45 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2015-12-08 00:01:03 +0100 |
commit | b9de78beb67fdf5057e01af7aae198eaacb76d14 (patch) | |
tree | d887824d877e8f25238425a2a0d162199be7d636 /src/southbridge | |
parent | 359737d89700998048e1b04d8d0ae49b461cbbcb (diff) | |
download | coreboot-b9de78beb67fdf5057e01af7aae198eaacb76d14.tar.xz |
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')
-rw-r--r-- | src/southbridge/intel/common/firmware/Kconfig | 6 | ||||
-rw-r--r-- | src/southbridge/intel/common/firmware/Makefile.inc | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/southbridge/intel/common/firmware/Kconfig b/src/southbridge/intel/common/firmware/Kconfig index 316ade48b3..62b9a31690 100644 --- a/src/southbridge/intel/common/firmware/Kconfig +++ b/src/southbridge/intel/common/firmware/Kconfig @@ -34,6 +34,12 @@ config IFD_BIN_PATH default "3rdparty/blobs/mainboard/$(MAINBOARDDIR)/descriptor.bin" depends on HAVE_IFD_BIN && !BUILD_WITH_FAKE_IFD +config EM100 + bool "Configure IFD for EM100 usage" + depends on HAVE_IFD_BIN && !BUILD_WITH_FAKE_IFD + help + Set SPI frequency to 20MHz and disable Dual Output Fast Read Support + config HAVE_ME_BIN bool "Add Intel ME/TXE firmware" depends on HAVE_IFD_BIN 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 |