[U-Boot] [PATCH 2/8] usb: gadget: Add CONFIG_USB_GADGET_DUALSPEED to Kconfig

Semen Protsenko semen.protsenko at linaro.org
Tue Apr 5 18:36:31 CEST 2016


From: Sam Protsenko <semen.protsenko at linaro.org>

It's hard to migrate all configs to this option in one patch, as this
option should be selected by UDC controller options, and some of them
are not added to Kconfig yet. So let's first add this option to Kconfig
and then select it for all controllers one by one.

Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
---
 drivers/usb/gadget/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 17ca316..fd7ec22 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -53,4 +53,8 @@ config USB_GADGET_VBUS_DRAW
 	   This value will be used except for system-specific gadget
 	   drivers that have more specific information.
 
+# Selected by UDC drivers that support high-speed operation.
+config USB_GADGET_DUALSPEED
+	bool
+
 endif # USB_GADGET
-- 
2.8.0.rc3



More information about the U-Boot mailing list