diff options
author | Tom Rini <trini@konsulko.com> | 2022-06-08 08:24:30 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-28 17:03:31 -0400 |
commit | 093044735fd7db1616b1c4920c21ea6c0e0b0cc3 (patch) | |
tree | 25bc50391288d4420e6f73d982ab2353491d3178 /arch/powerpc/cpu/mpc83xx | |
parent | 5cc1d9214a73720631c40685dff1fa32ec11106a (diff) | |
download | u-boot-093044735fd7db1616b1c4920c21ea6c0e0b0cc3.zip u-boot-093044735fd7db1616b1c4920c21ea6c0e0b0cc3.tar.gz u-boot-093044735fd7db1616b1c4920c21ea6c0e0b0cc3.tar.bz2 |
usb: ehci-fsl: Remove non-DM code
The deadline for DM_USB migration has passed and all users have been
migrated. Remove now unused code.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc83xx')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/cpu_init.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c index e3e1bfd..33835ee 100644 --- a/arch/powerpc/cpu/mpc83xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc83xx/cpu_init.c @@ -251,19 +251,6 @@ void cpu_init_f (volatile immap_t * im) im->gpio[1].dat = CONFIG_SYS_GPIO2_DAT; im->gpio[1].dir = CONFIG_SYS_GPIO2_DIR; #endif -#if defined(CONFIG_USB_EHCI_FSL) && defined(CONFIG_ARCH_MPC831X) - uint32_t temp; - struct usb_ehci *ehci = (struct usb_ehci *)CONFIG_SYS_FSL_USB1_ADDR; - - /* Configure interface. */ - setbits_be32(&ehci->control, REFSEL_16MHZ | UTMI_PHY_EN); - - /* Wait for clock to stabilize */ - do { - temp = __raw_readl(&ehci->control); - udelay(1000); - } while (!(temp & PHY_CLK_VALID)); -#endif } int cpu_init_r (void) |