apalis_imx6: fix set_emmcargs wrapper
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Tue, 25 Jun 2019 11:48:06 +0000 (14:48 +0300)
committerStefano Babic <sbabic@denx.de>
Thu, 27 Jun 2019 11:54:08 +0000 (13:54 +0200)
Fix set_emmcargs wrapper, which prepares proper bootargs for booting
from eMMC.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Philippe Schenker <philippe.schenker@toradex.com>
include/configs/apalis_imx6.h

index 4b0a3fb26b348421a14b8a5670006c91cee4da63..cffb90a690649e922516c9e8b4f6079880dbea3f 100644 (file)
        "imx6q-apalis-cam-eval.dtb fat 0 1"
 
 #define EMMC_BOOTCMD \
-       "set_emmcargs emmcargs ip=off root=PARTUUID=${uuid} ro,noatime " \
-               "rootfstype=ext4 rootwait\0" \
+       "set_emmcargs=setenv emmcargs ip=off root=PARTUUID=${uuid} " \
+               "ro,noatime rootfstype=ext4 rootwait\0" \
        "emmcboot=run setup; run emmcfinduuid; run set_emmcargs; " \
                "setenv bootargs ${defargs} ${emmcargs} ${setupargs} " \
                "${vidargs}; echo Booting from internal eMMC chip...; " \