diff options
author | Dave Liu <r63238@freescale.com> | 2008-03-26 22:50:45 +0800 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-26 23:38:52 +0100 |
commit | 8e9bb43429e50df55fa41932cbe65841ff579220 (patch) | |
tree | a966bfd8424b6f3f9828e161469b6efb505e34ee /drivers/block/ata_piix.h | |
parent | c7057b529c3c3cb9c0ac9060686a4068f1491bbe (diff) |
ata: make the ata_piix driver using new SATA framework
original ata_piix driver is using IDE framework, not real
SATA framework. For now, the ata_piix driver is only used
by x86 sc520_cdp board. This patch makes the ata_piix driver
use the new SATA framework, so
- remove the duplicated command stuff
- remove the CONFIG_CMD_IDE define in the sc520_cdp.h
- add the CONFIG_CMD_SATA define to sc520_cdp.h
Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'drivers/block/ata_piix.h')
-rw-r--r-- | drivers/block/ata_piix.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/block/ata_piix.h b/drivers/block/ata_piix.h index bb1acb3878e..ed2e4d57d67 100644 --- a/drivers/block/ata_piix.h +++ b/drivers/block/ata_piix.h @@ -82,11 +82,9 @@ void msleep (int count); /************DRIVER SPECIFIC DEFINITIONS AND DECLARATIONS**************/ #ifdef DRV_DECL /*Driver specific declaration */ -int init_sata (void); +int init_sata (int dev); #endif #ifdef DRV_DECL /*Defines Driver Specific variables */ struct sata_port port[CFG_SATA_MAXBUS]; -block_dev_desc_t sata_dev_desc[CFG_SATA_MAXDEVICES]; -int curr_dev = -1; #endif |