浏览代码

dm: tegra: Set up a pre-reloc malloc()

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

Signed-off-by: Simon Glass <sjg@chromium.org>
Simon Glass 10 年之前
父节点
当前提交
a47411110c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/configs/tegra-common.h

+ 1 - 0
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