diff options
author | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-01-31 11:07:29 +0000 |
---|---|---|
committer | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-01-31 11:07:29 +0000 |
commit | 533cf7737bae4363edefbfb202cb44e9eb30cd3f (patch) | |
tree | abfb69b76b46fc8d22c14023969ba3fcaad4809d /firmware/export/config/tatungtpj1022.h | |
parent | c0e2d9fe1bb87730d9a8a7cac3cb8f6cd39ce630 (diff) | |
download | rockbox-533cf7737bae4363edefbfb202cb44e9eb30cd3f.tar.gz rockbox-533cf7737bae4363edefbfb202cb44e9eb30cd3f.zip |
Enable ATA DMA on pp5020 based players with ATA drives.
DMA is only used for reading because writing seems to be slower with DMA.
Only requests which are cacheline aligned (16 bytes) will use DMA, so many
requests will still use PIO at this point; a later change will align more
reads.
Part of FS#9708, original DMA code by Boris Gjenero (dreamlayers).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24405 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/tatungtpj1022.h')
-rw-r--r-- | firmware/export/config/tatungtpj1022.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/config/tatungtpj1022.h b/firmware/export/config/tatungtpj1022.h index 079be73c86..aca131df8b 100644 --- a/firmware/export/config/tatungtpj1022.h +++ b/firmware/export/config/tatungtpj1022.h | |||
@@ -137,3 +137,8 @@ | |||
137 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 137 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
138 | #define BOOTDIR "/.rockbox" | 138 | #define BOOTDIR "/.rockbox" |
139 | 139 | ||
140 | |||
141 | /* DMA is used only for reading on PP502x because although reads are ~8x faster | ||
142 | * writes appear to be ~25% slower. | ||
143 | */ | ||
144 | #define HAVE_ATA_DMA | ||