]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynqmp: Allocate more memory for malloc
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 8 Jul 2014 10:01:02 +0000 (15:31 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 17 Jul 2014 09:20:26 +0000 (11:20 +0200)
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 <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp.h

index 2a5ccc966602b64901049a8671cddfdedaafb70c..bbb98c1b224a9882d6cda5c22441cccb6973b4a2 100644 (file)
@@ -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