]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/nand_ecc.c
drivers/mtd/nand: Move conditional compilation to Makefile
[u-boot] / drivers / mtd / nand / nand_ecc.c
index e1d5154db223439b119c258ca4a088d5d602ef56..ee1f6cc8a85a98ddd136fc4c464d0ab425b2183b 100644 (file)
@@ -39,8 +39,6 @@
 
 #include <common.h>
 
-#if defined(CONFIG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
-
 /* XXX U-BOOT XXX */
 #if 0
 #include <linux/types.h>
@@ -215,5 +213,3 @@ int nand_correct_data(struct mtd_info *mtd, u_char *dat,
 #if 0
 EXPORT_SYMBOL(nand_correct_data);
 #endif
-
-#endif