diff options
author | John Rigby <jrigby@freescale.com> | 2008-06-26 13:07:56 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-07-16 18:57:34 -0400 |
commit | b500563b22ea2a78760b2ccaa328426b0388e2ee (patch) | |
tree | 995e53460f2fe224414d819ac1f3c405b289d2bd /arch/powerpc/platforms/86xx/Kconfig | |
parent | 36aa7965d85270065f090b01db5c62bf75e65f30 (diff) |
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/86xx/Kconfig')
-rw-r--r-- | arch/powerpc/platforms/86xx/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/86xx/Kconfig b/arch/powerpc/platforms/86xx/Kconfig index 80a81e02bb55..8ce10b233cde 100644 --- a/arch/powerpc/platforms/86xx/Kconfig +++ b/arch/powerpc/platforms/86xx/Kconfig | |||
@@ -34,6 +34,7 @@ endif | |||
34 | 34 | ||
35 | config MPC8641 | 35 | config MPC8641 |
36 | bool | 36 | bool |
37 | select PPC_PCI_CHOICE | ||
37 | select FSL_PCI if PCI | 38 | select FSL_PCI if PCI |
38 | select PPC_UDBG_16550 | 39 | select PPC_UDBG_16550 |
39 | select MPIC | 40 | select MPIC |
@@ -41,6 +42,7 @@ config MPC8641 | |||
41 | 42 | ||
42 | config MPC8610 | 43 | config MPC8610 |
43 | bool | 44 | bool |
45 | select PPC_PCI_CHOICE | ||
44 | select FSL_PCI if PCI | 46 | select FSL_PCI if PCI |
45 | select PPC_UDBG_16550 | 47 | select PPC_UDBG_16550 |
46 | select MPIC | 48 | select MPIC |