[U-Boot] [PATCH 01/25] dm: tegra: config: Increase pre-reloc malloc() to 6KB

Simon Glass sjg at chromium.org
Tue Dec 2 01:48:29 CET 2014


If we enable GPIOs as well as everything else, we need just over 4KB of
space. Enlarge it a little.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/configs/tegra-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 3ce566c..7de4b1d 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -46,7 +46,7 @@
  * Size of malloc() pool
  */
 #define CONFIG_SYS_MALLOC_LEN		(4 << 20)	/* 4MB  */
-#define CONFIG_SYS_MALLOC_F_LEN	(4 << 10)
+#define CONFIG_SYS_MALLOC_F_LEN		(6 << 10)
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_SYS_MALLOC_SIMPLE
 #endif
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list