Commit 6b104fead3a1f156644ed8c9be4e0d1641e6a7bb
1 parent
85a275ba02
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
arm64: zynqmp: Decrease MALLOC size for SPL
Decrease malloc size to 1MB from 256MB. Huge malloc space is adding huge delay in mem_malloc_init() because we are enabling CONFIG_SYS_MALLOC_CLEAR_ON_INIT which clear the whole malloc space. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/configs/xilinx_zynqmp.h
... | ... | @@ -289,7 +289,7 @@ |
289 | 289 | # define CONFIG_ENV_MAX_ENTRIES 10 |
290 | 290 | |
291 | 291 | # define CONFIG_SYS_SPL_MALLOC_START 0x20000000 |
292 | -# define CONFIG_SYS_SPL_MALLOC_SIZE 0x10000000 | |
292 | +# define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000 | |
293 | 293 | |
294 | 294 | #ifdef CONFIG_SPL_SYS_MALLOC_SIMPLE |
295 | 295 | # error "Disable CONFIG_SPL_SYS_MALLOC_SIMPLE. Full malloc needs to be used" |