[coreboot-gerrit] New patch to review for coreboot: soc/qualcomm/ipq40xx: Add config option for SBL utils path

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Fri May 6 23:27:52 CEST 2016


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14652

-gerrit

commit a32d4089057aa0d2123d3a7991ed1d6198f7ba67
Author: Varadarajan Narayanan <varada at codeaurora.org>
Date:   Thu Feb 4 21:57:39 2016 +0530

    soc/qualcomm/ipq40xx: Add config option for SBL utils path
    
    BUG=chrome-os-partner:49249
    TEST=Compiles...
    BRANCH=none
    
    Change-Id: If41b5faab7952b1017877a91e4cf281ee4ce99d9
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: bf907395f4abe859489276e793d9662c8594ff9b
    Original-Change-Id: I132bfe667f9b4fad32ed7b14091c4523020183d0
    Original-Signed-off-by: Varadarajan Narayanan <varada at codeaurora.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/333309
    Original-Commit-Ready: David Hendricks <dhendrix at chromium.org>
    Original-Tested-by: David Hendricks <dhendrix at chromium.org>
    Original-Reviewed-by: David Hendricks <dhendrix at chromium.org>
---
 src/soc/qualcomm/ipq40xx/Kconfig      | 8 ++++++++
 src/soc/qualcomm/ipq40xx/Makefile.inc | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/soc/qualcomm/ipq40xx/Kconfig b/src/soc/qualcomm/ipq40xx/Kconfig
index b995fd0..0b2cc17 100644
--- a/src/soc/qualcomm/ipq40xx/Kconfig
+++ b/src/soc/qualcomm/ipq40xx/Kconfig
@@ -41,4 +41,12 @@ config SBL_ELF
 	  The path and filename of the binary blob containing
 	  ipq40xx early initialization code, as supplied by the
 	  vendor.
+
+config SBL_UTIL_PATH
+	depends on USE_BLOBS
+	string "Path for utils to combine SBL_ELF and bootblock"
+	default "3rdparty/blobs/cpu/qualcomm/ipq40xx/util"
+	help
+	  Path for utils to combine SBL_ELF and bootblock
+
 endif
diff --git a/src/soc/qualcomm/ipq40xx/Makefile.inc b/src/soc/qualcomm/ipq40xx/Makefile.inc
index 8e10cec..f8350f8 100644
--- a/src/soc/qualcomm/ipq40xx/Makefile.inc
+++ b/src/soc/qualcomm/ipq40xx/Makefile.inc
@@ -59,7 +59,7 @@ ifeq ($(CONFIG_USE_BLOBS),y)
 $(objcbfs)/bootblock.bin: $(call strip_quotes,$(CONFIG_SBL_ELF)) \
 			   $(objcbfs)/bootblock.elf
 	@printf "    CRXBL      $(subst $(obj)/,,$(^)) $(subst $(obj)/,,$(@))\n"
-	@util/ipqheader/createxbl.py -f $(CONFIG_SBL_ELF) -s $(objcbfs)/bootblock.elf -o $@ -a 32 -b 32
+	@$(CONFIG_SBL_UTIL_PATH)/createxbl.py -f $(CONFIG_SBL_ELF) -s $(objcbfs)/bootblock.elf -o $@ -a 32 -b 32
 
 endif
 



More information about the coreboot-gerrit mailing list