[PATCH] at91: add config option for ohci driver
Sascha Hauer
s.hauer at pengutronix.de
Fri Nov 11 06:05:06 EST 2011
On Fri, Nov 11, 2011 at 11:46:14AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> 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"
> Sacahs can you revert this one
>
> there is no need to have any select for the user
>
> if you enalbe the OHCI it must just enable it on AT91 directly otherwise you
> have a OHCI enable but without driver
What the patch fixes is that ohci-at91.c is compiled even when USB is
completely disabled, so reverting just it is not a good solution. I'm
open to better solutions.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list