[PATCH 1/2] usb: gadget: rockchip: Add missing dependency
Tom Rini
trini at konsulko.com
Wed Jul 2 03:03:45 CEST 2025
The rockchip usb gadget driver cannot build without platform specific
headers being available. Express that requirement in Kconfig as well.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Kever Yang <kever.yang at rock-chips.com>
Cc: Marek Vasut <marex at denx.de>
---
drivers/usb/gadget/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 46a83141481f..b0decd7b2512 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -202,6 +202,7 @@ config USB_FUNCTION_MASS_STORAGE
config USB_FUNCTION_ROCKUSB
bool "Enable USB rockusb gadget"
+ depends on ARCH_ROCKCHIP
help
Rockusb protocol is widely used by Rockchip SoC based devices. It can
read/write info, image to/from devices. This enables the USB part of
--
2.43.0
More information about the U-Boot
mailing list