summaryrefslogtreecommitdiffstats
path: root/board/imgtec/ci20/ci20.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/imgtec/ci20/ci20.c')
-rw-r--r--board/imgtec/ci20/ci20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/imgtec/ci20/ci20.c b/board/imgtec/ci20/ci20.c
index 5368b67b38..170ea12c93 100644
--- a/board/imgtec/ci20/ci20.c
+++ b/board/imgtec/ci20/ci20.c
@@ -42,7 +42,7 @@ static void ci20_mux_eth(void)
{
void __iomem *gpio_regs = (void __iomem *)GPIO_BASE;
-#ifdef CONFIG_NAND
+#ifdef CONFIG_MTD_RAW_NAND
/* setup pins (some already setup for NAND) */
writel(0x04030000, gpio_regs + GPIO_PXINTC(0));
writel(0x04030000, gpio_regs + GPIO_PXMASKC(0));