diff mbox series

[1/4] configs: ls1012a: Increase CONFIG_SYS_MALLOC_LEN size

Message ID 1588664225-25365-2-git-send-email-kuldeep.singh@nxp.com
State New
Headers show
Series QSPI bugfixes of NXP layerscape platforms | expand

Commit Message

Kuldeep Singh May 5, 2020, 7:37 a.m. UTC
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 at nxp.com>
---
 include/configs/ls1012a_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Priyanka Jain (OSS) May 20, 2020, 10:54 a.m. UTC | #1
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Kuldeep Singh
>Sent: Tuesday, May 5, 2020 1:07 PM
>To: Priyanka Jain <priyanka.jain at nxp.com>; u-boot at lists.denx.de
>Cc: Kuldeep Singh <kuldeep.singh at nxp.com>
>Subject: [PATCH 1/4] 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 at nxp.com>
>---
Series applied to u-boot-fsl-qoriq. Awaiting upstream.

Thanks
Priyanka
diff mbox series

Patch

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)