diff options
author | Marek Vasut <marex@denx.de> | 2014-12-16 14:09:18 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-12-30 14:05:54 +0100 |
commit | 8744d3b98f4d798b070b9d303e17804611f1e852 (patch) | |
tree | 0162de30d5fe0a06ca4450be923bf2e3ab800dfc /include/configs/novena.h | |
parent | 7efefa9bd6dabaf0dcf4aa5f20254e2a9d99aaa8 (diff) |
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 <marex@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Sean Cross <xobs@kosagi.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'include/configs/novena.h')
-rw-r--r-- | include/configs/novena.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/novena.h b/include/configs/novena.h index 879141a7ca1..0f3621a41b2 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 |