Files
u-boot/common
Simon Glass 9c57da7282 malloc: Add SMALLCHUNKS_AS_FUNCS to convert macros to funcs
The insert_small_chunk() and unlink_first_small_chunk() macros are
inlined at multiple places in the code.

Provide an option to convert these to functions, so the compiler can try
to reduce code size.

Add braces to the insert_chunk macro.

This reduces code size imx8mp_venice SPL by about 208 bytes

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-01 17:00:23 +00:00
..
2025-11-12 08:40:05 -07:00
2024-11-03 21:27:12 -06:00
2025-12-01 15:57:27 +00:00