From: Peter Korsgaard <peter@korsgaard.com>
Date: Sun, 17 Jan 2016 17:23:43 +0000 (+0100)
Subject: ARM: sheevaplug: unbreak kernel bootargs / mtdparts command by dropping double mtdparts=
X-Git-Tag: v2025.01-rc5-pxa1908~10058^2~1
X-Git-Url: http://git.dujemihanovic.xyz/html/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/index.xml?a=commitdiff_plain;h=1011226d733f3e0e78485e93681f71e9f66c836e;p=u-boot.git

ARM: sheevaplug: unbreak kernel bootargs / mtdparts command by dropping double mtdparts=

Commit 1e3d640316 (ARM: sheevaplug: redefine MTDPARTS) prepended mtdparts=
to the flash partition information in CONFIG_MTDPARTS, but it is used like
"mtdparts=" CONFIG_MTDPARTS - So we end up passing mtdparts=mtdparts=.. to
the kernel, confusing the cmdline partition parser.

Fix it by dropping the double 'mtdparts='.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---

diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 7d773a818a..8110f8376f 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -63,7 +63,7 @@
 	"${x_bootcmd_usb}; bootm 0x6400000;"
 
 #define CONFIG_MTDPARTS		\
-	"mtdparts=orion_nand:512K(uboot),"				\
+	"orion_nand:512K(uboot),"				\
 	"512K(env),1M(script),6M(kernel),"				\
 	"12M(ramdisk),4M(spare),-(rootfs)\0"