arm: mx6: novena: Define CONFIG_SYS_MALLOC_F_LEN
authorMarek Vasut <marex@denx.de>
Tue, 16 Dec 2014 13:09:18 +0000 (14:09 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 30 Dec 2014 13:05:54 +0000 (14:05 +0100)
commit8744d3b98f4d798b070b9d303e17804611f1e852
tree0162de30d5fe0a06ca4450be923bf2e3ab800dfc
parent7efefa9bd6dabaf0dcf4aa5f20254e2a9d99aaa8
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>
include/configs/novena.h