summaryrefslogtreecommitdiff
path: root/board/nc650/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/nc650/nand.c')
-rw-r--r--board/nc650/nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/nc650/nand.c b/board/nc650/nand.c
index 6bb7c31437..8617f7445f 100644
--- a/board/nc650/nand.c
+++ b/board/nc650/nand.c
@@ -24,7 +24,7 @@
#include <common.h>
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
#include <nand.h>
@@ -115,4 +115,4 @@ int board_nand_init(struct nand_chip *nand)
/* nand->options = NAND_SAMSUNG_LP_OPTIONS;*/
return 0;
}
-#endif /* (CONFIG_COMMANDS & CFG_CMD_NAND) */
+#endif