From: Kuldeep Singh Date: Tue, 12 May 2020 09:28:51 +0000 (+0530) Subject: configs: ls1012a: Increase CONFIG_SYS_MALLOC_LEN size X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=c084a8edf4e2b05ea0608ab2e97a9a22aff8013e;p=u-boot.git 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 Reviewed-by: Priyanka Jain --- 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