summaryrefslogtreecommitdiffstats
path: root/src/southbridge/intel/common/firmware/Makefile.inc
diff options
context:
space:
mode:
authorJeff Daly <jeffd@silicom-usa.com>2022-01-06 16:16:46 -0500
committerFelix Held <felix-coreboot@felixheld.de>2022-03-08 15:04:03 +0000
commit1e4d9d573c59b68b16927db9f8db9af83338de2f (patch)
treecbb79a66a0bbab69023897b4f1f50076b76709c2 /src/southbridge/intel/common/firmware/Makefile.inc
parentabd4b96eb4f73b220d9ec61ada582fcc79d2eb46 (diff)
downloadcoreboot-1e4d9d573c59b68b16927db9f8db9af83338de2f.tar.gz
coreboot-1e4d9d573c59b68b16927db9f8db9af83338de2f.tar.bz2
coreboot-1e4d9d573c59b68b16927db9f8db9af83338de2f.zip
sb/intel/common/firmware: Hook up adding 10GbE LAN firmware
Add ability to use ifdtool to add LAN firmware to image using Kconfig Signed-off-by: Jeff Daly <jeffd@silicom-usa.com> Change-Id: Id45ab4b69a85a5f8e52c0c4b130b6d729222b4c3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60877 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/southbridge/intel/common/firmware/Makefile.inc')
-rw-r--r--src/southbridge/intel/common/firmware/Makefile.inc17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/southbridge/intel/common/firmware/Makefile.inc b/src/southbridge/intel/common/firmware/Makefile.inc
index 693bafb7a85e..ba1d3b1d6737 100644
--- a/src/southbridge/intel/common/firmware/Makefile.inc
+++ b/src/southbridge/intel/common/firmware/Makefile.inc
@@ -86,7 +86,22 @@ ifeq ($(CONFIG_HAVE_EC_BIN),y)
-O $(obj)/coreboot.pre \
$(obj)/coreboot.pre
endif
-
+ifeq ($(CONFIG_HAVE_10GBE_0_BIN),y)
+ printf " IFDTOOL 10gbe0.bin -> coreboot.pre\n"
+ $(objutil)/ifdtool/ifdtool \
+ $(IFDTOOL_USE_CHIPSET) \
+ -i 10GbE_0:$(CONFIG_10GBE_0_BIN_PATH) \
+ -O $(obj)/coreboot.pre \
+ $(obj)/coreboot.pre
+endif
+ifeq ($(CONFIG_HAVE_10GBE_1_BIN),y)
+ printf " IFDTOOL 10gbe1.bin -> coreboot.pre\n"
+ $(objutil)/ifdtool/ifdtool \
+ $(IFDTOOL_USE_CHIPSET) \
+ -i 10GbE_1:$(CONFIG_10GBE_1_BIN_PATH) \
+ -O $(obj)/coreboot.pre \
+ $(obj)/coreboot.pre
+endif
ifeq ($(CONFIG_LOCK_MANAGEMENT_ENGINE),y)
printf " IFDTOOL Locking Management Engine\n"
$(objutil)/ifdtool/ifdtool \