Merge with git://www.denx.de/git/u-boot.git
[platform/kernel/u-boot.git] / drivers / nand / nand.c
index 9fef71d..27b5792 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <common.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
+#if defined(CONFIG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
 
 #include <nand.h>