summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorValeriy Glushkov <gvv@lstec.com>2009-06-30 15:48:40 +0300
committerKim Phillips <kim.phillips@freescale.com>2009-07-14 14:53:52 -0500
commitd89e1c36891de793a20a929282acc0fc7b98feac (patch)
treef3fd6b5206c8304a671775a73150e4e7199c4368 /cpu
parentd9ac3d5a17ecef0beb70073018925e011b11684e (diff)
downloadu-boot-imx-d89e1c36891de793a20a929282acc0fc7b98feac.zip
u-boot-imx-d89e1c36891de793a20a929282acc0fc7b98feac.tar.gz
u-boot-imx-d89e1c36891de793a20a929282acc0fc7b98feac.tar.bz2
usb: mpc834x: added support of the MPH USB controller in addition to the DR one
Signed-off-by: Valeriy Glushkov <gvv@lstec.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc83xx/cpu_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/mpc83xx/cpu_init.c b/cpu/mpc83xx/cpu_init.c
index 03b6c86..5c930d3 100644
--- a/cpu/mpc83xx/cpu_init.c
+++ b/cpu/mpc83xx/cpu_init.c
@@ -299,6 +299,7 @@ void cpu_init_f (volatile immap_t * im)
im->gpio[1].dir = CONFIG_SYS_GPIO2_DIR;
#endif
#ifdef CONFIG_USB_EHCI_FSL
+#ifndef CONFIG_MPC834x
uint32_t temp;
struct usb_ehci *ehci = (struct usb_ehci *)CONFIG_SYS_MPC8xxx_USB_ADDR;
@@ -311,6 +312,7 @@ void cpu_init_f (volatile immap_t * im)
udelay(1000);
} while (!(temp & PHY_CLK_VALID));
#endif
+#endif
}
int cpu_init_r (void)