]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
spl: meson: set SPL max size for GX SoCs
authorFerass El Hafidi <funderscore@postmarketos.org>
Wed, 26 Nov 2025 12:17:11 +0000 (12:17 +0000)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 11 Dec 2025 10:44:41 +0000 (11:44 +0100)
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>
common/spl/Kconfig

index a432716716488ae3c688c51c97fcde108e080815..6ec9dd923a27557b63f89f4ca2a0a75d9ef302aa 100644 (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.