]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/fsl_upm.c
drivers/mtd/nand: Move conditional compilation to Makefile
[u-boot] / drivers / mtd / nand / fsl_upm.c
index e651903040b937774e71abbc0d15a35dcaec0f93..1a1d8c4e61282cc77df124c2bd587b771a5a61a0 100644 (file)
@@ -11,8 +11,6 @@
  */
 
 #include <config.h>
-
-#if defined(CONFIG_CMD_NAND) && defined(CONFIG_NAND_FSL_UPM)
 #include <common.h>
 #include <asm/io.h>
 #include <asm/errno.h>
@@ -150,4 +148,3 @@ int fsl_upm_nand_init(struct nand_chip *chip, struct fsl_upm_nand *fun)
 
        return 0;
 }
-#endif /* CONFIG_CMD_NAND */