aboutsummaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/config/socfpga-4.1-ltsi/cfg/usb_gadget.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/config/socfpga-4.1-ltsi/cfg/usb_gadget.cfg')
-rw-r--r--recipes-kernel/linux/config/socfpga-4.1-ltsi/cfg/usb_gadget.cfg30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-kernel/linux/config/socfpga-4.1-ltsi/cfg/usb_gadget.cfg b/recipes-kernel/linux/config/socfpga-4.1-ltsi/cfg/usb_gadget.cfg
new file mode 100644
index 0000000..df9c4a8
--- /dev/null
+++ b/recipes-kernel/linux/config/socfpga-4.1-ltsi/cfg/usb_gadget.cfg
@@ -0,0 +1,30 @@
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DEBUG=y
+CONFIG_USB_GADGET_DEBUG_FILES=y
+CONFIG_USB_GADGET_DEBUG_FS=y
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
+CONFIG_USB_LIBCOMPOSITE=m
+CONFIG_USB_F_ACM=m
+CONFIG_USB_F_SS_LB=m
+CONFIG_USB_U_SERIAL=m
+CONFIG_USB_F_SERIAL=m
+CONFIG_USB_F_OBEX=m
+CONFIG_USB_ZERO=m
+CONFIG_USB_ETH=m
+CONFIG_USB_ETH_RNDIS=y
+# CONFIG_USB_ETH_EEM is not set
+CONFIG_USB_G_NCM=m
+CONFIG_USB_GADGETFS=m
+CONFIG_USB_FUNCTIONFS=m
+CONFIG_USB_FUNCTIONFS_ETH=y
+CONFIG_USB_FUNCTIONFS_RNDIS=y
+CONFIG_USB_FUNCTIONFS_GENERIC=y
+CONFIG_USB_MASS_STORAGE=m
+CONFIG_USB_G_SERIAL=m
+CONFIG_USB_G_PRINTER=m
+CONFIG_USB_CDC_COMPOSITE=m
+CONFIG_USB_G_ACM_MS=m
+CONFIG_USB_G_MULTI=m
+CONFIG_USB_G_MULTI_RNDIS=y
+CONFIG_USB_G_HID=m