Patchwork [U-Boot,2/2] dfu: Increase DFU buffer size from 4MiB to 8MiB

login
register
mail settings
Submitter Łukasz Majewski
Date April 4, 2013, 2:32 p.m.
Message ID <1365085978-22947-2-git-send-email-l.majewski@samsung.com>
Download mbox | patch
Permalink /patch/233856/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Łukasz Majewski - April 4, 2013, 2:32 p.m.
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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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];