diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/gigabeat-fx')
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c | 3 | ||||
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/ata-target.h | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c index 8cd0260fe4..89b00bbd1d 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c | |||
@@ -26,8 +26,7 @@ | |||
26 | #include "power.h" | 26 | #include "power.h" |
27 | #include "panic.h" | 27 | #include "panic.h" |
28 | #include "pcf50606.h" | 28 | #include "pcf50606.h" |
29 | #include "ata.h" | 29 | #include "ata-driver.h" |
30 | #include "ata-target.h" | ||
31 | #include "backlight-target.h" | 30 | #include "backlight-target.h" |
32 | 31 | ||
33 | /* ARESET on C7C68300 and RESET on ATA interface (Active Low) */ | 32 | /* ARESET on C7C68300 and RESET on ATA interface (Active Low) */ |
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/ata-target.h b/firmware/target/arm/s3c2440/gigabeat-fx/ata-target.h index 95cbaa11cf..7ca7d77c4f 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/ata-target.h +++ b/firmware/target/arm/s3c2440/gigabeat-fx/ata-target.h | |||
@@ -30,7 +30,6 @@ | |||
30 | #define PREFER_C_WRITING | 30 | #define PREFER_C_WRITING |
31 | #if !defined(BOOTLOADER) | 31 | #if !defined(BOOTLOADER) |
32 | #define ATA_OPTIMIZED_READING | 32 | #define ATA_OPTIMIZED_READING |
33 | void copy_read_sectors(unsigned char* buf, int wordcount); | ||
34 | #endif | 33 | #endif |
35 | 34 | ||
36 | #define ATA_IOBASE 0x18000000 | 35 | #define ATA_IOBASE 0x18000000 |
@@ -44,8 +43,5 @@ void copy_read_sectors(unsigned char* buf, int wordcount); | |||
44 | #define ATA_COMMAND (*((volatile unsigned char*)(ATA_IOBASE + 0x0E))) | 43 | #define ATA_COMMAND (*((volatile unsigned char*)(ATA_IOBASE + 0x0E))) |
45 | #define ATA_CONTROL (*((volatile unsigned char*)(0x20000000 + 0x1C))) | 44 | #define ATA_CONTROL (*((volatile unsigned char*)(0x20000000 + 0x1C))) |
46 | 45 | ||
47 | void ata_reset(void); | ||
48 | void ata_device_init(void); | ||
49 | bool ata_is_coldstart(void); | ||
50 | 46 | ||
51 | #endif | 47 | #endif |