On Wednesday, June 17, 2015 at 03:44:41 PM, Jeroen Hofstee wrote: > 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?
Yes it can -- what do you suggest to make it overflow-safe in this particular case ? Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot