From: Marek Vasut Date: Tue, 16 Dec 2014 13:09:17 +0000 (+0100) Subject: arm: mx6: gw_ventana: Define CONFIG_SYS_MALLOC_F_LEN X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7efefa9bd6dabaf0dcf4aa5f20254e2a9d99aaa8;p=u-boot.git arm: mx6: gw_ventana: Define CONFIG_SYS_MALLOC_F_LEN This board uses setup_i2c() in SPL. The setup_i2c() function internally calls gpio_request(), which in turn internally calls strdup(). The strdup() requires a running mallocator, so this patch makes the mallocator available. Signed-off-by: Marek Vasut Cc: Igor Grinberg Cc: Nikita Kiryanov Cc: Sean Cross Cc: Simon Glass Cc: Stefano Babic Cc: Tim Harvey --- diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index 620f9501d2..4f137fc96b 100644 --- a/include/configs/gw_ventana.h +++ b/include/configs/gw_ventana.h @@ -39,6 +39,7 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024) +#define CONFIG_SYS_MALLOC_F_LEN (1 << 10) /* Init Functions */ #define CONFIG_BOARD_EARLY_INIT_F