summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/at45.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:42 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:42 +0200
commit00b1883a4cac59d97cd297b1a3a398db85982865 (patch)
tree441d91dc472d200c0428b5370bbcc8a110b78e34 /drivers/mtd/at45.c
parent7ba44a5521cdb7fa1c72864025cde1e21a6f6921 (diff)
downloadblackbird-obmc-uboot-00b1883a4cac59d97cd297b1a3a398db85982865.tar.gz
blackbird-obmc-uboot-00b1883a4cac59d97cd297b1a3a398db85982865.zip
drivers/mtd: Move conditional compilation to Makefile
rename CFG_FLASH_CFI_DRIVER to CONFIG_FLASH_CFI_DRIVER Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/mtd/at45.c')
-rw-r--r--drivers/mtd/at45.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/at45.c b/drivers/mtd/at45.c
index a9d13ff90e..d1a60aac90 100644
--- a/drivers/mtd/at45.c
+++ b/drivers/mtd/at45.c
@@ -20,8 +20,6 @@
#include <config.h>
#include <common.h>
-
-#ifdef CONFIG_HAS_DATAFLASH
#include <dataflash.h>
/*
@@ -559,4 +557,3 @@ int AT91F_DataflashProbe(int cs, AT91PS_DataflashDesc pDesc)
AT91F_DataFlashGetStatus(pDesc);
return ((pDesc->command[1] == 0xFF) ? 0 : pDesc->command[1] & 0x3C);
}
-#endif
OpenPOWER on IntegriCloud