]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: pci config cleanup
authorJohn Rigby <jrigby@freescale.com>
Thu, 26 Jun 2008 17:07:56 +0000 (11:07 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 16 Jul 2008 22:57:34 +0000 (17:57 -0500)
commitb500563b22ea2a78760b2ccaa328426b0388e2ee
tree995e53460f2fe224414d819ac1f3c405b289d2bd
parent36aa7965d85270065f090b01db5c62bf75e65f30
powerpc: pci config cleanup

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@freescale.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/Kconfig
arch/powerpc/platforms/52xx/Kconfig
arch/powerpc/platforms/83xx/Kconfig
arch/powerpc/platforms/85xx/Kconfig
arch/powerpc/platforms/86xx/Kconfig
arch/powerpc/platforms/Kconfig
arch/powerpc/platforms/Kconfig.cputype
arch/powerpc/platforms/iseries/Kconfig
arch/powerpc/platforms/ps3/Kconfig
arch/powerpc/platforms/pseries/Kconfig