[PATCH 1/2] powerpc: pci config cleanup [rev2]

Kumar Gala galak at kernel.crashing.org
Tue Jul 15 23:22:19 EST 2008


On Jun 26, 2008, at 12:07 PM, John Rigby wrote:

> Choosing PCI or not at config time is allowed on some
> platforms via an if expression in arch/powerpc/Kconfig.
> To add a new platform with PCI support selectable at
> config time, you must change the if expression.  This
> patch makes this easier by changing:
>    bool "PCI support" if <long expression>
> to
>    bool "PCI support" if PPC_PCI_CHOICE
> and adding select PPC_PCI_CHOICE to all the config nodes that
> were previously in the PCI if expression.
>
> Platforms with unconditional PCI support continue to
> just select PCI in their config nodes.
>
> Signed-off-by: John Rigby <jrigby at freescale.com>
> ---
> arch/powerpc/Kconfig                   |   12 ++++++++----
> arch/powerpc/platforms/52xx/Kconfig    |    1 +
> arch/powerpc/platforms/83xx/Kconfig    |    1 +
> arch/powerpc/platforms/85xx/Kconfig    |    2 +-
> arch/powerpc/platforms/86xx/Kconfig    |    2 ++
> arch/powerpc/platforms/Kconfig         |    1 +
> arch/powerpc/platforms/Kconfig.cputype |    2 ++
> arch/powerpc/platforms/iseries/Kconfig |    1 +
> arch/powerpc/platforms/ps3/Kconfig     |    1 +
> arch/powerpc/platforms/pseries/Kconfig |    1 +
> 10 files changed, 19 insertions(+), 5 deletion

applied.

- k



More information about the Linuxppc-dev mailing list