[PATCH v2 2/6] usb: gadget: Tighten requirements on USB_GADGET_ATMEL_USBA

Tom Rini trini at konsulko.com
Thu Sep 11 23:50:19 CEST 2025


This driver requires some mach-at91 specific header files in order to build.
Express that requirement in Kconfig as well.

Reviewed-by: Marek Vasut <marek.vasut at mailbox.org>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
Changes in v2:
- Add Marek's tag
---
 drivers/usb/gadget/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 0121f9872ae6..29c2f27fa05f 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -93,6 +93,7 @@ config USB_GADGET_PRODUCT_NUM
 
 config USB_GADGET_ATMEL_USBA
 	bool "Atmel USBA"
+	depends on ARCH_AT91
 	select USB_GADGET_DUALSPEED
 	help
 	  USBA is the integrated high-speed USB Device controller on
-- 
2.43.0



More information about the U-Boot mailing list