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

login
register
mail settings
Submitter Simon Glass
Date June 24, 2013, 10:36 p.m.
Message ID <1372113389-9415-2-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/253986/
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Comments

Simon Glass - June 24, 2013, 10:36 p.m.
The current 4MB size is a little small for some tests, so increase it.

Signed-off-by: Simon Glass <sjg@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(-)

Patch

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