u-boot: Add MTD and UBI support to ast-g5
Add MTD and UBI support to the default g5 include, conditioned to
having MTDPARTS_DEFAULT defined.
This allows platforms to enable this support if desired without
adding it by default since it increases the size of u-boot.
Change-Id: Id6d95769a5e65f4f0f30238bf6a6ee2878c5a521
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
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 1eddea3..811df0b 100644
--- a/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
+++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
@@ -6,7 +6,8 @@
SRC_URI += "${@bb.utils.contains('MACHINE_FEATURES', 'obmc-ubi-fs', \
'file://0001-config-ast-common-hack-bootopts.patch \
- file://0002-Add-MTD-support-to-Aspeed-Flash-driver.patch', '', d)}"
+ file://0002-Add-MTD-support-to-Aspeed-Flash-driver.patch \
+ file://0003-Add-MTD-and-UBI-support-to-ast-g5.patch', '', d)}"
PV = "v2016.07+git${SRCPV}"