]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx6sxsabresd: Adjust the mmcdev after DM conversion
authorFabio Estevam <festevam@gmail.com>
Thu, 19 Dec 2019 17:59:42 +0000 (14:59 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 27 Dec 2019 11:13:25 +0000 (12:13 +0100)
After the DM conversion the boot SD card is now device 3.

Adjust it so that we can boot the kernel again.

While at it avoid a hardcoded mmc dev inside the finduuid script.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
include/configs/mx6sxsabresd.h

index 704d9f3dcb898ba5df851f9716eb59bacc0be5fa..55aace1c6e706c60d4357edb43153d5608acd20a 100644 (file)
@@ -54,9 +54,9 @@
        "boot_fdt=try\0" \
        "ip_dyn=yes\0" \
        "videomode=video=ctfb:x:800,y:480,depth:24,pclk:29850,le:89,ri:164,up:23,lo:10,hs:10,vs:10,sync:0,vmode:0\0" \
-       "mmcdev=2\0" \
+       "mmcdev=3\0" \
        "mmcpart=1\0" \
-       "finduuid=part uuid mmc 2:2 uuid\0" \
+       "finduuid=part uuid mmc ${mmcdev}:2 uuid\0" \
        "mmcargs=setenv bootargs console=${console},${baudrate} " \
                "root=PARTUUID=${uuid} rootwait rw\0" \
        "loadbootscript=" \