diff mbox

[U-Boot,1/5] warp: Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE

Message ID 1432699908-15898-1-git-send-email-festevam@gmail.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam May 27, 2015, 4:11 a.m. UTC
From: Fabio Estevam <fabio.estevam@freescale.com>

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic May 28, 2015, 9:54 a.m. UTC | #1
On 27/05/2015 06:11, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> 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 at freescale.com>
> ---
>  include/configs/warp.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/warp.h b/include/configs/warp.h
> index 2673948..f0a912b 100644
> --- a/include/configs/warp.h
> +++ b/include/configs/warp.h
> @@ -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 \
> 
Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/warp.h b/include/configs/warp.h
index 2673948..f0a912b 100644
--- a/include/configs/warp.h
+++ b/include/configs/warp.h
@@ -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 \