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/coldfire/mpio/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/coldfire/mpio/ata-target.h')
-rw-r--r-- | firmware/target/coldfire/mpio/ata-target.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/target/coldfire/mpio/ata-target.h b/firmware/target/coldfire/mpio/ata-target.h index b2c8f15417..095a7fc1bd 100644 --- a/firmware/target/coldfire/mpio/ata-target.h +++ b/firmware/target/coldfire/mpio/ata-target.h | |||
@@ -36,11 +36,5 @@ | |||
36 | #define ATA_SELECT (*((volatile unsigned short*)(ATA_IOBASE + 0x2c))) | 36 | #define ATA_SELECT (*((volatile unsigned short*)(ATA_IOBASE + 0x2c))) |
37 | #define ATA_COMMAND (*((volatile unsigned short*)(ATA_IOBASE + 0x2e))) | 37 | #define ATA_COMMAND (*((volatile unsigned short*)(ATA_IOBASE + 0x2e))) |
38 | 38 | ||
39 | void ata_reset(void); | ||
40 | void ata_enable(bool on); | ||
41 | void ata_device_init(void); | ||
42 | bool ata_is_coldstart(void); | ||
43 | 39 | ||
44 | void copy_read_sectors(unsigned char* buf, int wordcount); | ||
45 | void copy_write_sectors(const unsigned char* buf, int wordcount); | ||
46 | #endif | 40 | #endif |