[U-Boot] [PATCH v7 04/13] dm: tegra: Set up a pre-reloc malloc()

Simon Glass sjg at chromium.org
Thu Sep 4 01:37:02 CEST 2014


Allocate 1KB so that driver model can operate before relocation.

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

Changes in v7:
- Add new patch to enable pre-reloc malloc() for tegra

Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

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

diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index d27fceb..7852f9a 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -40,6 +40,7 @@
  * Size of malloc() pool
  */
 #define CONFIG_SYS_MALLOC_LEN		(4 << 20)	/* 4MB  */
+#define CONFIG_SYS_MALLOC_F_LEN	(1 << 10)
 
 /*
  * NS16550 Configuration
-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list