diff options
author | Ramneek Mehresh <ramneek.mehresh@freescale.com> | 2015-05-29 09:17:17 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-07-22 06:55:44 (GMT) |
commit | 2770448c8cd440a29619e9daa99484a0e5a6fad7 (patch) | |
tree | 252486d0d56077acd3d012c0407053b58ec7a583 /drivers/usb/phy/omap_usb_phy.c | |
parent | 552d60cc222f649b762b3adb9b5f1d681ccd062a (diff) | |
download | u-boot-2770448c8cd440a29619e9daa99484a0e5a6fad7.tar.xz |
usb: xhci: omap: Remove common dwc3 drv functions calls
Remove all redundant dwc3 driver function calls that
are defined by dwc3 driver
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Diffstat (limited to 'drivers/usb/phy/omap_usb_phy.c')
-rw-r--r-- | drivers/usb/phy/omap_usb_phy.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/usb/phy/omap_usb_phy.c b/drivers/usb/phy/omap_usb_phy.c index 63d9301..f9069c7 100644 --- a/drivers/usb/phy/omap_usb_phy.c +++ b/drivers/usb/phy/omap_usb_phy.c @@ -223,24 +223,6 @@ void usb_phy_power(int on) } #endif /* CONFIG_AM437X_USB2PHY2_HOST */ -void omap_reset_usb_phy(struct dwc3 *dwc3_reg) -{ - /* Assert USB3 PHY reset */ - setbits_le32(&dwc3_reg->g_usb3pipectl[0], DWC3_GUSB3PIPECTL_PHYSOFTRST); - - /* Assert USB2 PHY reset */ - setbits_le32(&dwc3_reg->g_usb2phycfg, DWC3_GUSB2PHYCFG_PHYSOFTRST); - - mdelay(100); - - /* Clear USB3 PHY reset */ - clrbits_le32(&dwc3_reg->g_usb3pipectl[0], DWC3_GUSB3PIPECTL_PHYSOFTRST); - - /* Clear USB2 PHY reset */ - clrbits_le32(&dwc3_reg->g_usb2phycfg, DWC3_GUSB2PHYCFG_PHYSOFTRST); - -} - void omap_enable_phy(struct omap_xhci *omap) { #ifdef CONFIG_OMAP_USB2PHY2_HOST |