aboutsummaryrefslogtreecommitdiff
path: root/board/dave/PPChameleonEVB/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/dave/PPChameleonEVB/nand.c')
-rw-r--r--board/dave/PPChameleonEVB/nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/dave/PPChameleonEVB/nand.c b/board/dave/PPChameleonEVB/nand.c
index f5c3dd9edc7..09c0b043e7f 100644
--- a/board/dave/PPChameleonEVB/nand.c
+++ b/board/dave/PPChameleonEVB/nand.c
@@ -23,7 +23,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