summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuldeep Singh <kuldeep.singh@nxp.com>2020-05-12 14:58:51 +0530
committerPriyanka Jain <priyanka.jain@nxp.com>2020-05-19 09:22:06 +0530
commitc084a8edf4e2b05ea0608ab2e97a9a22aff8013e (patch)
treecebdd36b31dc119e2b440035ec481a93efdae835
parent934eb607adf74f8cc88c3e7f2ffe9c56e479f612 (diff)
configs: ls1012a: Increase CONFIG_SYS_MALLOC_LEN size
CONFIG_SYS_MALLOC_LEN is currently set to low value and leaves very less space to do malloc in flash environmet. Increase the value to get more memory and also make it align with other boards(ls1046a, ls1043a etc.) config values. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r--include/configs/ls1012a_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 6aa88c1c64..3bea9a9186 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 */
#define CONFIG_SYS_FMAN_FW_ADDR 0x400d0000