]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/mtd/at45.c
mxc_nand: Update driver to work with i.MX31.
[karo-tx-uboot.git] / drivers / mtd / at45.c
index a9d13ff90ef9fa4cf072ec846f13625c1fe4a845..d1a60aac90b38495dee178265cd951fd80692d72 100644 (file)
@@ -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