diff options
author | Vivek Mahajan <vivek.mahajan@freescale.com> | 2009-06-24 10:08:40 +0530 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2009-07-09 21:33:15 +0200 |
commit | db7b43e4681f6f93c336132708157a8a0cca1f8b (patch) | |
tree | ef920ecec756e7c97084a4ab4751a7089a754dc0 /cpu/mpc83xx/cpu_init.c | |
parent | 08066152735417fc55a5c9de2cec0714c529e4f3 (diff) | |
download | u-boot-imx-db7b43e4681f6f93c336132708157a8a0cca1f8b.zip u-boot-imx-db7b43e4681f6f93c336132708157a8a0cca1f8b.tar.gz u-boot-imx-db7b43e4681f6f93c336132708157a8a0cca1f8b.tar.bz2 |
mpc83xx: USB: fix: access of ehci struct elements
It fixes the access to the 'ehci' struct elements for mpc83xx which
should have been taken care of in 4ef01010aa4799c759d75e67007fdd3a38c88c8a
Sorry about that.
Signed-off-by: Vivek Mahajan <vivek.mahajan@freescale.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'cpu/mpc83xx/cpu_init.c')
-rw-r--r-- | cpu/mpc83xx/cpu_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc83xx/cpu_init.c b/cpu/mpc83xx/cpu_init.c index 414565c..03b6c86 100644 --- a/cpu/mpc83xx/cpu_init.c +++ b/cpu/mpc83xx/cpu_init.c @@ -303,11 +303,11 @@ void cpu_init_f (volatile immap_t * im) struct usb_ehci *ehci = (struct usb_ehci *)CONFIG_SYS_MPC8xxx_USB_ADDR; /* Configure interface. */ - setbits_be32((void *)ehci->control, REFSEL_16MHZ | UTMI_PHY_EN); + setbits_be32(&ehci->control, REFSEL_16MHZ | UTMI_PHY_EN); /* Wait for clock to stabilize */ do { - temp = in_be32((void *)ehci->control); + temp = in_be32(&ehci->control); udelay(1000); } while (!(temp & PHY_CLK_VALID)); #endif |