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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nand/nand_util.c b/drivers/nand/nand_util.c
index 10bf036..135e3c4 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 ((CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)) && !defined(CFG_NAND_LEGACY)
#include <command.h>
#include <watchdog.h>