From: Tom Rini Date: Fri, 26 Sep 2025 15:30:34 +0000 (-0600) Subject: usb: gadget: Tighten CI_UDC dependencies X-Git-Tag: v2026.01-rc3~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70c3b4c3185c224211dda7273c5ce5f97ffffc5e;p=pandora-u-boot.git usb: gadget: Tighten CI_UDC dependencies This driver cannot build when DM_USB_GADGET is enabled as both options control building of files that use the same global namespace and functionality. In this case make CI_UDC depend on DM_USB_GADGET being disabled as non-DM support is the legacy choice. Signed-off-by: Tom Rini Reviewed-by: Mattijs Korpershoek --- diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 4cafb49234f..7e08aeab904 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -151,6 +151,7 @@ config USB_GADGET_OS_DESCRIPTORS config CI_UDC bool "ChipIdea device controller" + depends on !DM_USB_GADGET select USB_GADGET_DUALSPEED help Say Y here to enable device controller functionality of the