[PATCH v2] powerpc: implement support for MPC8349-compatible SOC GPIOs

Scott Wood scottwood at freescale.com
Fri Sep 26 02:43:48 EST 2008


On Fri, Sep 19, 2008 at 05:11:15PM +0200, Peter Korsgaard wrote:
>  Anton> This is purposely. We also need support for 8610, and maybe
>  Anton> later we'll find another chip with the same unit. So, to not touch
>  Anton> the Kconfig for every new chip I just made it PPC32-wide. Other
>  Anton> option is to depend on FSL_SOC, but the driver really does not
>  Anton> depend on any fsl_soc stuff...
> 
> Adding another symbol to the Kconfig once it is verified that a new
> SoC is compatible doesn't seem like a big deal - Figuring out all the
> knobs we already have is, without having options for stuff that is
> known to be irrelevant for the SoC.

I agree with Anton; it's a lot less of a headache to say "no" to
some unfamiliar kconfig option than it is to hunt around and figure out
why you're not being given the option.  I'd be OK with depending on
FSL_SOC.

> The other 83xx specific drivers also depend on PPC_83xx.

As pointed out above, this isn't 83xx-specific.

-Scott



More information about the Linuxppc-dev mailing list