From 7dcba7d7c8f4653f006dc2c5bbd6a3638fad3fcb Mon Sep 17 00:00:00 2001 From: Siva Durga Prasad Paladugu Date: Tue, 8 Jul 2014 15:31:02 +0530 Subject: [PATCH] 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 --- include/configs/xilinx_zynqmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3