[U-Boot] [PATCH 08/19] riscv: Enlarge the default SYS_MALLOC_F_LEN

Bin Meng bmeng.cn at gmail.com
Tue Nov 13 08:21:56 UTC 2018


Increase the heap size for the pre-relocation stage, so that CPU
driver can be loaded.

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

 arch/riscv/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 4292ffd..f020060 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -87,4 +87,7 @@ config RISCV_CLINT
 	  The CLINT block holds memory-mapped control and status registers
 	  associated with software and timer interrupts.
 
+config SYS_MALLOC_F_LEN
+	default 0x1000
+
 endmenu
-- 
2.7.4



More information about the U-Boot mailing list