Add ability to take MAC address from the environment to DM9000 driver
[oweals/u-boot.git] / drivers / nand / nand_ids.c
index 8b58736bc10e35c8b252e0e6d12d9ebbec0c9073..075cae66b06eced8ad0ceace2c77c6a4e56080f8 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <common.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
+#if defined(CONFIG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
 
 #include <linux/mtd/nand.h>