summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc83xx
diff options
context:
space:
mode:
authorramneek mehresh <ramneek.mehresh@freescale.com>2013-09-12 16:35:49 +0530
committerYork Sun <yorksun@freescale.com>2013-10-24 09:35:09 -0700
commit77354e9d502837c156149109f4dd36b7bc12d6b3 (patch)
tree1e7b8a960f284f6ef9b8e97f45bf79cf9c5c3aa2 /arch/powerpc/cpu/mpc83xx
parentf1810d851c475740889d82127c53a70cf06f912c (diff)
downloadu-boot-imx-77354e9d502837c156149109f4dd36b7bc12d6b3.zip
u-boot-imx-77354e9d502837c156149109f4dd36b7bc12d6b3.tar.gz
u-boot-imx-77354e9d502837c156149109f4dd36b7bc12d6b3.tar.bz2
powerpc/usb:Differentiate USB controller base address
Introduce different macros for storing addresses of multiple USB controllers. This is required for successful initialization and usage of multiple USB controllers inside u-boot Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc83xx')
-rw-r--r--arch/powerpc/cpu/mpc83xx/cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c
index 0e9ddb8..00572de 100644
--- a/arch/powerpc/cpu/mpc83xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc83xx/cpu_init.c
@@ -315,7 +315,7 @@ void cpu_init_f (volatile immap_t * im)
#endif
#if defined(CONFIG_USB_EHCI_FSL) && defined(CONFIG_MPC831x)
uint32_t temp;
- struct usb_ehci *ehci = (struct usb_ehci *)CONFIG_SYS_FSL_USB_ADDR;
+ struct usb_ehci *ehci = (struct usb_ehci *)CONFIG_SYS_FSL_USB1_ADDR;
/* Configure interface. */
setbits_be32(&ehci->control, REFSEL_16MHZ | UTMI_PHY_EN);