diff options
| author | Marek Vasut <marex@denx.de> | 2016-10-29 21:15:56 +0200 |
|---|---|---|
| committer | Marek Vasut <marex@denx.de> | 2017-04-14 14:06:49 +0200 |
| commit | 55ce55faaa2f8cb267fa1346f31079a0befca1a8 (patch) | |
| tree | 6b29e93a64d643daebe3becb440678fafc466120 /include | |
| parent | a548bc511f425c9f1213791d020be217221cbe4f (diff) | |
| download | u-boot-55ce55faaa2f8cb267fa1346f31079a0befca1a8.tar.gz u-boot-55ce55faaa2f8cb267fa1346f31079a0befca1a8.tar.xz u-boot-55ce55faaa2f8cb267fa1346f31079a0befca1a8.zip | |
ARM: socfpga: Reduce the DFU buffer size
There is no point in having such gargantuan buffer, it only requires
huge malloc area. Reduce the DFU buffer size.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/socfpga_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index 8472b52e0a..8057b88475 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -230,7 +230,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void); #if defined(CONFIG_CMD_DFU) || defined(CONFIG_CMD_USB_MASS_STORAGE) #define CONFIG_USB_FUNCTION_MASS_STORAGE -#define CONFIG_SYS_DFU_DATA_BUF_SIZE (32 * 1024 * 1024) +#define CONFIG_SYS_DFU_DATA_BUF_SIZE (16 * 1024 * 1024) #define DFU_DEFAULT_POLL_TIMEOUT 300 /* USB IDs */ |
