diff mbox

[U-Boot] coldfire: cpu5282: increase malloc space to fix crash on start u-boot

Message ID 1379917601-26248-1-git-send-email-esw@bus-elektronik.de
State Accepted
Delegated to: Jason Jin
Headers show

Commit Message

esw@bus-elektronik.de Sept. 23, 2013, 6:26 a.m. UTC
From: "Jens Scharsig (BuS Elektronik)" <esw@bus-elektronik.de>

The malloc space is to small to boot, the current uboot 2013.10-rcX,
This will fix the startup problems by increasing the mallog space to 4MiB.

Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
---
 include/configs/eb_cpu5282.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/configs/eb_cpu5282.h b/include/configs/eb_cpu5282.h
index 08ba883..e49b2b8 100644
--- a/include/configs/eb_cpu5282.h
+++ b/include/configs/eb_cpu5282.h
@@ -153,7 +153,7 @@ 
 #define	CONFIG_SYS_SDRAM_SIZE		CONFIG_SYS_SDRAM_SIZE0
 
 #define CONFIG_SYS_MONITOR_LEN		0x20000
-#define CONFIG_SYS_MALLOC_LEN		(256 << 10)
+#define CONFIG_SYS_MALLOC_LEN		(4 * 1024 * 1024)
 #define CONFIG_SYS_BOOTPARAMS_LEN	64*1024
 
 /*