On 3/20/26 2:53 PM, Tom Rini wrote:

[...]

@@ -371,3 +367,11 @@ config SPL_SDP_USB_DEV
           so it can be used in compiled environment.

  endif # SPL_USB_GADGET
+
+if USB_GADGET || SPL_USB_GADGET
+
+# Selected by UDC drivers that support high-speed operation.
+config USB_GADGET_DUALSPEED
+       bool
+
+endif
"

You don't need to guard hidden symbols.

We also do not want to expose this Kconfig symbol unless it makes sense to expose it ? In fact, if the symbol is not available and someone attempts to use it in Kconfig, they would get a warning, which should provide a clue that they are doing something wrong ?

Reply via email to