[PATCH] at91: add config option for ohci driver

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Nov 10 09:18:21 EST 2011


On 17:03 Wed 09 Nov     , Hubert Feurstein wrote:
> Signed-off-by: Hubert Feurstein <h.feurstein at gmail.com>
> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  drivers/usb/host/Kconfig  |    4 ++++
>  drivers/usb/host/Makefile |    2 +-
>  2 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index 929eb89..96e09e2 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -7,3 +7,7 @@ config USB_EHCI_OMAP
> 
>  config USB_OHCI
>  	bool "OHCI driver"
> +
> +config USB_OHCI_AT91
> +	depends on ARCH_AT91
> +	bool "AT91 OHCI driver"

> diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile
> index 1c7e18f..00f5e24 100644
> --- a/drivers/usb/host/Makefile
> +++ b/drivers/usb/host/Makefile
> @@ -1,4 +1,4 @@
>  obj-$(CONFIG_USB_EHCI)		+= ehci-hcd.o
>  obj-$(CONFIG_USB_EHCI_OMAP)	+= ehci-omap.o
>  obj-$(CONFIG_USB_OHCI)		+= ohci-hcd.o
> -obj-$(CONFIG_ARCH_AT91)		+= ohci-at91.o
> +obj-$(CONFIG_USB_OHCI_AT91)	+= ohci-at91.o
no need such config

 on AT91 you just need to enable the OCHI

Best Regards,
J.



More information about the barebox mailing list