[coreboot-gerrit] New patch to review for coreboot: 17df316 Make intel blob locations configurable

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Thu Jun 13 15:58:48 CEST 2013


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3453

-gerrit

commit 17df31650fa3866e66fd948e9998026891564603
Author: Patrick Georgi <patrick.georgi at secunet.com>
Date:   Thu Jun 13 15:07:02 2013 +0200

    Make intel blob locations configurable
    
    They were hard-coded to be copied from 3rdparty/ which isn't always
    the right choice.
    
    Since the defaults stay the same, this should be compatible.
    
    Change-Id: If2173bef86ad1fcf2335e13472ea8ca41eb41f3d
    Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
---
 src/southbridge/intel/bd82x6x/Kconfig      | 8 ++++++++
 src/southbridge/intel/bd82x6x/Makefile.inc | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/southbridge/intel/bd82x6x/Kconfig b/src/southbridge/intel/bd82x6x/Kconfig
index 79c812e..08a60f9 100644
--- a/src/southbridge/intel/bd82x6x/Kconfig
+++ b/src/southbridge/intel/bd82x6x/Kconfig
@@ -72,6 +72,14 @@ config GBE_BIN_PATH
 	depends on HAVE_GBE_BIN
 	default "3rdparty/mainboard/$(MAINBOARDDIR)/gbe.bin"
 
+config ME_BIN_PATH
+	string "Path to management engine firmware"
+	default "3rdparty/mainboard/$(MAINBOARDDIR)/me.bin"
+
+config IFD_BIN_PATH
+	string "Path to intel firmware descriptor"
+	default "3rdparty/mainboard/$(MAINBOARDDIR)/descriptor.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 2e10e03..e277450 100644
--- a/src/southbridge/intel/bd82x6x/Makefile.inc
+++ b/src/southbridge/intel/bd82x6x/Makefile.inc
@@ -54,11 +54,11 @@ romstage-y += early_spi.c
 
 bd82x6x_add_me: $(obj)/coreboot.pre $(IFDTOOL)
 	printf "    DD         Adding Intel Firmware Descriptor\n"
-	dd if=3rdparty/mainboard/$(MAINBOARDDIR)/descriptor.bin \
+	dd if=$(CONFIG_IFD_BIN_PATH) \
 		of=$(obj)/coreboot.pre conv=notrunc >/dev/null 2>&1
 	printf "    IFDTOOL    me.bin -> coreboot.pre\n"
 	$(objutil)/ifdtool/ifdtool \
-		-i ME:3rdparty/mainboard/$(MAINBOARDDIR)/me.bin \
+		-i ME:$(CONFIG_ME_BIN_PATH) \
 		$(obj)/coreboot.pre
 	mv $(obj)/coreboot.pre.new $(obj)/coreboot.pre
 ifeq ($(CONFIG_HAVE_GBE_BIN),y)



More information about the coreboot-gerrit mailing list