]> git.sur5r.net Git - u-boot/commitdiff
imx: ventana: use mmc_root in boot scripts
authorTim Harvey <tharvey@gateworks.com>
Mon, 13 Mar 2017 15:51:04 +0000 (08:51 -0700)
committerStefano Babic <sbabic@denx.de>
Sun, 19 Mar 2017 16:29:50 +0000 (17:29 +0100)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
include/configs/gw_ventana.h

index 31b3010b764a75b9bd9d682ac6685c92019c69c7..d51bcc9e24e6fa70aa95609c07fa4386f45e3eaf 100644 (file)
                "fi\0" \
        \
        "uimage=uImage\0" \
-       "mmc_root=/dev/mmcblk0p1 rootfstype=${fs} rootwait rw\0" \
+       "mmc_root=mmcblk0p1\0" \
        "mmc_boot=" \
                "setenv fsload \"${fs}load mmc ${disk}:${part}\"; " \
                "mmc dev ${disk} && mmc rescan && " \
                "setenv dtype mmc; run loadscript; " \
                "if ${fsload} ${loadaddr} ${bootdir}/${uimage}; then " \
                        "setenv bootargs console=${console},${baudrate} " \
-                               "root=/dev/mmcblk0p1 rootfstype=${fs} " \
+                               "root=/dev/${mmc_root} rootfstype=${fs} " \
                                "rootwait rw ${video} ${extra}; " \
                        "if run loadfdt; then " \
                                "bootm ${loadaddr} - ${fdt_addr}; " \