From ffc7323ec3599d09bd3452658c154ad6cd857230 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 19 Jun 2010 04:55:10 +0000 Subject: 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 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26953 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/system-target.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/target/arm/as3525/system-target.h') diff --git a/firmware/target/arm/as3525/system-target.h b/firmware/target/arm/as3525/system-target.h index f7dc1ac312..5d11ecb26c 100644 --- a/firmware/target/arm/as3525/system-target.h +++ b/firmware/target/arm/as3525/system-target.h @@ -27,6 +27,8 @@ #include "clock-target.h" /* CPUFREQ_* are defined here */ +#define STORAGE_WANTS_ALIGN + /* We can use a interrupt-based mechanism on the fuzev2 */ #define INCREASED_SCROLLWHEEL_POLLING \ (defined(HAVE_SCROLLWHEEL) && (CONFIG_CPU == AS3525)) -- cgit v1.2.3