summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-09-25 16:03:14 +0300
committerTom Rini <trini@konsulko.com>2021-10-08 22:53:26 +0300
commit458b30af66cd41ca8e6f8a52ea4c09cb50d3413d (patch)
treeaf8dca4cf49cc34bfb9156fc03f5ea626dba3428 /configs
parent5a4f10d71bfe2b7a5646cf1f96b298805b36df7a (diff)
downloadu-boot-458b30af66cd41ca8e6f8a52ea4c09cb50d3413d.tar.xz
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/sandbox_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index f1067b9ada..d601677190 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -56,6 +56,7 @@ CONFIG_CMD_MEMINFO=y
CONFIG_CMD_MEM_SEARCH=y
CONFIG_CMD_MX_CYCLIC=y
CONFIG_CMD_MEMTEST=y
+CONFIG_CMD_UNZIP=y
CONFIG_CMD_BIND=y
CONFIG_CMD_DEMO=y
CONFIG_CMD_GPIO=y