[U-Boot] [PATCH] m53menlo: fix addmtd cmd in default environment
Olaf Mandel
o.mandel at menlosystems.com
Wed Dec 12 13:43:43 UTC 2018
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>
---
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" \
--
2.11.0
More information about the U-Boot
mailing list