Re: [PATCH v3 4/4] malloc: Enable SYS_MALLOC_RUNTIME_INIT by default in SPL

2023-10-01 Thread Simon Glass
On Thu, 28 Sept 2023 at 08:45, Sean Anderson wrote: > > On boards with size restrictions, 1-2k can be a significant fraction of the > binary size. Add a new SPL version of SYS_MALLOC_RUNTIME_INIT. As this > trades text size for BSS size, enable it by default only for boards with at > least 16k of

[PATCH v3 4/4] malloc: Enable SYS_MALLOC_RUNTIME_INIT by default in SPL

2023-09-28 Thread Sean Anderson
On boards with size restrictions, 1-2k can be a significant fraction of the binary size. Add a new SPL version of SYS_MALLOC_RUNTIME_INIT. As this trades text size for BSS size, enable it by default only for boards with at least 16k of BSS. Signed-off-by: Sean Anderson --- Changes in v3: - Don't