u-boot: Add MTD support to Aspeed Flash driver
Add support to the aspeed flash driver to enable the common mtd layer
through CONFIG_FLASH_CFI_MTD.
This enables the flash to be used by u-boot mtd drivers including
the mtdparts and ubi commands.
Change-Id: Ib95d778fdb88ec0e62a8f53e651795b4f40041d9
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 03b7a61..1eddea3 100644
--- a/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
+++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot.inc
@@ -5,7 +5,8 @@
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)}"
+ 'file://0001-config-ast-common-hack-bootopts.patch \
+ file://0002-Add-MTD-support-to-Aspeed-Flash-driver.patch', '', d)}"
PV = "v2016.07+git${SRCPV}"