diff options
author | Rajesh Bhagat <rajesh.bhagat@freescale.com> | 2015-12-02 11:44:28 +0530 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-12-07 00:15:00 +0100 |
commit | 565b7f0fe15564c73308cb647a057e95809f1d00 (patch) | |
tree | 9b368aebb6a3e706956da6f6608f5e3b32911446 | |
parent | 5955bb9345f692d4e9d0bbab5e97c3dd7bf58bc4 (diff) | |
download | u-boot-imx-565b7f0fe15564c73308cb647a057e95809f1d00.zip u-boot-imx-565b7f0fe15564c73308cb647a057e95809f1d00.tar.gz u-boot-imx-565b7f0fe15564c73308cb647a057e95809f1d00.tar.bz2 |
usb: xhci: fsl: 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: Rajesh Bhagat <rajesh.bhagat@freescale.com>
-rw-r--r-- | drivers/usb/host/xhci-fsl.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/usb/host/xhci-fsl.c b/drivers/usb/host/xhci-fsl.c index 6481e07..05f09d7 100644 --- a/drivers/usb/host/xhci-fsl.c +++ b/drivers/usb/host/xhci-fsl.c @@ -27,23 +27,6 @@ __weak int __board_usb_init(int index, enum usb_init_type init) return 0; } -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); - - mdelay(200); - - /* 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 fsl_xhci_core_init(struct fsl_xhci *fsl_xhci) { int ret = 0; |