Author: blogic
Date: 2016-01-19 11:15:14 +0100 (Tue, 19 Jan 2016)
New Revision: 48350

Modified:
   trunk/target/linux/at91/modules.mk
Log:
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 <[email protected]>

Modified: trunk/target/linux/at91/modules.mk
===================================================================
--- trunk/target/linux/at91/modules.mk  2016-01-19 10:15:04 UTC (rev 48349)
+++ trunk/target/linux/at91/modules.mk  2016-01-19 10:15:14 UTC (rev 48350)
@@ -69,6 +69,25 @@
 
 $(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
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to