Skip to contentSkip to conversation

TI mmc env bug?

U-Boot Andre Heider 1 participant 1 message Sep 9, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

Nuno, I think I spotted a syntax error in 'mmcboot' while looking at unrelated boot problems on my boneblack:

27e0f3bcf07530a9cd272953797efda54ebb8f5e

include/environment/ti/mmc.h +1 -1
index ef05376608..bb4af0a3d5 100644
@@ -56,7 +56,7 @@
             "bootz; " \
         "fi;\0" \
     "mmcboot=mmc dev ${mmcdev}; " \
-       "devnum ${mmcdev}; " \
+       "devnum=${mmcdev}; " \
         "setenv devtype mmc; " \
         "if mmc rescan; then " \
             "echo SD/MMC found on device ${mmcdev};" \

Totally untested though. In case it's a proper fix, I won't be around this week to send a proper patch to fix the regression fix ;)

Thanks,
Andre