From: Marek Vasut Date: Tue, 16 Dec 2014 13:09:18 +0000 (+0100) Subject: arm: mx6: novena: Define CONFIG_SYS_MALLOC_F_LEN X-Git-Tag: v2015.01~91^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8744d3b98f4d798b070b9d303e17804611f1e852;p=u-boot arm: mx6: novena: 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/novena.h b/include/configs/novena.h index 879141a7ca..0f3621a41b 100644 --- a/include/configs/novena.h +++ b/include/configs/novena.h @@ -115,6 +115,7 @@ #define CONFIG_SYS_MEMTEST_END 0x20000000 #define CONFIG_SYS_MALLOC_LEN (64 * 1024 * 1024) +#define CONFIG_SYS_MALLOC_F_LEN (1 << 10) /* SPL */ #define CONFIG_SPL_FAT_SUPPORT