summaryrefslogtreecommitdiff
path: root/src/southbridge/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel')
-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