diff options
author | Wolfgang Denk <wd@denx.de> | 2009-07-13 23:32:01 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-13 23:32:01 +0200 |
commit | d821f38022b72dc6ef8d9cf8fe4ad55acaff856e (patch) | |
tree | f0659ef5224ee3701983999f203f5d26337fc3d7 /cpu/mpc83xx/cpu_init.c | |
parent | 585887b87dd5718eae92a600d92dc5955189b51a (diff) | |
parent | 50243e3e7a96a96c5418ce6c90b7252d26fdd5b0 (diff) | |
download | u-boot-imx-d821f38022b72dc6ef8d9cf8fe4ad55acaff856e.zip u-boot-imx-d821f38022b72dc6ef8d9cf8fe4ad55acaff856e.tar.gz u-boot-imx-d821f38022b72dc6ef8d9cf8fe4ad55acaff856e.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-usb
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 |