arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs
authorPali Rohár <pali@kernel.org>
Wed, 14 Sep 2022 16:48:16 +0000 (18:48 +0200)
committerStefan Roese <sr@denx.de>
Tue, 20 Sep 2022 04:39:43 +0000 (06:39 +0200)
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>
common/spl/Kconfig

index e1b2a42..f2422d2 100644 (file)
@@ -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.