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 <trini@konsulko.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
This commit is contained in:
Tom Rini 2025-10-03 14:39:22 -06:00 committed by Marek Vasut
parent caa740df9c
commit 3b0945fb7b

View File

@ -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.