summaryrefslogtreecommitdiff
path: root/include/environment
diff options
context:
space:
mode:
authorNuno Gonçalves <nunojpg@gmail.com>2019-07-10 13:46:57 +0200
committerTom Rini <trini@konsulko.com>2019-08-26 11:43:53 -0400
commit27e0f3bcf07530a9cd272953797efda54ebb8f5e (patch)
tree4a0e6bd2a192ef1961a4fbdb238dee3ec9e6b9d9 /include/environment
parent6f9656d726235b4cbb4f469a82c30e5006a75b53 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h
index 785fc15345..ef05376608 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};" \