mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
arm: ti: Fix regression in distro boot for mmc
When devnum was changed to a local variable in distro_bootcmd we ran
into a problem on TI platforms (confirmed on Beaglebone) as we had been
using 'setenv devnum' there as well and it needs to match the other
usage.
Fixes: 13dd6665ed
("distro: not taint environment variables if possible")
[trini: Review other platforms, re-word commit message]
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
6f9656d726
commit
27e0f3bcf0
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
"bootz; " \
|
"bootz; " \
|
||||||
"fi;\0" \
|
"fi;\0" \
|
||||||
"mmcboot=mmc dev ${mmcdev}; " \
|
"mmcboot=mmc dev ${mmcdev}; " \
|
||||||
"setenv devnum ${mmcdev}; " \
|
"devnum ${mmcdev}; " \
|
||||||
"setenv devtype mmc; " \
|
"setenv devtype mmc; " \
|
||||||
"if mmc rescan; then " \
|
"if mmc rescan; then " \
|
||||||
"echo SD/MMC found on device ${mmcdev};" \
|
"echo SD/MMC found on device ${mmcdev};" \
|
||||||
|
|
Loading…
Reference in a new issue