diff options
author | Tom Rini <trini@ti.com> | 2013-08-27 09:49:43 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-08-27 09:49:43 -0400 |
commit | 529c0d9b8cdfae232e4ed082fd8cde5416b266b7 (patch) | |
tree | ea7b948c6faafb4ad9d754eca568a2ae2a0100fc /drivers/usb/host/ehci-mx5.c | |
parent | 880a41273265233004516351189aad126f964c86 (diff) | |
parent | c95e2b9eaeadc0f985030ffa0638278acc2d8727 (diff) | |
download | u-boot-imx-529c0d9b8cdfae232e4ed082fd8cde5416b266b7.zip u-boot-imx-529c0d9b8cdfae232e4ed082fd8cde5416b266b7.tar.gz u-boot-imx-529c0d9b8cdfae232e4ed082fd8cde5416b266b7.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'drivers/usb/host/ehci-mx5.c')
-rw-r--r-- | drivers/usb/host/ehci-mx5.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/drivers/usb/host/ehci-mx5.c b/drivers/usb/host/ehci-mx5.c index 3548620..dd11f53 100644 --- a/drivers/usb/host/ehci-mx5.c +++ b/drivers/usb/host/ehci-mx5.c @@ -221,21 +221,12 @@ void __weak board_ehci_hcd_postinit(struct usb_ehci *ehci, int port) int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor) { struct usb_ehci *ehci; -#ifdef CONFIG_MX53 - struct clkctl *sc_regs = (struct clkctl *)CCM_BASE_ADDR; - u32 reg; - - reg = __raw_readl(&sc_regs->cscmr1) & ~(1 << 26); - /* derive USB PHY clock multiplexer from PLL3 */ - reg |= 1 << 26; - __raw_writel(reg, &sc_regs->cscmr1); -#endif set_usboh3_clk(); - enable_usboh3_clk(1); + enable_usboh3_clk(true); set_usb_phy_clk(); - enable_usb_phy1_clk(1); - enable_usb_phy2_clk(1); + enable_usb_phy1_clk(true); + enable_usb_phy2_clk(true); mdelay(1); /* Do board specific initialization */ |