]> git.sur5r.net Git - u-boot/commitdiff
ARM: zynq: Extend malloc size
authorMichal Simek <michal.simek@xilinx.com>
Tue, 1 Dec 2015 08:03:43 +0000 (09:03 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 7 Dec 2015 09:14:29 +0000 (10:14 +0100)
SPL DM MMC FAT requires more malloc space(3k fat buffers + dm)
that it is available now. Extend SPL malloc space.

Current OCM layout:
0xffff0000 - 0xfff2000 - Full malloc space
0xffff2000 - 0xffff300 - Stack location
0xfffff300 - CONFIG_SYS_MALLOC_F_LEN - Early malloc space
0xfffffd00 - sizeof(GD) - GD
0xfffffe00 - 0xffffffff - SoC specific boot code

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/zynq-common.h

index d499656bb59236e19b0e70a0cd2942de5f7713b6..0ab60839b6cff73b392534b9baff64d9574c2e99 100644 (file)
 
 /* On the top of OCM space */
 #define CONFIG_SYS_SPL_MALLOC_START    OCM_HIGH_ADDR
-#define CONFIG_SYS_SPL_MALLOC_SIZE     0x1000
+#define CONFIG_SYS_SPL_MALLOC_SIZE     0x2000
 
 /*
  * SPL stack position - and stack goes down