gemini: usb-fotg210: enable OTG support
authorRobert Marko <robimarko@gmail.com>
Wed, 8 Nov 2023 12:31:12 +0000 (13:31 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 8 Nov 2023 21:01:43 +0000 (22:01 +0100)
The usb-fotg210 does not currently select CONFIG_USB_FOTG210_UDC which
enable OTG support, but it was previously selected directly in the target
kernel config so lets enable it to keep the functionality identical.

Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/gemini/modules.mk

index 29a3266f517194db5d3dc692c4e2fd17b2e46a85..30f3884e10d6d593d7aa93d80fcae0b01bac4027 100644 (file)
@@ -1,8 +1,10 @@
 define KernelPackage/usb-fotg210
   TITLE:=Support for FOTG210 USB host and device controllers
   DEPENDS:=@USB_SUPPORT @TARGET_gemini
-  KCONFIG:=CONFIG_USB_FOTG210 \
-       CONFIG_USB_FOTG210_HCD=y
+  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,1)
   $(call AddDepends/usb)