summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-12-16 14:09:17 +0100
committerStefano Babic <sbabic@denx.de>2014-12-30 14:05:50 +0100
commit7efefa9bd6dabaf0dcf4aa5f20254e2a9d99aaa8 (patch)
tree78b9540e51ac9c6ed47c1cbd16b75966adf7e051 /include/configs
parentcd3c5896b6582e73cf6a6d48c7ecc29924fa3089 (diff)
downloadtalos-obmc-uboot-7efefa9bd6dabaf0dcf4aa5f20254e2a9d99aaa8.tar.gz
talos-obmc-uboot-7efefa9bd6dabaf0dcf4aa5f20254e2a9d99aaa8.zip
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 <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')
-rw-r--r--include/configs/gw_ventana.h1
1 files changed, 1 insertions, 0 deletions
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
OpenPOWER on IntegriCloud