phosphor: Enable Aspeed SDK u-boot override
The u-boot SDK recipe in the Aspeed layer has different u-boot config
snippets for different sized flash images. This is done by way of
overrides, e.g.
MACHINEOVERRIDES .= ":flash-${ASPEED_IMAGE_SIZE_KB}"
Make sure ASPEED_IMAGE_SIZE_KB is set to the correct size so the correct
u-boot snippet is selected.
(From meta-phosphor rev: 2ee231638d5cde0c041ad863a4d4636291ad39a5)
Change-Id: I438fb896eceeafab2927925ffa1763d672456dd6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend b/meta-phosphor/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
new file mode 100644
index 0000000..0e18a7c
--- /dev/null
+++ b/meta-phosphor/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
@@ -0,0 +1,2 @@
+FLASH_SIZE ?= "32768"
+ASPEED_IMAGE_SIZE_KB = "${FLASH_SIZE}"