]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: atmel: cpux9k2: increase malloc space to fix crash on start u-boot
authorJens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Thu, 19 Sep 2013 06:00:41 +0000 (08:00 +0200)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 19 Sep 2013 08:26:48 +0000 (10:26 +0200)
Since UBIFS is enabled for cpux9k2, more malloc space is needed.
For the current uboot 2013.10-rcX the size is to small, this will fix the
startup problems by increasing the malloc space to 4MiB.

Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
include/configs/eb_cpux9k2.h

index ccc7bd0a8aa70f88750499e83dbb1793c5c2bf19..b8e672f82bf5bd4311e284f54378cb3c76db90b6 100644 (file)
@@ -83,7 +83,7 @@
  * Size of malloc() pool
  */
 
-#define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + 520*1024)
+#define CONFIG_SYS_MALLOC_LEN          (4 * 1024 * 1024)
 
 /*
  * sdram