mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 15:38:37 +04:00
The FOTG210 USB host controller is not working on Gemini with 6.18. Backport the migration to the common EHCI core and other fixups just merged for 7.4. Link: https://github.com/openwrt/openwrt/pull/25139 Signed-off-by: Linus Walleij <linusw@kernel.org>
18 lines
525 B
Makefile
18 lines
525 B
Makefile
# TODO: move this to package/kernel/linux/modules/usb.mk after kernel 7.4
|
|
# as the generic kernel will have the EHCI rewrite.
|
|
define KernelPackage/usb-fotg210
|
|
TITLE:=Support for FOTG210 USB host and device controllers
|
|
DEPENDS:=\
|
|
@TARGET_gemini \
|
|
+kmod-usb-ehci
|
|
KCONFIG:=\
|
|
CONFIG_USB_FOTG210 \
|
|
CONFIG_USB_FOTG210_HCD=y \
|
|
CONFIG_USB_FOTG210_UDC=y
|
|
FILES:=$(LINUX_DIR)/drivers/usb/fotg210/fotg210.ko
|
|
AUTOLOAD:=$(call AutoLoad,50,fotg210,1)
|
|
$(call AddDepends/usb)
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,usb-fotg210))
|