[U-Boot] TI mmc env bug?

Andre Heider a.heider at gmail.com
Mon Sep 9 07:57:22 UTC 2019


Hi,

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

27e0f3bcf07530a9cd272953797efda54ebb8f5e
diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h
index ef05376608..bb4af0a3d5 100644
--- a/include/environment/ti/mmc.h
+++ b/include/environment/ti/mmc.h
@@ -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


More information about the U-Boot mailing list