summaryrefslogtreecommitdiffstats
path: root/board/stxxtc/stxxtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/stxxtc/stxxtc.c')
-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 703ac6f0d0..87a2022761 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) || defined(CONFIG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
#include <linux/mtd/nand_legacy.h>
OpenPOWER on IntegriCloud