tegra-common: increase malloc pool len by dfu mmc file buffer size

The dfu mmc file buffer, which was static, now is allocated
by memalign(), so the malloc pool len should be also increased.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Tom Warren <twarren.nvidia@gmail.com>
This commit is contained in:
Przemyslaw Marczak 2015-03-04 14:01:30 +01:00 committed by Tom Rini
parent b648a7891e
commit 52a7c98a17
1 changed files with 5 additions and 0 deletions

View File

@ -36,7 +36,12 @@
/*
* Size of malloc() pool
*/
#ifdef CONFIG_DFU_MMC
#define CONFIG_SYS_MALLOC_LEN ((4 << 20) + \
CONFIG_SYS_DFU_DATA_BUF_SIZE)
#else
#define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */
#endif
#define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */