mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
at91: USB gadget subsystem cleanup and driver fix.
Signed-off-by: Owen Kirby <osk@exegin.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44491 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -50,6 +50,24 @@ endef
|
||||
|
||||
$(eval $(call KernelPackage,at91-adc))
|
||||
|
||||
define KernelPackage/at91-udc
|
||||
SUBMENU:=$(USB_MENU)
|
||||
TITLE:=USB Device Controller on atmel SoC
|
||||
DEPENDS:=@TARGET_at91 +kmod-usb-gadget
|
||||
KCONFIG:=CONFIG_USB_AT91
|
||||
ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/udc/at91_udc.ko),)
|
||||
FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc/at91_udc.ko
|
||||
else
|
||||
FILES:=$(LINUX_DIR)/drivers/usb/gadget/at91_udc.ko
|
||||
endif
|
||||
AUTOLOAD:=$(call AutoLoad,51,at91_udc)
|
||||
endef
|
||||
|
||||
define KernelPackage/at91-adc/description
|
||||
Kernel module to use the USB Device controller for Atmel AT91
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,at91-udc))
|
||||
|
||||
I2C_AT91_MODULES:=\
|
||||
CONFIG_I2C_AT91:drivers/i2c/busses/i2c-at91
|
||||
|
||||
Reference in New Issue
Block a user