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-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4a08c26647cf1f5aeaf4cc573020d976d19f810a;p=u-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 e1b2a421cd..f2422d28f9 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.