Skip to contentSkip to conversation

m53menlo: fix addmtd cmd in default environment

PATCH In review Olaf Mandel 3 participants 3 messages Dec 12, 2018 – Jan 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m53menlo: fix addmtd cmd in default environment

The original definition added the string mtdparts= to the Linux Kernel args twice: mtdparts=mtdparts=. Fix that.

---
 include/configs/m53menlo.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/m53menlo.h +1 -1
index 3fca28da6b..f8a0188d93 100644
@@ -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"				\
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 m53menlo: fix addmtd cmd in default environment

Quoted 4 lines · Olaf Mandel

The original definition added the string mtdparts= to the Linux Kernel args twice: mtdparts=mtdparts=. Fix that.

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

Quoted 18 lines
---
 include/configs/m53menlo.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/m53menlo.h +1 -1
index 3fca28da6b..f8a0188d93 100644
@@ -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"				\
Signature · 2 lines
Best regards,
Marek Vasut
#2 lore raw
In reply to Olaf Mandel
Quoted 4 lines

The original definition added the string mtdparts= to the Linux Kernel args twice: mtdparts=mtdparts=. Fix that.

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

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================