summaryrefslogtreecommitdiff
path: root/include/usb.h
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@bluezbox.com>2014-02-02 04:51:25 (GMT)
committerMarek Vasut <marex@denx.de>2014-10-22 20:01:58 (GMT)
commit6e9e06260d4fa8873fdebddc2a11f9205674d189 (patch)
treea837bfdb00c71b2c362d4718110b921a6019e7f7 /include/usb.h
parenta7f247222432f037dc52c26320f5d16f1b9bb0eb (diff)
downloadu-boot-fsl-qoriq-6e9e06260d4fa8873fdebddc2a11f9205674d189.tar.xz
usb: dwc2: Add driver for Synopsis DWC2 USB IP block
This is the USB host controller used on the Altera SoCFPGA and Raspbery Pi. This code has three checkpatch warnings, but to make sure it stays at least readable and clear, these are not fixed. These bugs are in the USB request handling combinatorial logic, so any abstracting of those is out of question. Tested on DENX MCV (Altera SoCFPGA 5CSFXC6C6U23C8N) and RPi B+ (BCM2835). Signed-off-by: Oleksandr Tymoshenko <gonzo@bluezbox.com> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Acked-by: Pavel Machek <pavel@denx.de> Cc: Vince Bridgers <vbridger@altera.com> Tested-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'include/usb.h')
-rw-r--r--include/usb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/usb.h b/include/usb.h
index c355fbe..c4a288d 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -150,7 +150,8 @@ enum usb_init_type {
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_AM35X) || \
- defined(CONFIG_USB_MUSB_OMAP2PLUS) || defined(CONFIG_USB_XHCI)
+ defined(CONFIG_USB_MUSB_OMAP2PLUS) || defined(CONFIG_USB_XHCI) || \
+ defined(CONFIG_USB_DWC2)
int usb_lowlevel_init(int index, enum usb_init_type init, void **controller);
int usb_lowlevel_stop(int index);