From e4dbcc414b4b91ceb6b5e80a4ad49e4270fee096 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Thu, 8 Dec 2011 21:23:53 +0000 Subject: 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 --- firmware/target/sh/archos/ata-archos.c | 2 +- firmware/target/sh/archos/ata-target.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'firmware/target/sh/archos') 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 @@ #include #include "kernel.h" #include "system.h" -#include "ata-target.h" +#include "ata-driver.h" #include "hwcompat.h" #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 @@ extern volatile unsigned char* ata_control; -void ata_reset(void); -void ata_enable(bool on); -void ata_device_init(void); -bool ata_is_coldstart(void); -void copy_read_sectors(unsigned char* buf, int wordcount); -void copy_write_sectors(const unsigned char* buf, int wordcount); #endif -- cgit v1.2.3