Re: [PATCH v2 1/2] ARM: AT91: Add parameter for AT91_HAS_PATA

From: Arnd Bergmann
Date: Sun Mar 11 2012 - 17:37:03 EST


On Sunday 11 March 2012, Jean-Christophe PLAGNIOL-VILLARD wrote:
> >
> > diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
> > index 71feb00..9eeeabe 100644
> > --- a/arch/arm/mach-at91/Kconfig
> > +++ b/arch/arm/mach-at91/Kconfig
> > @@ -24,6 +24,9 @@ config AT91_SAM9_ALT_RESET
> > config AT91_SAM9G45_RESET
> > bool
> >
> > +config AT91_HAS_PATA
> > + bool
> what is the need for this?
>
> As we switch to DT, I don't want to track the soc list in the Kconfig anymore
> if the soc support the PATA will be describe in the DT
>

When I originally wrote the patch, I was hitting build errors when trying
to enable the at91 pata driver on socs that don't have the right declarations
in their headers. If that has been resolved in a better way already, this
patch can be dropped.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/