summaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-09-14 18:48:16 +0200
committerStefan Roese <sr@denx.de>2022-09-20 06:39:43 +0200
commit4a08c26647cf1f5aeaf4cc573020d976d19f810a (patch)
tree8136a5f965f307f9de154bf6f12bbbc7e4ddc622 /common/spl
parent5138c8fa5626d097cd6d136b14bdef06652effd9 (diff)
downloadu-boot-4a08c26647cf1f5aeaf4cc573020d976d19f810a.tar.gz
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 <pali@kernel.org> Reviewed-by: Marek Behún <kabel@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/Kconfig1
1 files changed, 1 insertions, 0 deletions
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.