[U-Boot] [PATCH 5/8] board/ls2085_common: Increase malloc length

York Sun yorksun at freescale.com
Thu Mar 19 17:20:47 CET 2015


From: Prabhakar Kushwaha <prabhakar at freescale.com>

Increase malloc length for more than 2M.

Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
Change-Id: Id3b87453be03c97467ab58c841274fb5ea0883f2
Reviewed-on: http://git.am.freescale.net:8181/26580
Tested-by: Review Code-CDREVIEW <CDREVIEW at freescale.com>
---
 include/configs/ls2085a_common.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h
index c70ba70..eb7b9b2 100644
--- a/include/configs/ls2085a_common.h
+++ b/include/configs/ls2085a_common.h
@@ -78,7 +78,7 @@
 #define COUNTER_FREQUENCY		12000000	/* 12MHz */
 
 /* Size of malloc() pool */
-#define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 128 * 1024)
+#define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 2048 * 1024)
 
 /* I2C */
 #define CONFIG_CMD_I2C
-- 
1.7.9.5



More information about the U-Boot mailing list