[PATCH v4 09/15] image: Update image_decomp() to avoid ifdefs

Tom Rini trini at konsulko.com
Sat Oct 9 03:38:43 CEST 2021


On Sat, Sep 25, 2021 at 07:03:14AM -0600, Simon Glass wrote:

> Adjust this function so that preprocessor macros are not needed. With
> this, the host build uses more of the same header files as the target
> build.
> 
> Rather than definining CONFIG_SYS_MALLOC_LEN, add a CONSERVE_MEMORY
> define, since that is the purpose of the value.
> 
> This appears to have no impact on code size from a spot check of a few
> boards (snow, firefly-rk3288, boston32r2el, m53menlo).
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211008/d785c0f8/attachment.sig>


More information about the U-Boot mailing list