diff options
Diffstat (limited to 'board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c')
-rw-r--r-- | board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c b/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c index eee112a..b6c2b39 100644 --- a/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c +++ b/board/freescale/mx7d_19x19_lpddr3_arm2/mx7d_19x19_lpddr3_arm2.c @@ -442,6 +442,8 @@ int board_spi_cs_gpio(unsigned bus, unsigned cs) #endif #ifdef CONFIG_USB_EHCI_MX7 +#ifndef CONFIG_DM_USB + iomux_v3_cfg_t const usb_otg1_pads[] = { MX7D_PAD_GPIO1_IO05__USB_OTG1_PWR | MUX_PAD_CTRL(NO_PAD_CTRL), }; @@ -456,6 +458,7 @@ static void setup_usb(void) imx_iomux_v3_setup_multiple_pads(usb_otg2_pads, ARRAY_SIZE(usb_otg2_pads)); } #endif +#endif int board_early_init_f(void) { @@ -467,8 +470,10 @@ int board_early_init_f(void) #endif #ifdef CONFIG_USB_EHCI_MX7 +#ifndef CONFIG_DM_USB setup_usb(); #endif +#endif return 0; } |