]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
arm64: zynqmp: Decrease MALLOC size for SPL
authorMichal Simek <michal.simek@xilinx.com>
Fri, 14 Oct 2016 12:06:28 +0000 (14:06 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 20 Jun 2017 14:40:51 +0000 (16:40 +0200)
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>
include/configs/xilinx_zynqmp.h

index 2a8f14bf489c2dec54f8093d93e915ba3c041169..52fe9d80d440d9ae02ebb4331a9a01367d57cc85 100644 (file)
 # 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"