]> git.sur5r.net Git - u-boot/commitdiff
dfu: Increase DFU buffer size from 4MiB to 8MiB
authorŁukasz Majewski <l.majewski@samsung.com>
Thu, 4 Apr 2013 04:32:58 +0000 (04:32 +0000)
committerTom Rini <trini@ti.com>
Mon, 8 Apr 2013 16:00:51 +0000 (12:00 -0400)
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>
include/dfu.h

index 5350d794509103542fe313ceaeefdfa6cc29b295..784d8a442c3d37ca175461fb6cb9501b2f38eccd 100644 (file)
@@ -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];