diff options
author | Marek Vasut <marex@denx.de> | 2015-12-02 15:28:26 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-12-07 00:15:00 +0100 |
commit | 6af4e2782d1300015ab1c3c28e9faa5c96d93f19 (patch) | |
tree | 27f1bb2843ee579b8beabd38fa0b24f7a46c716e /drivers/usb/host/xhci-zynqmp.c | |
parent | 565b7f0fe15564c73308cb647a057e95809f1d00 (diff) |
usb: xhci: zynqmp: Removing unused function usb_phy_reset
This patch removes unsued function usb_phy_reset, rather common function
dwc3_phy_reset is used.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/host/xhci-zynqmp.c')
-rw-r--r-- | drivers/usb/host/xhci-zynqmp.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/usb/host/xhci-zynqmp.c b/drivers/usb/host/xhci-zynqmp.c index 530d97c792..a7353698d7 100644 --- a/drivers/usb/host/xhci-zynqmp.c +++ b/drivers/usb/host/xhci-zynqmp.c @@ -65,23 +65,6 @@ static struct zynqmp_xhci zynqmp_xhci; unsigned long ctr_addr[] = CONFIG_ZYNQMP_XHCI_LIST; -void usb_phy_reset(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); - - udelay(10); - - /* 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); -} - static int zynqmp_xhci_core_init(struct zynqmp_xhci *zynqmp_xhci) { int ret = 0; |