Message ID | 1588664225-25365-2-git-send-email-kuldeep.singh@nxp.com |
---|---|
State | Accepted |
Delegated to: | Priyanka Jain |
Headers | show |
Series | QSPI bugfixes of NXP layerscape platforms | expand |
>-----Original Message----- >From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Kuldeep Singh >Sent: Tuesday, May 5, 2020 1:07 PM >To: Priyanka Jain <priyanka.jain@nxp.com>; u-boot@lists.denx.de >Cc: Kuldeep Singh <kuldeep.singh@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@nxp.com> >--- Series applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks Priyanka
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)
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> --- include/configs/ls1012a_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)