diff options
-rw-r--r-- | arch/powerpc/Kconfig | 12 | ||||
-rw-r--r-- | arch/powerpc/platforms/52xx/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/Kconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/86xx/Kconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig.cputype | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/iseries/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/ps3/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/pseries/Kconfig | 1 |
10 files changed, 19 insertions, 5 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 50be303e525d..4c22242b396f 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -568,11 +568,15 @@ config FSL_GTM | |||
568 | config MCA | 568 | config MCA |
569 | bool | 569 | bool |
570 | 570 | ||
571 | # Platforms that what PCI turned unconditionally just do select PCI | ||
572 | # in their config node. Platforms that want to choose at config | ||
573 | # time should select PPC_PCI_CHOICE | ||
574 | config PPC_PCI_CHOICE | ||
575 | bool | ||
576 | |||
571 | config PCI | 577 | config PCI |
572 | bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ | 578 | bool "PCI support" if PPC_PCI_CHOICE |
573 | || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \ | 579 | default y if !40x && !CPM2 && !8xx && !PPC_83xx \ |
574 | || PPC_PS3 || 44x | ||
575 | default y if !40x && !CPM2 && !8xx && !PPC_MPC512x && !PPC_83xx \ | ||
576 | && !PPC_85xx && !PPC_86xx | 580 | && !PPC_85xx && !PPC_86xx |
577 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx | 581 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx |
578 | default PCI_QSPAN if !4xx && !CPM2 && 8xx | 582 | default PCI_QSPAN if !4xx && !CPM2 && 8xx |
diff --git a/arch/powerpc/platforms/52xx/Kconfig b/arch/powerpc/platforms/52xx/Kconfig index acd2fc8cf492..d664b1bce381 100644 --- a/arch/powerpc/platforms/52xx/Kconfig +++ b/arch/powerpc/platforms/52xx/Kconfig | |||
@@ -3,6 +3,7 @@ config PPC_MPC52xx | |||
3 | depends on PPC_MULTIPLATFORM && PPC32 | 3 | depends on PPC_MULTIPLATFORM && PPC32 |
4 | select FSL_SOC | 4 | select FSL_SOC |
5 | select PPC_CLOCK | 5 | select PPC_CLOCK |
6 | select PPC_PCI_CHOICE | ||
6 | 7 | ||
7 | config PPC_MPC5200_SIMPLE | 8 | config PPC_MPC5200_SIMPLE |
8 | bool "Generic support for simple MPC5200 based boards" | 9 | bool "Generic support for simple MPC5200 based boards" |
diff --git a/arch/powerpc/platforms/83xx/Kconfig b/arch/powerpc/platforms/83xx/Kconfig index 27d9bf86de01..a95298810c1c 100644 --- a/arch/powerpc/platforms/83xx/Kconfig +++ b/arch/powerpc/platforms/83xx/Kconfig | |||
@@ -2,6 +2,7 @@ menuconfig PPC_83xx | |||
2 | bool "83xx-based boards" | 2 | bool "83xx-based boards" |
3 | depends on 6xx && PPC_MULTIPLATFORM | 3 | depends on 6xx && PPC_MULTIPLATFORM |
4 | select PPC_UDBG_16550 | 4 | select PPC_UDBG_16550 |
5 | select PPC_PCI_CHOICE | ||
5 | select PPC_INDIRECT_PCI | 6 | select PPC_INDIRECT_PCI |
6 | select FSL_SOC | 7 | select FSL_SOC |
7 | select IPIC | 8 | select IPIC |
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 | |||
2 | bool "Machine Type" | 2 | bool "Machine Type" |
3 | depends on PPC_85xx | 3 | depends on PPC_85xx |
4 | select PPC_UDBG_16550 | 4 | select PPC_UDBG_16550 |
5 | select PPC_INDIRECT_PCI if PCI | ||
6 | select MPIC | 5 | select MPIC |
6 | select PPC_PCI_CHOICE | ||
7 | select FSL_PCI if PCI | 7 | select FSL_PCI if PCI |
8 | select SERIAL_8250_SHARE_IRQ if SERIAL_8250 | 8 | select SERIAL_8250_SHARE_IRQ if SERIAL_8250 |
9 | default y | 9 | default y |
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 |
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index 690c1f46e698..efe5805eecbe 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig | |||
@@ -253,6 +253,7 @@ config CPM2 | |||
253 | depends on MPC85xx || 8260 | 253 | depends on MPC85xx || 8260 |
254 | select CPM | 254 | select CPM |
255 | select PPC_LIB_RHEAP | 255 | select PPC_LIB_RHEAP |
256 | select PPC_PCI_CHOICE | ||
256 | help | 257 | help |
257 | The CPM2 (Communications Processor Module) is a coprocessor on | 258 | The CPM2 (Communications Processor Module) is a coprocessor on |
258 | embedded CPUs made by Freescale. Selecting this option means that | 259 | embedded CPUs made by Freescale. Selecting this option means that |
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index 5bc4b611ff88..90e57e12313b 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype | |||
@@ -42,12 +42,14 @@ config 40x | |||
42 | select PPC_DCR_NATIVE | 42 | select PPC_DCR_NATIVE |
43 | select PPC_UDBG_16550 | 43 | select PPC_UDBG_16550 |
44 | select 4xx_SOC | 44 | select 4xx_SOC |
45 | select PPC_PCI_CHOICE | ||
45 | 46 | ||
46 | config 44x | 47 | config 44x |
47 | bool "AMCC 44x" | 48 | bool "AMCC 44x" |
48 | select PPC_DCR_NATIVE | 49 | select PPC_DCR_NATIVE |
49 | select PPC_UDBG_16550 | 50 | select PPC_UDBG_16550 |
50 | select 4xx_SOC | 51 | select 4xx_SOC |
52 | select PPC_PCI_CHOICE | ||
51 | 53 | ||
52 | config E200 | 54 | config E200 |
53 | bool "Freescale e200" | 55 | bool "Freescale e200" |
diff --git a/arch/powerpc/platforms/iseries/Kconfig b/arch/powerpc/platforms/iseries/Kconfig index 761d9e971fc4..ea3e541ac74f 100644 --- a/arch/powerpc/platforms/iseries/Kconfig +++ b/arch/powerpc/platforms/iseries/Kconfig | |||
@@ -2,6 +2,7 @@ config PPC_ISERIES | |||
2 | bool "IBM Legacy iSeries" | 2 | bool "IBM Legacy iSeries" |
3 | depends on PPC_MULTIPLATFORM && PPC64 | 3 | depends on PPC_MULTIPLATFORM && PPC64 |
4 | select PPC_INDIRECT_IO | 4 | select PPC_INDIRECT_IO |
5 | select PPC_PCI_CHOICE if EMBEDDED | ||
5 | 6 | ||
6 | menu "iSeries device drivers" | 7 | menu "iSeries device drivers" |
7 | depends on PPC_ISERIES | 8 | depends on PPC_ISERIES |
diff --git a/arch/powerpc/platforms/ps3/Kconfig b/arch/powerpc/platforms/ps3/Kconfig index a5f4e95dfc3d..920cf7a454b1 100644 --- a/arch/powerpc/platforms/ps3/Kconfig +++ b/arch/powerpc/platforms/ps3/Kconfig | |||
@@ -8,6 +8,7 @@ config PPC_PS3 | |||
8 | select USB_ARCH_HAS_EHCI | 8 | select USB_ARCH_HAS_EHCI |
9 | select USB_EHCI_BIG_ENDIAN_MMIO | 9 | select USB_EHCI_BIG_ENDIAN_MMIO |
10 | select MEMORY_HOTPLUG | 10 | select MEMORY_HOTPLUG |
11 | select PPC_PCI_CHOICE | ||
11 | help | 12 | help |
12 | This option enables support for the Sony PS3 game console | 13 | This option enables support for the Sony PS3 game console |
13 | and other platforms using the PS3 hypervisor. Enabling this | 14 | and other platforms using the PS3 hypervisor. Enabling this |
diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index 07fe5b69b9e2..757c0296e0b8 100644 --- a/arch/powerpc/platforms/pseries/Kconfig +++ b/arch/powerpc/platforms/pseries/Kconfig | |||
@@ -7,6 +7,7 @@ config PPC_PSERIES | |||
7 | select RTAS_ERROR_LOGGING | 7 | select RTAS_ERROR_LOGGING |
8 | select PPC_UDBG_16550 | 8 | select PPC_UDBG_16550 |
9 | select PPC_NATIVE | 9 | select PPC_NATIVE |
10 | select PPC_PCI_CHOICE if EMBEDDED | ||
10 | default y | 11 | default y |
11 | 12 | ||
12 | config PPC_SPLPAR | 13 | config PPC_SPLPAR |