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 <[email protected]> --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index f34b96efc02..bc233fa2ed9 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -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. -- 2.51.2

