From: Peng Fan Date: Mon, 11 Apr 2022 09:07:04 +0000 (+0800) Subject: Kconfig: Fix SYS_MALLOC_F_LEN for i.MX8MQ X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=b598957206e5;p=u-boot.git Kconfig: Fix SYS_MALLOC_F_LEN for i.MX8MQ 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 Reviewed-by: Michael Trimarchi Reviewed-by: Fabio Estevam --- diff --git a/Kconfig b/Kconfig index 74a1013e4c..35c6acdd3c 100644 --- a/Kconfig +++ b/Kconfig @@ -250,9 +250,10 @@ config SYS_MALLOC_F_LEN default 0x1000 if AM33XX 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) + ARCH_QEMU || ARCH_SUNXI || ARCH_OWL || IMX8MQ) + default 0x10000 if (ARCH_IMX8 || (ARCH_IMX8M && !IMX8MQ) || \ + ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A || \ + ARCH_LS1046A) default 0x400 help Before relocation, memory is very limited on many platforms. Still,