diff mbox series

[v2,7/8] mach-snapdragon: bump up heap size

Message ID 20240527-b4-qcom-capsule-updates-v2-7-47583d7ad428@linaro.org
State Superseded
Headers show
Series qcom: implement capsule updates | expand

Commit Message

Caleb Connolly May 27, 2024, 5:17 p.m. UTC
For capsule updates we need more heap space for the DFU buffer. Give
ourselves a whole 8MiB!

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

Comments

Neil Armstrong May 28, 2024, 8:04 a.m. UTC | #1
On 27/05/2024 19:17, Caleb Connolly wrote:
> For capsule updates we need more heap space for the DFU buffer. Give
> ourselves a whole 8MiB!
> 
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
>   arch/arm/mach-snapdragon/Kconfig | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig
> index 536960b83c3b..5023c906bed8 100644
> --- a/arch/arm/mach-snapdragon/Kconfig
> +++ b/arch/arm/mach-snapdragon/Kconfig
> @@ -10,8 +10,11 @@ config SYS_VENDOR
>   	  Allows to specify vendor for the Snapdragon SoCs based boards.
>   	  Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
>   	  will be used as the custom board directory.
>   
> +config SYS_MALLOC_LEN
> +	default 0x800000
> +
>   config SYS_MALLOC_F_LEN
>   	default 0x2000
>   
>   config SPL_SYS_MALLOC_F
> 

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Ilias Apalodimas May 28, 2024, 8:29 a.m. UTC | #2
On Mon, 27 May 2024 at 20:18, Caleb Connolly <caleb.connolly@linaro.org> wrote:
>
> For capsule updates we need more heap space for the DFU buffer. Give
> ourselves a whole 8MiB!
>
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
>  arch/arm/mach-snapdragon/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig
> index 536960b83c3b..5023c906bed8 100644
> --- a/arch/arm/mach-snapdragon/Kconfig
> +++ b/arch/arm/mach-snapdragon/Kconfig
> @@ -10,8 +10,11 @@ config SYS_VENDOR
>           Allows to specify vendor for the Snapdragon SoCs based boards.
>           Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
>           will be used as the custom board directory.
>
> +config SYS_MALLOC_LEN
> +       default 0x800000
> +
>  config SYS_MALLOC_F_LEN
>         default 0x2000
>
>  config SPL_SYS_MALLOC_F
>
> --
> 2.45.0
>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
diff mbox series

Patch

diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig
index 536960b83c3b..5023c906bed8 100644
--- a/arch/arm/mach-snapdragon/Kconfig
+++ b/arch/arm/mach-snapdragon/Kconfig
@@ -10,8 +10,11 @@  config SYS_VENDOR
 	  Allows to specify vendor for the Snapdragon SoCs based boards.
 	  Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD>
 	  will be used as the custom board directory.
 
+config SYS_MALLOC_LEN
+	default 0x800000
+
 config SYS_MALLOC_F_LEN
 	default 0x2000
 
 config SPL_SYS_MALLOC_F