aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-03-16 10:32:17 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-03-22 11:09:42 -0400
commit4330f5da98eb91392c7a7b00c22a24c57079c0fc (patch)
tree98bca0b54f22160df5563a468e2e6379c19438a0 /arch/powerpc
parent35a1245ad09412ffba2f17631a9fb3cae3d5a5ac (diff)
[POWERPC] Created arch/powerpc/platforms/Kconfig for "Platform support"
Split "Platform support" menu out from arch/powerpc/Kconfig into arch/powerpc/platforms/Kconfig in prep for allowing other sub-arches to be configured via a single "Platform support" menu. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/Kconfig220
-rw-r--r--arch/powerpc/platforms/Kconfig219
2 files changed, 220 insertions, 219 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index c5014ba19fd5..20aae16cbadf 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -367,225 +367,7 @@ endmenu
367 367
368source "init/Kconfig" 368source "init/Kconfig"
369 369
370menu "Platform support" 370source "arch/powerpc/platforms/Kconfig"
371 depends on PPC64 || CLASSIC32
372
373choice
374 prompt "Machine type"
375 default PPC_MULTIPLATFORM
376
377config PPC_MULTIPLATFORM
378 bool "Generic desktop/server/laptop"
379 help
380 Select this option if configuring for an IBM pSeries or
381 RS/6000 machine, an Apple machine, or a PReP, CHRP,
382 Maple or Cell-based machine.
383
384config EMBEDDED6xx
385 bool "Embedded 6xx/7xx/7xxx-based board"
386 depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
387
388config APUS
389 bool "Amiga-APUS"
390 depends on PPC32 && BROKEN
391 help
392 Select APUS if configuring for a PowerUP Amiga.
393 More information is available at:
394 <http://linux-apus.sourceforge.net/>.
395endchoice
396
397config QUICC_ENGINE
398 bool
399 depends on PPC_MPC836x || PPC_MPC832x
400 default y
401 help
402 The QUICC Engine (QE) is a new generation of communications
403 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
404 Selecting this option means that you wish to build a kernel
405 for a machine with a QE coprocessor.
406
407source "arch/powerpc/platforms/pseries/Kconfig"
408source "arch/powerpc/platforms/iseries/Kconfig"
409source "arch/powerpc/platforms/chrp/Kconfig"
410source "arch/powerpc/platforms/52xx/Kconfig"
411source "arch/powerpc/platforms/powermac/Kconfig"
412source "arch/powerpc/platforms/prep/Kconfig"
413source "arch/powerpc/platforms/maple/Kconfig"
414source "arch/powerpc/platforms/pasemi/Kconfig"
415source arch/powerpc/platforms/celleb/Kconfig
416source arch/powerpc/platforms/ps3/Kconfig
417source arch/powerpc/platforms/cell/Kconfig
418
419config PPC_NATIVE
420 bool
421 depends on PPC_MULTIPLATFORM
422 help
423 Support for running natively on the hardware, i.e. without
424 a hypervisor. This option is not user-selectable but should
425 be selected by all platforms that need it.
426
427config UDBG_RTAS_CONSOLE
428 bool "RTAS based debug console"
429 depends on PPC_RTAS
430 default n
431
432config PPC_UDBG_BEAT
433 bool "BEAT based debug console"
434 depends on PPC_CELLEB
435 default n
436
437config XICS
438 depends on PPC_PSERIES
439 bool
440 default y
441
442config U3_DART
443 bool
444 depends on PPC_MULTIPLATFORM && PPC64
445 default n
446
447config PPC_RTAS
448 bool
449 default n
450
451config RTAS_ERROR_LOGGING
452 bool
453 depends on PPC_RTAS
454 default n
455
456config RTAS_PROC
457 bool "Proc interface to RTAS"
458 depends on PPC_RTAS
459 default y
460
461config RTAS_FLASH
462 tristate "Firmware flash interface"
463 depends on PPC64 && RTAS_PROC
464
465config PPC_PMI
466 tristate "Support for PMI"
467 depends PPC_IBM_CELL_BLADE
468 help
469 PMI (Platform Management Interrupt) is a way to
470 communicate with the BMC (Baseboard Mangement Controller).
471 It is used in some IBM Cell blades.
472 default m
473
474config MMIO_NVRAM
475 bool
476 default n
477
478config MPIC_BROKEN_U3
479 bool
480 depends on PPC_MAPLE
481 default y
482
483config IBMVIO
484 depends on PPC_PSERIES || PPC_ISERIES
485 bool
486 default y
487
488config IBMEBUS
489 depends on PPC_PSERIES
490 bool "Support for GX bus based adapters"
491 help
492 Bus device driver for GX bus based adapters.
493
494config PPC_MPC106
495 bool
496 default n
497
498config PPC_970_NAP
499 bool
500 default n
501
502config PPC_INDIRECT_IO
503 bool
504 select GENERIC_IOMAP
505 default n
506
507config GENERIC_IOMAP
508 bool
509 default n
510
511source "drivers/cpufreq/Kconfig"
512
513config CPU_FREQ_PMAC
514 bool "Support for Apple PowerBooks"
515 depends on CPU_FREQ && ADB_PMU && PPC32
516 select CPU_FREQ_TABLE
517 help
518 This adds support for frequency switching on Apple PowerBooks,
519 this currently includes some models of iBook & Titanium
520 PowerBook.
521
522config CPU_FREQ_PMAC64
523 bool "Support for some Apple G5s"
524 depends on CPU_FREQ && PPC64
525 select CPU_FREQ_TABLE
526 help
527 This adds support for frequency switching on Apple iMac G5,
528 and some of the more recent desktop G5 machines as well.
529
530config PPC601_SYNC_FIX
531 bool "Workarounds for PPC601 bugs"
532 depends on 6xx && (PPC_PREP || PPC_PMAC)
533 help
534 Some versions of the PPC601 (the first PowerPC chip) have bugs which
535 mean that extra synchronization instructions are required near
536 certain instructions, typically those that make major changes to the
537 CPU state. These extra instructions reduce performance slightly.
538 If you say N here, these extra instructions will not be included,
539 resulting in a kernel which will run faster but may not run at all
540 on some systems with the PPC601 chip.
541
542 If in doubt, say Y here.
543
544config TAU
545 bool "On-chip CPU temperature sensor support"
546 depends on 6xx
547 help
548 G3 and G4 processors have an on-chip temperature sensor called the
549 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
550 temperature within 2-4 degrees Celsius. This option shows the current
551 on-die temperature in /proc/cpuinfo if the cpu supports it.
552
553 Unfortunately, on some chip revisions, this sensor is very inaccurate
554 and in many cases, does not work at all, so don't assume the cpu
555 temp is actually what /proc/cpuinfo says it is.
556
557config TAU_INT
558 bool "Interrupt driven TAU driver (DANGEROUS)"
559 depends on TAU
560 ---help---
561 The TAU supports an interrupt driven mode which causes an interrupt
562 whenever the temperature goes out of range. This is the fastest way
563 to get notified the temp has exceeded a range. With this option off,
564 a timer is used to re-check the temperature periodically.
565
566 However, on some cpus it appears that the TAU interrupt hardware
567 is buggy and can cause a situation which would lead unexplained hard
568 lockups.
569
570 Unless you are extending the TAU driver, or enjoy kernel/hardware
571 debugging, leave this option off.
572
573config TAU_AVERAGE
574 bool "Average high and low temp"
575 depends on TAU
576 ---help---
577 The TAU hardware can compare the temperature to an upper and lower
578 bound. The default behavior is to show both the upper and lower
579 bound in /proc/cpuinfo. If the range is large, the temperature is
580 either changing a lot, or the TAU hardware is broken (likely on some
581 G4's). If the range is small (around 4 degrees), the temperature is
582 relatively stable. If you say Y here, a single temperature value,
583 halfway between the upper and lower bounds, will be reported in
584 /proc/cpuinfo.
585
586 If in doubt, say N here.
587
588endmenu
589 371
590source arch/powerpc/platforms/embedded6xx/Kconfig 372source arch/powerpc/platforms/embedded6xx/Kconfig
591source arch/powerpc/platforms/4xx/Kconfig 373source arch/powerpc/platforms/4xx/Kconfig
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
new file mode 100644
index 000000000000..388a1bdd28e0
--- /dev/null
+++ b/arch/powerpc/platforms/Kconfig
@@ -0,0 +1,219 @@
1menu "Platform support"
2 depends on PPC64 || CLASSIC32
3
4choice
5 prompt "Machine type"
6 default PPC_MULTIPLATFORM
7
8config PPC_MULTIPLATFORM
9 bool "Generic desktop/server/laptop"
10 help
11 Select this option if configuring for an IBM pSeries or
12 RS/6000 machine, an Apple machine, or a PReP, CHRP,
13 Maple or Cell-based machine.
14
15config EMBEDDED6xx
16 bool "Embedded 6xx/7xx/7xxx-based board"
17 depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
18
19config APUS
20 bool "Amiga-APUS"
21 depends on PPC32 && BROKEN
22 help
23 Select APUS if configuring for a PowerUP Amiga.
24 More information is available at:
25 <http://linux-apus.sourceforge.net/>.
26endchoice
27
28config QUICC_ENGINE
29 bool
30 depends on PPC_MPC836x || PPC_MPC832x
31 default y
32 help
33 The QUICC Engine (QE) is a new generation of communications
34 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
35 Selecting this option means that you wish to build a kernel
36 for a machine with a QE coprocessor.
37
38source "arch/powerpc/platforms/pseries/Kconfig"
39source "arch/powerpc/platforms/iseries/Kconfig"
40source "arch/powerpc/platforms/chrp/Kconfig"
41source "arch/powerpc/platforms/52xx/Kconfig"
42source "arch/powerpc/platforms/powermac/Kconfig"
43source "arch/powerpc/platforms/prep/Kconfig"
44source "arch/powerpc/platforms/maple/Kconfig"
45source "arch/powerpc/platforms/pasemi/Kconfig"
46source arch/powerpc/platforms/celleb/Kconfig
47source arch/powerpc/platforms/ps3/Kconfig
48source arch/powerpc/platforms/cell/Kconfig
49
50config PPC_NATIVE
51 bool
52 depends on PPC_MULTIPLATFORM
53 help
54 Support for running natively on the hardware, i.e. without
55 a hypervisor. This option is not user-selectable but should
56 be selected by all platforms that need it.
57
58config UDBG_RTAS_CONSOLE
59 bool "RTAS based debug console"
60 depends on PPC_RTAS
61 default n
62
63config PPC_UDBG_BEAT
64 bool "BEAT based debug console"
65 depends on PPC_CELLEB
66 default n
67
68config XICS
69 depends on PPC_PSERIES
70 bool
71 default y
72
73config U3_DART
74 bool
75 depends on PPC_MULTIPLATFORM && PPC64
76 default n
77
78config PPC_RTAS
79 bool
80 default n
81
82config RTAS_ERROR_LOGGING
83 bool
84 depends on PPC_RTAS
85 default n
86
87config RTAS_PROC
88 bool "Proc interface to RTAS"
89 depends on PPC_RTAS
90 default y
91
92config RTAS_FLASH
93 tristate "Firmware flash interface"
94 depends on PPC64 && RTAS_PROC
95
96config PPC_PMI
97 tristate "Support for PMI"
98 depends PPC_IBM_CELL_BLADE
99 help
100 PMI (Platform Management Interrupt) is a way to
101 communicate with the BMC (Baseboard Mangement Controller).
102 It is used in some IBM Cell blades.
103 default m
104
105config MMIO_NVRAM
106 bool
107 default n
108
109config MPIC_BROKEN_U3
110 bool
111 depends on PPC_MAPLE
112 default y
113
114config IBMVIO
115 depends on PPC_PSERIES || PPC_ISERIES
116 bool
117 default y
118
119config IBMEBUS
120 depends on PPC_PSERIES
121 bool "Support for GX bus based adapters"
122 help
123 Bus device driver for GX bus based adapters.
124
125config PPC_MPC106
126 bool
127 default n
128
129config PPC_970_NAP
130 bool
131 default n
132
133config PPC_INDIRECT_IO
134 bool
135 select GENERIC_IOMAP
136 default n
137
138config GENERIC_IOMAP
139 bool
140 default n
141
142source "drivers/cpufreq/Kconfig"
143
144config CPU_FREQ_PMAC
145 bool "Support for Apple PowerBooks"
146 depends on CPU_FREQ && ADB_PMU && PPC32
147 select CPU_FREQ_TABLE
148 help
149 This adds support for frequency switching on Apple PowerBooks,
150 this currently includes some models of iBook & Titanium
151 PowerBook.
152
153config CPU_FREQ_PMAC64
154 bool "Support for some Apple G5s"
155 depends on CPU_FREQ && PPC64
156 select CPU_FREQ_TABLE
157 help
158 This adds support for frequency switching on Apple iMac G5,
159 and some of the more recent desktop G5 machines as well.
160
161config PPC601_SYNC_FIX
162 bool "Workarounds for PPC601 bugs"
163 depends on 6xx && (PPC_PREP || PPC_PMAC)
164 help
165 Some versions of the PPC601 (the first PowerPC chip) have bugs which
166 mean that extra synchronization instructions are required near
167 certain instructions, typically those that make major changes to the
168 CPU state. These extra instructions reduce performance slightly.
169 If you say N here, these extra instructions will not be included,
170 resulting in a kernel which will run faster but may not run at all
171 on some systems with the PPC601 chip.
172
173 If in doubt, say Y here.
174
175config TAU
176 bool "On-chip CPU temperature sensor support"
177 depends on 6xx
178 help
179 G3 and G4 processors have an on-chip temperature sensor called the
180 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
181 temperature within 2-4 degrees Celsius. This option shows the current
182 on-die temperature in /proc/cpuinfo if the cpu supports it.
183
184 Unfortunately, on some chip revisions, this sensor is very inaccurate
185 and in many cases, does not work at all, so don't assume the cpu
186 temp is actually what /proc/cpuinfo says it is.
187
188config TAU_INT
189 bool "Interrupt driven TAU driver (DANGEROUS)"
190 depends on TAU
191 ---help---
192 The TAU supports an interrupt driven mode which causes an interrupt
193 whenever the temperature goes out of range. This is the fastest way
194 to get notified the temp has exceeded a range. With this option off,
195 a timer is used to re-check the temperature periodically.
196
197 However, on some cpus it appears that the TAU interrupt hardware
198 is buggy and can cause a situation which would lead unexplained hard
199 lockups.
200
201 Unless you are extending the TAU driver, or enjoy kernel/hardware
202 debugging, leave this option off.
203
204config TAU_AVERAGE
205 bool "Average high and low temp"
206 depends on TAU
207 ---help---
208 The TAU hardware can compare the temperature to an upper and lower
209 bound. The default behavior is to show both the upper and lower
210 bound in /proc/cpuinfo. If the range is large, the temperature is
211 either changing a lot, or the TAU hardware is broken (likely on some
212 G4's). If the range is small (around 4 degrees), the temperature is
213 relatively stable. If you say Y here, a single temperature value,
214 halfway between the upper and lower bounds, will be reported in
215 /proc/cpuinfo.
216
217 If in doubt, say N here.
218
219endmenu