summaryrefslogtreecommitdiff
path: root/include/configs/omap3_sdp3430.h
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2010-11-19 16:18:12 (GMT)
committerSandeep Paulraj <s-paulraj@ti.com>2010-11-19 21:27:37 (GMT)
commiteb9a28f699667919bf140bdabdf37c25be725c79 (patch)
tree2ba25ba5964c433e270c78acfd5ccdb8862a05c3 /include/configs/omap3_sdp3430.h
parentf35d61ac3d1fd324a171904f3fa114e3b10e24ef (diff)
downloadu-boot-eb9a28f699667919bf140bdabdf37c25be725c79.tar.xz
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>
Diffstat (limited to 'include/configs/omap3_sdp3430.h')
0 files changed, 0 insertions, 0 deletions