From: Simon Glass Date: Tue, 3 Jun 2014 04:04:54 +0000 (-0600) Subject: arm: ti: Increase malloc size to 16MB for armv7 boards X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=0e1612a7d1578217f89bd55ac2c0d582e2f44c0f;p=u-boot.git arm: ti: Increase malloc size to 16MB for armv7 boards The current size of 1MB is not enough use to use DFU. Increase it for ARMv7 boards, all of which should have 32MB or more SDRAM. With this change it is possible to do 'dfu mmc 0' on a Beaglebone Black. Signed-off-by: Simon Glass --- diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h index 698291852b..6e0bf09058 100644 --- a/include/configs/ti_armv7_common.h +++ b/include/configs/ti_armv7_common.h @@ -127,7 +127,7 @@ * we are on so we do not need to rely on the command prompt. We set a * console baudrate of 115200 and use the default baud rate table. */ -#define CONFIG_SYS_MALLOC_LEN (1024 << 10) +#define CONFIG_SYS_MALLOC_LEN (16 << 20) #define CONFIG_SYS_HUSH_PARSER #define CONFIG_SYS_PROMPT "U-Boot# " #define CONFIG_SYS_CONSOLE_INFO_QUIET