]> git.dujemihanovic.xyz Git - u-boot.git/commit
ti: Use devtype=mmc instead of setenv devtype mmc
authorMatwey V. Kornilov <matwey.kornilov@gmail.com>
Mon, 24 Aug 2020 18:00:32 +0000 (21:00 +0300)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 15 Sep 2020 13:21:53 +0000 (18:51 +0530)
commit42b7aebe4ab47d7d981572d15d9bba999007b2ac
treeada6f5f577042968c61b9db259a6f31046bece26
parenta0549cc95222f62e41858df61702a710aa8a9bca
ti: Use devtype=mmc instead of setenv devtype mmc

If devtype variable is setted via setenv, then the following devtype=X style is
ignored. Currently, many u-boot commands use devtype variable in the latter
manner:

    mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi

Use devtype=mmc instead of setenv devtype mmc to avoid bugs with booting from
another devtype.

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
include/environment/ti/mmc.h