summaryrefslogtreecommitdiff
path: root/drivers/block/ata_piix.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:39 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:39 +0200
commit1a02806c4b1b4a09ad4e95d3aac3783889e5f8d7 (patch)
tree93ac24050e6c46e8ebeb4086548e5f94bf7911fd /drivers/block/ata_piix.c
parent1a6ffbfaf4353bec379ed1fcfc54b6f1a30af09a (diff)
downloadu-boot-imx-1a02806c4b1b4a09ad4e95d3aac3783889e5f8d7.zip
u-boot-imx-1a02806c4b1b4a09ad4e95d3aac3783889e5f8d7.tar.gz
u-boot-imx-1a02806c4b1b4a09ad4e95d3aac3783889e5f8d7.tar.bz2
drivers/block: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/block/ata_piix.c')
-rw-r--r--drivers/block/ata_piix.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/block/ata_piix.c b/drivers/block/ata_piix.c
index 441a4dc..4c26b36 100644
--- a/drivers/block/ata_piix.c
+++ b/drivers/block/ata_piix.c
@@ -35,8 +35,6 @@
#include <ide.h>
#include <ata.h>
-#ifdef CFG_ATA_PIIX /*ata_piix driver */
-
extern block_dev_desc_t sata_dev_desc[CFG_SATA_MAX_DEVICE];
extern int curr_device;
@@ -756,5 +754,3 @@ int scan_sata(int dev)
{
return 0;
}
-
-#endif