summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-01-16 11:45:45 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-17 07:58:09 +0100
commit3cfc8bc9f3f54ddcb60c4d19db5f7e14b294455e (patch)
treeb2e6ffb5b0bdf98c8d45a36dfa545d078d8daba6
parentf606a0cde93bee811241e4e9ac7fb442c95c124d (diff)
downloadbarebox-3cfc8bc9f3f54ddcb60c4d19db5f7e14b294455e.tar.gz
barebox-3cfc8bc9f3f54ddcb60c4d19db5f7e14b294455e.tar.xz
usb: gadget: disable AT91 driver on SAMA5D4
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@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/usb/gadget/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 81c3723200..eb279ae8df 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