Re: [U-Boot] [PATCH] mmc: omap: timeout counter fix

2010-10-25 Thread Nishanth Menon
Menon, Nishanth had written, on 10/25/2010 06:33 PM, the following: > Having a loop with a counter is no timing guarentee for timing > accuracy or compiler optimizations. For e.g. the same loop counter > which runs when the MPU is running at 600MHz will timeout in around > half the time when runnin

[U-Boot] [PATCH] mmc: omap: timeout counter fix

2010-10-25 Thread Nishanth Menon
Having a loop with a counter is no timing guarentee for timing accuracy or compiler optimizations. For e.g. the same loop counter which runs when the MPU is running at 600MHz will timeout in around half the time when running at 1GHz. or the example where GCC 4.5 compiles with different optimization