diff options
Diffstat (limited to 'arch/arm/mach-imx/mach-pca100.c')
-rw-r--r-- | arch/arm/mach-imx/mach-pca100.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/mach-pca100.c b/arch/arm/mach-imx/mach-pca100.c index 3514178caed..f754bab040b 100644 --- a/arch/arm/mach-imx/mach-pca100.c +++ b/arch/arm/mach-imx/mach-pca100.c | |||
@@ -271,25 +271,29 @@ static const struct imxmmc_platform_data sdhc_pdata __initconst = { | |||
271 | static int otg_phy_init(struct platform_device *pdev) | 271 | static int otg_phy_init(struct platform_device *pdev) |
272 | { | 272 | { |
273 | gpio_set_value(OTG_PHY_CS_GPIO, 0); | 273 | gpio_set_value(OTG_PHY_CS_GPIO, 0); |
274 | return 0; | 274 | |
275 | mdelay(10); | ||
276 | |||
277 | return mx27_initialize_usb_hw(pdev->id, MXC_EHCI_INTERFACE_DIFF_UNI); | ||
275 | } | 278 | } |
276 | 279 | ||
277 | static struct mxc_usbh_platform_data otg_pdata __initdata = { | 280 | static struct mxc_usbh_platform_data otg_pdata __initdata = { |
278 | .init = otg_phy_init, | 281 | .init = otg_phy_init, |
279 | .portsc = MXC_EHCI_MODE_ULPI, | 282 | .portsc = MXC_EHCI_MODE_ULPI, |
280 | .flags = MXC_EHCI_INTERFACE_DIFF_UNI, | ||
281 | }; | 283 | }; |
282 | 284 | ||
283 | static int usbh2_phy_init(struct platform_device *pdev) | 285 | static int usbh2_phy_init(struct platform_device *pdev) |
284 | { | 286 | { |
285 | gpio_set_value(USBH2_PHY_CS_GPIO, 0); | 287 | gpio_set_value(USBH2_PHY_CS_GPIO, 0); |
286 | return 0; | 288 | |
289 | mdelay(10); | ||
290 | |||
291 | return mx27_initialize_usb_hw(pdev->id, MXC_EHCI_INTERFACE_DIFF_UNI); | ||
287 | } | 292 | } |
288 | 293 | ||
289 | static struct mxc_usbh_platform_data usbh2_pdata __initdata = { | 294 | static struct mxc_usbh_platform_data usbh2_pdata __initdata = { |
290 | .init = usbh2_phy_init, | 295 | .init = usbh2_phy_init, |
291 | .portsc = MXC_EHCI_MODE_ULPI, | 296 | .portsc = MXC_EHCI_MODE_ULPI, |
292 | .flags = MXC_EHCI_INTERFACE_DIFF_UNI, | ||
293 | }; | 297 | }; |
294 | #endif | 298 | #endif |
295 | 299 | ||