blob: 391b3f6b54a30eb4759ce2a2b898392bb796c0ac [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"
Kumar Gala4330f5d2007-03-16 09:32:17 -05005source "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"
Kumar Gala4330f5d2007-03-16 09:32:17 -05009source "arch/powerpc/platforms/maple/Kconfig"
10source "arch/powerpc/platforms/pasemi/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050011source "arch/powerpc/platforms/ps3/Kconfig"
12source "arch/powerpc/platforms/cell/Kconfig"
Kumar Galac8a55f32007-04-12 17:35:54 -050013source "arch/powerpc/platforms/8xx/Kconfig"
Kumar Galad6071f82007-04-12 16:53:32 -050014source "arch/powerpc/platforms/82xx/Kconfig"
Kumar Galab5a48342007-04-12 15:46:21 -050015source "arch/powerpc/platforms/83xx/Kconfig"
Kumar Galadb947802007-04-12 17:44:07 -050016source "arch/powerpc/platforms/85xx/Kconfig"
Kumar Gala4a89f7f2007-04-12 15:41:26 -050017source "arch/powerpc/platforms/86xx/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050018source "arch/powerpc/platforms/embedded6xx/Kconfig"
David Gibsonf6dfc802007-05-08 14:10:01 +100019source "arch/powerpc/platforms/44x/Kconfig"
Josh Boyer545c0692007-09-07 07:51:24 -050020source "arch/powerpc/platforms/40x/Kconfig"
Gerhard Pircher54b318a2009-02-10 12:20:49 +000021source "arch/powerpc/platforms/amigaone/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050022
Alexander Grafd17051c2010-07-29 14:47:57 +020023config KVM_GUEST
24 bool "KVM Guest support"
Anton Blanchard643ba4e2011-08-04 17:23:58 +000025 default n
Liu Yu-B132012e1ae9c02012-03-15 10:52:13 +000026 select EPAPR_PARAVIRT
Alexander Grafd17051c2010-07-29 14:47:57 +020027 ---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
Liu Yu-B132012e1ae9c02012-03-15 10:52:13 +000034config EPAPR_PARAVIRT
35 bool "ePAPR para-virtualization support"
36 default n
37 help
38 Enables ePAPR para-virtualization support for guests.
39
40 In case of doubt, say Y
41
Kumar Gala4330f5d2007-03-16 09:32:17 -050042config PPC_NATIVE
43 bool
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000044 depends on 6xx || PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -050045 help
46 Support for running natively on the hardware, i.e. without
47 a hypervisor. This option is not user-selectable but should
48 be selected by all platforms that need it.
49
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000050config PPC_OF_BOOT_TRAMPOLINE
51 bool "Support booting from Open Firmware or yaboot"
52 depends on 6xx || PPC64
53 default y
54 help
55 Support from booting from Open Firmware or yaboot using an
56 Open Firmware client interface. This enables the kernel to
Sylvestre Ledruf65e51d2011-04-04 15:04:46 -070057 communicate with open firmware to retrieve system information
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000058 such as the device tree.
59
60 In case of doubt, say Y
61
Kumar Gala4330f5d2007-03-16 09:32:17 -050062config UDBG_RTAS_CONSOLE
63 bool "RTAS based debug console"
64 depends on PPC_RTAS
65 default n
66
Milton Miller1ece3552011-05-10 19:29:42 +000067config PPC_SMP_MUXED_IPI
68 bool
69 help
70 Select this opton if your platform supports SMP and your
71 interrupt controller provides less than 4 interrupts to each
72 cpu. This will enable the generic code to multiplex the 4
73 messages on to one ipi.
74
Kumar Gala4330f5d2007-03-16 09:32:17 -050075config PPC_UDBG_BEAT
76 bool "BEAT based debug console"
77 depends on PPC_CELLEB
78 default n
79
John Rigbyb0bbad62008-01-17 17:05:31 -070080config IPIC
81 bool
82 default n
83
Kumar Gala98750262007-04-12 18:01:34 -050084config MPIC
85 bool
86 default n
87
Dongsheng.wang@freescale.com36ca09b2013-04-09 10:22:30 +080088config MPIC_TIMER
89 bool "MPIC Global Timer"
90 depends on MPIC && FSL_SOC
91 default n
92 help
93 The MPIC global timer is a hardware timer inside the
94 Freescale PIC complying with OpenPIC standard. When the
95 specified interval times out, the hardware timer generates
96 an interrupt. The driver currently is only tested on fsl
97 chip, but it can potentially support other global timers
98 complying with the OpenPIC standard.
99
Dongsheng.wang@freescale.coma63b3bc2013-04-09 10:22:32 +0800100config FSL_MPIC_TIMER_WAKEUP
101 tristate "Freescale MPIC global timer wakeup driver"
102 depends on FSL_SOC && MPIC_TIMER && PM
103 default n
104 help
105 The driver provides a way to wake up the system by MPIC
106 timer.
107 e.g. "echo 5 > /sys/devices/system/mpic/timer_wakeup"
108
Ashish Kalra3a932612011-05-19 08:54:28 -0500109config PPC_EPAPR_HV_PIC
110 bool
111 default n
Stuart Yoder40656392012-07-03 05:48:54 +0000112 select EPAPR_PARAVIRT
Ashish Kalra3a932612011-05-19 08:54:28 -0500113
Kumar Gala98750262007-04-12 18:01:34 -0500114config MPIC_WEIRD
115 bool
116 default n
117
Jia Hongtao86268162012-02-17 10:49:03 +0800118config MPIC_MSGR
119 bool "MPIC message register support"
120 depends on MPIC
121 default n
122 help
123 Enables support for the MPIC message registers. These
124 registers are used for inter-processor communication.
125
Kumar Gala98750262007-04-12 18:01:34 -0500126config PPC_I8259
127 bool
128 default n
129
Kumar Gala4330f5d2007-03-16 09:32:17 -0500130config U3_DART
131 bool
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +0000132 depends on PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500133 default n
134
135config PPC_RTAS
136 bool
137 default n
138
139config RTAS_ERROR_LOGGING
140 bool
141 depends on PPC_RTAS
142 default n
143
Benjamin Herrenschmidt3d541c42009-09-24 19:30:05 +0000144config PPC_RTAS_DAEMON
145 bool
146 depends on PPC_RTAS
147 default n
148
Kumar Gala4330f5d2007-03-16 09:32:17 -0500149config RTAS_PROC
150 bool "Proc interface to RTAS"
Michael Ellermanb80ec3d2013-05-06 18:43:39 +0000151 depends on PPC_RTAS && PROC_FS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500152 default y
153
154config RTAS_FLASH
155 tristate "Firmware flash interface"
156 depends on PPC64 && RTAS_PROC
157
Kumar Gala4330f5d2007-03-16 09:32:17 -0500158config MMIO_NVRAM
159 bool
160 default n
161
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000162config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500163 bool
Andreas Schwab314b3892010-08-23 07:36:41 +0000164 default n
Kumar Gala4330f5d2007-03-16 09:32:17 -0500165
Olof Johansson0d72ba92007-09-08 05:13:19 +1000166config MPIC_BROKEN_REGREAD
167 bool
168 depends on MPIC
169 help
170 This option enables a MPIC driver workaround for some chips
171 that have a bug that causes some interrupt source information
172 to not read back properly. It is safe to use on other chips as
173 well, but enabling it uses about 8KB of memory to keep copies
174 of the register contents in software.
175
Kumar Gala4330f5d2007-03-16 09:32:17 -0500176config IBMVIO
Stephen Rothwell3d066d72012-02-22 14:10:12 +0000177 depends on PPC_PSERIES
Kumar Gala4330f5d2007-03-16 09:32:17 -0500178 bool
179 default y
180
181config IBMEBUS
182 depends on PPC_PSERIES
183 bool "Support for GX bus based adapters"
184 help
185 Bus device driver for GX bus based adapters.
186
Gavin Shan317f06d2013-06-20 13:20:52 +0800187config EEH
188 bool
189 depends on (PPC_POWERNV || PPC_PSERIES) && PCI
190 default y
191
Kumar Gala4330f5d2007-03-16 09:32:17 -0500192config PPC_MPC106
193 bool
194 default n
195
196config PPC_970_NAP
197 bool
198 default n
199
Benjamin Herrenschmidt948cf672011-01-24 18:42:41 +1100200config PPC_P7_NAP
201 bool
202 default n
203
Benjamin Herrenschmidtecd73cc2013-07-15 13:03:08 +1000204config PPC_INDIRECT_PIO
Kumar Gala4330f5d2007-03-16 09:32:17 -0500205 bool
206 select GENERIC_IOMAP
Michael Ellerman21176fe2011-04-11 21:25:01 +0000207
Michael Ellerman21176fe2011-04-11 21:25:01 +0000208config PPC_INDIRECT_MMIO
209 bool
Kumar Gala4330f5d2007-03-16 09:32:17 -0500210
Michael Ellerman3cc30d02011-04-11 21:25:01 +0000211config PPC_IO_WORKAROUNDS
212 bool
213
Kumar Gala4330f5d2007-03-16 09:32:17 -0500214source "drivers/cpufreq/Kconfig"
215
Deepthi Dharware1798162011-11-30 02:46:55 +0000216menu "CPUIdle driver"
217
218source "drivers/cpuidle/Kconfig"
219
220endmenu
221
Kumar Gala4330f5d2007-03-16 09:32:17 -0500222config PPC601_SYNC_FIX
223 bool "Workarounds for PPC601 bugs"
Paul Bolle933ee712013-03-27 00:47:03 +0000224 depends on 6xx && PPC_PMAC
Kumar Gala4330f5d2007-03-16 09:32:17 -0500225 help
226 Some versions of the PPC601 (the first PowerPC chip) have bugs which
227 mean that extra synchronization instructions are required near
228 certain instructions, typically those that make major changes to the
229 CPU state. These extra instructions reduce performance slightly.
230 If you say N here, these extra instructions will not be included,
231 resulting in a kernel which will run faster but may not run at all
232 on some systems with the PPC601 chip.
233
234 If in doubt, say Y here.
235
236config TAU
237 bool "On-chip CPU temperature sensor support"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +0000238 depends on 6xx
Kumar Gala4330f5d2007-03-16 09:32:17 -0500239 help
240 G3 and G4 processors have an on-chip temperature sensor called the
241 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
242 temperature within 2-4 degrees Celsius. This option shows the current
243 on-die temperature in /proc/cpuinfo if the cpu supports it.
244
245 Unfortunately, on some chip revisions, this sensor is very inaccurate
246 and in many cases, does not work at all, so don't assume the cpu
247 temp is actually what /proc/cpuinfo says it is.
248
249config TAU_INT
250 bool "Interrupt driven TAU driver (DANGEROUS)"
251 depends on TAU
252 ---help---
253 The TAU supports an interrupt driven mode which causes an interrupt
254 whenever the temperature goes out of range. This is the fastest way
255 to get notified the temp has exceeded a range. With this option off,
256 a timer is used to re-check the temperature periodically.
257
258 However, on some cpus it appears that the TAU interrupt hardware
259 is buggy and can cause a situation which would lead unexplained hard
260 lockups.
261
262 Unless you are extending the TAU driver, or enjoy kernel/hardware
263 debugging, leave this option off.
264
265config TAU_AVERAGE
266 bool "Average high and low temp"
267 depends on TAU
268 ---help---
269 The TAU hardware can compare the temperature to an upper and lower
270 bound. The default behavior is to show both the upper and lower
271 bound in /proc/cpuinfo. If the range is large, the temperature is
272 either changing a lot, or the TAU hardware is broken (likely on some
273 G4's). If the range is small (around 4 degrees), the temperature is
274 relatively stable. If you say Y here, a single temperature value,
275 halfway between the upper and lower bounds, will be reported in
276 /proc/cpuinfo.
277
278 If in doubt, say N here.
279
Kumar Gala98750262007-04-12 18:01:34 -0500280config QUICC_ENGINE
Timur Tabi4e330bc2008-10-03 11:14:10 -0500281 bool "Freescale QUICC Engine (QE) Support"
Kumar Gala47fe8192011-05-20 00:00:21 -0500282 depends on FSL_SOC && PPC32
Sylvain Munaut1088a202007-09-16 20:53:25 +1000283 select PPC_LIB_RHEAP
Timur Tabibc556ba2008-01-08 10:30:58 -0600284 select CRC32
Kumar Gala98750262007-04-12 18:01:34 -0500285 help
286 The QUICC Engine (QE) is a new generation of communications
287 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
288 Selecting this option means that you wish to build a kernel
289 for a machine with a QE coprocessor.
290
Anton Vorontsov5c091192008-10-03 23:40:36 +0400291config QE_GPIO
292 bool "QE GPIO support"
293 depends on QUICC_ENGINE
Anton Vorontsov5c091192008-10-03 23:40:36 +0400294 select ARCH_REQUIRE_GPIOLIB
295 help
296 Say Y here if you're going to use hardware that connects to the
297 QE GPIOs.
298
Kumar Galad6071f82007-04-12 16:53:32 -0500299config CPM2
Paul Gortmakerb8b3caf2008-01-24 18:41:25 -0500300 bool "Enable support for the CPM2 (Communications Processor Module)"
Kumar Gala5753c082009-10-16 18:31:48 -0500301 depends on (FSL_SOC_BOOKE && PPC32) || 8260
Scott Woodc374e002007-07-16 11:43:43 -0500302 select CPM
Sylvain Munaut1088a202007-09-16 20:53:25 +1000303 select PPC_LIB_RHEAP
John Rigbyb5005632008-06-26 11:07:56 -0600304 select PPC_PCI_CHOICE
Laurent Pincharte1933252008-07-28 10:43:22 +0200305 select ARCH_REQUIRE_GPIOLIB
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
333
David Gibson22258fa2008-01-11 14:25:34 +1100334config OF_RTC
335 bool
336 help
Matt LaPlante692105b2009-01-26 11:12:25 +0100337 Uses information from the OF or flattened device tree to instantiate
David Gibson22258fa2008-01-11 14:25:34 +1100338 platform devices for direct mapped RTC chips like the DS1742 or DS1743.
339
Anton Vorontsov3d64de92008-12-18 19:37:26 +0300340config SIMPLE_GPIO
341 bool "Support for simple, memory-mapped GPIO controllers"
342 depends on PPC
Anton Vorontsov3d64de92008-12-18 19:37:26 +0300343 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
Fabio Baltieri6ca6ca52011-08-15 16:19:30 +0200351 bool "MPC8349E-mITX MCU driver"
Al Viro82640a62011-11-08 21:10:29 -0500352 depends on I2C=y && PPC_83xx
Anton Vorontsovea0105e2009-01-11 19:55:39 +0300353 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