From: Siva Durga Prasad Paladugu Date: Tue, 8 Jul 2014 10:01:02 +0000 (+0530) Subject: zynqmp: Allocate more memory for malloc X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7dcba7d7c8f4653f006dc2c5bbd6a3638fad3fcb;p=thirdparty%2Fu-boot.git zynqmp: Allocate more memory for malloc Allocate more memory for malloc. This fixes the issue of getting null pointer while allocating bd space as a part of gem init. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 2a5ccc96660..bbb98c1b224 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -54,7 +54,7 @@ #define COUNTER_FREQUENCY 0x1800000 /* 24MHz */ /* Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128 * 1024) +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 0x400000) /* Serial setup */ #define CONFIG_ZYNQ_SERIAL_UART0