diff mbox

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

Message ID 1409787431-4625-5-git-send-email-sjg@chromium.org
State Accepted
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Sept. 3, 2014, 11:37 p.m. UTC
Allocate 1KB so that driver model can operate before relocation.

Signed-off-by: Simon Glass <sjg@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(+)

Comments

Simon Glass Sept. 21, 2014, 4:10 p.m. UTC | #1
On 3 September 2014 17:37, Simon Glass <sjg@chromium.org> wrote:
> Allocate 1KB so that driver model can operate before relocation.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm/master and now in mainline.
diff mbox

Patch

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