arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs
PATCH 1/1 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.
--- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+)
common/spl/Kconfig +1 -0
@@ -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.
Signature · 1 line
2.20.1
Quoted 4 lines · On Wed, 14 Sep 2022 18:48:16 +0200 Pali Rohár <[email protected]> wrote:
32-bit Marvell Armada BootROMs limit maximal size of SPL image to 192 kB. So define 192 kB (=
0x30000) limit as default value forSPL_SIZE_LIMIT.Signed-off-by Pali Rohár <[email protected]>
Quoted 9 lines · Marek Behún
Quoted 4 lines · On Wed, 14 Sep 2022 18:48:16 +0200 Pali Rohár <[email protected]> wrote:
32-bit Marvell Armada BootROMs limit maximal size of SPL image to 192 kB. So define 192 kB (=
0x30000) limit as default value forSPL_SIZE_LIMIT.Signed-off-by Pali Rohár <[email protected]>Reviewed-by Marek Behún <[email protected]>
Applied to u-boot-marvell/next
Thanks,
Stefan
Quoted 4 lines · Pali Rohár
32-bit Marvell Armada BootROMs limit maximal size of SPL image to 192 kB. So define 192 kB (=
0x30000) limit as default value forSPL_SIZE_LIMIT.Signed-off-by Pali Rohár <[email protected]>
Thanks,
Stefan
Quoted 9 lines
--- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+)common/spl/Kconfig +0
-0
common/spl/Kconfig config SPL_SIZE_LIMIT · line 46
Quoted 7 lines
common/spl/Kconfig +1
-0@@ -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.
Viele Grüße,
Stefan Roese
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]