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/sh | |
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/sh')
-rw-r--r-- | firmware/target/sh/archos/ata-archos.c | 2 | ||||
-rw-r--r-- | firmware/target/sh/archos/ata-target.h | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/firmware/target/sh/archos/ata-archos.c b/firmware/target/sh/archos/ata-archos.c index 6b58481b8b..2046d3b33f 100644 --- a/firmware/target/sh/archos/ata-archos.c +++ b/firmware/target/sh/archos/ata-archos.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <stdbool.h> | 24 | #include <stdbool.h> |
25 | #include "kernel.h" | 25 | #include "kernel.h" |
26 | #include "system.h" | 26 | #include "system.h" |
27 | #include "ata-target.h" | 27 | #include "ata-driver.h" |
28 | #include "hwcompat.h" | 28 | #include "hwcompat.h" |
29 | 29 | ||
30 | #define ATA_CONTROL1 ((volatile unsigned char*)0x06200206) | 30 | #define ATA_CONTROL1 ((volatile unsigned char*)0x06200206) |
diff --git a/firmware/target/sh/archos/ata-target.h b/firmware/target/sh/archos/ata-target.h index fb343f4df4..dc55cdd5d5 100644 --- a/firmware/target/sh/archos/ata-target.h +++ b/firmware/target/sh/archos/ata-target.h | |||
@@ -41,11 +41,5 @@ | |||
41 | 41 | ||
42 | extern volatile unsigned char* ata_control; | 42 | extern volatile unsigned char* ata_control; |
43 | 43 | ||
44 | void ata_reset(void); | ||
45 | void ata_enable(bool on); | ||
46 | void ata_device_init(void); | ||
47 | bool ata_is_coldstart(void); | ||
48 | 44 | ||
49 | void copy_read_sectors(unsigned char* buf, int wordcount); | ||
50 | void copy_write_sectors(const unsigned char* buf, int wordcount); | ||
51 | #endif | 45 | #endif |