From: Przemyslaw Marczak
Date: Wed, 4 Mar 2015 13:01:28 +0000 (+0100)
Subject: zynq-common: increase malloc pool len by dfu mmc file buffer size
X-Git-Tag: v2015.04-rc4~51
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=599807fc60e41934effea44a6a2bbea1d9b23064;p=oweals%2Fu-boot.git
zynq-common: increase malloc pool len by dfu mmc file buffer size
The dfu mmc file buffer, which was static, now is allocated
by memalign(), so the malloc pool len should be also increased.
Signed-off-by: Przemyslaw Marczak
Cc: Jagannadha Sutradharudu Teki
Cc: Michal Simek
Acked-by: Michal Simek
---
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 864528a5ea..485babd824 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -255,7 +255,7 @@
#define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_SDRAM_BASE + 0x1000)
-#define CONFIG_SYS_MALLOC_LEN 0xC00000
+#define CONFIG_SYS_MALLOC_LEN 0x1400000
#define CONFIG_SYS_INIT_RAM_ADDR CONFIG_SYS_SDRAM_BASE
#define CONFIG_SYS_INIT_RAM_SIZE CONFIG_SYS_MALLOC_LEN
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \