blob: f2352fc5cbbee7923b10b227f63a0182af5314f6 [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"
Kumar Gala4330f5d2007-03-16 09:32:17 -050023
Alexander Grafd17051c2010-07-29 14:47:57 +020024config KVM_GUEST
25 bool "KVM Guest support"
26 default y
27 ---help---
28 This option enables various optimizations for running under the KVM
29 hypervisor. Overhead for the kernel when not running inside KVM should
30 be minimal.
31
32 In case of doubt, say Y
33
Kumar Gala4330f5d2007-03-16 09:32:17 -050034config PPC_NATIVE
35 bool
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000036 depends on 6xx || PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -050037 help
38 Support for running natively on the hardware, i.e. without
39 a hypervisor. This option is not user-selectable but should
40 be selected by all platforms that need it.
41
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000042config PPC_OF_BOOT_TRAMPOLINE
43 bool "Support booting from Open Firmware or yaboot"
44 depends on 6xx || PPC64
45 default y
46 help
47 Support from booting from Open Firmware or yaboot using an
48 Open Firmware client interface. This enables the kernel to
Sylvestre Ledruf65e51d2011-04-04 15:04:46 -070049 communicate with open firmware to retrieve system information
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000050 such as the device tree.
51
52 In case of doubt, say Y
53
Kumar Gala4330f5d2007-03-16 09:32:17 -050054config UDBG_RTAS_CONSOLE
55 bool "RTAS based debug console"
56 depends on PPC_RTAS
57 default n
58
59config PPC_UDBG_BEAT
60 bool "BEAT based debug console"
61 depends on PPC_CELLEB
62 default n
63
64config XICS
65 depends on PPC_PSERIES
66 bool
67 default y
68
John Rigbyb0bbad62008-01-17 17:05:31 -070069config IPIC
70 bool
71 default n
72
Kumar Gala98750262007-04-12 18:01:34 -050073config MPIC
74 bool
75 default n
76
77config MPIC_WEIRD
78 bool
79 default n
80
81config PPC_I8259
82 bool
83 default n
84
Kumar Gala4330f5d2007-03-16 09:32:17 -050085config U3_DART
86 bool
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000087 depends on PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -050088 default n
89
90config PPC_RTAS
91 bool
92 default n
93
94config RTAS_ERROR_LOGGING
95 bool
96 depends on PPC_RTAS
97 default n
98
Benjamin Herrenschmidt3d541c42009-09-24 19:30:05 +000099config PPC_RTAS_DAEMON
100 bool
101 depends on PPC_RTAS
102 default n
103
Kumar Gala4330f5d2007-03-16 09:32:17 -0500104config RTAS_PROC
105 bool "Proc interface to RTAS"
106 depends on PPC_RTAS
107 default y
108
109config RTAS_FLASH
110 tristate "Firmware flash interface"
111 depends on PPC64 && RTAS_PROC
112
Kumar Gala4330f5d2007-03-16 09:32:17 -0500113config MMIO_NVRAM
114 bool
115 default n
116
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000117config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500118 bool
Andreas Schwab314b3892010-08-23 07:36:41 +0000119 default n
Kumar Gala4330f5d2007-03-16 09:32:17 -0500120
Olof Johansson0d72ba92007-09-08 05:13:19 +1000121config MPIC_BROKEN_REGREAD
122 bool
123 depends on MPIC
124 help
125 This option enables a MPIC driver workaround for some chips
126 that have a bug that causes some interrupt source information
127 to not read back properly. It is safe to use on other chips as
128 well, but enabling it uses about 8KB of memory to keep copies
129 of the register contents in software.
130
Kumar Gala4330f5d2007-03-16 09:32:17 -0500131config IBMVIO
132 depends on PPC_PSERIES || PPC_ISERIES
133 bool
134 default y
135
136config IBMEBUS
137 depends on PPC_PSERIES
138 bool "Support for GX bus based adapters"
139 help
140 Bus device driver for GX bus based adapters.
141
142config PPC_MPC106
143 bool
144 default n
145
146config PPC_970_NAP
147 bool
148 default n
149
Benjamin Herrenschmidt948cf672011-01-24 18:42:41 +1100150config PPC_P7_NAP
151 bool
152 default n
153
Kumar Gala4330f5d2007-03-16 09:32:17 -0500154config PPC_INDIRECT_IO
155 bool
156 select GENERIC_IOMAP
Michael Ellerman21176fe2011-04-11 21:25:01 +0000157
158config PPC_INDIRECT_PIO
159 bool
160 select PPC_INDIRECT_IO
161
162config PPC_INDIRECT_MMIO
163 bool
164 select PPC_INDIRECT_IO
Kumar Gala4330f5d2007-03-16 09:32:17 -0500165
Michael Ellerman3cc30d02011-04-11 21:25:01 +0000166config PPC_IO_WORKAROUNDS
167 bool
168
Kumar Gala4330f5d2007-03-16 09:32:17 -0500169config GENERIC_IOMAP
170 bool
Kumar Gala4330f5d2007-03-16 09:32:17 -0500171
172source "drivers/cpufreq/Kconfig"
173
Olof Johanssonc146c952007-04-27 15:52:43 +1000174menu "CPU Frequency drivers"
175 depends on CPU_FREQ
176
Kumar Gala4330f5d2007-03-16 09:32:17 -0500177config CPU_FREQ_PMAC
178 bool "Support for Apple PowerBooks"
Olof Johanssonc146c952007-04-27 15:52:43 +1000179 depends on ADB_PMU && PPC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500180 select CPU_FREQ_TABLE
181 help
182 This adds support for frequency switching on Apple PowerBooks,
183 this currently includes some models of iBook & Titanium
184 PowerBook.
185
186config CPU_FREQ_PMAC64
187 bool "Support for some Apple G5s"
Olof Johanssonc146c952007-04-27 15:52:43 +1000188 depends on PPC_PMAC && PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500189 select CPU_FREQ_TABLE
190 help
191 This adds support for frequency switching on Apple iMac G5,
192 and some of the more recent desktop G5 machines as well.
Olof Johansson2e0c3372007-04-27 15:46:01 +1000193
194config PPC_PASEMI_CPUFREQ
195 bool "Support for PA Semi PWRficient"
Olof Johanssonc146c952007-04-27 15:52:43 +1000196 depends on PPC_PASEMI
Olof Johansson2e0c3372007-04-27 15:46:01 +1000197 default y
198 select CPU_FREQ_TABLE
199 help
200 This adds the support for frequency switching on PA Semi
201 PWRficient processors.
202
Kumar Gala164a4602007-04-12 15:35:50 -0500203endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500204
205config PPC601_SYNC_FIX
206 bool "Workarounds for PPC601 bugs"
207 depends on 6xx && (PPC_PREP || PPC_PMAC)
208 help
209 Some versions of the PPC601 (the first PowerPC chip) have bugs which
210 mean that extra synchronization instructions are required near
211 certain instructions, typically those that make major changes to the
212 CPU state. These extra instructions reduce performance slightly.
213 If you say N here, these extra instructions will not be included,
214 resulting in a kernel which will run faster but may not run at all
215 on some systems with the PPC601 chip.
216
217 If in doubt, say Y here.
218
219config TAU
220 bool "On-chip CPU temperature sensor support"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +0000221 depends on 6xx
Kumar Gala4330f5d2007-03-16 09:32:17 -0500222 help
223 G3 and G4 processors have an on-chip temperature sensor called the
224 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
225 temperature within 2-4 degrees Celsius. This option shows the current
226 on-die temperature in /proc/cpuinfo if the cpu supports it.
227
228 Unfortunately, on some chip revisions, this sensor is very inaccurate
229 and in many cases, does not work at all, so don't assume the cpu
230 temp is actually what /proc/cpuinfo says it is.
231
232config TAU_INT
233 bool "Interrupt driven TAU driver (DANGEROUS)"
234 depends on TAU
235 ---help---
236 The TAU supports an interrupt driven mode which causes an interrupt
237 whenever the temperature goes out of range. This is the fastest way
238 to get notified the temp has exceeded a range. With this option off,
239 a timer is used to re-check the temperature periodically.
240
241 However, on some cpus it appears that the TAU interrupt hardware
242 is buggy and can cause a situation which would lead unexplained hard
243 lockups.
244
245 Unless you are extending the TAU driver, or enjoy kernel/hardware
246 debugging, leave this option off.
247
248config TAU_AVERAGE
249 bool "Average high and low temp"
250 depends on TAU
251 ---help---
252 The TAU hardware can compare the temperature to an upper and lower
253 bound. The default behavior is to show both the upper and lower
254 bound in /proc/cpuinfo. If the range is large, the temperature is
255 either changing a lot, or the TAU hardware is broken (likely on some
256 G4's). If the range is small (around 4 degrees), the temperature is
257 relatively stable. If you say Y here, a single temperature value,
258 halfway between the upper and lower bounds, will be reported in
259 /proc/cpuinfo.
260
261 If in doubt, say N here.
262
Kumar Gala98750262007-04-12 18:01:34 -0500263config QUICC_ENGINE
Timur Tabi4e330bc2008-10-03 11:14:10 -0500264 bool "Freescale QUICC Engine (QE) Support"
265 depends on FSL_SOC
Sylvain Munaut1088a202007-09-16 20:53:25 +1000266 select PPC_LIB_RHEAP
Timur Tabibc556ba2008-01-08 10:30:58 -0600267 select CRC32
Kumar Gala98750262007-04-12 18:01:34 -0500268 help
269 The QUICC Engine (QE) is a new generation of communications
270 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
271 Selecting this option means that you wish to build a kernel
272 for a machine with a QE coprocessor.
273
Anton Vorontsov5c091192008-10-03 23:40:36 +0400274config QE_GPIO
275 bool "QE GPIO support"
276 depends on QUICC_ENGINE
277 select GENERIC_GPIO
278 select ARCH_REQUIRE_GPIOLIB
279 help
280 Say Y here if you're going to use hardware that connects to the
281 QE GPIOs.
282
Kumar Galad6071f82007-04-12 16:53:32 -0500283config CPM2
Paul Gortmakerb8b3caf2008-01-24 18:41:25 -0500284 bool "Enable support for the CPM2 (Communications Processor Module)"
Kumar Gala5753c082009-10-16 18:31:48 -0500285 depends on (FSL_SOC_BOOKE && PPC32) || 8260
Scott Woodc374e002007-07-16 11:43:43 -0500286 select CPM
Sylvain Munaut1088a202007-09-16 20:53:25 +1000287 select PPC_LIB_RHEAP
John Rigbyb5005632008-06-26 11:07:56 -0600288 select PPC_PCI_CHOICE
Laurent Pincharte1933252008-07-28 10:43:22 +0200289 select ARCH_REQUIRE_GPIOLIB
290 select GENERIC_GPIO
Kumar Galad6071f82007-04-12 16:53:32 -0500291 help
292 The CPM2 (Communications Processor Module) is a coprocessor on
293 embedded CPUs made by Freescale. Selecting this option means that
294 you wish to build a kernel for a machine with a CPM2 coprocessor
295 on it (826x, 827x, 8560).
296
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200297config AXON_RAM
298 tristate "Axon DDR2 memory device driver"
Michael Ellermanebf0f332009-03-12 02:16:27 +0000299 depends on PPC_IBM_CELL_BLADE && BLOCK
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200300 default m
301 help
302 It registers one block device per Axon's DDR2 memory bank found
303 on a system. Block devices are called axonram?, their major and
304 minor numbers are available in /proc/devices, /proc/partitions or
305 in /sys/block/axonram?/dev.
306
Kumar Galab66510c2007-08-16 23:55:55 -0500307config FSL_ULI1575
308 bool
309 default n
Kumar Galafb4f0e82007-09-10 14:57:34 -0500310 select GENERIC_ISA_DMA
Kumar Galab66510c2007-08-16 23:55:55 -0500311 help
312 Supports for the ULI1575 PCIe south bridge that exists on some
313 Freescale reference boards. The boards all use the ULI in pretty
314 much the same way.
315
Scott Woodc374e002007-07-16 11:43:43 -0500316config CPM
317 bool
Laurent Pinchart80776552008-07-28 10:42:16 +0200318 select PPC_CLOCK
Scott Woodc374e002007-07-16 11:43:43 -0500319
David Gibson22258fa2008-01-11 14:25:34 +1100320config OF_RTC
321 bool
322 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100323 Uses information from the OF or flattened device tree to instantiate
David Gibson22258fa2008-01-11 14:25:34 +1100324 platform devices for direct mapped RTC chips like the DS1742 or DS1743.
325
Sylvain Munaut2f9ea1b2007-09-16 20:53:27 +1000326source "arch/powerpc/sysdev/bestcomm/Kconfig"
327
Kumar Gala782f04f2008-09-23 23:36:32 -0500328config MPC8xxx_GPIO
Anatolij Gustschine39d5ef2010-08-09 07:58:48 +0200329 bool "MPC512x/MPC8xxx GPIO support"
330 depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
331 FSL_SOC_BOOKE || PPC_86xx
Kumar Gala782f04f2008-09-23 23:36:32 -0500332 select GENERIC_GPIO
333 select ARCH_REQUIRE_GPIOLIB
334 help
335 Say Y here if you're going to use hardware that connects to the
Anatolij Gustschine39d5ef2010-08-09 07:58:48 +0200336 MPC512x/831x/834x/837x/8572/8610 GPIOs.
Kumar Gala782f04f2008-09-23 23:36:32 -0500337
Anton Vorontsov3d64de92008-12-18 19:37:26 +0300338config SIMPLE_GPIO
339 bool "Support for simple, memory-mapped GPIO controllers"
340 depends on PPC
341 select GENERIC_GPIO
342 select ARCH_REQUIRE_GPIOLIB
343 help
344 Say Y here to support simple, memory-mapped GPIO controllers.
345 These are usually BCSRs used to control board's switches, LEDs,
346 chip-selects, Ethernet/USB PHY's power and various other small
347 on-board peripherals.
348
Anton Vorontsovea0105e2009-01-11 19:55:39 +0300349config MCU_MPC8349EMITX
350 tristate "MPC8349E-mITX MCU driver"
351 depends on I2C && PPC_83xx
352 select GENERIC_GPIO
353 select ARCH_REQUIRE_GPIOLIB
354 help
355 Say Y here to enable soft power-off functionality on the Freescale
356 boards with the MPC8349E-mITX-compatible MCU chips. This driver will
357 also register MCU GPIOs with the generic GPIO API, so you'll able
358 to use MCU pins as GPIOs.
359
Roderick Colenbrander64f16502009-06-06 10:14:22 -0600360config XILINX_PCI
361 bool "Xilinx PCI host bridge support"
362 depends on PCI && XILINX_VIRTEX
363
Kumar Gala4330f5d2007-03-16 09:32:17 -0500364endmenu