Sansa AMS: Time has shown that switching between 16 and 32bit mode costs much time...
commitddd1b0251482d8fa1d00ccebfe24a870f7636ae6
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
parent3f011faf2cb29a698d4d628a646af5b45364f159
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