diff options
author | Dinh Nguyen <Dinh.Nguyen@freescale.com> | 2010-04-30 16:48:26 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-05-03 09:18:13 -0400 |
commit | 5a25ad84e01173bb225285eb50f9af48ed1a7598 (patch) | |
tree | 183e0c375ee5364cae0b693f945c16925dfe3723 /drivers/usb/host/ehci-mxc.c | |
parent | 231637f5f2c7f3795d1b0c9b59fda27a23ffdc3e (diff) |
mxc: Add generic USB HW initialization for MX51
This patch adds USB HW initializiation code to /plat-mxc/ehci.c.
-Sets some specific PHY settings
Renames mxc_set_usbcontrol to mxc_initialize_usb_hw.
Adds new register bit defines for the USB HW on Freescale
SoCs.
This patch applies to 2.6.34-rc6.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Reviewed-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/host/ehci-mxc.c')
-rw-r--r-- | drivers/usb/host/ehci-mxc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index ead59f42e69b..544ccfd7056e 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c | |||
@@ -199,8 +199,8 @@ static int ehci_mxc_drv_probe(struct platform_device *pdev) | |||
199 | writel(pdata->portsc, hcd->regs + PORTSC_OFFSET); | 199 | writel(pdata->portsc, hcd->regs + PORTSC_OFFSET); |
200 | mdelay(10); | 200 | mdelay(10); |
201 | 201 | ||
202 | /* setup USBCONTROL. */ | 202 | /* setup specific usb hw */ |
203 | ret = mxc_set_usbcontrol(pdev->id, pdata->flags); | 203 | ret = mxc_initialize_usb_hw(pdev->id, pdata->flags); |
204 | if (ret < 0) | 204 | if (ret < 0) |
205 | goto err_init; | 205 | goto err_init; |
206 | 206 | ||