From: Timo Ketola Date: Wed, 18 Apr 2012 22:55:33 +0000 (+0000) Subject: imx: usb: There is no such register X-Git-Tag: KARO-2012-06-14~24^2~68 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5614553d564e1c66684c207e120557ef81e416dc;p=karo-tx-uboot.git imx: usb: There is no such register The reference manual of i.MX25 (nor i.MX31) does not define such register. This seems to access read only UH2_CAPLENGTH register (if CONFIG_MXC_USB_PORT is zero). Signed-off-by: Timo Ketola Acked-by: Stefano Babic --- diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index 7384580fe3..45cbd18a00 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c @@ -125,8 +125,6 @@ int ehci_hcd_init(void) hcor = (struct ehci_hcor *)((uint32_t) hccr + HC_LENGTH(ehci_readl(&hccr->cr_capbase))); setbits_le32(&ehci->usbmode, CM_HOST); - setbits_le32(&ehci->control, USB_EN); - __raw_writel(CONFIG_MXC_USB_PORTSC, &ehci->portsc); mxc_set_usbcontrol(CONFIG_MXC_USB_PORT, CONFIG_MXC_USB_FLAGS);