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/arm/ata-target.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'firmware/target/arm/ata-target.h') diff --git a/firmware/target/arm/ata-target.h b/firmware/target/arm/ata-target.h index 779ebed070..616c451579 100644 --- a/firmware/target/arm/ata-target.h +++ b/firmware/target/arm/ata-target.h @@ -19,6 +19,11 @@ * ****************************************************************************/ +#ifndef ATA_TARGET_H +#define ATA_TARGET_H + +#include "config.h" + #ifdef CPU_PP #ifdef HAVE_BOOTLOADER_USB_MODE @@ -49,17 +54,11 @@ /* asm optimized reading and writing */ #define ATA_OPTIMIZED_READING #define ATA_OPTIMIZED_WRITING -void copy_read_sectors(unsigned char* buf, int wordcount); -void copy_write_sectors(const unsigned char* buf, int wordcount); #endif /* CONFIG_CPU */ #endif -void ata_reset(void); -bool ata_is_coldstart(void); -void ata_device_init(void); - #ifdef HAVE_ATA_DMA /* IDE DMA controller registers */ @@ -88,8 +87,6 @@ void ata_device_init(void); #define ATA_MAX_UDMA 1 #endif -void ata_dma_set_mode(unsigned char mode); -bool ata_dma_setup(void *addr, unsigned long bytes, bool write); -bool ata_dma_finish(void); - #endif /* HAVE_ATA_DMA */ + +#endif /* ATA_TARGET_H */ -- cgit v1.2.3