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/imx31/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/imx31/ata-target.h')
-rw-r--r-- | firmware/target/arm/imx31/ata-target.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/firmware/target/arm/imx31/ata-target.h b/firmware/target/arm/imx31/ata-target.h index 24141c6aa7..6893e83198 100644 --- a/firmware/target/arm/imx31/ata-target.h +++ b/firmware/target/arm/imx31/ata-target.h | |||
@@ -21,6 +21,8 @@ | |||
21 | #ifndef ATA_TARGET_H | 21 | #ifndef ATA_TARGET_H |
22 | #define ATA_TARGET_H | 22 | #define ATA_TARGET_H |
23 | 23 | ||
24 | #include "config.h" | ||
25 | |||
24 | #ifdef BOOTLOADER | 26 | #ifdef BOOTLOADER |
25 | #define ATA_DRIVER_CLOSE | 27 | #define ATA_DRIVER_CLOSE |
26 | #endif | 28 | #endif |
@@ -46,12 +48,8 @@ | |||
46 | #define ATA_COMMAND ATA_DRIVE_COMMAND | 48 | #define ATA_COMMAND ATA_DRIVE_COMMAND |
47 | #define ATA_CONTROL ATA_DRIVE_CONTROL | 49 | #define ATA_CONTROL ATA_DRIVE_CONTROL |
48 | 50 | ||
49 | void ata_reset(void); | ||
50 | void ata_device_init(void); | ||
51 | bool ata_is_coldstart(void); | ||
52 | 51 | ||
53 | #define ATA_SET_DEVICE_FEATURES | 52 | #define ATA_SET_PIO_TIMING |
54 | void ata_set_pio_timings(int mode); | ||
55 | 53 | ||
56 | #define ATA_TARGET_POLLING | 54 | #define ATA_TARGET_POLLING |
57 | 55 | ||