diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-05-05 15:47:26 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-05-05 15:47:26 +0000 |
commit | e025cb1c3816cf755ed61484695dcabfdcf649b3 (patch) | |
tree | ed01d9547a314ae3d68064ebecdd94d8c4a61bb2 /firmware/target/arm/tms320dm320/creative-zvm/ata-target.h | |
parent | 6d12109ef7d1293810ffa3696f4dc66bcafb557b (diff) | |
download | rockbox-e025cb1c3816cf755ed61484695dcabfdcf649b3.tar.gz rockbox-e025cb1c3816cf755ed61484695dcabfdcf649b3.zip |
Split up DMA and ATA, but don't enable it (yet).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17386 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/creative-zvm/ata-target.h')
-rw-r--r-- | firmware/target/arm/tms320dm320/creative-zvm/ata-target.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/ata-target.h b/firmware/target/arm/tms320dm320/creative-zvm/ata-target.h index 67bc9de101..18b144edd1 100644 --- a/firmware/target/arm/tms320dm320/creative-zvm/ata-target.h +++ b/firmware/target/arm/tms320dm320/creative-zvm/ata-target.h | |||
@@ -20,10 +20,15 @@ | |||
20 | #ifndef ATA_TARGET_H | 20 | #ifndef ATA_TARGET_H |
21 | #define ATA_TARGET_H | 21 | #define ATA_TARGET_H |
22 | 22 | ||
23 | /* ASM optimized reading and writing */ | 23 | /* DMA optimized reading and writing */ |
24 | #define ATA_OPTIMIZED_READING | 24 | #define ATA_OPTIMIZED_READING |
25 | #define ATA_OPTIMIZED_WRITING | 25 | #define ATA_OPTIMIZED_WRITING |
26 | void copy_read_sectors(unsigned char* buf, int wordcount); | 26 | /* |
27 | #include "dma-target.h" | ||
28 | #define copy_read_sectors dma_ata_read | ||
29 | #define copy_write_sectors dma_ata_write | ||
30 | */ | ||
31 | void copy_read_sectors(const unsigned char* buf, int wordcount); | ||
27 | void copy_write_sectors(const unsigned char* buf, int wordcount); | 32 | void copy_write_sectors(const unsigned char* buf, int wordcount); |
28 | 33 | ||
29 | /* General purpose memory region #1 */ | 34 | /* General purpose memory region #1 */ |