diff mbox series

[U-Boot] warp7: Fix dfu_alt_info setting after DM conversion

Message ID 1555101396-30914-1-git-send-email-pjtexier@koncepto.io
State Accepted
Commit d776b07dc770c8b5078ddfe5984add1706c5073e
Delegated to: Stefano Babic
Headers show
Series [U-Boot] warp7: Fix dfu_alt_info setting after DM conversion | expand

Commit Message

Pierre-Jean Texier April 12, 2019, 8:36 p.m. UTC
After DM conversion, U-Boot is larger than 512 KiB, so we need to increase
the "size" of the dfu_alt_info setting.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
---
 include/configs/warp7.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joris OFFOUGA April 12, 2019, 8:41 p.m. UTC | #1
Acked-by: Joris Offouga <offougajoris@gmail.com>

Le 12/04/2019 à 22:36, Pierre-Jean Texier a écrit :
> After DM conversion, U-Boot is larger than 512 KiB, so we need to increase
> the "size" of the dfu_alt_info setting.
>
> Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
> ---
>   include/configs/warp7.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/warp7.h b/include/configs/warp7.h
> index 043f286..4947597 100644
> --- a/include/configs/warp7.h
> +++ b/include/configs/warp7.h
> @@ -39,7 +39,7 @@
>   #define CONFIG_SERIAL_TAG
>   
>   #define CONFIG_DFU_ENV_SETTINGS \
> -	"dfu_alt_info=boot raw 0x2 0x400 mmcpart 1\0" \
> +	"dfu_alt_info=boot raw 0x2 0x1000 mmcpart 1\0" \
>   
>   #define CONFIG_EXTRA_ENV_SETTINGS \
>   	CONFIG_DFU_ENV_SETTINGS \
Fabio Estevam April 12, 2019, 9:20 p.m. UTC | #2
Hi Pierre-Jean,

On Fri, Apr 12, 2019 at 5:37 PM Pierre-Jean Texier <pjtexier@koncepto.io> wrote:
>
> After DM conversion, U-Boot is larger than 512 KiB, so we need to increase
> the "size" of the dfu_alt_info setting.
>
> Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>

Thanks for the fix.

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Stefano Babic April 26, 2019, 9:37 a.m. UTC | #3
> After DM conversion, U-Boot is larger than 512 KiB, so we need to increase
> the "size" of the dfu_alt_info setting.
> Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
> Acked-by: Joris Offouga <offougajoris@gmail.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index 043f286..4947597 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -39,7 +39,7 @@ 
 #define CONFIG_SERIAL_TAG
 
 #define CONFIG_DFU_ENV_SETTINGS \
-	"dfu_alt_info=boot raw 0x2 0x400 mmcpart 1\0" \
+	"dfu_alt_info=boot raw 0x2 0x1000 mmcpart 1\0" \
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	CONFIG_DFU_ENV_SETTINGS \