]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mtd/nand/ndfc.c
nand: ndfc: Remove unnecessary #ifdef's
[people/ms/u-boot.git] / drivers / mtd / nand / ndfc.c
index 971e2ae6c73e4e6ff53cc2dd29ea604772584e77..528b22b49aeb32ec2a57720d385a080c12bd9a8d 100644 (file)
  */
 
 #include <common.h>
-
-#if defined(CONFIG_CMD_NAND) && !defined(CONFIG_NAND_LEGACY) && \
-    defined(CONFIG_NAND_NDFC)
-
 #include <nand.h>
 #include <linux/mtd/ndfc.h>
 #include <linux/mtd/nand_ecc.h>
@@ -219,5 +215,3 @@ int board_nand_init(struct nand_chip *nand)
 
        return 0;
 }
-
-#endif