summaryrefslogtreecommitdiff
path: root/board/esd/cms700/cms700.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/cms700/cms700.c')
-rw-r--r--board/esd/cms700/cms700.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/esd/cms700/cms700.c b/board/esd/cms700/cms700.c
index cb04710737..1e7479b88a 100644
--- a/board/esd/cms700/cms700.c
+++ b/board/esd/cms700/cms700.c
@@ -235,7 +235,7 @@ U_BOOT_CMD(eepwren, 2, 0, do_eep_wren,
/* ------------------------------------------------------------------------- */
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#if (CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)
#include <linux/mtd/nand_legacy.h>
extern struct nand_chip nand_dev_desc[CFG_MAX_NAND_DEVICE];