diff options
author | Kuldeep Singh <kuldeep.singh@nxp.com> | 2020-06-25 12:56:22 +0530 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-07-27 14:16:28 +0530 |
commit | 10669ed96576f367af57bb4200327b9dfed2b44b (patch) | |
tree | e49ed3362afccceacf6dc45e148b17191b1199dc /include/configs/ls1012a_common.h | |
parent | ab84f4f375512e645b143d4afb346739b0aaa1db (diff) |
configs: ls1012a: Increase CONFIG_SYS_MALLOC_LEN value
Previous attempt to increase CONFIG_SYS_MALLOC_LEN was done in commit
c084a8edf4e2 ("configs: ls1012a: Increase CONFIG_SYS_MALLOC_LEN size")
which increased malloc memory to ~1M.
PFE firmware alone requires 3M of dynamic memory allocation and
therefore, increase the config value to a larger value i.e 5M. This size
should be enough as of now to accommodate further memory requirements.
Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include/configs/ls1012a_common.h')
-rw-r--r-- | include/configs/ls1012a_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h index b3fe72279c..6cf6a31d76 100644 --- a/include/configs/ls1012a_common.h +++ b/include/configs/ls1012a_common.h @@ -10,6 +10,7 @@ #include <asm/arch/config.h> #include <asm/arch/stream_id_lsch2.h> +#include <linux/sizes.h> #define CONFIG_SYS_CLK_FREQ 125000000 @@ -34,7 +35,7 @@ #define CONFIG_LAYERSCAPE_NS_ACCESS /* Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 1024 * 1024) +#define CONFIG_SYS_MALLOC_LEN (5 * SZ_1M) /* PFE */ #define CONFIG_SYS_FMAN_FW_ADDR 0x400d0000 |