mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-11 13:08:31 -04:00
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>
This commit is contained in:
parent
45b460dab3
commit
5614553d56
@ -125,8 +125,6 @@ int ehci_hcd_init(void)
|
|||||||
hcor = (struct ehci_hcor *)((uint32_t) hccr +
|
hcor = (struct ehci_hcor *)((uint32_t) hccr +
|
||||||
HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
|
HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
|
||||||
setbits_le32(&ehci->usbmode, CM_HOST);
|
setbits_le32(&ehci->usbmode, CM_HOST);
|
||||||
setbits_le32(&ehci->control, USB_EN);
|
|
||||||
|
|
||||||
__raw_writel(CONFIG_MXC_USB_PORTSC, &ehci->portsc);
|
__raw_writel(CONFIG_MXC_USB_PORTSC, &ehci->portsc);
|
||||||
mxc_set_usbcontrol(CONFIG_MXC_USB_PORT, CONFIG_MXC_USB_FLAGS);
|
mxc_set_usbcontrol(CONFIG_MXC_USB_PORT, CONFIG_MXC_USB_FLAGS);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user