Merge ../u-boot
[oweals/u-boot.git] / drivers / nand / nand_bbt.c
index aaa9400e54d501bd8bea6bbc3b813d06080b28e1..19a9bc2a5b6cdc6469118545fa2fdc0cfd80f5d0 100644 (file)
@@ -54,7 +54,7 @@
 
 #include <common.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
+#if defined(CONFIG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
 
 #include <malloc.h>
 #include <linux/mtd/compat.h>