spl: meson: set SPL max size for GX SoCs

Enforce the max size for U-Boot SPL at the Kconfig level, to prevent the
build system from producing an image too large for the bootROM to load.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251126-spl-gx-v5-9-6cbffb2451ca@postmarketos.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
Ferass El Hafidi
2025-11-26 12:17:11 +00:00
committed by Neil Armstrong
parent 773aaf8f8c
commit dcf8a2738b

View File

@@ -41,6 +41,7 @@ config SPL_SIZE_LIMIT
default 0x11000 if ARCH_MX6 && !MX6_OCRAM_256KB
default 0x31000 if ARCH_MX6 && MX6_OCRAM_256KB
default 0x30000 if ARCH_MVEBU && ARMADA_32BIT
default 0xb000 if ARCH_MESON && MESON_GX
default 0x0
help
Specifies the maximum length of the U-Boot SPL image.