diff options
-rw-r--r-- | include/configs/tegra-common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index fa6ccc16ee..117714150c 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -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 */ |