uboot-mt623x/drivers
Nishanth Menon eb9a28f699 mmc: omap: timeout counter fix
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 compared to GCC 4.4. use timer
to keep track of time elapse and we use an emperical number - 1sec
for a worst case timeout.  This should never happen, and is adequate
imaginary condition for us to fail with timeout.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-11-19 16:27:37 -05:00
..
bios_emulator Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
block Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
dma Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
fpga Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
gpio Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
hwmon Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
i2c Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
input Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
misc Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mmc mmc: omap: timeout counter fix 2010-11-19 16:27:37 -05:00
mtd Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
net net: e1000: typo using wrong argument to sizeof 2010-11-17 22:05:11 +01:00
pci Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
pcmcia Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
power Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
qe Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
rtc Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
serial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
spi Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
video Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
watchdog Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00