[U-Boot] [PATCH] m53menlo: fix addmtd cmd in default environment

Marek Vasut marex at denx.de
Wed Dec 12 15:52:20 UTC 2018


On 12/12/2018 02:43 PM, Olaf Mandel wrote:
> The original definition added the string mtdparts= to the Linux Kernel
> args twice: mtdparts=mtdparts=. Fix that.
> 
> Signed-off-by: Olaf Mandel <o.mandel at menlosystems.com>

Subject should have "arm: mx5: m53menlo: " tags, otherwise

Reviewed-by: Marek Vasut <marex at denx.de>

> ---
>  include/configs/m53menlo.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/m53menlo.h b/include/configs/m53menlo.h
> index 3fca28da6b..f8a0188d93 100644
> --- a/include/configs/m53menlo.h
> +++ b/include/configs/m53menlo.h
> @@ -212,7 +212,7 @@
>  		"setenv bootargs ${bootargs} "				\
>  		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\
>  		":${hostname}:${netdev}:off\0"				\
> -	"addmtd=setenv bootargs ${bootargs} mtdparts=${mtdparts}\0"	\
> +	"addmtd=setenv bootargs ${bootargs} ${mtdparts}\0"		\
>  	"addmisc="							\
>  		"setenv bootargs ${bootargs} ${miscargs}\0"		\
>  	"addargs=run addcons addmisc addmtd\0"				\
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list