diff options
Diffstat (limited to 'arch/arm/plat-mxc/ehci.c')
-rw-r--r-- | arch/arm/plat-mxc/ehci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/plat-mxc/ehci.c b/arch/arm/plat-mxc/ehci.c index 9915607683de..4bac3d5545d3 100644 --- a/arch/arm/plat-mxc/ehci.c +++ b/arch/arm/plat-mxc/ehci.c | |||
@@ -69,9 +69,9 @@ | |||
69 | int mxc_initialize_usb_hw(int port, unsigned int flags) | 69 | int mxc_initialize_usb_hw(int port, unsigned int flags) |
70 | { | 70 | { |
71 | unsigned int v; | 71 | unsigned int v; |
72 | #if defined(CONFIG_ARCH_MX25) | 72 | #if defined(CONFIG_SOC_IMX25) |
73 | if (cpu_is_mx25()) { | 73 | if (cpu_is_mx25()) { |
74 | v = readl(MX25_IO_ADDRESS(MX25_OTG_BASE_ADDR + | 74 | v = readl(MX25_IO_ADDRESS(MX25_USB_BASE_ADDR + |
75 | USBCTRL_OTGBASE_OFFSET)); | 75 | USBCTRL_OTGBASE_OFFSET)); |
76 | 76 | ||
77 | switch (port) { | 77 | switch (port) { |
@@ -108,11 +108,11 @@ int mxc_initialize_usb_hw(int port, unsigned int flags) | |||
108 | return -EINVAL; | 108 | return -EINVAL; |
109 | } | 109 | } |
110 | 110 | ||
111 | writel(v, MX25_IO_ADDRESS(MX25_OTG_BASE_ADDR + | 111 | writel(v, MX25_IO_ADDRESS(MX25_USB_BASE_ADDR + |
112 | USBCTRL_OTGBASE_OFFSET)); | 112 | USBCTRL_OTGBASE_OFFSET)); |
113 | return 0; | 113 | return 0; |
114 | } | 114 | } |
115 | #endif /* CONFIG_ARCH_MX25 */ | 115 | #endif /* if defined(CONFIG_SOC_IMX25) */ |
116 | #if defined(CONFIG_ARCH_MX3) | 116 | #if defined(CONFIG_ARCH_MX3) |
117 | if (cpu_is_mx31()) { | 117 | if (cpu_is_mx31()) { |
118 | v = readl(MX31_IO_ADDRESS(MX31_OTG_BASE_ADDR + | 118 | v = readl(MX31_IO_ADDRESS(MX31_OTG_BASE_ADDR + |