blob: 31e1adeaa92a371b334d1c3329f6550d5f3edaec [file] [log] [blame]
Kumar Gala4330f5d2007-03-16 09:32:17 -05001menu "Platform support"
Kumar Gala4330f5d2007-03-16 09:32:17 -05002
Benjamin Herrenschmidt55190f82011-09-19 17:44:52 +00003source "arch/powerpc/platforms/powernv/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -05004source "arch/powerpc/platforms/pseries/Kconfig"
5source "arch/powerpc/platforms/iseries/Kconfig"
6source "arch/powerpc/platforms/chrp/Kconfig"
John Rigbye177edc2008-01-29 04:28:53 +11007source "arch/powerpc/platforms/512x/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -05008source "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"
Kumar Gala98750262007-04-12 18:01:34 -050013source "arch/powerpc/platforms/ps3/Kconfig"
14source "arch/powerpc/platforms/cell/Kconfig"
Kumar Galac8a55f32007-04-12 17:35:54 -050015source "arch/powerpc/platforms/8xx/Kconfig"
Kumar Galad6071f82007-04-12 16:53:32 -050016source "arch/powerpc/platforms/82xx/Kconfig"
Kumar Galab5a48342007-04-12 15:46:21 -050017source "arch/powerpc/platforms/83xx/Kconfig"
Kumar Galadb947802007-04-12 17:44:07 -050018source "arch/powerpc/platforms/85xx/Kconfig"
Kumar Gala4a89f7f2007-04-12 15:41:26 -050019source "arch/powerpc/platforms/86xx/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050020source "arch/powerpc/platforms/embedded6xx/Kconfig"
David Gibsonf6dfc802007-05-08 14:10:01 +100021source "arch/powerpc/platforms/44x/Kconfig"
Josh Boyer545c0692007-09-07 07:51:24 -050022source "arch/powerpc/platforms/40x/Kconfig"
Gerhard Pircher54b318a2009-02-10 12:20:49 +000023source "arch/powerpc/platforms/amigaone/Kconfig"
David Gibsona1d0d982011-04-14 22:32:06 +000024source "arch/powerpc/platforms/wsp/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050025
Alexander Grafd17051c2010-07-29 14:47:57 +020026config KVM_GUEST
27 bool "KVM Guest support"
Anton Blanchard643ba4e2011-08-04 17:23:58 +000028 default n
Alexander Grafd17051c2010-07-29 14:47:57 +020029 ---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
Kumar Gala4330f5d2007-03-16 09:32:17 -050036config PPC_NATIVE
37 bool
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000038 depends on 6xx || PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -050039 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
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000044config 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
Sylvestre Ledruf65e51d2011-04-04 15:04:46 -070051 communicate with open firmware to retrieve system information
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000052 such as the device tree.
53
54 In case of doubt, say Y
55
Kumar Gala4330f5d2007-03-16 09:32:17 -050056config UDBG_RTAS_CONSOLE
57 bool "RTAS based debug console"
58 depends on PPC_RTAS
59 default n
60
Milton Miller1ece3552011-05-10 19:29:42 +000061config 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
Kumar Gala4330f5d2007-03-16 09:32:17 -050069config PPC_UDBG_BEAT
70 bool "BEAT based debug console"
71 depends on PPC_CELLEB
72 default n
73
John Rigbyb0bbad62008-01-17 17:05:31 -070074config IPIC
75 bool
76 default n
77
Kumar Gala98750262007-04-12 18:01:34 -050078config MPIC
79 bool
80 default n
81
Ashish Kalra3a932612011-05-19 08:54:28 -050082config PPC_EPAPR_HV_PIC
83 bool
84 default n
85
Kumar Gala98750262007-04-12 18:01:34 -050086config MPIC_WEIRD
87 bool
88 default n
89
90config PPC_I8259
91 bool
92 default n
93
Kumar Gala4330f5d2007-03-16 09:32:17 -050094config U3_DART
95 bool
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000096 depends on PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -050097 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
Benjamin Herrenschmidt3d541c42009-09-24 19:30:05 +0000108config PPC_RTAS_DAEMON
109 bool
110 depends on PPC_RTAS
111 default n
112
Kumar Gala4330f5d2007-03-16 09:32:17 -0500113config 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
Kumar Gala4330f5d2007-03-16 09:32:17 -0500122config MMIO_NVRAM
123 bool
124 default n
125
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000126config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500127 bool
Andreas Schwab314b3892010-08-23 07:36:41 +0000128 default n
Kumar Gala4330f5d2007-03-16 09:32:17 -0500129
Olof Johansson0d72ba92007-09-08 05:13:19 +1000130config 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
Kumar Gala4330f5d2007-03-16 09:32:17 -0500140config 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
Benjamin Herrenschmidt948cf672011-01-24 18:42:41 +1100159config PPC_P7_NAP
160 bool
161 default n
162
Kumar Gala4330f5d2007-03-16 09:32:17 -0500163config PPC_INDIRECT_IO
164 bool
165 select GENERIC_IOMAP
Michael Ellerman21176fe2011-04-11 21:25:01 +0000166
167config PPC_INDIRECT_PIO
168 bool
169 select PPC_INDIRECT_IO
170
171config PPC_INDIRECT_MMIO
172 bool
173 select PPC_INDIRECT_IO
Kumar Gala4330f5d2007-03-16 09:32:17 -0500174
Michael Ellerman3cc30d02011-04-11 21:25:01 +0000175config PPC_IO_WORKAROUNDS
176 bool
177
Kumar Gala4330f5d2007-03-16 09:32:17 -0500178config GENERIC_IOMAP
179 bool
Kumar Gala4330f5d2007-03-16 09:32:17 -0500180
181source "drivers/cpufreq/Kconfig"
182
Olof Johanssonc146c952007-04-27 15:52:43 +1000183menu "CPU Frequency drivers"
184 depends on CPU_FREQ
185
Kumar Gala4330f5d2007-03-16 09:32:17 -0500186config CPU_FREQ_PMAC
187 bool "Support for Apple PowerBooks"
Olof Johanssonc146c952007-04-27 15:52:43 +1000188 depends on ADB_PMU && PPC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500189 select CPU_FREQ_TABLE
190 help
191 This adds support for frequency switching on Apple PowerBooks,
192 this currently includes some models of iBook & Titanium
193 PowerBook.
194
195config CPU_FREQ_PMAC64
196 bool "Support for some Apple G5s"
Olof Johanssonc146c952007-04-27 15:52:43 +1000197 depends on PPC_PMAC && PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500198 select CPU_FREQ_TABLE
199 help
200 This adds support for frequency switching on Apple iMac G5,
201 and some of the more recent desktop G5 machines as well.
Olof Johansson2e0c3372007-04-27 15:46:01 +1000202
203config PPC_PASEMI_CPUFREQ
204 bool "Support for PA Semi PWRficient"
Olof Johanssonc146c952007-04-27 15:52:43 +1000205 depends on PPC_PASEMI
Olof Johansson2e0c3372007-04-27 15:46:01 +1000206 default y
207 select CPU_FREQ_TABLE
208 help
209 This adds the support for frequency switching on PA Semi
210 PWRficient processors.
211
Kumar Gala164a4602007-04-12 15:35:50 -0500212endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500213
Deepthi Dharware1798162011-11-30 02:46:55 +0000214menu "CPUIdle driver"
215
216source "drivers/cpuidle/Kconfig"
217
218endmenu
219
Kumar Gala4330f5d2007-03-16 09:32:17 -0500220config PPC601_SYNC_FIX
221 bool "Workarounds for PPC601 bugs"
222 depends on 6xx && (PPC_PREP || PPC_PMAC)
223 help
224 Some versions of the PPC601 (the first PowerPC chip) have bugs which
225 mean that extra synchronization instructions are required near
226 certain instructions, typically those that make major changes to the
227 CPU state. These extra instructions reduce performance slightly.
228 If you say N here, these extra instructions will not be included,
229 resulting in a kernel which will run faster but may not run at all
230 on some systems with the PPC601 chip.
231
232 If in doubt, say Y here.
233
234config TAU
235 bool "On-chip CPU temperature sensor support"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +0000236 depends on 6xx
Kumar Gala4330f5d2007-03-16 09:32:17 -0500237 help
238 G3 and G4 processors have an on-chip temperature sensor called the
239 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
240 temperature within 2-4 degrees Celsius. This option shows the current
241 on-die temperature in /proc/cpuinfo if the cpu supports it.
242
243 Unfortunately, on some chip revisions, this sensor is very inaccurate
244 and in many cases, does not work at all, so don't assume the cpu
245 temp is actually what /proc/cpuinfo says it is.
246
247config TAU_INT
248 bool "Interrupt driven TAU driver (DANGEROUS)"
249 depends on TAU
250 ---help---
251 The TAU supports an interrupt driven mode which causes an interrupt
252 whenever the temperature goes out of range. This is the fastest way
253 to get notified the temp has exceeded a range. With this option off,
254 a timer is used to re-check the temperature periodically.
255
256 However, on some cpus it appears that the TAU interrupt hardware
257 is buggy and can cause a situation which would lead unexplained hard
258 lockups.
259
260 Unless you are extending the TAU driver, or enjoy kernel/hardware
261 debugging, leave this option off.
262
263config TAU_AVERAGE
264 bool "Average high and low temp"
265 depends on TAU
266 ---help---
267 The TAU hardware can compare the temperature to an upper and lower
268 bound. The default behavior is to show both the upper and lower
269 bound in /proc/cpuinfo. If the range is large, the temperature is
270 either changing a lot, or the TAU hardware is broken (likely on some
271 G4's). If the range is small (around 4 degrees), the temperature is
272 relatively stable. If you say Y here, a single temperature value,
273 halfway between the upper and lower bounds, will be reported in
274 /proc/cpuinfo.
275
276 If in doubt, say N here.
277
Kumar Gala98750262007-04-12 18:01:34 -0500278config QUICC_ENGINE
Timur Tabi4e330bc2008-10-03 11:14:10 -0500279 bool "Freescale QUICC Engine (QE) Support"
Kumar Gala47fe8192011-05-20 00:00:21 -0500280 depends on FSL_SOC && PPC32
Sylvain Munaut1088a202007-09-16 20:53:25 +1000281 select PPC_LIB_RHEAP
Timur Tabibc556ba2008-01-08 10:30:58 -0600282 select CRC32
Kumar Gala98750262007-04-12 18:01:34 -0500283 help
284 The QUICC Engine (QE) is a new generation of communications
285 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
286 Selecting this option means that you wish to build a kernel
287 for a machine with a QE coprocessor.
288
Anton Vorontsov5c091192008-10-03 23:40:36 +0400289config QE_GPIO
290 bool "QE GPIO support"
291 depends on QUICC_ENGINE
292 select GENERIC_GPIO
293 select ARCH_REQUIRE_GPIOLIB
294 help
295 Say Y here if you're going to use hardware that connects to the
296 QE GPIOs.
297
Kumar Galad6071f82007-04-12 16:53:32 -0500298config CPM2
Paul Gortmakerb8b3caf2008-01-24 18:41:25 -0500299 bool "Enable support for the CPM2 (Communications Processor Module)"
Kumar Gala5753c082009-10-16 18:31:48 -0500300 depends on (FSL_SOC_BOOKE && PPC32) || 8260
Scott Woodc374e002007-07-16 11:43:43 -0500301 select CPM
Sylvain Munaut1088a202007-09-16 20:53:25 +1000302 select PPC_LIB_RHEAP
John Rigbyb5005632008-06-26 11:07:56 -0600303 select PPC_PCI_CHOICE
Laurent Pincharte1933252008-07-28 10:43:22 +0200304 select ARCH_REQUIRE_GPIOLIB
305 select GENERIC_GPIO
Kumar Galad6071f82007-04-12 16:53:32 -0500306 help
307 The CPM2 (Communications Processor Module) is a coprocessor on
308 embedded CPUs made by Freescale. Selecting this option means that
309 you wish to build a kernel for a machine with a CPM2 coprocessor
310 on it (826x, 827x, 8560).
311
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200312config AXON_RAM
313 tristate "Axon DDR2 memory device driver"
Michael Ellermanebf0f332009-03-12 02:16:27 +0000314 depends on PPC_IBM_CELL_BLADE && BLOCK
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200315 default m
316 help
317 It registers one block device per Axon's DDR2 memory bank found
318 on a system. Block devices are called axonram?, their major and
319 minor numbers are available in /proc/devices, /proc/partitions or
320 in /sys/block/axonram?/dev.
321
Kumar Galab66510c2007-08-16 23:55:55 -0500322config FSL_ULI1575
323 bool
324 default n
Kumar Galafb4f0e82007-09-10 14:57:34 -0500325 select GENERIC_ISA_DMA
Kumar Galab66510c2007-08-16 23:55:55 -0500326 help
327 Supports for the ULI1575 PCIe south bridge that exists on some
328 Freescale reference boards. The boards all use the ULI in pretty
329 much the same way.
330
Scott Woodc374e002007-07-16 11:43:43 -0500331config CPM
332 bool
Laurent Pinchart80776552008-07-28 10:42:16 +0200333 select PPC_CLOCK
Scott Woodc374e002007-07-16 11:43:43 -0500334
David Gibson22258fa2008-01-11 14:25:34 +1100335config OF_RTC
336 bool
337 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100338 Uses information from the OF or flattened device tree to instantiate
David Gibson22258fa2008-01-11 14:25:34 +1100339 platform devices for direct mapped RTC chips like the DS1742 or DS1743.
340
Sylvain Munaut2f9ea1b2007-09-16 20:53:27 +1000341source "arch/powerpc/sysdev/bestcomm/Kconfig"
342
Anton Vorontsov3d64de92008-12-18 19:37:26 +0300343config SIMPLE_GPIO
344 bool "Support for simple, memory-mapped GPIO controllers"
345 depends on PPC
346 select GENERIC_GPIO
347 select ARCH_REQUIRE_GPIOLIB
348 help
349 Say Y here to support simple, memory-mapped GPIO controllers.
350 These are usually BCSRs used to control board's switches, LEDs,
351 chip-selects, Ethernet/USB PHY's power and various other small
352 on-board peripherals.
353
Anton Vorontsovea0105e2009-01-11 19:55:39 +0300354config MCU_MPC8349EMITX
Fabio Baltieri6ca6ca52011-08-15 16:19:30 +0200355 bool "MPC8349E-mITX MCU driver"
Al Viro82640a62011-11-08 21:10:29 -0500356 depends on I2C=y && PPC_83xx
Anton Vorontsovea0105e2009-01-11 19:55:39 +0300357 select GENERIC_GPIO
358 select ARCH_REQUIRE_GPIOLIB
359 help
360 Say Y here to enable soft power-off functionality on the Freescale
361 boards with the MPC8349E-mITX-compatible MCU chips. This driver will
362 also register MCU GPIOs with the generic GPIO API, so you'll able
363 to use MCU pins as GPIOs.
364
Roderick Colenbrander64f16502009-06-06 10:14:22 -0600365config XILINX_PCI
366 bool "Xilinx PCI host bridge support"
367 depends on PCI && XILINX_VIRTEX
368
Kumar Gala4330f5d2007-03-16 09:32:17 -0500369endmenu