[PATCH 05/40] spl: alloc: call full alloc functions if malloc pool is available

Simon Glass sjg at chromium.org
Fri Jul 26 01:32:24 CEST 2024


Hi Sughosh,

On Wed, 24 Jul 2024 at 00:03, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> If the malloc simple functionality is enabled in SPL, it is not
> possible to call the full-implementation alloc functions even after
> the heap is set-up in ram memory. Check for this condition and
> call the functions when enabled.

Is this because you want to use lmb in SPL. Is that needed?

BTW I'll send a patch to allow alist to run without realloc().

>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
> Changes since rfc: New patch
>
>  common/malloc_simple.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)

Regards,
SImon


More information about the U-Boot mailing list