projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a548bc5
)
ARM: socfpga: Reduce the DFU buffer size
author
Marek Vasut
<marex@denx.de>
Sat, 29 Oct 2016 19:15:56 +0000
(21:15 +0200)
committer
Marek Vasut
<marex@denx.de>
Fri, 14 Apr 2017 12:06:49 +0000
(14:06 +0200)
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>
include/configs/socfpga_common.h
patch
|
blob
|
history
diff --git
a/include/configs/socfpga_common.h
b/include/configs/socfpga_common.h
index 8472b52e0a4be2da2459e3d97bc96355c74bf019..8057b8847562c5e20483adbe4ca069714755b9e9 100644
(file)
--- 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 */