[PATCH 1/2] configs: ls1012a: Increase SYS_MALLOC_LEN size

Kuldeep Singh kuldeep.singh at nxp.com
Wed Apr 29 14:16:00 CEST 2020


CONFIG_SYS_MALLOC_LEN is currently set to low value and leaves very less
space for QSPI environmet. Increase the value and also make it align
with other boards(ls1046a, ls1043a etc.) value.

Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
---
 include/configs/ls1012a_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index e9baa2a..c34faf2 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -34,7 +34,7 @@
 #define CONFIG_LAYERSCAPE_NS_ACCESS
 
 /* Size of malloc() pool */
-#define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 128 * 1024)
+#define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 1024 * 1024)
 
 /*SPI device */
 #if defined(CONFIG_QSPI_BOOT) || defined(CONFIG_TFABOOT)
-- 
2.7.4



More information about the U-Boot mailing list