From: Sam Protsenko <semen.protse...@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.protse...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to