summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/Kconfig
diff options
context:
space:
mode:
authorJohn Rigby <jrigby@freescale.com>2008-06-26 19:07:56 +0200
committerKumar Gala <galak@kernel.crashing.org>2008-07-17 00:57:34 +0200
commitb500563b22ea2a78760b2ccaa328426b0388e2ee (patch)
tree995e53460f2fe224414d819ac1f3c405b289d2bd /arch/powerpc/platforms/85xx/Kconfig
parentpowerpc/mpc7448: add alias list to DTS, clean out old chosen node (diff)
downloadlinux-b500563b22ea2a78760b2ccaa328426b0388e2ee.tar.xz
linux-b500563b22ea2a78760b2ccaa328426b0388e2ee.zip
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>
Diffstat (limited to 'arch/powerpc/platforms/85xx/Kconfig')
-rw-r--r--arch/powerpc/platforms/85xx/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig
index cebea5cadbc1..cccc85a65041 100644
--- a/arch/powerpc/platforms/85xx/Kconfig
+++ b/arch/powerpc/platforms/85xx/Kconfig
@@ -2,8 +2,8 @@ menuconfig MPC85xx
bool "Machine Type"
depends on PPC_85xx
select PPC_UDBG_16550
- select PPC_INDIRECT_PCI if PCI
select MPIC
+ select PPC_PCI_CHOICE
select FSL_PCI if PCI
select SERIAL_8250_SHARE_IRQ if SERIAL_8250
default y