i.MX31: Busy wait for a couple microseconds at most then sleep until next tick when...
commitbcf73e6c72172bb1d6ab72536213e32cce560d23
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 22 Jan 2011 09:23:31 +0000 (22 09:23 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 22 Jan 2011 09:23:31 +0000 (22 09:23 +0000)
treecc51f89e8dc4cca19ff4453195cd712888314368
parent8ac7a66e1a982e4e987ae0000c5b4e8e3febd894
i.MX31: Busy wait for a couple microseconds at most then sleep until next tick when polling drive status. This prevents pointless jumps to overdrive speed from perceived high load when waiting for lengthy ops to complete such as spinup and sleep.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29108 a1c6a512-1295-4272-9138-f99709370657
firmware/drivers/ata.c
firmware/target/arm/imx31/ata-imx31.c
firmware/target/arm/imx31/ata-target.h
firmware/target/arm/imx31/gigabeat-s/system-gigabeat-s.c
firmware/target/arm/imx31/gigabeat-s/system-target.h