diff mbox series

[11/15] mach-snapdragon: increase pre-relocation malloc size for smem

Message ID 20241124-b4-modernise-smem-v1-11-b7852c11b67c@linaro.org
State New
Headers show
Series qcom: smem: modernize SMEM in U-Boot | expand

Commit Message

Caleb Connolly Nov. 24, 2024, 7:17 p.m. UTC
Ensure we have enough space to init smem prior to relocation, since we
might parse the DDR bank layout from there.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
---
 arch/arm/mach-snapdragon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass Jan. 7, 2025, 3:32 p.m. UTC | #1
On Sun, 24 Nov 2024 at 12:17, Caleb Connolly <caleb.connolly@linaro.org> wrote:
>
> Ensure we have enough space to init smem prior to relocation, since we
> might parse the DDR bank layout from there.
>
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
>  arch/arm/mach-snapdragon/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

Wow that's a lot of space!


>
> diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig
> index 976c0e35fcef..5f3a1b11d8e2 100644
> --- a/arch/arm/mach-snapdragon/Kconfig
> +++ b/arch/arm/mach-snapdragon/Kconfig
> @@ -14,9 +14,9 @@ config SYS_VENDOR
>  config SYS_MALLOC_LEN
>         default 0x10000000
>
>  config SYS_MALLOC_F_LEN
> -       default 0x2000
> +       default 0x20000
>
>  config SPL_SYS_MALLOC_F
>         default y
>
>
> --
> 2.47.0
>
diff mbox series

Patch

diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig
index 976c0e35fcef..5f3a1b11d8e2 100644
--- a/arch/arm/mach-snapdragon/Kconfig
+++ b/arch/arm/mach-snapdragon/Kconfig
@@ -14,9 +14,9 @@  config SYS_VENDOR
 config SYS_MALLOC_LEN
 	default 0x10000000
 
 config SYS_MALLOC_F_LEN
-	default 0x2000
+	default 0x20000
 
 config SPL_SYS_MALLOC_F
 	default y