summaryrefslogtreecommitdiff
path: root/board/ids8247/ids8247.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ids8247/ids8247.c')
-rw-r--r--board/ids8247/ids8247.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ids8247/ids8247.c b/board/ids8247/ids8247.c
index 7b9a83d0f9..19823a474e 100644
--- a/board/ids8247/ids8247.c
+++ b/board/ids8247/ids8247.c
@@ -300,7 +300,7 @@ int misc_init_r (void)
gd->bd->bi_flashstart = 0xff800000;
}
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#if defined(CONFIG_CMD_NAND)
extern ulong
nand_probe (ulong physadr);
@@ -315,4 +315,4 @@ nand_init (void)
printf ("%4lu MB\n", totlen >>20);
}
-#endif /* CFG_CMD_NAND */
+#endif