From: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Date: Mon, 23 Sep 2013 06:26:41 +0000 (+0200)
Subject: coldfire: cpu5282: increase malloc space to fix crash on start u-boot
X-Git-Tag: v2025.01-rc5-pxa1908~15696^2~1
X-Git-Url: http://git.dujemihanovic.xyz/img/html/index.html?a=commitdiff_plain;h=8c89443e13747a9ca96b0393decf2de9c2da0bb0;p=u-boot.git

coldfire: cpu5282: increase malloc space to fix crash on start u-boot

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>
---

diff --git a/include/configs/eb_cpu5282.h b/include/configs/eb_cpu5282.h
index d1650eea3d..bdca705874 100644
--- a/include/configs/eb_cpu5282.h
+++ b/include/configs/eb_cpu5282.h
@@ -152,7 +152,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
 
 /*