summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2017-07-27 13:32:33 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2017-08-18 11:48:40 -0500
commit470e25efc3fedbe2846acc77abba61524c1784a4 (patch)
tree8eae4f321caa580bf30c0d99753b0ddecd9565bd /meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
parenta0dc87b2e45898974d59906957d69a0dbee88169 (diff)
downloadtalos-openbmc-470e25efc3fedbe2846acc77abba61524c1784a4.tar.gz
talos-openbmc-470e25efc3fedbe2846acc77abba61524c1784a4.zip
u-boot: modify boot options if obmc-ubi-fs enabled
Change-Id: I9b91ce8c540df347537544bbe5e8b5396aa2d3dc Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc')
-rw-r--r--meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc b/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
index 492e3f798..03b7a6130 100644
--- a/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
+++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
@@ -4,6 +4,9 @@ SRCREV = "a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac"
UBRANCH = "v2016.07-aspeed-openbmc"
SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https"
+SRC_URI += "${@bb.utils.contains('MACHINE_FEATURES', 'obmc-ubi-fs', \
+ 'file://0001-config-ast-common-hack-bootopts.patch', '', d)}"
+
PV = "v2016.07+git${SRCPV}"
SRC_URI += "file://0001-configs-ast-Add-redundnant-env.patch"
OpenPOWER on IntegriCloud