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

The original definition added the string mtdparts= to the Linux Kernel args twice: mtdparts=mtdparts=. Fix that.
Signed-off-by: Olaf Mandel o.mandel@menlosystems.com --- 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" \

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@menlosystems.com
Subject should have "arm: mx5: m53menlo: " tags, otherwise
Reviewed-by: Marek Vasut marex@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" \

The original definition added the string mtdparts= to the Linux Kernel args twice: mtdparts=mtdparts=. Fix that. Signed-off-by: Olaf Mandel o.mandel@menlosystems.com Reviewed-by: Marek Vasut marex@denx.de
Applied to u-boot-imx, master, thanks !
Best regards, Stefano Babic
participants (3)
-
Marek Vasut
-
Olaf Mandel
-
sbabic@denx.de