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

Simon Glass sjg at chromium.org
Sun Feb 1 17:53:57 CET 2015


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>
---

Changes in v2: None

 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 8f1e370..182458f 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -47,7 +47,7 @@
  * Size of malloc() pool
  */
 #define CONFIG_SYS_MALLOC_LEN		(4 << 20)	/* 4MB  */
-#define CONFIG_SYS_MALLOC_F_LEN		(1 << 10)
+#define CONFIG_SYS_MALLOC_F_LEN		(6 << 10)
 
 #define CONFIG_SYS_NONCACHED_MEMORY	(1 << 20)       /* 1 MiB */
 
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list