aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2013-05-14 15:14:08 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-06-06 20:38:41 +0200
commitea6d6e8c1f1e5785d5c41029f3bb76e726aece6c (patch)
treee622a2aab61357866f1ea069f488be352e59f339
parent4af2bb5724b7b50b1a7b139da7fe17289e0785c8 (diff)
intel/bd82x6x: Add option to include ethernet firmware
Change-Id: Idf804ed29a67bad732df19e6981f74c8d0c354b5 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: http://review.coreboot.org/3388 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--src/southbridge/intel/bd82x6x/Kconfig13
-rw-r--r--src/southbridge/intel/bd82x6x/Makefile.inc7
2 files changed, 20 insertions, 0 deletions
diff --git a/src/southbridge/intel/bd82x6x/Kconfig b/src/southbridge/intel/bd82x6x/Kconfig
index 5dd492c182..79c812eaa9 100644
--- a/src/southbridge/intel/bd82x6x/Kconfig
+++ b/src/southbridge/intel/bd82x6x/Kconfig
@@ -59,6 +59,19 @@ config HPET_MIN_TICKS
hex
default 0x80
+config HAVE_GBE_BIN
+ bool "Add gigabit ethernet firmware"
+ default n
+ help
+ The integrated gigabit ethernet controller needs a firmware file.
+ Select this if you are going to use the PCH integrated controller
+ and have the firmware.
+
+config GBE_BIN_PATH
+ string "Path to gigabit ethernet firmware"
+ depends on HAVE_GBE_BIN
+ default "3rdparty/mainboard/$(MAINBOARDDIR)/gbe.bin"
+
config LOCK_MANAGEMENT_ENGINE
bool "Lock Management Engine section"
default n
diff --git a/src/southbridge/intel/bd82x6x/Makefile.inc b/src/southbridge/intel/bd82x6x/Makefile.inc
index bc3ff4bbdf..f833ba1189 100644
--- a/src/southbridge/intel/bd82x6x/Makefile.inc
+++ b/src/southbridge/intel/bd82x6x/Makefile.inc
@@ -63,6 +63,13 @@ bd82x6x_add_me: $(obj)/coreboot.pre $(IFDTOOL)
-i ME:3rdparty/mainboard/$(MAINBOARDDIR)/me.bin \
$(obj)/coreboot.pre
mv $(obj)/coreboot.pre.new $(obj)/coreboot.pre
+ifeq ($(CONFIG_HAVE_GBE_BIN),y)
+ printf " IFDTOOL gbe.bin -> coreboot.pre\n"
+ $(objutil)/ifdtool/ifdtool \
+ -i GbE:$(CONFIG_GBE_BIN_PATH) \
+ $(obj)/coreboot.pre
+ mv $(obj)/coreboot.pre.new $(obj)/coreboot.pre
+endif
ifeq ($(CONFIG_LOCK_MANAGEMENT_ENGINE),y)
printf " IFDTOOL Locking Management Engine\n"
$(objutil)/ifdtool/ifdtool -l $(obj)/coreboot.pre