aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-15 11:08:04 +0000
committerJohn Crispin <john@openwrt.org>2013-07-15 11:08:04 +0000
commit3cfa187818d57954bb2721d0e73311846215df3c (patch)
tree868b16aabda193d7c668987b55c50d761cd7b27b
parent9a9d97b749d52f067ade4a1b86878de0b96e2c33 (diff)
downloadupstream-3cfa187818d57954bb2721d0e73311846215df3c.tar.gz
upstream-3cfa187818d57954bb2721d0e73311846215df3c.tar.bz2
upstream-3cfa187818d57954bb2721d0e73311846215df3c.zip
kernel: add usb-dwc2 kmod
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37338
-rw-r--r--package/kernel/linux/modules/usb.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 1cb8e2c1b2..0fa99ccb79 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -172,6 +172,29 @@ endef
$(eval $(call KernelPackage,usb2-pci))
+define KernelPackage/usb-dwc2
+ TITLE:=DWC2 USB controller driver
+ DEPENDS:=@LINUX_3_10
+ KCONFIG:= \
+ CONFIG_USB_DWC2 \
+ CONFIG_USB_DWC2_DEBUG=n \
+ CONFIG_USB_DWC2_VERBOSE=n \
+ CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n
+ FILES:= \
+ $(LINUX_DIR)/drivers/staging/dwc2/dwc2.ko \
+ $(LINUX_DIR)/drivers/staging/dwc2/dwc2_platform.ko
+ AUTOLOAD:=$(call AutoLoad,54,dwc2 dwc2_platform,1)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/usb-dwc2/description
+ This driver provides USB Device Controller support for the
+ Synopsys DesignWare USB OTG Core.
+endef
+
+$(eval $(call KernelPackage,usb-dwc2))
+
+
define KernelPackage/usb-acm
TITLE:=Support for modems/isdn controllers
KCONFIG:=CONFIG_USB_ACM