summaryrefslogtreecommitdiff
path: root/board/stxxtc
diff options
context:
space:
mode:
Diffstat (limited to 'board/stxxtc')
-rw-r--r--board/stxxtc/stxxtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/stxxtc/stxxtc.c b/board/stxxtc/stxxtc.c
index 7caf06a..703ac6f 100644
--- a/board/stxxtc/stxxtc.c
+++ b/board/stxxtc/stxxtc.c
@@ -574,7 +574,7 @@ int board_early_init_f(void)
return 0;
}
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#if (CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)
#include <linux/mtd/nand_legacy.h>