mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
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>
This commit is contained in:
parent
a0549cc952
commit
42b7aebe4a
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
||||||
"fi;\0" \
|
"fi;\0" \
|
||||||
"mmcboot=mmc dev ${mmcdev}; " \
|
"mmcboot=mmc dev ${mmcdev}; " \
|
||||||
"devnum=${mmcdev}; " \
|
"devnum=${mmcdev}; " \
|
||||||
"setenv devtype mmc; " \
|
"devtype=mmc; " \
|
||||||
"if mmc rescan; then " \
|
"if mmc rescan; then " \
|
||||||
"echo SD/MMC found on device ${mmcdev};" \
|
"echo SD/MMC found on device ${mmcdev};" \
|
||||||
"if run loadimage; then " \
|
"if run loadimage; then " \
|
||||||
|
|
Loading…
Add table
Reference in a new issue