diff options
author | Nuno Gonçalves | 2019-07-10 13:46:57 +0200 |
---|---|---|
committer | Tom Rini | 2019-08-26 11:43:53 -0400 |
commit | 27e0f3bcf07530a9cd272953797efda54ebb8f5e (patch) | |
tree | 4a0e6bd2a192ef1961a4fbdb238dee3ec9e6b9d9 /include/environment | |
parent | 6f9656d726235b4cbb4f469a82c30e5006a75b53 (diff) |
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: 13dd6665ed18 ("distro: not taint environment variables if possible")
[trini: Review other platforms, re-word commit message]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/environment')
-rw-r--r-- | include/environment/ti/mmc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h index 785fc153457..ef053766088 100644 --- a/include/environment/ti/mmc.h +++ b/include/environment/ti/mmc.h @@ -56,7 +56,7 @@ "bootz; " \ "fi;\0" \ "mmcboot=mmc dev ${mmcdev}; " \ - "setenv devnum ${mmcdev}; " \ + "devnum ${mmcdev}; " \ "setenv devtype mmc; " \ "if mmc rescan; then " \ "echo SD/MMC found on device ${mmcdev};" \ |