Sansa AMS: Time has shown that switching between 16 and 32bit mode costs much time...
commita1132e47ccc5b6cc2a8fb74297000f4e741afcbe
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Thu, 7 Jan 2010 22:21:41 +0000 (7 22:21 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Thu, 7 Jan 2010 22:21:41 +0000 (7 22:21 +0000)
treef5bac9dc07e1badcf0e838df41327faa7c49dfca
parent5ecaf5a26618caa074b52c1e3a54d439239f0d81
Sansa AMS: Time has shown that switching between 16 and 32bit mode costs much time (due to the micro delay needed), so do 32bit transfers unconditionally for lcd updates at the cost of updating slightly larger rectangles (gives upto 15% speed up, nearly at maximum now).
Unify this optimized dbop transfer function and re-use it more often (it still handles 16bit transfers).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24198 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/as3525/dbop-as3525.c
firmware/target/arm/as3525/dbop-as3525.h
firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
firmware/target/arm/as3525/sansa-fuze/lcd-fuze.c