[U-Boot] Very slow fatload on bcm2835

Jeroen Hofstee dasuboot at myspectrum.nl
Wed Jun 17 15:44:41 CEST 2015


Hello Marek,

-    while (get_timer(bcm_host->last_write) < bcm_host->twoticks_delay)
+    while (timer_get_us() < bcm_host->last_write + 
bcm_host->twoticks_delay)
          ;

Can this counter / the right side of the comparison not overflow?

Regards,
Jeroen




More information about the U-Boot mailing list