summaryrefslogtreecommitdiff
path: root/drivers/block/sil680.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/sil680.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/sil680.c')
-rw-r--r--drivers/block/sil680.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/block/sil680.c b/drivers/block/sil680.c
index a6143df..052c3d3 100644
--- a/drivers/block/sil680.c
+++ b/drivers/block/sil680.c
@@ -27,7 +27,7 @@
* The following parameters must be defined in the configuration file
* of the target board:
*
- * #define CFG_IDE_SIL680
+ * #define CONFIG_IDE_SIL680
*
* #define CONFIG_PCI_PNP
* NOTE it may also be necessary to define this if the default of 8 is
@@ -54,7 +54,6 @@
*/
#include <common.h>
-#if defined(CFG_IDE_SIL680)
#include <ata.h>
#include <ide.h>
#include <pci.h>
@@ -106,5 +105,3 @@ int ide_preinit (void)
void ide_set_reset (int flag) {
return;
}
-
-#endif /* CFG_IDE_SIL680 */