[U-Boot] [PATCH v2 2/2] README: Add more clarification about CONFIG_SYS_SPL_MALLOC_START

Fabio Estevam fabio.estevam at freescale.com
Thu Nov 12 14:10:11 CET 2015


Add some text to clarify the usage of full malloc (when
CONFIG_SYS_SPL_MALLOC_START is selected) and also that simple malloc()
can be used prior to DRAM initialization if CONFIG_SYS_MALLOC_F is defined.

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
Changes since v1:
- Improve README and commit log (Simon)

 README | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/README b/README
index ef8d437..92d36e6 100644
--- a/README
+++ b/README
@@ -3568,6 +3568,9 @@ FIT uImage format:
 
 		CONFIG_SYS_SPL_MALLOC_START
 		Starting address of the malloc pool used in SPL.
+		When this option is set the full malloc is used in SPL and
+		it is set up by spl_init() and before that, the simple malloc()
+		can be used if CONFIG_SYS_MALLOC_F is defined.
 
 		CONFIG_SYS_SPL_MALLOC_SIZE
 		The size of the malloc pool used in SPL.
-- 
1.9.1



More information about the U-Boot mailing list