]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
lx2160: Correct sd_boot environment variable
authorMeenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Tue, 1 Sep 2020 07:26:28 +0000 (12:56 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 24 Sep 2020 15:27:32 +0000 (20:57 +0530)
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/lx2160aqds.h
include/configs/lx2160ardb.h

index 3dd071fa25aaafbf2d894ed8291aeb3e61cc4798..1cc015c1c77c06bb2d226707fd94b465c896047b 100644 (file)
@@ -131,7 +131,7 @@ u8 qixis_esdhc_detect_quirk(void);
                "$kernelheader_size && esbc_validate ${kernelheader_addr_r}; "\
                " bootm $load_addr#$BOARD\0"                    \
        "sd_bootcmd=echo Trying load from sd card..;"           \
-               "mmcinfo; mmc read $load_addr "                 \
+               "mmc dev 0; mmcinfo; mmc read $load_addr "                      \
                "$kernel_addr_sd $kernel_size_sd ;"             \
                "env exists secureboot && mmc read $kernelheader_addr_r "\
                "$kernelhdr_addr_sd $kernelhdr_size_sd "        \
index f54edf356a2271ac4b7fd4a12ed92d3caa22019b..a51987e6b09d837ac82994ea6a62a8cb1f1e07f4 100644 (file)
                "$kernelheader_size && esbc_validate ${kernelheader_addr_r}; "\
                " bootm $load_addr#$BOARD\0"                    \
        "sd_bootcmd=echo Trying load from sd card..;"           \
-               "mmcinfo; mmc read $load_addr "                 \
+               "mmc dev 0; mmcinfo; mmc read $load_addr "                      \
                "$kernel_addr_sd $kernel_size_sd ;"             \
                "env exists secureboot && mmc read $kernelheader_addr_r "\
                "$kernelhdr_addr_sd $kernelhdr_size_sd "        \