Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
a47411110c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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