From: Jens Scharsig (BuS Elektronik) Date: Thu, 19 Sep 2013 06:00:41 +0000 (+0200) Subject: arm: atmel: cpux9k2: increase malloc space to fix crash on start u-boot X-Git-Tag: v2013.10-rc4~1^2~8^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=db824479e64811959494e1f919c31d97fea9dc48;p=u-boot arm: atmel: cpux9k2: increase malloc space to fix crash on start u-boot 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) Signed-off-by: Andreas Bießmann --- diff --git a/include/configs/eb_cpux9k2.h b/include/configs/eb_cpux9k2.h index ccc7bd0a8a..b8e672f82b 100644 --- a/include/configs/eb_cpux9k2.h +++ b/include/configs/eb_cpux9k2.h @@ -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