meta-aspeed: add CONFIG_USE_BOOTCOMMAND snippet

Add a config snippet that sets CONFIG_BOOTCOMMAND to the correct address
on 128MiB flashes.

This requires a refresh of the u-boot sdk patch we've been carrying such
that CONFIG_BOOTCOMMAND is set conditionally if not set previously.

(From meta-aspeed rev: 4c8b1d729b5b21c93685cd1b1bdde05afa81f9e8)

Change-Id: I7dece4bcee6d68a0367fcf4eafb78f0db3e4e4f8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-aspeed/recipes-bsp/u-boot/u-boot-common-aspeed-sdk_2019.04.inc b/meta-aspeed/recipes-bsp/u-boot/u-boot-common-aspeed-sdk_2019.04.inc
index 83341e4..31dc5f2 100644
--- a/meta-aspeed/recipes-bsp/u-boot/u-boot-common-aspeed-sdk_2019.04.inc
+++ b/meta-aspeed/recipes-bsp/u-boot/u-boot-common-aspeed-sdk_2019.04.inc
@@ -14,6 +14,11 @@
 SRC_URI = "git://github.com/AspeedTech-BMC/u-boot;branch=${UBRANCH};protocol=https"
 SRC_URI += "file://0001-arm-evb-ast2600-put-environment-back-at-512KiB.patch"
 
+# There are different BOOTCOMMANDS for differently sized raw flash modules.
+ASPEED_IMAGE_SIZE_KB ?= "32768"
+MACHINEOVERRIDES .= ":flash-${ASPEED_IMAGE_SIZE_KB}"
+SRC_URI_append_flash-131072 = " file://bootcmd.cfg"
+
 S = "${WORKDIR}/git"
 
 PV = "v2019.04+git${SRCPV}"