commit | 458b30af66cd41ca8e6f8a52ea4c09cb50d3413d | [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 | 5a4f10d71bfe2b7a5646cf1f96b298805b36df7a [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>