summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIlya Yanok <ilya.yanok@cogentembedded.com>2012-11-06 13:48:25 +0000
committerMarek Vasut <marex@denx.de>2012-11-20 00:16:07 +0100
commit833a53c627b839a28b5925ba283109b141f6cff0 (patch)
treefb0f303fa61f432e1d2f27323ed2729626cb2527 /include
parentd2aa1154b95a211416c1511005451dfcf076dd97 (diff)
downloadu-boot-imx-833a53c627b839a28b5925ba283109b141f6cff0.zip
u-boot-imx-833a53c627b839a28b5925ba283109b141f6cff0.tar.gz
u-boot-imx-833a53c627b839a28b5925ba283109b141f6cff0.tar.bz2
musb-new: am35x backend driver
Backend driver for MUSB OTG controllers found on TI AM35x. It seems that on AM35X interrupt status registers can be updated _before_ core registers. As we don't use true interrupts in U-Boot and poll interrupt status registers instead this can result in interrupt handler being called with non-updated core registers. This confuses the code and result in hanged transfers. Add a small delay in am35x_interrupt as a workaround. Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
Diffstat (limited to 'include')
-rw-r--r--include/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb.h b/include/usb.h
index aa389e6..bf510e4 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -148,7 +148,7 @@ struct usb_device {
defined(CONFIG_USB_R8A66597_HCD) || defined(CONFIG_USB_DAVINCI) || \
defined(CONFIG_USB_OMAP3) || defined(CONFIG_USB_DA8XX) || \
defined(CONFIG_USB_BLACKFIN) || defined(CONFIG_USB_AM35X) || \
- defined(CONFIG_USB_MUSB_DSPS)
+ defined(CONFIG_USB_MUSB_DSPS) || defined(CONFIG_USB_MUSB_AM35X)
int usb_lowlevel_init(int index, void **controller);
int usb_lowlevel_stop(int index);