* [PATCH] arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs
@ 2022-09-14 16:48 Pali Rohár
2022-09-16 16:01 ` Marek Behún
2022-09-19 7:02 ` Stefan Roese
0 siblings, 2 replies; 4+ messages in thread
From: Pali Rohár @ 2022-09-14 16:48 UTC (permalink / raw)
To: Stefan Roese, Marek Behún; +Cc: u-boot
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(+)
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.
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs
2022-09-14 16:48 [PATCH] arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs Pali Rohár
@ 2022-09-16 16:01 ` Marek Behún
2022-09-20 6:57 ` Stefan Roese
2022-09-19 7:02 ` Stefan Roese
1 sibling, 1 reply; 4+ messages in thread
From: Marek Behún @ 2022-09-16 16:01 UTC (permalink / raw)
To: Pali Rohár; +Cc: Stefan Roese, u-boot
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs
2022-09-14 16:48 [PATCH] arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs Pali Rohár
2022-09-16 16:01 ` Marek Behún
@ 2022-09-19 7:02 ` Stefan Roese
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2022-09-19 7:02 UTC (permalink / raw)
To: Pali Rohár, Marek Behún; +Cc: u-boot
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
--
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: sr@denx.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs
2022-09-16 16:01 ` Marek Behún
@ 2022-09-20 6:57 ` Stefan Roese
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2022-09-20 6:57 UTC (permalink / raw)
To: Marek Behún, Pali Rohár; +Cc: u-boot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-09-20 6:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14 16:48 [PATCH] arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs Pali Rohár
2022-09-16 16:01 ` Marek Behún
2022-09-20 6:57 ` Stefan Roese
2022-09-19 7:02 ` Stefan Roese
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.