Re: [PATCH 1/3 v3] at91/USB: Add USB gadget driver selection for at91sam9g45 series

Jean-Christophe PLAGNIOL-VILLARD
2009-06-23T21:35:57Z

On 18:58 Tue 23 Jun , Nicolas Ferre wrote:
> 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>
> ---
> v2 -> v3: split patch to:
> - gadget
> - ohci
> - ehci
>
> drivers/usb/gadget/Kconfig | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
> index 080bb1e..9beea52 100644
> --- a/drivers/usb/gadget/Kconfig
> +++ b/drivers/usb/gadget/Kconfig
> @@ -124,7 +124,7 @@ choice
>
> config USB_GADGET_AT91
> boolean "Atmel AT91 USB Device Port"
> - depends on ARCH_AT91 && !ARCH_AT91SAM9RL && !ARCH_AT91CAP9
> + depends on ARCH_AT91 && !ARCH_AT91SAM9RL && !ARCH_AT91CAP9 && !ARCH_AT91SAM9G45
same as ATMEL_FB
it will be really better to define it at the soc level

Best Regards,
J.