As exposed by "make randconfig", we have an issue around USB_GADGET_DUALSPEED. It is possible to select this symbol (via SPL_USB_CDNS3_GADGET for example) and so have an unmet dependency. As this is a hidden symbol, move it up within the menu.
Signed-off-by: Tom Rini <[email protected]> --- Cc: Mattijs Korpershoek <[email protected]> Cc: Marek Vasut <[email protected]> --- drivers/usb/gadget/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index baa2eb61ea33..a36be818a68c 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -44,6 +44,10 @@ config SPL_USB_GADGET Enable USB Gadget API which allows to enable USB device functions in SPL. +# Selected by UDC drivers that support high-speed operation. +config USB_GADGET_DUALSPEED + bool + if USB_GADGET config USB_GADGET_MANUFACTURER @@ -179,10 +183,6 @@ config SDP_LOADADDR hex "Default load address at SDP_WRITE and SDP_JUMP" default 0x0 -# Selected by UDC drivers that support high-speed operation. -config USB_GADGET_DUALSPEED - bool - config USB_GADGET_DOWNLOAD bool "Enable USB download gadget" help -- 2.43.0

