Hi Peng,
On 11/04/2022 06:07, Peng Fan (OSS) wrote:
From: Peng Fan <[email protected]>
i.MX8MQ use SYS_MALLOC_F_LEN 0x2000, not 0x10000. The OCRAM_S only has
32KB memory, use 0x10000 will make SPL not bootable.
Signed-off-by: Peng Fan <[email protected]>
---
Kconfig | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Kconfig b/Kconfig
index 6b1ddfc549e..3e95ec9d7b9 100644
--- a/Kconfig
+++ b/Kconfig
@@ -251,8 +251,10 @@ config SYS_MALLOC_F_LEN
default 0x4000 if SANDBOX || RISCV
default 0x2000 if (ARCH_MX7 || ARCH_MX7ULP || ARCH_MX6 || ARCH_MX5 ||
\
ARCH_QEMU || ARCH_SUNXI || ARCH_OWL)
- default 0x10000 if (ARCH_IMX8 || ARCH_IMX8M || ARCH_LS1012A || \
- ARCH_LS1021A || ARCH_LS1043A || ARCH_LS1046A)
+ default 0x10000 if (ARCH_IMX8 || (ARCH_IMX8M && !IMX8MQ) || \
+ ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A || \
+ ARCH_LS1046A)
+ default 0x2000 if IMX8MQ
Thanks for the fix:
Reviewed-by: Fabio Estevam <[email protected]>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-60 Fax: (+49)-8142-66989-80 Email:
[email protected]