[PATCH v3 10/38] tpl: Enable CONFIG_TPL_SYS_MALLOC_F where needed

Simon Glass sjg at chromium.org
Sun Sep 24 21:24:55 CEST 2023


Enable CONFIG_TPL_SYS_MALLOC_F for boards which have a non-zero value
for CONFIG_TPL_SYS_MALLOC_F_LEN

Note that the default is yes in most cases, so no changes are needed to
board defconfig options.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3:
- Add new patch to nable CONFIG_TPL_SYS_MALLOC_F where needed

 arch/arm/mach-rockchip/rv1126/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-rockchip/rv1126/Kconfig b/arch/arm/mach-rockchip/rv1126/Kconfig
index 7382c5599661..a6e2b5903c67 100644
--- a/arch/arm/mach-rockchip/rv1126/Kconfig
+++ b/arch/arm/mach-rockchip/rv1126/Kconfig
@@ -42,6 +42,9 @@ config TPL_LDSCRIPT
 config TPL_STACK
         default 0xff718000
 
+config TPL_SYS_MALLOC_F
+	default y
+
 config TPL_SYS_MALLOC_F_LEN
 	default 0x2000
 
-- 
2.42.0.515.g380fc7ccd1-goog



More information about the U-Boot mailing list