
2 Oct
2023
2 Oct
'23
3:16 a.m.
On Thu, 28 Sept 2023 at 08:45, Sean Anderson sean.anderson@seco.com 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 BSS.
Signed-off-by: Sean Anderson sean.anderson@seco.com
Changes in v3:
- Don't enable SPL_SYS_MALLOC_RUNTIME_INIT if we are short on BSS
Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org