diff options
Diffstat (limited to 'firmware/target/arm/imx31')
-rw-r--r-- | firmware/target/arm/imx31/ata-imx31.c | 3 | ||||
-rw-r--r-- | firmware/target/arm/imx31/ata-target.h | 8 |
2 files changed, 4 insertions, 7 deletions
diff --git a/firmware/target/arm/imx31/ata-imx31.c b/firmware/target/arm/imx31/ata-imx31.c index 8a40c924ff..80539b9c9d 100644 --- a/firmware/target/arm/imx31/ata-imx31.c +++ b/firmware/target/arm/imx31/ata-imx31.c | |||
@@ -25,9 +25,8 @@ | |||
25 | #include "system.h" | 25 | #include "system.h" |
26 | #include "power.h" | 26 | #include "power.h" |
27 | #include "panic.h" | 27 | #include "panic.h" |
28 | #include "ata.h" | 28 | #include "ata-driver.h" |
29 | #include "ata-defines.h" | 29 | #include "ata-defines.h" |
30 | #include "ata-target.h" | ||
31 | #include "ccm-imx31.h" | 30 | #include "ccm-imx31.h" |
32 | #ifdef HAVE_ATA_DMA | 31 | #ifdef HAVE_ATA_DMA |
33 | #include "sdma-imx31.h" | 32 | #include "sdma-imx31.h" |
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 | ||