diff options
author | Timo Ketola <timo@exertus.fi> | 2012-04-18 22:55:33 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-05-15 08:31:34 +0200 |
commit | 5614553d564e1c66684c207e120557ef81e416dc (patch) | |
tree | 6ab9960e0704246203b8a412e6f568e7f1209499 /drivers/usb/host/ehci-mxc.c | |
parent | 45b460dab3b47d03392ed46d42652103666503b7 (diff) | |
download | u-boot-5614553d564e1c66684c207e120557ef81e416dc.zip u-boot-5614553d564e1c66684c207e120557ef81e416dc.tar.gz u-boot-5614553d564e1c66684c207e120557ef81e416dc.tar.bz2 |
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 <timo@exertus.fi>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/usb/host/ehci-mxc.c')
-rw-r--r-- | drivers/usb/host/ehci-mxc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index 7384580..45cbd18 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); |