aboutsummaryrefslogtreecommitdiff
path: root/board/netta/netta.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/netta/netta.c')
-rw-r--r--board/netta/netta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/netta/netta.c b/board/netta/netta.c
index 11a6d56ae..5a75e53e0 100644
--- a/board/netta/netta.c
+++ b/board/netta/netta.c
@@ -555,7 +555,7 @@ int board_early_init_f(void)
return 0;
}
-#if ((CONFIG_COMMANDS & CFG_CMD_NAND) || defined(CONFIG_CMD_NAND)) && defined(CFG_NAND_LEGACY)
+#if defined(CONFIG_CMD_NAND) && defined(CFG_NAND_LEGACY)
#include <linux/mtd/nand_legacy.h>
@@ -570,7 +570,7 @@ void nand_init(void)
}
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_PCMCIA) || defined(CONFIG_CMD_PCMCIA)
+#if defined(CONFIG_CMD_PCMCIA)
int pcmcia_init(void)
{