On Tue, 8 Aug 2023 at 16:53, Sean Anderson <sean.ander...@seco.com> wrote: > > When we enable malloc_init, there is no need to statically initialize > av_, since we are going to do it manually. This lets us move av_ to > .bss, saving around 1-2k of data (depending on the pointer size). > > cALLOc must be adjusted to not access top before malloc_init. > > While we're at it, rename/reword the Kconfig to better describe what > this option does. > > Signed-off-by: Sean Anderson <sean.ander...@seco.com> > --- > > Changes in v2: > - Fix cALLOc condition > > Kconfig | 18 +++++++----------- > common/dlmalloc.c | 9 +++++++-- > 2 files changed, 14 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>