summaryrefslogtreecommitdiff
path: root/meta-phosphor/dynamic-layers
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2023-06-19 23:46:02 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-06-20 09:09:35 +0300
commit05f3b1b3683d0341ccfef633d08aa2f3a9fd8965 (patch)
tree0d69514b3d236c2ceb7e6a990b2d2b728080ee82 /meta-phosphor/dynamic-layers
parentf7e361c441b541849cce85880fa4415afcc8da3e (diff)
downloadopenbmc-05f3b1b3683d0341ccfef633d08aa2f3a9fd8965.tar.xz
meta-phosphor: simplify FLASH_SIZE specification
FLASH_SIZE was previously defaulted in a few bbclasses and bbappends, but this can result in it not being defined in all recipes if the machine has not overridden the FLASH_SIZE. openbmc/openbmc#3876 reported one such case where the u-boot-fw-utils recipe does not receive the correct FLASH_SIZE and ends up erasing the wrong flash region as if it were the u-boot enviroment. Specify it in the common include so it is available everywhere. Resolves openbmc/openbmc#3876. Change-Id: Iacdde1a5d0081b54321110d655da18bb3846cd14 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/dynamic-layers')
-rw-r--r--meta-phosphor/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta-phosphor/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend b/meta-phosphor/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
index 0e18a7c1d2..5c553bfe4c 100644
--- a/meta-phosphor/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
+++ b/meta-phosphor/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend
@@ -1,2 +1 @@
-FLASH_SIZE ?= "32768"
ASPEED_IMAGE_SIZE_KB = "${FLASH_SIZE}"