From: Tom Rini Date: Fri, 3 Oct 2025 20:39:22 +0000 (-0600) Subject: usb: gadget: spl: Add missing dependency for SPL_USB_GADGET X-Git-Tag: v2026.01-rc3~18^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b0945fb7b97409e84fc660b2d307b81e91bb6d2;p=thirdparty%2Fu-boot.git usb: gadget: spl: Add missing dependency for SPL_USB_GADGET It makes no sense to ask about nor enable SPL_USB_GADGET without SPL_FRAMEWORK being enabled. Attempting to do so leads to Kconfig noting dependency issues. Add the missing dependency. Signed-off-by: Tom Rini Reviewed-by: Mattijs Korpershoek --- diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 008f8c99a58..f64a3bfb36c 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -39,6 +39,7 @@ menuconfig USB_GADGET config SPL_USB_GADGET bool "USB Gadget Support in SPL" + depends on SPL_FRAMEWORK help Enable USB Gadget API which allows to enable USB device functions in SPL.