]> git.sur5r.net Git - u-boot/blobdiff - cpu/ppc4xx/ndfc.c
Sync'd u-boot-net with mainline
[u-boot] / cpu / ppc4xx / ndfc.c
index f63fc79f6cb7770d9deac75ef4758a4abe4e4ad9..398457726f426b3898ff794b6ebcd1018eaf3f76 100644 (file)
@@ -31,7 +31,7 @@
 
 #include <common.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY) && \
+#if defined(CONFIG_CMD_NAND) && !defined(CFG_NAND_LEGACY) && \
        (defined(CONFIG_440EP) || defined(CONFIG_440GR) ||           \
         defined(CONFIG_440EPX) || defined(CONFIG_440GRX) ||         \
         defined(CONFIG_405EZ))