From: Pali Rohár Date: Wed, 14 Sep 2022 16:48:16 +0000 (+0200) Subject: arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs X-Git-Tag: v2023.07~312^2~8^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a08c26647cf1f5aeaf4cc573020d976d19f810a;p=platform%2Fkernel%2Fu-boot.git arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs 32-bit Marvell Armada BootROMs limit maximal size of SPL image to 192 kB. So define 192 kB (= 0x30000) limit as default value for SPL_SIZE_LIMIT. Signed-off-by: Pali Rohár Reviewed-by: Marek Behún Reviewed-by: Stefan Roese --- diff --git a/common/spl/Kconfig b/common/spl/Kconfig index e1b2a42..f2422d2 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -40,6 +40,7 @@ config SPL_SIZE_LIMIT hex "Maximum size of SPL image" default 0x11000 if ARCH_MX6 && !MX6_OCRAM_256KB default 0x31000 if ARCH_MX6 && MX6_OCRAM_256KB + default 0x30000 if ARCH_MVEBU && ARMADA_32BIT default 0x0 help Specifies the maximum length of the U-Boot SPL image.