m53menlo: fix addmtd cmd in default environment
authorOlaf Mandel <o.mandel@menlosystems.com>
Wed, 12 Dec 2018 13:43:43 +0000 (13:43 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 28 Jan 2019 11:54:30 +0000 (12:54 +0100)
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>
include/configs/m53menlo.h

index 257a4cb..51456fb 100644 (file)
                "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"                          \