[U-Boot] [PATCH v4 1/6] sandbox: Increase memory size to 32MB

Simon Glass sjg at chromium.org
Tue Jun 25 00:36:24 CEST 2013


The current 4MB size is a little small for some tests, so increase it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v4:
- Add new patch to increase sandbox memory size, so 'sf test' works

Changes in v3: None
Changes in v2: None

 include/configs/sandbox.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 788207d..369b808 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -48,7 +48,7 @@
 /*
  * Size of malloc() pool, although we don't actually use this yet.
  */
-#define CONFIG_SYS_MALLOC_LEN		(4 << 20)	/* 4MB  */
+#define CONFIG_SYS_MALLOC_LEN		(32 << 20)	/* 32MB  */
 
 #define CONFIG_SYS_PROMPT		"=>"	/* Command Prompt */
 #define CONFIG_SYS_HUSH_PARSER
-- 
1.8.3



More information about the U-Boot mailing list