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

Neil Armstrong neil.armstrong at linaro.org
Tue May 28 10:04:47 CEST 2024


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 at 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 at linaro.org>


More information about the U-Boot mailing list