Skip to contentSkip to conversation

imx8mq_phanbell: Remove custom CONFIG_SYS_MALLOC_F_LEN

PATCH In review Fabio Estevam 2 participants 2 messages Jul 8, 2022 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 imx8mq_phanbell: Remove custom CONFIG_SYS_MALLOC_F_LEN

From: Fabio Estevam <[email protected]>

Currently, the imx8mq_phanbell board fails to boot.

Remove the custom CONFIG_SYS_MALLOC_F_LEN setting in favor of the generic one done via the main Kconfig.

Since commit b598957206e5 ("Kconfig: Fix SYS_MALLOC_F_LEN for i.MX8MQ") the default SYS_MALLOC_F_LEN value for i.MX8MQ is 0x2000.

With such default value, the board boots again.

---
Hi Tom,

Maybe you could pick this one directly for the 2022.07 release to fix the boot regression?

Thanks

 configs/imx8mq_phanbell_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/imx8mq_phanbell_defconfig +0 -1
index 095e42e6ba18..1cf58937fe52 100644
@@ -2,7 +2,6 @@ CONFIG_ARM=y
 CONFIG_ARCH_IMX8M=y
 CONFIG_SYS_TEXT_BASE=0x40200000
 CONFIG_SYS_MALLOC_LEN=0x600000
-CONFIG_SYS_MALLOC_F_LEN=0x4000
 CONFIG_SPL_GPIO=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
Signature · 1 line
2.25.1
#1 lore raw
Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Currently, the imx8mq_phanbell board fails to boot.

Remove the custom CONFIG_SYS_MALLOC_F_LEN setting in favor of the generic one done via the main Kconfig.

Quoted 6 lines

Since commit b598957206e5 ("Kconfig: Fix SYS_MALLOC_F_LEN for i.MX8MQ") the default SYS_MALLOC_F_LEN value for i.MX8MQ is 0x2000.

With such default value, the board boots again.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom