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

Tom Rini trini at konsulko.com
Wed Aug 6 16:55:56 CEST 2025


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

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Eugen Hristev <eugen.hristev at linaro.org>
Cc: Marek Vasut <marek.vasut at mailbox.org>
Cc: Lukasz Majewski <lukma at denx.de>
Cc: Mattijs Korpershoek <mkorpershoek at kernel.org>
---
 drivers/usb/gadget/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 6201663317be..bc6ce6ec8776 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -92,6 +92,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