summaryrefslogtreecommitdiff
path: root/drivers/nand/nand_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nand/nand_util.c')
-rw-r--r--drivers/nand/nand_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nand/nand_util.c b/drivers/nand/nand_util.c
index 10bf036..88c1df6 100644
--- a/drivers/nand/nand_util.c
+++ b/drivers/nand/nand_util.c
@@ -32,7 +32,7 @@
#include <common.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
+#if defined(CONFIG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
#include <command.h>
#include <watchdog.h>
@@ -859,4 +859,4 @@ int nand_unlock(nand_info_t *meminfo, ulong start, ulong length)
return ret;
}
-#endif /* (CONFIG_COMMANDS & CFG_CMD_NAND) && !defined(CFG_NAND_LEGACY) */
+#endif