summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot-v2012.04.01/0032-imx-usb-There-is-no-such-register.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-v2012.04.01/0032-imx-usb-There-is-no-such-register.patch')
-rw-r--r--recipes-bsp/u-boot/u-boot-v2012.04.01/0032-imx-usb-There-is-no-such-register.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-v2012.04.01/0032-imx-usb-There-is-no-such-register.patch b/recipes-bsp/u-boot/u-boot-v2012.04.01/0032-imx-usb-There-is-no-such-register.patch
new file mode 100644
index 0000000..9b99c05
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-v2012.04.01/0032-imx-usb-There-is-no-such-register.patch
@@ -0,0 +1,31 @@
1From 75aeb21482b9487c5f6cfd99a605b01343ef3440 Mon Sep 17 00:00:00 2001
2From: Timo Ketola <timo@exertus.fi>
3Date: Wed, 18 Apr 2012 22:55:33 +0000
4Subject: [PATCH 32/56] imx: usb: There is no such register
5
6The reference manual of i.MX25 (nor i.MX31) does not define such
7register. This seems to access read only UH2_CAPLENGTH register (if
8CONFIG_MXC_USB_PORT is zero).
9
10Signed-off-by: Timo Ketola <timo@exertus.fi>
11Acked-by: Stefano Babic <sbabic@denx.de>
12---
13 drivers/usb/host/ehci-mxc.c | 2 --
14 1 file changed, 2 deletions(-)
15
16diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
17index 7384580..45cbd18 100644
18--- a/drivers/usb/host/ehci-mxc.c
19+++ b/drivers/usb/host/ehci-mxc.c
20@@ -125,8 +125,6 @@ int ehci_hcd_init(void)
21 hcor = (struct ehci_hcor *)((uint32_t) hccr +
22 HC_LENGTH(ehci_readl(&hccr->cr_capbase)));
23 setbits_le32(&ehci->usbmode, CM_HOST);
24- setbits_le32(&ehci->control, USB_EN);
25-
26 __raw_writel(CONFIG_MXC_USB_PORTSC, &ehci->portsc);
27 mxc_set_usbcontrol(CONFIG_MXC_USB_PORT, CONFIG_MXC_USB_FLAGS);
28
29--
301.7.10
31