add usb gadget ehci debug driver

This gadget driver allow to debug other devices via EHCI Debug Port
capability.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
lede-17.01
Alexander Couzens 2016-04-26 03:17:25 +02:00
parent 2e980479c1
commit 9128ed33b5
No known key found for this signature in database
GPG Key ID: C29E9DA6A0DF8604
1 changed files with 17 additions and 0 deletions

View File

@ -234,6 +234,23 @@ endef
$(eval $(call KernelPackage,usb-lib-composite))
define KernelPackage/usb-ehci-debug-gadget
TITLE:=USB EHCI debug port Gadget support
KCONFIG:=\
CONFIG_USB_G_DBGP \
CONFIG_USB_G_DBGP_SERIAL=y \
CONFIG_USB_G_DBGP_PRINTK=n
DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite +kmod-usb-serial-gadget
FILES:=$(LINUX_DIR)/drivers/usb/gadget/legacy/g_dbgp.ko
AUTOLOAD:=$(call AutoLoad,52,g_dbgp)
$(call AddDepends/usb)
endef
define KernelPackage/usb-ehci-debug-gadget/description
Kernel support for USB EHCI debug port Gadget.
endef
$(eval $(call KernelPackage,usb-ehci-debug-gadget))
define KernelPackage/usb-eth-gadget
TITLE:=USB Ethernet Gadget support