aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Scott <michael.scott@linaro.org>2014-10-20 15:54:24 -0700
committerRob Herring <robh@kernel.org>2014-11-14 18:13:21 -0600
commit2274df85f196eafe4a509c80a37b6fed86e3f452 (patch)
tree53046349ddcdc90040ba784f64097fdd5da8c833 /include
parent5d28176ccb3a54f2a799b9645e95e469f2798725 (diff)
tegra: increase sys malloc to 128mb to avoid ENOMEM in bounce_buffer handling
Signed-off-by: Michael Scott <michael.scott@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/jetson-tk1.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h
index 073b50997a..bf522b6990 100644
--- a/include/configs/jetson-tk1.h
+++ b/include/configs/jetson-tk1.h
@@ -16,6 +16,11 @@
#include "tegra124-common.h"
+#ifdef CONFIG_SYS_MALLOC_LEN
+#undef CONFIG_SYS_MALLOC_LEN
+#endif
+#define CONFIG_SYS_MALLOC_LEN (128 << 20) /* 128MB for fastboot bounce_buffer */
+
#ifdef CONFIG_TEGRA_LP0
#define CONFIG_TEGRA124_LP0
#endif