]> git.sur5r.net Git - u-boot/blobdiff - board/esd/common/esd405ep_nand.c
Merge with git://www.denx.de/git/u-boot.git
[u-boot] / board / esd / common / esd405ep_nand.c
index 7ac4b835a77cc6d1dd9adb654fc3c5b74e17451e..7bf68473d28372256ed13b5a64902d82945713f2 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <common.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
 #include <asm/io.h>
 #include <nand.h>
 
@@ -84,4 +84,4 @@ int board_nand_init(struct nand_chip *nand)
        nand->options = NAND_SAMSUNG_LP_OPTIONS;
        return 0;
 }
-#endif /* (CONFIG_COMMANDS & CFG_CMD_NAND) */
+#endif