blob: 6059053e71582398052c5e6800e55375cb54f120 [file] [log] [blame]
Kumar Gala4330f5d2007-03-16 09:32:17 -05001menu "Platform support"
Kumar Gala4330f5d2007-03-16 09:32:17 -05002
Kumar Gala4330f5d2007-03-16 09:32:17 -05003source "arch/powerpc/platforms/pseries/Kconfig"
4source "arch/powerpc/platforms/iseries/Kconfig"
5source "arch/powerpc/platforms/chrp/Kconfig"
John Rigbye177edc2008-01-29 04:28:53 +11006source "arch/powerpc/platforms/512x/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -05007source "arch/powerpc/platforms/52xx/Kconfig"
8source "arch/powerpc/platforms/powermac/Kconfig"
9source "arch/powerpc/platforms/prep/Kconfig"
10source "arch/powerpc/platforms/maple/Kconfig"
11source "arch/powerpc/platforms/pasemi/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050012source "arch/powerpc/platforms/ps3/Kconfig"
13source "arch/powerpc/platforms/cell/Kconfig"
Kumar Galac8a55f32007-04-12 17:35:54 -050014source "arch/powerpc/platforms/8xx/Kconfig"
Kumar Galad6071f82007-04-12 16:53:32 -050015source "arch/powerpc/platforms/82xx/Kconfig"
Kumar Galab5a48342007-04-12 15:46:21 -050016source "arch/powerpc/platforms/83xx/Kconfig"
Kumar Galadb947802007-04-12 17:44:07 -050017source "arch/powerpc/platforms/85xx/Kconfig"
Kumar Gala4a89f7f2007-04-12 15:41:26 -050018source "arch/powerpc/platforms/86xx/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050019source "arch/powerpc/platforms/embedded6xx/Kconfig"
David Gibsonf6dfc802007-05-08 14:10:01 +100020source "arch/powerpc/platforms/44x/Kconfig"
Josh Boyer545c0692007-09-07 07:51:24 -050021source "arch/powerpc/platforms/40x/Kconfig"
Gerhard Pircher54b318a2009-02-10 12:20:49 +000022source "arch/powerpc/platforms/amigaone/Kconfig"
David Gibsona1d0d982011-04-14 22:32:06 +000023source "arch/powerpc/platforms/wsp/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050024
Alexander Grafd17051c2010-07-29 14:47:57 +020025config KVM_GUEST
26 bool "KVM Guest support"
27 default y
28 ---help---
29 This option enables various optimizations for running under the KVM
30 hypervisor. Overhead for the kernel when not running inside KVM should
31 be minimal.
32
33 In case of doubt, say Y
34
Kumar Gala4330f5d2007-03-16 09:32:17 -050035config PPC_NATIVE
36 bool
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000037 depends on 6xx || PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -050038 help
39 Support for running natively on the hardware, i.e. without
40 a hypervisor. This option is not user-selectable but should
41 be selected by all platforms that need it.
42
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000043config PPC_OF_BOOT_TRAMPOLINE
44 bool "Support booting from Open Firmware or yaboot"
45 depends on 6xx || PPC64
46 default y
47 help
48 Support from booting from Open Firmware or yaboot using an
49 Open Firmware client interface. This enables the kernel to
Sylvestre Ledruf65e51d2011-04-04 15:04:46 -070050 communicate with open firmware to retrieve system information
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000051 such as the device tree.
52
53 In case of doubt, say Y
54
Kumar Gala4330f5d2007-03-16 09:32:17 -050055config UDBG_RTAS_CONSOLE
56 bool "RTAS based debug console"
57 depends on PPC_RTAS
58 default n
59
60config PPC_UDBG_BEAT
61 bool "BEAT based debug console"
62 depends on PPC_CELLEB
63 default n
64
65config XICS
66 depends on PPC_PSERIES
67 bool
68 default y
69
John Rigbyb0bbad62008-01-17 17:05:31 -070070config IPIC
71 bool
72 default n
73
Kumar Gala98750262007-04-12 18:01:34 -050074config MPIC
75 bool
76 default n
77
78config MPIC_WEIRD
79 bool
80 default n
81
82config PPC_I8259
83 bool
84 default n
85
Kumar Gala4330f5d2007-03-16 09:32:17 -050086config U3_DART
87 bool
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000088 depends on PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -050089 default n
90
91config PPC_RTAS
92 bool
93 default n
94
95config RTAS_ERROR_LOGGING
96 bool
97 depends on PPC_RTAS
98 default n
99
Benjamin Herrenschmidt3d541c42009-09-24 19:30:05 +0000100config PPC_RTAS_DAEMON
101 bool
102 depends on PPC_RTAS
103 default n
104
Kumar Gala4330f5d2007-03-16 09:32:17 -0500105config RTAS_PROC
106 bool "Proc interface to RTAS"
107 depends on PPC_RTAS
108 default y
109
110config RTAS_FLASH
111 tristate "Firmware flash interface"
112 depends on PPC64 && RTAS_PROC
113
Kumar Gala4330f5d2007-03-16 09:32:17 -0500114config MMIO_NVRAM
115 bool
116 default n
117
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000118config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500119 bool
Andreas Schwab314b3892010-08-23 07:36:41 +0000120 default n
Kumar Gala4330f5d2007-03-16 09:32:17 -0500121
Olof Johansson0d72ba92007-09-08 05:13:19 +1000122config MPIC_BROKEN_REGREAD
123 bool
124 depends on MPIC
125 help
126 This option enables a MPIC driver workaround for some chips
127 that have a bug that causes some interrupt source information
128 to not read back properly. It is safe to use on other chips as
129 well, but enabling it uses about 8KB of memory to keep copies
130 of the register contents in software.
131
Kumar Gala4330f5d2007-03-16 09:32:17 -0500132config IBMVIO
133 depends on PPC_PSERIES || PPC_ISERIES
134 bool
135 default y
136
137config IBMEBUS
138 depends on PPC_PSERIES
139 bool "Support for GX bus based adapters"
140 help
141 Bus device driver for GX bus based adapters.
142
143config PPC_MPC106
144 bool
145 default n
146
147config PPC_970_NAP
148 bool
149 default n
150
Benjamin Herrenschmidt948cf672011-01-24 18:42:41 +1100151config PPC_P7_NAP
152 bool
153 default n
154
Kumar Gala4330f5d2007-03-16 09:32:17 -0500155config PPC_INDIRECT_IO
156 bool
157 select GENERIC_IOMAP
Michael Ellerman21176fe2011-04-11 21:25:01 +0000158
159config PPC_INDIRECT_PIO
160 bool
161 select PPC_INDIRECT_IO
162
163config PPC_INDIRECT_MMIO
164 bool
165 select PPC_INDIRECT_IO
Kumar Gala4330f5d2007-03-16 09:32:17 -0500166
Michael Ellerman3cc30d02011-04-11 21:25:01 +0000167config PPC_IO_WORKAROUNDS
168 bool
169
Kumar Gala4330f5d2007-03-16 09:32:17 -0500170config GENERIC_IOMAP
171 bool
Kumar Gala4330f5d2007-03-16 09:32:17 -0500172
173source "drivers/cpufreq/Kconfig"
174
Olof Johanssonc146c952007-04-27 15:52:43 +1000175menu "CPU Frequency drivers"
176 depends on CPU_FREQ
177
Kumar Gala4330f5d2007-03-16 09:32:17 -0500178config CPU_FREQ_PMAC
179 bool "Support for Apple PowerBooks"
Olof Johanssonc146c952007-04-27 15:52:43 +1000180 depends on ADB_PMU && PPC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500181 select CPU_FREQ_TABLE
182 help
183 This adds support for frequency switching on Apple PowerBooks,
184 this currently includes some models of iBook & Titanium
185 PowerBook.
186
187config CPU_FREQ_PMAC64
188 bool "Support for some Apple G5s"
Olof Johanssonc146c952007-04-27 15:52:43 +1000189 depends on PPC_PMAC && PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500190 select CPU_FREQ_TABLE
191 help
192 This adds support for frequency switching on Apple iMac G5,
193 and some of the more recent desktop G5 machines as well.
Olof Johansson2e0c3372007-04-27 15:46:01 +1000194
195config PPC_PASEMI_CPUFREQ
196 bool "Support for PA Semi PWRficient"
Olof Johanssonc146c952007-04-27 15:52:43 +1000197 depends on PPC_PASEMI
Olof Johansson2e0c3372007-04-27 15:46:01 +1000198 default y
199 select CPU_FREQ_TABLE
200 help
201 This adds the support for frequency switching on PA Semi
202 PWRficient processors.
203
Kumar Gala164a4602007-04-12 15:35:50 -0500204endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500205
206config PPC601_SYNC_FIX
207 bool "Workarounds for PPC601 bugs"
208 depends on 6xx && (PPC_PREP || PPC_PMAC)
209 help
210 Some versions of the PPC601 (the first PowerPC chip) have bugs which
211 mean that extra synchronization instructions are required near
212 certain instructions, typically those that make major changes to the
213 CPU state. These extra instructions reduce performance slightly.
214 If you say N here, these extra instructions will not be included,
215 resulting in a kernel which will run faster but may not run at all
216 on some systems with the PPC601 chip.
217
218 If in doubt, say Y here.
219
220config TAU
221 bool "On-chip CPU temperature sensor support"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +0000222 depends on 6xx
Kumar Gala4330f5d2007-03-16 09:32:17 -0500223 help
224 G3 and G4 processors have an on-chip temperature sensor called the
225 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
226 temperature within 2-4 degrees Celsius. This option shows the current
227 on-die temperature in /proc/cpuinfo if the cpu supports it.
228
229 Unfortunately, on some chip revisions, this sensor is very inaccurate
230 and in many cases, does not work at all, so don't assume the cpu
231 temp is actually what /proc/cpuinfo says it is.
232
233config TAU_INT
234 bool "Interrupt driven TAU driver (DANGEROUS)"
235 depends on TAU
236 ---help---
237 The TAU supports an interrupt driven mode which causes an interrupt
238 whenever the temperature goes out of range. This is the fastest way
239 to get notified the temp has exceeded a range. With this option off,
240 a timer is used to re-check the temperature periodically.
241
242 However, on some cpus it appears that the TAU interrupt hardware
243 is buggy and can cause a situation which would lead unexplained hard
244 lockups.
245
246 Unless you are extending the TAU driver, or enjoy kernel/hardware
247 debugging, leave this option off.
248
249config TAU_AVERAGE
250 bool "Average high and low temp"
251 depends on TAU
252 ---help---
253 The TAU hardware can compare the temperature to an upper and lower
254 bound. The default behavior is to show both the upper and lower
255 bound in /proc/cpuinfo. If the range is large, the temperature is
256 either changing a lot, or the TAU hardware is broken (likely on some
257 G4's). If the range is small (around 4 degrees), the temperature is
258 relatively stable. If you say Y here, a single temperature value,
259 halfway between the upper and lower bounds, will be reported in
260 /proc/cpuinfo.
261
262 If in doubt, say N here.
263
Kumar Gala98750262007-04-12 18:01:34 -0500264config QUICC_ENGINE
Timur Tabi4e330bc2008-10-03 11:14:10 -0500265 bool "Freescale QUICC Engine (QE) Support"
266 depends on FSL_SOC
Sylvain Munaut1088a202007-09-16 20:53:25 +1000267 select PPC_LIB_RHEAP
Timur Tabibc556ba2008-01-08 10:30:58 -0600268 select CRC32
Kumar Gala98750262007-04-12 18:01:34 -0500269 help
270 The QUICC Engine (QE) is a new generation of communications
271 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
272 Selecting this option means that you wish to build a kernel
273 for a machine with a QE coprocessor.
274
Anton Vorontsov5c091192008-10-03 23:40:36 +0400275config QE_GPIO
276 bool "QE GPIO support"
277 depends on QUICC_ENGINE
278 select GENERIC_GPIO
279 select ARCH_REQUIRE_GPIOLIB
280 help
281 Say Y here if you're going to use hardware that connects to the
282 QE GPIOs.
283
Kumar Galad6071f82007-04-12 16:53:32 -0500284config CPM2
Paul Gortmakerb8b3caf2008-01-24 18:41:25 -0500285 bool "Enable support for the CPM2 (Communications Processor Module)"
Kumar Gala5753c082009-10-16 18:31:48 -0500286 depends on (FSL_SOC_BOOKE && PPC32) || 8260
Scott Woodc374e002007-07-16 11:43:43 -0500287 select CPM
Sylvain Munaut1088a202007-09-16 20:53:25 +1000288 select PPC_LIB_RHEAP
John Rigbyb5005632008-06-26 11:07:56 -0600289 select PPC_PCI_CHOICE
Laurent Pincharte1933252008-07-28 10:43:22 +0200290 select ARCH_REQUIRE_GPIOLIB
291 select GENERIC_GPIO
Kumar Galad6071f82007-04-12 16:53:32 -0500292 help
293 The CPM2 (Communications Processor Module) is a coprocessor on
294 embedded CPUs made by Freescale. Selecting this option means that
295 you wish to build a kernel for a machine with a CPM2 coprocessor
296 on it (826x, 827x, 8560).
297
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200298config AXON_RAM
299 tristate "Axon DDR2 memory device driver"
Michael Ellermanebf0f332009-03-12 02:16:27 +0000300 depends on PPC_IBM_CELL_BLADE && BLOCK
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200301 default m
302 help
303 It registers one block device per Axon's DDR2 memory bank found
304 on a system. Block devices are called axonram?, their major and
305 minor numbers are available in /proc/devices, /proc/partitions or
306 in /sys/block/axonram?/dev.
307
Kumar Galab66510c2007-08-16 23:55:55 -0500308config FSL_ULI1575
309 bool
310 default n
Kumar Galafb4f0e82007-09-10 14:57:34 -0500311 select GENERIC_ISA_DMA
Kumar Galab66510c2007-08-16 23:55:55 -0500312 help
313 Supports for the ULI1575 PCIe south bridge that exists on some
314 Freescale reference boards. The boards all use the ULI in pretty
315 much the same way.
316
Scott Woodc374e002007-07-16 11:43:43 -0500317config CPM
318 bool
Laurent Pinchart80776552008-07-28 10:42:16 +0200319 select PPC_CLOCK
Scott Woodc374e002007-07-16 11:43:43 -0500320
David Gibson22258fa2008-01-11 14:25:34 +1100321config OF_RTC
322 bool
323 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100324 Uses information from the OF or flattened device tree to instantiate
David Gibson22258fa2008-01-11 14:25:34 +1100325 platform devices for direct mapped RTC chips like the DS1742 or DS1743.
326
Sylvain Munaut2f9ea1b2007-09-16 20:53:27 +1000327source "arch/powerpc/sysdev/bestcomm/Kconfig"
328
Kumar Gala782f04f2008-09-23 23:36:32 -0500329config MPC8xxx_GPIO
Anatolij Gustschine39d5ef2010-08-09 07:58:48 +0200330 bool "MPC512x/MPC8xxx GPIO support"
331 depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
332 FSL_SOC_BOOKE || PPC_86xx
Kumar Gala782f04f2008-09-23 23:36:32 -0500333 select GENERIC_GPIO
334 select ARCH_REQUIRE_GPIOLIB
335 help
336 Say Y here if you're going to use hardware that connects to the
Anatolij Gustschine39d5ef2010-08-09 07:58:48 +0200337 MPC512x/831x/834x/837x/8572/8610 GPIOs.
Kumar Gala782f04f2008-09-23 23:36:32 -0500338
Anton Vorontsov3d64de92008-12-18 19:37:26 +0300339config SIMPLE_GPIO
340 bool "Support for simple, memory-mapped GPIO controllers"
341 depends on PPC
342 select GENERIC_GPIO
343 select ARCH_REQUIRE_GPIOLIB
344 help
345 Say Y here to support simple, memory-mapped GPIO controllers.
346 These are usually BCSRs used to control board's switches, LEDs,
347 chip-selects, Ethernet/USB PHY's power and various other small
348 on-board peripherals.
349
Anton Vorontsovea0105e2009-01-11 19:55:39 +0300350config MCU_MPC8349EMITX
351 tristate "MPC8349E-mITX MCU driver"
352 depends on I2C && PPC_83xx
353 select GENERIC_GPIO
354 select ARCH_REQUIRE_GPIOLIB
355 help
356 Say Y here to enable soft power-off functionality on the Freescale
357 boards with the MPC8349E-mITX-compatible MCU chips. This driver will
358 also register MCU GPIOs with the generic GPIO API, so you'll able
359 to use MCU pins as GPIOs.
360
Roderick Colenbrander64f16502009-06-06 10:14:22 -0600361config XILINX_PCI
362 bool "Xilinx PCI host bridge support"
363 depends on PCI && XILINX_VIRTEX
364
Kumar Gala4330f5d2007-03-16 09:32:17 -0500365endmenu