]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/powerpc/platforms/Kconfig
[POWERPC] Ensure platform CONFIG options have correct dependencies
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / Kconfig
1 menu "Platform support"
2         depends on PPC64 || CLASSIC32
3
4 choice
5         prompt "Machine type"
6         depends on PPC64 || CLASSIC32
7         default PPC_MULTIPLATFORM
8
9 config PPC_MULTIPLATFORM
10         bool "Generic desktop/server/laptop"
11         help
12           Select this option if configuring for an IBM pSeries or
13           RS/6000 machine, an Apple machine, or a PReP, CHRP,
14           Maple or Cell-based machine.
15
16 config EMBEDDED6xx
17         bool "Embedded 6xx/7xx/7xxx-based board"
18         depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
19
20 config APUS
21         bool "Amiga-APUS"
22         depends on PPC32 && BROKEN
23         help
24           Select APUS if configuring for a PowerUP Amiga.
25           More information is available at:
26           <http://linux-apus.sourceforge.net/>.
27 endchoice
28
29 config QUICC_ENGINE
30         bool
31         help
32           The QUICC Engine (QE) is a new generation of communications
33           coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
34           Selecting this option means that you wish to build a kernel
35           for a machine with a QE coprocessor.
36
37 source "arch/powerpc/platforms/pseries/Kconfig"
38 source "arch/powerpc/platforms/iseries/Kconfig"
39 source "arch/powerpc/platforms/chrp/Kconfig"
40 source "arch/powerpc/platforms/52xx/Kconfig"
41 source "arch/powerpc/platforms/powermac/Kconfig"
42 source "arch/powerpc/platforms/prep/Kconfig"
43 source "arch/powerpc/platforms/maple/Kconfig"
44 source "arch/powerpc/platforms/pasemi/Kconfig"
45 source arch/powerpc/platforms/celleb/Kconfig
46 source arch/powerpc/platforms/ps3/Kconfig
47 source arch/powerpc/platforms/cell/Kconfig
48
49 config PPC_NATIVE
50         bool
51         depends on PPC_MULTIPLATFORM
52         help
53           Support for running natively on the hardware, i.e. without
54           a hypervisor. This option is not user-selectable but should
55           be selected by all platforms that need it.
56
57 config UDBG_RTAS_CONSOLE
58         bool "RTAS based debug console"
59         depends on PPC_RTAS
60         default n
61
62 config PPC_UDBG_BEAT
63         bool "BEAT based debug console"
64         depends on PPC_CELLEB
65         default n
66
67 config XICS
68         depends on PPC_PSERIES
69         bool
70         default y
71
72 config U3_DART
73         bool
74         depends on PPC_MULTIPLATFORM && PPC64
75         default n
76
77 config PPC_RTAS
78         bool
79         default n
80
81 config RTAS_ERROR_LOGGING
82         bool
83         depends on PPC_RTAS
84         default n
85
86 config RTAS_PROC
87         bool "Proc interface to RTAS"
88         depends on PPC_RTAS
89         default y
90
91 config RTAS_FLASH
92         tristate "Firmware flash interface"
93         depends on PPC64 && RTAS_PROC
94
95 config PPC_PMI
96         tristate "Support for PMI"
97         depends PPC_IBM_CELL_BLADE
98         help
99           PMI (Platform Management Interrupt) is a way to
100           communicate with the BMC (Baseboard Mangement Controller).
101           It is used in some IBM Cell blades.
102         default m
103
104 config MMIO_NVRAM
105         bool
106         default n
107
108 config MPIC_BROKEN_U3
109         bool
110         depends on PPC_MAPLE
111         default y
112
113 config IBMVIO
114         depends on PPC_PSERIES || PPC_ISERIES
115         bool
116         default y
117
118 config IBMEBUS
119         depends on PPC_PSERIES
120         bool "Support for GX bus based adapters"
121         help
122           Bus device driver for GX bus based adapters.
123
124 config PPC_MPC106
125         bool
126         default n
127
128 config PPC_970_NAP
129         bool
130         default n
131
132 config PPC_INDIRECT_IO
133         bool
134         select GENERIC_IOMAP
135         default n
136
137 config GENERIC_IOMAP
138         bool
139         default n
140
141 menu "CPU Frequency support"
142         depends on PPC64 || CLASSIC32
143
144 source "drivers/cpufreq/Kconfig"
145
146 config CPU_FREQ_PMAC
147         bool "Support for Apple PowerBooks"
148         depends on CPU_FREQ && ADB_PMU && PPC32
149         select CPU_FREQ_TABLE
150         help
151           This adds support for frequency switching on Apple PowerBooks,
152           this currently includes some models of iBook & Titanium
153           PowerBook.
154
155 config CPU_FREQ_PMAC64
156         bool "Support for some Apple G5s"
157         depends on CPU_FREQ && PPC64
158         select CPU_FREQ_TABLE
159         help
160           This adds support for frequency switching on Apple iMac G5,
161           and some of the more recent desktop G5 machines as well.
162 endmenu
163
164 config PPC601_SYNC_FIX
165         bool "Workarounds for PPC601 bugs"
166         depends on 6xx && (PPC_PREP || PPC_PMAC)
167         help
168           Some versions of the PPC601 (the first PowerPC chip) have bugs which
169           mean that extra synchronization instructions are required near
170           certain instructions, typically those that make major changes to the
171           CPU state.  These extra instructions reduce performance slightly.
172           If you say N here, these extra instructions will not be included,
173           resulting in a kernel which will run faster but may not run at all
174           on some systems with the PPC601 chip.
175
176           If in doubt, say Y here.
177
178 config TAU
179         bool "On-chip CPU temperature sensor support"
180         depends on CLASSIC32
181         help
182           G3 and G4 processors have an on-chip temperature sensor called the
183           'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
184           temperature within 2-4 degrees Celsius. This option shows the current
185           on-die temperature in /proc/cpuinfo if the cpu supports it.
186
187           Unfortunately, on some chip revisions, this sensor is very inaccurate
188           and in many cases, does not work at all, so don't assume the cpu
189           temp is actually what /proc/cpuinfo says it is.
190
191 config TAU_INT
192         bool "Interrupt driven TAU driver (DANGEROUS)"
193         depends on TAU
194         ---help---
195           The TAU supports an interrupt driven mode which causes an interrupt
196           whenever the temperature goes out of range. This is the fastest way
197           to get notified the temp has exceeded a range. With this option off,
198           a timer is used to re-check the temperature periodically.
199
200           However, on some cpus it appears that the TAU interrupt hardware
201           is buggy and can cause a situation which would lead unexplained hard
202           lockups.
203
204           Unless you are extending the TAU driver, or enjoy kernel/hardware
205           debugging, leave this option off.
206
207 config TAU_AVERAGE
208         bool "Average high and low temp"
209         depends on TAU
210         ---help---
211           The TAU hardware can compare the temperature to an upper and lower
212           bound.  The default behavior is to show both the upper and lower
213           bound in /proc/cpuinfo. If the range is large, the temperature is
214           either changing a lot, or the TAU hardware is broken (likely on some
215           G4's). If the range is small (around 4 degrees), the temperature is
216           relatively stable.  If you say Y here, a single temperature value,
217           halfway between the upper and lower bounds, will be reported in
218           /proc/cpuinfo.
219
220           If in doubt, say N here.
221
222 endmenu