blob: 33545d352e9234af9d2d08e0820450bb31aef5be [file] [log] [blame]
Kumar Gala4330f5d2007-03-16 09:32:17 -05001menu "Platform support"
Kumar Gala4330f5d2007-03-16 09:32:17 -05002
3choice
4 prompt "Machine type"
Arnd Bergmannb9fd3052007-06-18 01:06:52 +02005 depends on PPC64 || 6xx
Kumar Gala4330f5d2007-03-16 09:32:17 -05006 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
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020019config PPC_82xx
20 bool "Freescale 82xx"
21 depends on 6xx
22
23config PPC_83xx
24 bool "Freescale 83xx"
25 depends on 6xx
26 select FSL_SOC
27 select 83xx
28 select WANT_DEVICE_TREE
29
30config PPC_86xx
31 bool "Freescale 86xx"
32 depends on 6xx
33 select FSL_SOC
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020034 select ALTIVEC
35 help
36 The Freescale E600 SoCs have 74xx cores.
Kumar Gala4330f5d2007-03-16 09:32:17 -050037endchoice
38
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020039config CLASSIC32
40 def_bool y
41 depends on 6xx && PPC_MULTIPLATFORM
42
Kumar Gala4330f5d2007-03-16 09:32:17 -050043source "arch/powerpc/platforms/pseries/Kconfig"
44source "arch/powerpc/platforms/iseries/Kconfig"
45source "arch/powerpc/platforms/chrp/Kconfig"
46source "arch/powerpc/platforms/52xx/Kconfig"
47source "arch/powerpc/platforms/powermac/Kconfig"
48source "arch/powerpc/platforms/prep/Kconfig"
49source "arch/powerpc/platforms/maple/Kconfig"
50source "arch/powerpc/platforms/pasemi/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050051source "arch/powerpc/platforms/celleb/Kconfig"
52source "arch/powerpc/platforms/ps3/Kconfig"
53source "arch/powerpc/platforms/cell/Kconfig"
Kumar Galac8a55f32007-04-12 17:35:54 -050054source "arch/powerpc/platforms/8xx/Kconfig"
Kumar Galad6071f82007-04-12 16:53:32 -050055source "arch/powerpc/platforms/82xx/Kconfig"
Kumar Galab5a48342007-04-12 15:46:21 -050056source "arch/powerpc/platforms/83xx/Kconfig"
Kumar Galadb947802007-04-12 17:44:07 -050057source "arch/powerpc/platforms/85xx/Kconfig"
Kumar Gala4a89f7f2007-04-12 15:41:26 -050058source "arch/powerpc/platforms/86xx/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050059source "arch/powerpc/platforms/embedded6xx/Kconfig"
David Gibsonf6dfc802007-05-08 14:10:01 +100060source "arch/powerpc/platforms/44x/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050061#source "arch/powerpc/platforms/4xx/Kconfig
Kumar Gala4330f5d2007-03-16 09:32:17 -050062
63config PPC_NATIVE
64 bool
65 depends on PPC_MULTIPLATFORM
66 help
67 Support for running natively on the hardware, i.e. without
68 a hypervisor. This option is not user-selectable but should
69 be selected by all platforms that need it.
70
71config UDBG_RTAS_CONSOLE
72 bool "RTAS based debug console"
73 depends on PPC_RTAS
74 default n
75
76config PPC_UDBG_BEAT
77 bool "BEAT based debug console"
78 depends on PPC_CELLEB
79 default n
80
81config XICS
82 depends on PPC_PSERIES
83 bool
84 default y
85
Kumar Gala98750262007-04-12 18:01:34 -050086config MPIC
87 bool
88 default n
89
90config MPIC_WEIRD
91 bool
92 default n
93
94config PPC_I8259
95 bool
96 default n
97
Kumar Gala4330f5d2007-03-16 09:32:17 -050098config U3_DART
99 bool
100 depends on PPC_MULTIPLATFORM && PPC64
101 default n
102
103config PPC_RTAS
104 bool
105 default n
106
107config RTAS_ERROR_LOGGING
108 bool
109 depends on PPC_RTAS
110 default n
111
112config RTAS_PROC
113 bool "Proc interface to RTAS"
114 depends on PPC_RTAS
115 default y
116
117config RTAS_FLASH
118 tristate "Firmware flash interface"
119 depends on PPC64 && RTAS_PROC
120
121config PPC_PMI
122 tristate "Support for PMI"
123 depends PPC_IBM_CELL_BLADE
124 help
125 PMI (Platform Management Interrupt) is a way to
126 communicate with the BMC (Baseboard Mangement Controller).
127 It is used in some IBM Cell blades.
128 default m
129
130config MMIO_NVRAM
131 bool
132 default n
133
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000134config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500135 bool
136 depends on PPC_MAPLE
137 default y
138
139config IBMVIO
140 depends on PPC_PSERIES || PPC_ISERIES
141 bool
142 default y
143
144config IBMEBUS
145 depends on PPC_PSERIES
146 bool "Support for GX bus based adapters"
147 help
148 Bus device driver for GX bus based adapters.
149
150config PPC_MPC106
151 bool
152 default n
153
154config PPC_970_NAP
155 bool
156 default n
157
158config PPC_INDIRECT_IO
159 bool
160 select GENERIC_IOMAP
161 default n
162
163config GENERIC_IOMAP
164 bool
165 default n
166
167source "drivers/cpufreq/Kconfig"
168
Olof Johanssonc146c952007-04-27 15:52:43 +1000169menu "CPU Frequency drivers"
170 depends on CPU_FREQ
171
Kumar Gala4330f5d2007-03-16 09:32:17 -0500172config CPU_FREQ_PMAC
173 bool "Support for Apple PowerBooks"
Olof Johanssonc146c952007-04-27 15:52:43 +1000174 depends on ADB_PMU && PPC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500175 select CPU_FREQ_TABLE
176 help
177 This adds support for frequency switching on Apple PowerBooks,
178 this currently includes some models of iBook & Titanium
179 PowerBook.
180
181config CPU_FREQ_PMAC64
182 bool "Support for some Apple G5s"
Olof Johanssonc146c952007-04-27 15:52:43 +1000183 depends on PPC_PMAC && PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500184 select CPU_FREQ_TABLE
185 help
186 This adds support for frequency switching on Apple iMac G5,
187 and some of the more recent desktop G5 machines as well.
Olof Johansson2e0c3372007-04-27 15:46:01 +1000188
189config PPC_PASEMI_CPUFREQ
190 bool "Support for PA Semi PWRficient"
Olof Johanssonc146c952007-04-27 15:52:43 +1000191 depends on PPC_PASEMI
Olof Johansson2e0c3372007-04-27 15:46:01 +1000192 default y
193 select CPU_FREQ_TABLE
194 help
195 This adds the support for frequency switching on PA Semi
196 PWRficient processors.
197
Kumar Gala164a4602007-04-12 15:35:50 -0500198endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500199
200config PPC601_SYNC_FIX
201 bool "Workarounds for PPC601 bugs"
202 depends on 6xx && (PPC_PREP || PPC_PMAC)
203 help
204 Some versions of the PPC601 (the first PowerPC chip) have bugs which
205 mean that extra synchronization instructions are required near
206 certain instructions, typically those that make major changes to the
207 CPU state. These extra instructions reduce performance slightly.
208 If you say N here, these extra instructions will not be included,
209 resulting in a kernel which will run faster but may not run at all
210 on some systems with the PPC601 chip.
211
212 If in doubt, say Y here.
213
214config TAU
215 bool "On-chip CPU temperature sensor support"
Kumar Gala164a4602007-04-12 15:35:50 -0500216 depends on CLASSIC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500217 help
218 G3 and G4 processors have an on-chip temperature sensor called the
219 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
220 temperature within 2-4 degrees Celsius. This option shows the current
221 on-die temperature in /proc/cpuinfo if the cpu supports it.
222
223 Unfortunately, on some chip revisions, this sensor is very inaccurate
224 and in many cases, does not work at all, so don't assume the cpu
225 temp is actually what /proc/cpuinfo says it is.
226
227config TAU_INT
228 bool "Interrupt driven TAU driver (DANGEROUS)"
229 depends on TAU
230 ---help---
231 The TAU supports an interrupt driven mode which causes an interrupt
232 whenever the temperature goes out of range. This is the fastest way
233 to get notified the temp has exceeded a range. With this option off,
234 a timer is used to re-check the temperature periodically.
235
236 However, on some cpus it appears that the TAU interrupt hardware
237 is buggy and can cause a situation which would lead unexplained hard
238 lockups.
239
240 Unless you are extending the TAU driver, or enjoy kernel/hardware
241 debugging, leave this option off.
242
243config TAU_AVERAGE
244 bool "Average high and low temp"
245 depends on TAU
246 ---help---
247 The TAU hardware can compare the temperature to an upper and lower
248 bound. The default behavior is to show both the upper and lower
249 bound in /proc/cpuinfo. If the range is large, the temperature is
250 either changing a lot, or the TAU hardware is broken (likely on some
251 G4's). If the range is small (around 4 degrees), the temperature is
252 relatively stable. If you say Y here, a single temperature value,
253 halfway between the upper and lower bounds, will be reported in
254 /proc/cpuinfo.
255
256 If in doubt, say N here.
257
Kumar Gala98750262007-04-12 18:01:34 -0500258config QUICC_ENGINE
259 bool
260 help
261 The QUICC Engine (QE) is a new generation of communications
262 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
263 Selecting this option means that you wish to build a kernel
264 for a machine with a QE coprocessor.
265
Kumar Galad6071f82007-04-12 16:53:32 -0500266config CPM2
267 bool
268 default n
269 help
270 The CPM2 (Communications Processor Module) is a coprocessor on
271 embedded CPUs made by Freescale. Selecting this option means that
272 you wish to build a kernel for a machine with a CPM2 coprocessor
273 on it (826x, 827x, 8560).
274
Kumar Gala4330f5d2007-03-16 09:32:17 -0500275endmenu