[PATCH 1/3] riscv: mpfs-icicle-kit: Increase SYS_MALLOC_F_LEN

Bin Meng bmeng.cn at gmail.com
Wed Mar 31 09:24:48 CEST 2021


The RISC-V architecture default value of CONFIG_SYS_MALLOC_F_LEN
(0x1000) would not provide enough memory for devices like mpfs
clock and ns16550 serial to bind well before relocation.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 configs/microchip_mpfs_icicle_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/microchip_mpfs_icicle_defconfig b/configs/microchip_mpfs_icicle_defconfig
index 0c15c3bd38..1cb29201b4 100644
--- a/configs/microchip_mpfs_icicle_defconfig
+++ b/configs/microchip_mpfs_icicle_defconfig
@@ -1,4 +1,5 @@
 CONFIG_RISCV=y
+CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_ENV_SIZE=0x2000
 CONFIG_DEFAULT_DEVICE_TREE="microchip-mpfs-icicle-kit"
 CONFIG_TARGET_MICROCHIP_ICICLE=y
-- 
2.25.1



More information about the U-Boot mailing list