]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 257a4cbc0073c680f26cd4efc4232ced9fddcea7..51456fbe556330f41ac3cbaf4b19ea6e183cdd42 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"                          \