summaryrefslogtreecommitdiff
path: root/board/zylonite/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/zylonite/nand.c')
-rw-r--r--board/zylonite/nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/zylonite/nand.c b/board/zylonite/nand.c
index a41714351f..3655273a43 100644
--- a/board/zylonite/nand.c
+++ b/board/zylonite/nand.c
@@ -22,7 +22,7 @@
#include <common.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#if (CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)
#ifdef CONFIG_NEW_NAND_CODE
#include <nand.h>