[PATCH 2/3] usb: gadget: disable AT91 driver on SAMA5D4

Lucas Stach l.stach at pengutronix.de
Mon Jan 16 02:45:45 PST 2017


This architecture is missing the right defines for the system
peripherals, that are needed for this driver to build successfully.

Disable it for now until someone with a clue about this architecture
can fill in the gap.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 drivers/usb/gadget/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 81c372320008..eb279ae8df4f 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -19,6 +19,7 @@ config USB_GADGET_DRIVER_AT91
 	bool
 	prompt "at91 gadget driver"
 	depends on ARCH_AT91
+	depends on !ARCH_SAMA5D4
 	default y
 	select USB_GADGET_DUALSPEED
 
-- 
2.11.0




More information about the barebox mailing list