summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorƁukasz Majewski <l.majewski@samsung.com>2013-04-04 04:32:58 +0000
committerTom Rini <trini@ti.com>2013-04-08 12:00:51 -0400
commit3cb5ca75a1d643666ce829a77abffe6145b4f820 (patch)
treec77c9faecaa0605f8b6a7707aa0f4de68001013b /include
parent664277203c028d2e8fede5a3c30658fb75e6adef (diff)
downloadu-boot-imx-3cb5ca75a1d643666ce829a77abffe6145b4f820.zip
u-boot-imx-3cb5ca75a1d643666ce829a77abffe6145b4f820.tar.gz
u-boot-imx-3cb5ca75a1d643666ce829a77abffe6145b4f820.tar.bz2
dfu: Increase DFU buffer size from 4MiB to 8MiB
Increase size of DMA buffer from 4MiB to 8MiB. This is necessary due to uImage size increase. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/dfu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dfu.h b/include/dfu.h
index 5350d79..784d8a4 100644
--- a/include/dfu.h
+++ b/include/dfu.h
@@ -59,7 +59,7 @@ static inline unsigned int get_mmc_blk_size(int dev)
#define DFU_NAME_SIZE 32
#define DFU_CMD_BUF_SIZE 128
-#define DFU_DATA_BUF_SIZE (1024*1024*4) /* 4 MiB */
+#define DFU_DATA_BUF_SIZE (1024*1024*8) /* 8 MiB */
struct dfu_entity {
char name[DFU_NAME_SIZE];