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: http://review.tizen.org/git/?a=commitdiff_plain;h=8744d3b98f4d798b070b9d303e17804611f1e852;hp=7efefa9bd6dabaf0dcf4aa5f20254e2a9d99aaa8;p=platform%2Fkernel%2Fu-boot.git 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 879141a..0f3621a 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