as3525(v2): Add a somewhat inaccurate udelay (-0.5/+1.0µs). It should work good for...
commit816176bb714c3f449bf8da495f8638fb5cd02ea6
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Tue, 27 Apr 2010 09:34:29 +0000 (27 09:34 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Tue, 27 Apr 2010 09:34:29 +0000 (27 09:34 +0000)
tree0cc577ce1f31aea64a70b83f9323512da56912d4
parent6ea2176f800d9049c266b9d8bb9924926da30842
as3525(v2): Add a somewhat inaccurate udelay (-0.5/+1.0µs). It should work good for some huge delays.

Use it in fuzev2 to improve some big delays (correct the biggest one to actually wait for the fifo to empty), and use it in the sd drivers.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25734 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/as3525/kernel-as3525.c
firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c
firmware/target/arm/as3525/sd-as3525.c
firmware/target/arm/as3525/sd-as3525v2.c
firmware/target/arm/as3525/system-target.h