warp: Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 27 May 2015 04:11:44 +0000 (01:11 -0300)
committerStefano Babic <sbabic@denx.de>
Thu, 28 May 2015 10:10:41 +0000 (12:10 +0200)
Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE in order to avoid the following error
when running the dfu command:
=> dfu 0 mmc 0
dfu_get_buf: Could not memalign 0x2000000 bytes

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
include/configs/warp.h

index 26739489551762602d92c5f9026ab81bec16a3c7..f0a912bb461feb77f462f97ece8d7c0dc010e923 100644 (file)
@@ -94,7 +94,7 @@
 #define CONFIG_CMD_DFU
 #define CONFIG_DFU_FUNCTION
 #define CONFIG_DFU_MMC
-#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
+#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
 #define DFU_DEFAULT_POLL_TIMEOUT 300
 
 #define CONFIG_EXTRA_ENV_SETTINGS \