On 3/23/22 15:47, Fabio Estevam wrote:
From: Fabio Estevam <[email protected]>
When adding new features to imx8m boards, such as DM clock support,
the malloc area can be exhausted.
To avoid such issue, provide a reasonable default for the
SYS_MALLOC_F_LEN size.
Suggested-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
---
arch/arm/mach-imx/imx8m/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
index fae704999533..c7b7121fa845 100644
--- a/arch/arm/mach-imx/imx8m/Kconfig
+++ b/arch/arm/mach-imx/imx8m/Kconfig
@@ -21,6 +21,9 @@ config IMX8MP
bool
select IMX8M
+config SYS_MALLOC_F_LEN
+ default 0x10000
We have all defaults for SYS_MALLOC_F_LEN in /Kconfig. Why should
i.mx8nm put it somewhere else?
Best regards
Heinrich
+
config SYS_SOC
default "imx8m"