浏览代码

USB: at91: Add USB gadget driver selection for at91sam9g45 series

Add gadget USB drivers for at91sam9g45 series. Those SOC include
high speed USB interfaces.
The gadget driver is the already available atmel_usba_udc.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Nicolas Ferre 16 年之前
父节点
当前提交
aa781af00a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/usb/gadget/Kconfig

+ 2 - 2
drivers/usb/gadget/Kconfig

@@ -124,7 +124,7 @@ choice
 
 
 config USB_GADGET_AT91
 config USB_GADGET_AT91
 	boolean "Atmel AT91 USB Device Port"
 	boolean "Atmel AT91 USB Device Port"
-	depends on ARCH_AT91 && !ARCH_AT91SAM9RL && !ARCH_AT91CAP9
+	depends on ARCH_AT91 && !ARCH_AT91SAM9RL && !ARCH_AT91CAP9 && !ARCH_AT91SAM9G45
 	select USB_GADGET_SELECTED
 	select USB_GADGET_SELECTED
 	help
 	help
 	   Many Atmel AT91 processors (such as the AT91RM2000) have a
 	   Many Atmel AT91 processors (such as the AT91RM2000) have a
@@ -143,7 +143,7 @@ config USB_AT91
 config USB_GADGET_ATMEL_USBA
 config USB_GADGET_ATMEL_USBA
 	boolean "Atmel USBA"
 	boolean "Atmel USBA"
 	select USB_GADGET_DUALSPEED
 	select USB_GADGET_DUALSPEED
-	depends on AVR32 || ARCH_AT91CAP9 || ARCH_AT91SAM9RL
+	depends on AVR32 || ARCH_AT91CAP9 || ARCH_AT91SAM9RL || ARCH_AT91SAM9G45
 	help
 	help
 	  USBA is the integrated high-speed USB Device controller on
 	  USBA is the integrated high-speed USB Device controller on
 	  the AT32AP700x, some AT91SAM9 and AT91CAP9 processors from Atmel.
 	  the AT32AP700x, some AT91SAM9 and AT91CAP9 processors from Atmel.