diff options
author | Paul Mackerras <paulus@samba.org> | 2006-01-15 01:30:44 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-15 01:30:44 -0500 |
commit | a7fdd90bc43e3e9cb08bc1b13650024d419b89e5 (patch) | |
tree | 5c99a41b9d157186668ed63c001f72a09965143b /arch/ppc/Kconfig | |
parent | e8625d463560198cff7cb3eb22886c47d728d501 (diff) |
[PATCH] ppc: Remove powermac support from ARCH=ppc
This makes it possible to build kernels for PReP and/or CHRP
with ARCH=ppc by removing the (non-building) powermac support.
It's now also possible to select PReP and CHRP independently.
Powermac users should now build with ARCH=powerpc instead of
ARCH=ppc. (This does mean that it is no longer possible to
build a 32-bit kernel for a G5.)
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/Kconfig')
-rw-r--r-- | arch/ppc/Kconfig | 73 |
1 files changed, 22 insertions, 51 deletions
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig index d65810108bc3..11899f06bf06 100644 --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig | |||
@@ -58,11 +58,11 @@ config 6xx | |||
58 | help | 58 | help |
59 | There are four types of PowerPC chips supported. The more common | 59 | There are four types of PowerPC chips supported. The more common |
60 | types (601, 603, 604, 740, 750, 7400), the Motorola embedded | 60 | types (601, 603, 604, 740, 750, 7400), the Motorola embedded |
61 | versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the IBM embedded | 61 | versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the IBM |
62 | versions (403 and 405) and the high end 64 bit Power processors | 62 | embedded versions (403 and 405) and the POWER3 processor. |
63 | (POWER 3, POWER4, and IBM 970 also known as G5) | 63 | (For support for more recent 64-bit processors, set ARCH=powerpc.) |
64 | Unless you are building a kernel for one of the embedded processor | 64 | Unless you are building a kernel for one of the embedded processor |
65 | systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx. | 65 | systems or a POWER3-based IBM RS/6000, choose 6xx. |
66 | Note that the kernel runs in 32-bit mode even on 64-bit chips. | 66 | Note that the kernel runs in 32-bit mode even on 64-bit chips. |
67 | Also note that because the 52xx, 82xx, & 83xx family has a 603e core, | 67 | Also note that because the 52xx, 82xx, & 83xx family has a 603e core, |
68 | specific support for that chipset is asked later on. | 68 | specific support for that chipset is asked later on. |
@@ -77,10 +77,6 @@ config POWER3 | |||
77 | select PPC_FPU | 77 | select PPC_FPU |
78 | bool "POWER3" | 78 | bool "POWER3" |
79 | 79 | ||
80 | config POWER4 | ||
81 | select PPC_FPU | ||
82 | bool "POWER4 and 970 (G5)" | ||
83 | |||
84 | config 8xx | 80 | config 8xx |
85 | bool "8xx" | 81 | bool "8xx" |
86 | 82 | ||
@@ -123,7 +119,7 @@ config PHYS_64BIT | |||
123 | 119 | ||
124 | config ALTIVEC | 120 | config ALTIVEC |
125 | bool "AltiVec Support" | 121 | bool "AltiVec Support" |
126 | depends on 6xx || POWER4 | 122 | depends on 6xx |
127 | depends on !8260 && !83xx | 123 | depends on !8260 && !83xx |
128 | ---help--- | 124 | ---help--- |
129 | This option enables kernel support for the Altivec extensions to the | 125 | This option enables kernel support for the Altivec extensions to the |
@@ -235,18 +231,9 @@ config KEXEC | |||
235 | 231 | ||
236 | source "drivers/cpufreq/Kconfig" | 232 | source "drivers/cpufreq/Kconfig" |
237 | 233 | ||
238 | config CPU_FREQ_PMAC | ||
239 | bool "Support for Apple PowerBooks" | ||
240 | depends on CPU_FREQ && ADB_PMU | ||
241 | select CPU_FREQ_TABLE | ||
242 | help | ||
243 | This adds support for frequency switching on Apple PowerBooks, | ||
244 | this currently includes some models of iBook & Titanium | ||
245 | PowerBook. | ||
246 | |||
247 | config PPC601_SYNC_FIX | 234 | config PPC601_SYNC_FIX |
248 | bool "Workarounds for PPC601 bugs" | 235 | bool "Workarounds for PPC601 bugs" |
249 | depends on 6xx && (PPC_PREP || PPC_PMAC) | 236 | depends on 6xx && PPC_PREP |
250 | help | 237 | help |
251 | Some versions of the PPC601 (the first PowerPC chip) have bugs which | 238 | Some versions of the PPC601 (the first PowerPC chip) have bugs which |
252 | mean that extra synchronization instructions are required near | 239 | mean that extra synchronization instructions are required near |
@@ -258,26 +245,17 @@ config PPC601_SYNC_FIX | |||
258 | 245 | ||
259 | If in doubt, say Y here. | 246 | If in doubt, say Y here. |
260 | 247 | ||
261 | config HOTPLUG_CPU | ||
262 | bool "Support for enabling/disabling CPUs" | ||
263 | depends on SMP && HOTPLUG && EXPERIMENTAL && PPC_PMAC | ||
264 | ---help--- | ||
265 | Say Y here to be able to disable and re-enable individual | ||
266 | CPUs at runtime on SMP machines. | ||
267 | |||
268 | Say N if you are unsure. | ||
269 | |||
270 | source arch/ppc/platforms/4xx/Kconfig | 248 | source arch/ppc/platforms/4xx/Kconfig |
271 | source arch/ppc/platforms/85xx/Kconfig | 249 | source arch/ppc/platforms/85xx/Kconfig |
272 | 250 | ||
273 | config PPC64BRIDGE | 251 | config PPC64BRIDGE |
274 | bool | 252 | bool |
275 | depends on POWER3 || POWER4 | 253 | depends on POWER3 |
276 | default y | 254 | default y |
277 | 255 | ||
278 | config PPC_STD_MMU | 256 | config PPC_STD_MMU |
279 | bool | 257 | bool |
280 | depends on 6xx || POWER3 || POWER4 | 258 | depends on 6xx || POWER3 |
281 | default y | 259 | default y |
282 | 260 | ||
283 | config NOT_COHERENT_CACHE | 261 | config NOT_COHERENT_CACHE |
@@ -505,7 +483,7 @@ endchoice | |||
505 | 483 | ||
506 | choice | 484 | choice |
507 | prompt "Machine Type" | 485 | prompt "Machine Type" |
508 | depends on 6xx || POWER3 || POWER4 | 486 | depends on 6xx || POWER3 |
509 | default PPC_MULTIPLATFORM | 487 | default PPC_MULTIPLATFORM |
510 | ---help--- | 488 | ---help--- |
511 | Linux currently supports several different kinds of PowerPC-based | 489 | Linux currently supports several different kinds of PowerPC-based |
@@ -516,11 +494,15 @@ choice | |||
516 | Platform) machines (including all of the recent IBM RS/6000 and | 494 | Platform) machines (including all of the recent IBM RS/6000 and |
517 | pSeries machines), and several embedded PowerPC systems containing | 495 | pSeries machines), and several embedded PowerPC systems containing |
518 | 4xx, 6xx, 7xx, 8xx, 74xx, and 82xx processors. Currently, the | 496 | 4xx, 6xx, 7xx, 8xx, 74xx, and 82xx processors. Currently, the |
519 | default option is to build a kernel which works on the first three. | 497 | default option is to build a kernel which works on PReP and CHRP. |
520 | 498 | ||
521 | Select CHRP/PowerMac/PReP if configuring for an IBM RS/6000 or | 499 | Note that support for Apple machines is now only available with |
522 | pSeries machine, a Power Macintosh (including iMacs, iBooks and | 500 | ARCH=powerpc, and has been removed from this menu. If you wish |
523 | Powerbooks), or a PReP machine. | 501 | to build a kernel for an Apple machine, exit this configuration |
502 | process and re-run it with ARCH=powerpc. | ||
503 | |||
504 | Select CHRP/PReP if configuring for an IBM RS/6000 or | ||
505 | pSeries machine, or a PReP machine. | ||
524 | 506 | ||
525 | Select Gemini if configuring for a Synergy Microsystems' Gemini | 507 | Select Gemini if configuring for a Synergy Microsystems' Gemini |
526 | series Single Board Computer. More information is available at: | 508 | series Single Board Computer. More information is available at: |
@@ -530,7 +512,7 @@ choice | |||
530 | available at: <http://linux-apus.sourceforge.net/>. | 512 | available at: <http://linux-apus.sourceforge.net/>. |
531 | 513 | ||
532 | config PPC_MULTIPLATFORM | 514 | config PPC_MULTIPLATFORM |
533 | bool "CHRP/PowerMac/PReP" | 515 | bool "CHRP/PReP" |
534 | 516 | ||
535 | config APUS | 517 | config APUS |
536 | bool "Amiga-APUS" | 518 | bool "Amiga-APUS" |
@@ -768,25 +750,14 @@ config CPM2 | |||
768 | on it (826x, 827x, 8560). | 750 | on it (826x, 827x, 8560). |
769 | 751 | ||
770 | config PPC_CHRP | 752 | config PPC_CHRP |
771 | bool | 753 | bool "Support for CHRP (Common Hardware Reference Platform) machines" |
772 | depends on PPC_MULTIPLATFORM | 754 | depends on PPC_MULTIPLATFORM |
773 | select PPC_I8259 | 755 | select PPC_I8259 |
774 | select PPC_INDIRECT_PCI | 756 | select PPC_INDIRECT_PCI |
775 | default y | 757 | default y |
776 | 758 | ||
777 | config PPC_PMAC | ||
778 | bool | ||
779 | depends on PPC_MULTIPLATFORM | ||
780 | select PPC_INDIRECT_PCI | ||
781 | default y | ||
782 | |||
783 | config PPC_PMAC64 | ||
784 | bool | ||
785 | depends on PPC_PMAC && POWER4 | ||
786 | default y | ||
787 | |||
788 | config PPC_PREP | 759 | config PPC_PREP |
789 | bool | 760 | bool "Support for PReP (PowerPC Reference Platform) machines" |
790 | depends on PPC_MULTIPLATFORM | 761 | depends on PPC_MULTIPLATFORM |
791 | select PPC_I8259 | 762 | select PPC_I8259 |
792 | select PPC_INDIRECT_PCI | 763 | select PPC_INDIRECT_PCI |
@@ -794,7 +765,7 @@ config PPC_PREP | |||
794 | 765 | ||
795 | config PPC_OF | 766 | config PPC_OF |
796 | bool | 767 | bool |
797 | depends on PPC_PMAC || PPC_CHRP | 768 | depends on PPC_CHRP |
798 | default y | 769 | default y |
799 | 770 | ||
800 | config PPC_GEN550 | 771 | config PPC_GEN550 |
@@ -1166,7 +1137,7 @@ config ISA | |||
1166 | 1137 | ||
1167 | config GENERIC_ISA_DMA | 1138 | config GENERIC_ISA_DMA |
1168 | bool | 1139 | bool |
1169 | depends on POWER3 || POWER4 || 6xx && !CPM2 | 1140 | depends on POWER3 || 6xx && !CPM2 |
1170 | default y | 1141 | default y |
1171 | 1142 | ||
1172 | config PPC_I8259 | 1143 | config PPC_I8259 |