summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-19 10:15:14 +0000
committerJohn Crispin <john@openwrt.org>2016-01-19 10:15:14 +0000
commitf5454fe42982ea4ae44d6b5a200edaf7c5299a0b (patch)
tree9a8b9928128e99c93076e50b920eb967df0131a6 /target/linux
parent373594fb4b8bafb77d93a3ef6e678006f9e25fd3 (diff)
downloadmtk-20170518-f5454fe42982ea4ae44d6b5a200edaf7c5299a0b.zip
mtk-20170518-f5454fe42982ea4ae44d6b5a200edaf7c5299a0b.tar.gz
mtk-20170518-f5454fe42982ea4ae44d6b5a200edaf7c5299a0b.tar.bz2
at91: add package for high speed usb device
Add a package for a missing module for the at91 high speed device. Without this the build process pauses asking to build as module. Signed-off-by: Ben Whitten <ben.whitten@gmail.com> SVN-Revision: 48350
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/at91/modules.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/at91/modules.mk b/target/linux/at91/modules.mk
index 6cfc3e4..3969450 100644
--- a/target/linux/at91/modules.mk
+++ b/target/linux/at91/modules.mk
@@ -69,6 +69,25 @@ endef
$(eval $(call KernelPackage,at91-udc))
+define KernelPackage/atmel-usba-udc
+ SUBMENU:=$(USB_MENU)
+ TITLE:=High-speed USB Device Controller on atmel SoC
+ DEPENDS:=@TARGET_at91 +kmod-usb-gadget
+ KCONFIG:=CONFIG_USB_ATMEL_USBA
+ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/udc/atmel_usba_udc.ko),)
+ FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc/atmel_usba_udc.ko
+else
+ FILES:=$(LINUX_DIR)/drivers/usb/gadget/atmel_usba_udc.ko
+endif
+ AUTOLOAD:=$(call AutoLoad,51,atmel_usba_udc)
+endef
+
+define KernelPackage/atmel-usba-udc/description
+ Kernel module to use the High-speed USB Device controller for Atmel AT91
+endef
+
+$(eval $(call KernelPackage,atmel-usba-udc))
+
I2C_AT91_MODULES:=\
CONFIG_I2C_AT91:drivers/i2c/busses/i2c-at91