mx53evk: Use gpio_direction_input prior to gpio_get_value
[oweals/u-boot.git] / board / freescale / p1_p2_rdb_pc / p1_p2_rdb_pc.c
index 4671128afd4c23548f7c771b7e63a80720960bc8..a60c5a20a982fdbbe8dfb68654884175788cacec 100644 (file)
@@ -444,6 +444,9 @@ void ft_board_setup(void *blob, bd_t *bd)
        fdt_board_fixup_qe_pins(blob);
 #endif
 #endif
+
+#if defined(CONFIG_HAS_FSL_DR_USB)
        fdt_fixup_dr_usb(blob, bd);
+#endif
 }
 #endif