summaryrefslogtreecommitdiff
path: root/drivers/block/ata_piix.h
diff options
context:
space:
mode:
authorPavel Herrmann <morpheus.ibis@gmail.com>2012-09-27 23:18:04 +0000
committerTom Rini <trini@ti.com>2012-10-15 11:54:03 -0700
commite46a4350b484cf7bc4ab861967bf303fc439c9e0 (patch)
tree00a89574f7dd8a12f82e08945ab567edfaa636d3 /drivers/block/ata_piix.h
parent4ac8f8e022dad149f47a369e60e536b356f14493 (diff)
downloadu-boot-imx-e46a4350b484cf7bc4ab861967bf303fc439c9e0.zip
u-boot-imx-e46a4350b484cf7bc4ab861967bf303fc439c9e0.tar.gz
u-boot-imx-e46a4350b484cf7bc4ab861967bf303fc439c9e0.tar.bz2
sata.h: Make all sata/ata drivers include <sata.h>
- block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt not ulong. - We also move the extern of sata_dev_desc into <sata.h> - Remove now duplicate declarations from driver-specific headers. Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
Diffstat (limited to 'drivers/block/ata_piix.h')
-rw-r--r--drivers/block/ata_piix.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/ata_piix.h b/drivers/block/ata_piix.h
index 85a8843..6c68ea2 100644
--- a/drivers/block/ata_piix.h
+++ b/drivers/block/ata_piix.h
@@ -56,8 +56,6 @@ int sata_devchk(struct sata_ioports *ioaddr, int dev);
void dev_select(struct sata_ioports *ioaddr, int dev);
u8 sata_busy_wait(struct sata_ioports *ioaddr, int bits, unsigned int max);
u8 sata_chk_status(struct sata_ioports *ioaddr);
-ulong sata_read(int device, ulong blknr,lbaint_t blkcnt, void *buffer);
-ulong sata_write(int device,ulong blknr, lbaint_t blkcnt, const void *buffer);
#endif
/************DRIVER SPECIFIC DEFINITIONS AND DECLARATIONS**************/