diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-09-27 03:03:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-09-30 14:45:23 +0300 |
commit | 744c312e39796b8a2efd63a14d2fa0b11a6041a3 (patch) | |
tree | b64a3f674ae61b73a57d55c145c7cf76b4f79340 /meta-phosphor/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend | |
parent | 74536d453acd18866059f903c1eb408662772646 (diff) | |
download | openbmc-744c312e39796b8a2efd63a14d2fa0b11a6041a3.tar.xz |
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>
Diffstat (limited to 'meta-phosphor/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend')
-rw-r--r-- | meta-phosphor/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend | 2 |
1 files changed, 2 insertions, 0 deletions
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 000000000..0e18a7c1d --- /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}" |