[PATCH] imx: imx93_evk: Fix conflict SPL early malloc address
Jérémie Dautheribes
jeremie.dautheribes at bootlin.com
Thu Aug 14 18:39:26 CEST 2025
From: Ye Li <ye.li at nxp.com>
Because the early malloc pool size is set to 0x18000, so using this
start address may cause conflict with ATF, then corrupt the heap data.
So we delete the definition to use the default early malloc pool from
CONFIG_SPL_STACK to avoid any conflict
Signed-off-by: Ye Li <ye.li at nxp.com>
Cherry picked from nxp-imx/uboot-imx commit
1ba675df122627a19debe1d807877052705372c6
Signed-off-by: Jérémie Dautheribes <jeremie.dautheribes at bootlin.com>
---
include/configs/imx93_evk.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/configs/imx93_evk.h b/include/configs/imx93_evk.h
index e7db0161126..ffd72a38bcb 100644
--- a/include/configs/imx93_evk.h
+++ b/include/configs/imx93_evk.h
@@ -11,10 +11,6 @@
#define CFG_SYS_UBOOT_BASE \
(QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
-#ifdef CONFIG_XPL_BUILD
-#define CFG_MALLOC_F_ADDR 0x204D0000
-#endif
-
#ifdef CONFIG_ENV_MMC_DEVICE_INDEX
#define IMX93_EVK_MMC_ENV_DEV CONFIG_ENV_MMC_DEVICE_INDEX
#else
--
2.43.0
More information about the U-Boot
mailing list