diff options
-rw-r--r-- | include/dfu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dfu.h b/include/dfu.h index 47b9055..7779710 100644 --- a/include/dfu.h +++ b/include/dfu.h @@ -62,7 +62,7 @@ static inline unsigned int get_mmc_blk_size(int dev) #define CONFIG_SYS_DFU_DATA_BUF_SIZE (1024*1024*8) /* 8 MiB */ #endif #ifndef CONFIG_SYS_DFU_MAX_FILE_SIZE -#define CONFIG_SYS_DFU_MAX_FILE_SIZE (4 << 20) /* 4 MiB */ +#define CONFIG_SYS_DFU_MAX_FILE_SIZE CONFIG_SYS_DFU_DATA_BUF_SIZE #endif struct dfu_entity { |