Add ability to take MAC address from the environment to DM9000 driver
[oweals/u-boot.git] / drivers / nand / nand_base.c
index c6fee18222b494297066c89ae1db1e2f330c93f1..151f535c58bddbe2fac6873abd04cf7d84856011 100644 (file)
@@ -72,7 +72,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 <watchdog.h>