[PATCH 1/3] Kconfig: set i.MX8MQ SYS_MALLOC_F_LEN
Peng Fan (OSS)
peng.fan at oss.nxp.com
Fri Apr 29 10:01:47 CEST 2022
From: Peng Fan <peng.fan at nxp.com>
set SPL_SYS_MALLOC_F_LEN to 0x2000
set SYS_MALLOC_F_LEN to 0x10000
This is to prepare enable CLK_IMX8MQ for i.MX8MQ
Fixes: commit 4eb82c2e56a7c ("imx: power-domain: Get rid of SMCCC dependency")
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Kconfig b/Kconfig
index bdae59e06f4..4559b627707 100644
--- a/Kconfig
+++ b/Kconfig
@@ -257,7 +257,7 @@ config SYS_MALLOC_F_LEN
default 0x4000 if SANDBOX || RISCV || ARCH_APPLE || ROCKCHIP_RK3368 || \
ROCKCHIP_RK3399
default 0x8000 if RCAR_GEN3
- default 0x10000 if ARCH_IMX8 || (ARCH_IMX8M && !IMX8MQ) || \
+ default 0x10000 if ARCH_IMX8 || ARCH_IMX8M || \
ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A || \
ARCH_LS1046A
default 0x2000
@@ -285,6 +285,7 @@ config SPL_SYS_MALLOC_F_LEN
depends on SYS_MALLOC_F && SPL
default 0 if !SPL_FRAMEWORK
default 0x2800 if RCAR_GEN3
+ default 0x2000 if IMX8MQ
default SYS_MALLOC_F_LEN
help
In SPL memory is very limited on many platforms. Still,
--
2.36.0
More information about the U-Boot
mailing list