diff options
author | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-08 21:23:53 +0000 |
---|---|---|
committer | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-08 21:23:53 +0000 |
commit | e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096 (patch) | |
tree | 3165e08718b10840ac466821664852be8ba6d784 /firmware/target/arm/tms320dm320/creative-zvm/ata-target.h | |
parent | d09818d745835653c2f7ff24547101c0833800d4 (diff) | |
download | rockbox-e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096.tar.gz rockbox-e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096.zip |
FS#12418 - Merge prototypes from ata-target.h files into new file ata-driver.h. After this change:
- ata.h is for users of ata.c
- ata-driver.h is for functions implemented by target-specific code and used by ata.c
- ata-target.h is for target-specific defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31182 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 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/ata-target.h b/firmware/target/arm/tms320dm320/creative-zvm/ata-target.h index 1a1648983d..5b66d192a5 100644 --- a/firmware/target/arm/tms320dm320/creative-zvm/ata-target.h +++ b/firmware/target/arm/tms320dm320/creative-zvm/ata-target.h | |||
@@ -32,8 +32,6 @@ | |||
32 | #define copy_read_sectors dma_ata_read | 32 | #define copy_read_sectors dma_ata_read |
33 | #define copy_write_sectors dma_ata_write | 33 | #define copy_write_sectors dma_ata_write |
34 | */ | 34 | */ |
35 | void copy_read_sectors(const unsigned char* buf, int wordcount); | ||
36 | void copy_write_sectors(const unsigned char* buf, int wordcount); | ||
37 | 35 | ||
38 | /* Nasty hack, but Creative is nasty... */ | 36 | /* Nasty hack, but Creative is nasty... */ |
39 | #define ata_read_sectors _ata_read_sectors | 37 | #define ata_read_sectors _ata_read_sectors |
@@ -53,10 +51,6 @@ extern int _ata_write_sectors(IF_MD2(int drive,) unsigned long start, int count, | |||
53 | #define ATA_COMMAND (*((volatile unsigned char*)(ATA_IOBASE+0xE))) | 51 | #define ATA_COMMAND (*((volatile unsigned char*)(ATA_IOBASE+0xE))) |
54 | #define ATA_CONTROL (*((volatile unsigned char*)(ATA_IOBASE+0x800C))) | 52 | #define ATA_CONTROL (*((volatile unsigned char*)(ATA_IOBASE+0x800C))) |
55 | 53 | ||
56 | void ata_reset(void); | ||
57 | void ata_device_init(void); | ||
58 | bool ata_is_coldstart(void); | ||
59 | void ide_power_enable(bool on); | ||
60 | #ifdef BOOTLOADER | 54 | #ifdef BOOTLOADER |
61 | int load_minifs_file(char* filename, unsigned char* location); | 55 | int load_minifs_file(char* filename, unsigned char* location); |
62 | #endif | 56 | #endif |