ARM i.MX ehci: do ehci init in board specific functions
[deliverable/linux.git] / arch / arm / mach-mx5 / board-mx51_efikamx.c
index 2aac4c5b7b51cf4cfbd900a47b59a5ef829e69d6..b0fa55327c37e29adcebb733ce5fc8bcf113796d 100644 (file)
@@ -145,13 +145,15 @@ static int initialize_otg_port(struct platform_device *pdev)
        v |= MX51_USB_PLL_DIV_24_MHZ;
        __raw_writel(v, usbother_base + MXC_USB_PHY_CTR_FUNC2_OFFSET);
        iounmap(usb_base);
-       return 0;
+
+       mdelay(10);
+
+       return mx51_initialize_usb_hw(0, MXC_EHCI_INTERNAL_PHY);
 }
 
 static struct mxc_usbh_platform_data dr_utmi_config = {
        .init   = initialize_otg_port,
        .portsc = MXC_EHCI_UTMI_16BIT,
-       .flags  = MXC_EHCI_INTERNAL_PHY,
 };
 
 /*   PCBID2  PCBID1 PCBID0  STATE
This page took 0.038917 seconds and 5 git commands to generate.