mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND
[oweals/u-boot.git] / board / phytec / pcm051 / mux.c
index 6e9c3d257cc1938d6a7ef396ec3fd7df86748e84..9bca8eae9fd7cb54e1089cdfb9329b91af5d301d 100644 (file)
@@ -82,7 +82,7 @@ static struct module_pin_mux cbmux_pin_mux[] = {
        {-1},
 };
 
-#ifdef CONFIG_NAND
+#ifdef CONFIG_MTD_RAW_NAND
 static struct module_pin_mux nand_pin_mux[] = {
        {OFFSET(gpmc_ad0), (MODE(0) | PULLUP_EN | RXACTIVE)},   /* NAND AD0 */
        {OFFSET(gpmc_ad1), (MODE(0) | PULLUP_EN | RXACTIVE)},   /* NAND AD1 */
@@ -118,7 +118,7 @@ void enable_board_pin_mux()
        configure_module_pin_mux(rmii1_pin_mux);
        configure_module_pin_mux(mmc0_pin_mux);
        configure_module_pin_mux(cbmux_pin_mux);
-#ifdef CONFIG_NAND
+#ifdef CONFIG_MTD_RAW_NAND
        configure_module_pin_mux(nand_pin_mux);
 #endif
 #ifdef CONFIG_SPI