summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb-new/Makefile
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 /drivers/usb/musb-new/Makefile
parentd2aa1154b95a211416c1511005451dfcf076dd97 (diff)
downloadtalos-obmc-uboot-833a53c627b839a28b5925ba283109b141f6cff0.tar.gz
talos-obmc-uboot-833a53c627b839a28b5925ba283109b141f6cff0.zip
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 'drivers/usb/musb-new/Makefile')
-rw-r--r--drivers/usb/musb-new/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb-new/Makefile b/drivers/usb/musb-new/Makefile
index a7534234dc..23fc735842 100644
--- a/drivers/usb/musb-new/Makefile
+++ b/drivers/usb/musb-new/Makefile
@@ -10,6 +10,7 @@ COBJS-$(CONFIG_MUSB_GADGET) += musb_gadget.o musb_gadget_ep0.o musb_core.o
COBJS-$(CONFIG_MUSB_GADGET) += musb_uboot.o
COBJS-$(CONFIG_MUSB_HOST) += musb_host.o musb_core.o musb_uboot.o
COBJS-$(CONFIG_USB_MUSB_DSPS) += musb_dsps.o
+COBJS-$(CONFIG_USB_MUSB_AM35X) += am35x.o
CFLAGS_NO_WARN := $(call cc-option,-Wno-unused-variable) \
$(call cc-option,-Wno-unused-but-set-variable) \
OpenPOWER on IntegriCloud