mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-23 04:34:27 +01:00
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>
This commit is contained in:
parent
85a275ba02
commit
6b104fead3
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@
|
|||
# define CONFIG_ENV_MAX_ENTRIES 10
|
||||
|
||||
# define CONFIG_SYS_SPL_MALLOC_START 0x20000000
|
||||
# define CONFIG_SYS_SPL_MALLOC_SIZE 0x10000000
|
||||
# define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000
|
||||
|
||||
#ifdef CONFIG_SPL_SYS_MALLOC_SIMPLE
|
||||
# error "Disable CONFIG_SPL_SYS_MALLOC_SIMPLE. Full malloc needs to be used"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue