Message ID | 4E9C714B.50003@grandegger.com |
---|---|
State | Accepted |
Commit | 8d5d1516a21a509ded9836c2b6c111cc2b28aa4a |
Delegated to: | Stefano Babic |
Headers | show |
On 10/17/2011 08:17 PM, Wolfgang Grandegger wrote: > The USB port to be used is determined by CONFIG_MXC_USB_PORT. > So, it appears that the comment is not correct. Remove it. > > Signed-off-by: Wolfgang Grandegger <wg@denx.de> > --- > drivers/usb/host/ehci-mxc.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > Applied to u-boot-imx, thanks. Best regards, Stefano Babic
diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index a0cfbb7..f403d49 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c @@ -120,7 +120,6 @@ int ehci_hcd_init(void) udelay(80); - /* Take USB2 */ ehci = (struct usb_ehci *)(IMX_USB_BASE + (0x200 * CONFIG_MXC_USB_PORT)); hccr = (struct ehci_hccr *)((uint32_t)&ehci->caplength);
The USB port to be used is determined by CONFIG_MXC_USB_PORT. So, it appears that the comment is not correct. Remove it. Signed-off-by: Wolfgang Grandegger <wg@denx.de> --- drivers/usb/host/ehci-mxc.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)