[U-Boot] [PATCH 4/5] imx8qm_mek: increase the size of early malloc pool

Ye Li
2019-07-03T05:40:31Z

Encounter malloc failure in arch_cpu_init_dm when binding "fsl,imx8-mu" node
with imx8_scu driver. So increase the early malloc pool to fix the issue.

Signed-off-by: Ye Li <ye.li@nxp.com>
---
configs/imx8qm_mek_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/imx8qm_mek_defconfig b/configs/imx8qm_mek_defconfig
index 1c67b98..a4d2619 100644
--- a/configs/imx8qm_mek_defconfig
+++ b/configs/imx8qm_mek_defconfig
@@ -6,7 +6,7 @@ CONFIG_SYS_TEXT_BASE=0x80020000
CONFIG_SPL_GPIO_SUPPORT=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_SYS_MALLOC_F_LEN=0x4000
CONFIG_TARGET_IMX8QM_MEK=y
CONFIG_SPL_MMC_SUPPORT=y
CONFIG_SPL_SERIAL_SUPPORT=y
--
2.7.4