Message ID | 20240527-b4-qcom-capsule-updates-v2-7-47583d7ad428@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | qcom: implement capsule updates | expand |
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>
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 --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
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(+)