Message ID | 20220914164816.5589-1-pali@kernel.org |
---|---|
State | Accepted |
Commit | 4a08c26647cf1f5aeaf4cc573020d976d19f810a |
Delegated to: | Stefan Roese |
Headers | show |
Series | arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs | expand |
On Wed, 14 Sep 2022 18:48:16 +0200 Pali Rohár <pali@kernel.org> wrote: > 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>
On 14.09.22 18:48, Pali Rohár wrote: > 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: Stefan Roese <sr@denx.de> Thanks, Stefan > --- > common/spl/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/common/spl/Kconfig b/common/spl/Kconfig > index 70d97815f0a1..29e2f92f9b03 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. Viele Grüße, Stefan Roese
On 16.09.22 18:01, Marek Behún wrote: > On Wed, 14 Sep 2022 18:48:16 +0200 > Pali Rohár <pali@kernel.org> wrote: > >> 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> Applied to u-boot-marvell/next Thanks, Stefan
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 70d97815f0a1..29e2f92f9b03 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.
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> --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+)