commit | fd86d01ecaf9821f4a0968aaff15c8e2aac91d0c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Sep 25 07:03:14 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Oct 08 15:53:26 2021 -0400 |
tree | af8dca4cf49cc34bfb9156fc03f5ea626dba3428 | |
parent | e8c011d46648973cbbe873a22199c8f41167590f [diff] |
image: Update image_decomp() to avoid ifdefs 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@chromium.org>