powerpc/mpic: Fix allocation of reverse-map for multi-ISU mpics
[linux-2.6-block.git] / arch / powerpc / platforms / Kconfig
CommitLineData
4330f5da 1menu "Platform support"
4330f5da 2
55190f88 3source "arch/powerpc/platforms/powernv/Kconfig"
4330f5da
KG
4source "arch/powerpc/platforms/pseries/Kconfig"
5source "arch/powerpc/platforms/iseries/Kconfig"
6source "arch/powerpc/platforms/chrp/Kconfig"
e177edcd 7source "arch/powerpc/platforms/512x/Kconfig"
4330f5da
KG
8source "arch/powerpc/platforms/52xx/Kconfig"
9source "arch/powerpc/platforms/powermac/Kconfig"
10source "arch/powerpc/platforms/prep/Kconfig"
11source "arch/powerpc/platforms/maple/Kconfig"
12source "arch/powerpc/platforms/pasemi/Kconfig"
98750261
KG
13source "arch/powerpc/platforms/ps3/Kconfig"
14source "arch/powerpc/platforms/cell/Kconfig"
c8a55f3d 15source "arch/powerpc/platforms/8xx/Kconfig"
d6071f88 16source "arch/powerpc/platforms/82xx/Kconfig"
b5a48346 17source "arch/powerpc/platforms/83xx/Kconfig"
db947808 18source "arch/powerpc/platforms/85xx/Kconfig"
4a89f7fa 19source "arch/powerpc/platforms/86xx/Kconfig"
98750261 20source "arch/powerpc/platforms/embedded6xx/Kconfig"
f6dfc805 21source "arch/powerpc/platforms/44x/Kconfig"
545c069c 22source "arch/powerpc/platforms/40x/Kconfig"
54b318aa 23source "arch/powerpc/platforms/amigaone/Kconfig"
a1d0d98d 24source "arch/powerpc/platforms/wsp/Kconfig"
4330f5da 25
d17051cb
AG
26config KVM_GUEST
27 bool "KVM Guest support"
643ba4e3 28 default n
d17051cb
AG
29 ---help---
30 This option enables various optimizations for running under the KVM
31 hypervisor. Overhead for the kernel when not running inside KVM should
32 be minimal.
33
34 In case of doubt, say Y
35
4330f5da
KG
36config PPC_NATIVE
37 bool
28794d34 38 depends on 6xx || PPC64
4330f5da
KG
39 help
40 Support for running natively on the hardware, i.e. without
41 a hypervisor. This option is not user-selectable but should
42 be selected by all platforms that need it.
43
28794d34
BH
44config PPC_OF_BOOT_TRAMPOLINE
45 bool "Support booting from Open Firmware or yaboot"
46 depends on 6xx || PPC64
47 default y
48 help
49 Support from booting from Open Firmware or yaboot using an
50 Open Firmware client interface. This enables the kernel to
f65e51d7 51 communicate with open firmware to retrieve system information
28794d34
BH
52 such as the device tree.
53
54 In case of doubt, say Y
55
4330f5da
KG
56config UDBG_RTAS_CONSOLE
57 bool "RTAS based debug console"
58 depends on PPC_RTAS
59 default n
60
1ece355b
MM
61config PPC_SMP_MUXED_IPI
62 bool
63 help
64 Select this opton if your platform supports SMP and your
65 interrupt controller provides less than 4 interrupts to each
66 cpu. This will enable the generic code to multiplex the 4
67 messages on to one ipi.
68
4330f5da
KG
69config PPC_UDBG_BEAT
70 bool "BEAT based debug console"
71 depends on PPC_CELLEB
72 default n
73
b0bbad60
JR
74config IPIC
75 bool
76 default n
77
98750261
KG
78config MPIC
79 bool
80 default n
81
3a93261f
AK
82config PPC_EPAPR_HV_PIC
83 bool
84 default n
85
98750261
KG
86config MPIC_WEIRD
87 bool
88 default n
89
90config PPC_I8259
91 bool
92 default n
93
4330f5da
KG
94config U3_DART
95 bool
28794d34 96 depends on PPC64
4330f5da
KG
97 default n
98
99config PPC_RTAS
100 bool
101 default n
102
103config RTAS_ERROR_LOGGING
104 bool
105 depends on PPC_RTAS
106 default n
107
3d541c4b
BH
108config PPC_RTAS_DAEMON
109 bool
110 depends on PPC_RTAS
111 default n
112
4330f5da
KG
113config RTAS_PROC
114 bool "Proc interface to RTAS"
115 depends on PPC_RTAS
116 default y
117
118config RTAS_FLASH
119 tristate "Firmware flash interface"
120 depends on PPC64 && RTAS_PROC
121
4330f5da
KG
122config MMIO_NVRAM
123 bool
124 default n
125
6cfef5b2 126config MPIC_U3_HT_IRQS
4330f5da 127 bool
314b389b 128 default n
4330f5da 129
0d72ba93
OJ
130config MPIC_BROKEN_REGREAD
131 bool
132 depends on MPIC
133 help
134 This option enables a MPIC driver workaround for some chips
135 that have a bug that causes some interrupt source information
136 to not read back properly. It is safe to use on other chips as
137 well, but enabling it uses about 8KB of memory to keep copies
138 of the register contents in software.
139
4330f5da
KG
140config IBMVIO
141 depends on PPC_PSERIES || PPC_ISERIES
142 bool
143 default y
144
145config IBMEBUS
146 depends on PPC_PSERIES
147 bool "Support for GX bus based adapters"
148 help
149 Bus device driver for GX bus based adapters.
150
151config PPC_MPC106
152 bool
153 default n
154
155config PPC_970_NAP
156 bool
157 default n
158
948cf67c
BH
159config PPC_P7_NAP
160 bool
161 default n
162
4330f5da
KG
163config PPC_INDIRECT_IO
164 bool
165 select GENERIC_IOMAP
21176fed
ME
166
167config PPC_INDIRECT_PIO
168 bool
169 select PPC_INDIRECT_IO
170
171config PPC_INDIRECT_MMIO
172 bool
173 select PPC_INDIRECT_IO
4330f5da 174
3cc30d07
ME
175config PPC_IO_WORKAROUNDS
176 bool
177
4330f5da
KG
178source "drivers/cpufreq/Kconfig"
179
c146c958
OJ
180menu "CPU Frequency drivers"
181 depends on CPU_FREQ
182
4330f5da
KG
183config CPU_FREQ_PMAC
184 bool "Support for Apple PowerBooks"
c146c958 185 depends on ADB_PMU && PPC32
4330f5da
KG
186 select CPU_FREQ_TABLE
187 help
188 This adds support for frequency switching on Apple PowerBooks,
189 this currently includes some models of iBook & Titanium
190 PowerBook.
191
192config CPU_FREQ_PMAC64
193 bool "Support for some Apple G5s"
c146c958 194 depends on PPC_PMAC && PPC64
4330f5da
KG
195 select CPU_FREQ_TABLE
196 help
197 This adds support for frequency switching on Apple iMac G5,
198 and some of the more recent desktop G5 machines as well.
2e0c3370
OJ
199
200config PPC_PASEMI_CPUFREQ
201 bool "Support for PA Semi PWRficient"
c146c958 202 depends on PPC_PASEMI
2e0c3370
OJ
203 default y
204 select CPU_FREQ_TABLE
205 help
206 This adds the support for frequency switching on PA Semi
207 PWRficient processors.
208
164a460d 209endmenu
4330f5da 210
e179816c
DD
211menu "CPUIdle driver"
212
213source "drivers/cpuidle/Kconfig"
214
215endmenu
216
4330f5da
KG
217config PPC601_SYNC_FIX
218 bool "Workarounds for PPC601 bugs"
219 depends on 6xx && (PPC_PREP || PPC_PMAC)
220 help
221 Some versions of the PPC601 (the first PowerPC chip) have bugs which
222 mean that extra synchronization instructions are required near
223 certain instructions, typically those that make major changes to the
224 CPU state. These extra instructions reduce performance slightly.
225 If you say N here, these extra instructions will not be included,
226 resulting in a kernel which will run faster but may not run at all
227 on some systems with the PPC601 chip.
228
229 If in doubt, say Y here.
230
231config TAU
232 bool "On-chip CPU temperature sensor support"
28794d34 233 depends on 6xx
4330f5da
KG
234 help
235 G3 and G4 processors have an on-chip temperature sensor called the
236 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
237 temperature within 2-4 degrees Celsius. This option shows the current
238 on-die temperature in /proc/cpuinfo if the cpu supports it.
239
240 Unfortunately, on some chip revisions, this sensor is very inaccurate
241 and in many cases, does not work at all, so don't assume the cpu
242 temp is actually what /proc/cpuinfo says it is.
243
244config TAU_INT
245 bool "Interrupt driven TAU driver (DANGEROUS)"
246 depends on TAU
247 ---help---
248 The TAU supports an interrupt driven mode which causes an interrupt
249 whenever the temperature goes out of range. This is the fastest way
250 to get notified the temp has exceeded a range. With this option off,
251 a timer is used to re-check the temperature periodically.
252
253 However, on some cpus it appears that the TAU interrupt hardware
254 is buggy and can cause a situation which would lead unexplained hard
255 lockups.
256
257 Unless you are extending the TAU driver, or enjoy kernel/hardware
258 debugging, leave this option off.
259
260config TAU_AVERAGE
261 bool "Average high and low temp"
262 depends on TAU
263 ---help---
264 The TAU hardware can compare the temperature to an upper and lower
265 bound. The default behavior is to show both the upper and lower
266 bound in /proc/cpuinfo. If the range is large, the temperature is
267 either changing a lot, or the TAU hardware is broken (likely on some
268 G4's). If the range is small (around 4 degrees), the temperature is
269 relatively stable. If you say Y here, a single temperature value,
270 halfway between the upper and lower bounds, will be reported in
271 /proc/cpuinfo.
272
273 If in doubt, say N here.
274
98750261 275config QUICC_ENGINE
4e330bcf 276 bool "Freescale QUICC Engine (QE) Support"
47fe819e 277 depends on FSL_SOC && PPC32
1088a209 278 select PPC_LIB_RHEAP
bc556ba9 279 select CRC32
98750261
KG
280 help
281 The QUICC Engine (QE) is a new generation of communications
282 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
283 Selecting this option means that you wish to build a kernel
284 for a machine with a QE coprocessor.
285
5c091193
AV
286config QE_GPIO
287 bool "QE GPIO support"
288 depends on QUICC_ENGINE
289 select GENERIC_GPIO
290 select ARCH_REQUIRE_GPIOLIB
291 help
292 Say Y here if you're going to use hardware that connects to the
293 QE GPIOs.
294
d6071f88 295config CPM2
b8b3caf3 296 bool "Enable support for the CPM2 (Communications Processor Module)"
5753c082 297 depends on (FSL_SOC_BOOKE && PPC32) || 8260
c374e00e 298 select CPM
1088a209 299 select PPC_LIB_RHEAP
b500563b 300 select PPC_PCI_CHOICE
e193325e
LP
301 select ARCH_REQUIRE_GPIOLIB
302 select GENERIC_GPIO
d6071f88
KG
303 help
304 The CPM2 (Communications Processor Module) is a coprocessor on
305 embedded CPUs made by Freescale. Selecting this option means that
306 you wish to build a kernel for a machine with a CPM2 coprocessor
307 on it (826x, 827x, 8560).
308
dbdf04c4
MS
309config AXON_RAM
310 tristate "Axon DDR2 memory device driver"
ebf0f334 311 depends on PPC_IBM_CELL_BLADE && BLOCK
dbdf04c4
MS
312 default m
313 help
314 It registers one block device per Axon's DDR2 memory bank found
315 on a system. Block devices are called axonram?, their major and
316 minor numbers are available in /proc/devices, /proc/partitions or
317 in /sys/block/axonram?/dev.
318
b66510cb
KG
319config FSL_ULI1575
320 bool
321 default n
fb4f0e88 322 select GENERIC_ISA_DMA
b66510cb
KG
323 help
324 Supports for the ULI1575 PCIe south bridge that exists on some
325 Freescale reference boards. The boards all use the ULI in pretty
326 much the same way.
327
c374e00e
SW
328config CPM
329 bool
80776554 330 select PPC_CLOCK
c374e00e 331
22258fa4
DG
332config OF_RTC
333 bool
334 help
692105b8 335 Uses information from the OF or flattened device tree to instantiate
22258fa4
DG
336 platform devices for direct mapped RTC chips like the DS1742 or DS1743.
337
2f9ea1bd
SM
338source "arch/powerpc/sysdev/bestcomm/Kconfig"
339
3d64de9c
AV
340config SIMPLE_GPIO
341 bool "Support for simple, memory-mapped GPIO controllers"
342 depends on PPC
343 select GENERIC_GPIO
344 select ARCH_REQUIRE_GPIOLIB
345 help
346 Say Y here to support simple, memory-mapped GPIO controllers.
347 These are usually BCSRs used to control board's switches, LEDs,
348 chip-selects, Ethernet/USB PHY's power and various other small
349 on-board peripherals.
350
ea0105ea 351config MCU_MPC8349EMITX
6ca6ca5d 352 bool "MPC8349E-mITX MCU driver"
82640a6b 353 depends on I2C=y && PPC_83xx
ea0105ea
AV
354 select GENERIC_GPIO
355 select ARCH_REQUIRE_GPIOLIB
356 help
357 Say Y here to enable soft power-off functionality on the Freescale
358 boards with the MPC8349E-mITX-compatible MCU chips. This driver will
359 also register MCU GPIOs with the generic GPIO API, so you'll able
360 to use MCU pins as GPIOs.
361
64f16502
RC
362config XILINX_PCI
363 bool "Xilinx PCI host bridge support"
364 depends on PCI && XILINX_VIRTEX
365
4330f5da 366endmenu