From: Michal Simek Date: Fri, 14 Oct 2016 12:06:28 +0000 (+0200) Subject: ARM64: zynqmp: Decrease MALLOC size for SPL X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70ed32ce50ff8b86b4994c057779feb1480256f5;p=thirdparty%2Fu-boot.git 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 --- diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 0fd7f077f2f..deb62046985 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -434,7 +434,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"