summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-12-01 09:03:43 +0100
committerMichal Simek <michal.simek@xilinx.com>2015-12-07 10:14:29 +0100
commitec016a171d4ba0b2d519fb2be1f52387b56ea4ab (patch)
treeb62a9db314b8b096cd2e4823d60a7112262fc159
parent83b6464daa017eb142370f537e58f19e8d9f6e53 (diff)
downloadu-boot-imx-ec016a171d4ba0b2d519fb2be1f52387b56ea4ab.zip
u-boot-imx-ec016a171d4ba0b2d519fb2be1f52387b56ea4ab.tar.gz
u-boot-imx-ec016a171d4ba0b2d519fb2be1f52387b56ea4ab.tar.bz2
ARM: zynq: Extend malloc size
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>
-rw-r--r--include/configs/zynq-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index d499656..0ab6083 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -369,7 +369,7 @@
/* 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