|
@@ -57,9 +57,9 @@ static inline unsigned int get_mmc_blk_size(int dev)
|
|
|
return find_mmc_device(dev)->read_bl_len;
|
|
|
}
|
|
|
|
|
|
-#define DFU_NAME_SIZE 32
|
|
|
-#define DFU_CMD_BUF_SIZE 128
|
|
|
-#define DFU_DATA_BUF_SIZE (1024*1024*8) /* 8 MiB */
|
|
|
+#define DFU_NAME_SIZE 32
|
|
|
+#define DFU_CMD_BUF_SIZE 128
|
|
|
+#define DFU_DATA_BUF_SIZE (1024*1024*8) /* 8 MiB */
|
|
|
#ifndef CONFIG_SYS_DFU_MAX_FILE_SIZE
|
|
|
#define CONFIG_SYS_DFU_MAX_FILE_SIZE (4 << 20) /* 4 MiB */
|
|
|
#endif
|