sd-as3525*: handle aligned transfers without memcpy()
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Sat, 19 Jun 2010 04:55:10 +0000 (04:55 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Sat, 19 Jun 2010 04:55:10 +0000 (04:55 +0000)
commit5b350939e40468253015fc7f97bd0283affe0dfe
treec65741e699cb7239d11286fc16b18cc026dfe576
parente6d228d56c0282b0efdb2bb4dea9d80f170368ec
sd-as3525*: handle aligned transfers without memcpy()

test_disk shows 1MB transfers are up to 3 times faster
not much difference for 1 or 8 sectors at a time
define STORAGE_WANTS_ALIGN to use the fast path when possible
firmware/target/arm/as3525/sd-as3525.c
firmware/target/arm/as3525/sd-as3525v2.c
firmware/target/arm/as3525/system-target.h