[U-Boot] [PATCH v2 5/8] README: add info about skip memset at malloc init

Przemyslaw Marczak p.marczak at samsung.com
Mon Feb 16 16:13:18 CET 2015


Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
---
 README | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/README b/README
index fefa71c..8673640 100644
--- a/README
+++ b/README
@@ -3989,6 +3989,13 @@ Configuration Settings:
 - CONFIG_SYS_MALLOC_LEN:
 		Size of DRAM reserved for malloc() use.
 
+- CONFIG_SYS_MALLOC_INIT_SKIP_ZEROING:
+		Do not set to zero the reserved DRAM area when init malloc.
+		For very big CONFIG_SYS_MALLOC_LEN(more than one MB), this will
+		reduce the boot time.
+		Before enabling this, please check if malloc calls, maybe
+		should be replaced by calloc - if expects zeroed memory.
+
 - CONFIG_SYS_MALLOC_F_LEN
 		Size of the malloc() pool for use before relocation. If
 		this is defined, then a very simple malloc() implementation
-- 
1.9.1



More information about the U-Boot mailing list