summaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/modules.mk
blob: 495803c5e1cf5b4c729879c4a012e44d17d956e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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))