blob: e2c952619805c7e8a05de3196b94e1ad7170d090 [file] [log] [blame]
Kumar Gala4330f5d2007-03-16 09:32:17 -05001menu "Platform support"
Kumar Gala4330f5d2007-03-16 09:32:17 -05002
3choice
4 prompt "Machine type"
Arnd Bergmannb9fd3052007-06-18 01:06:52 +02005 depends on PPC64 || 6xx
Kumar Gala4330f5d2007-03-16 09:32:17 -05006 default PPC_MULTIPLATFORM
7
8config PPC_MULTIPLATFORM
9 bool "Generic desktop/server/laptop"
10 help
11 Select this option if configuring for an IBM pSeries or
12 RS/6000 machine, an Apple machine, or a PReP, CHRP,
13 Maple or Cell-based machine.
14
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020015config PPC_82xx
16 bool "Freescale 82xx"
17 depends on 6xx
Scott Woode5d8d542007-08-21 03:40:02 +100018 select WANT_DEVICE_TREE
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020019
20config PPC_83xx
21 bool "Freescale 83xx"
22 depends on 6xx
23 select FSL_SOC
Kumar Galab38308a2008-01-28 10:52:15 -060024 select MPC83xx
John Rigbyb0bbad62008-01-17 17:05:31 -070025 select IPIC
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020026 select WANT_DEVICE_TREE
27
28config PPC_86xx
29 bool "Freescale 86xx"
30 depends on 6xx
31 select FSL_SOC
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020032 select ALTIVEC
33 help
34 The Freescale E600 SoCs have 74xx cores.
Kumar Gala4330f5d2007-03-16 09:32:17 -050035endchoice
36
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020037config CLASSIC32
38 def_bool y
39 depends on 6xx && PPC_MULTIPLATFORM
40
Kumar Gala4330f5d2007-03-16 09:32:17 -050041source "arch/powerpc/platforms/pseries/Kconfig"
42source "arch/powerpc/platforms/iseries/Kconfig"
43source "arch/powerpc/platforms/chrp/Kconfig"
John Rigbye177edc2008-01-29 04:28:53 +110044source "arch/powerpc/platforms/512x/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050045source "arch/powerpc/platforms/52xx/Kconfig"
46source "arch/powerpc/platforms/powermac/Kconfig"
47source "arch/powerpc/platforms/prep/Kconfig"
48source "arch/powerpc/platforms/maple/Kconfig"
49source "arch/powerpc/platforms/pasemi/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050050source "arch/powerpc/platforms/celleb/Kconfig"
51source "arch/powerpc/platforms/ps3/Kconfig"
52source "arch/powerpc/platforms/cell/Kconfig"
Kumar Galac8a55f32007-04-12 17:35:54 -050053source "arch/powerpc/platforms/8xx/Kconfig"
Kumar Galad6071f82007-04-12 16:53:32 -050054source "arch/powerpc/platforms/82xx/Kconfig"
Kumar Galab5a48342007-04-12 15:46:21 -050055source "arch/powerpc/platforms/83xx/Kconfig"
Kumar Galadb947802007-04-12 17:44:07 -050056source "arch/powerpc/platforms/85xx/Kconfig"
Kumar Gala4a89f7f2007-04-12 15:41:26 -050057source "arch/powerpc/platforms/86xx/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050058source "arch/powerpc/platforms/embedded6xx/Kconfig"
David Gibsonf6dfc802007-05-08 14:10:01 +100059source "arch/powerpc/platforms/44x/Kconfig"
Josh Boyer545c0692007-09-07 07:51:24 -050060source "arch/powerpc/platforms/40x/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050061
62config PPC_NATIVE
63 bool
64 depends on PPC_MULTIPLATFORM
65 help
66 Support for running natively on the hardware, i.e. without
67 a hypervisor. This option is not user-selectable but should
68 be selected by all platforms that need it.
69
70config UDBG_RTAS_CONSOLE
71 bool "RTAS based debug console"
72 depends on PPC_RTAS
73 default n
74
75config PPC_UDBG_BEAT
76 bool "BEAT based debug console"
77 depends on PPC_CELLEB
78 default n
79
80config XICS
81 depends on PPC_PSERIES
82 bool
83 default y
84
John Rigbyb0bbad62008-01-17 17:05:31 -070085config IPIC
86 bool
87 default n
88
Kumar Gala98750262007-04-12 18:01:34 -050089config MPIC
90 bool
91 default n
92
93config MPIC_WEIRD
94 bool
95 default n
96
97config PPC_I8259
98 bool
99 default n
100
Kumar Gala4330f5d2007-03-16 09:32:17 -0500101config U3_DART
102 bool
103 depends on PPC_MULTIPLATFORM && PPC64
104 default n
105
106config PPC_RTAS
107 bool
108 default n
109
110config RTAS_ERROR_LOGGING
111 bool
112 depends on PPC_RTAS
113 default n
114
115config RTAS_PROC
116 bool "Proc interface to RTAS"
117 depends on PPC_RTAS
118 default y
119
120config RTAS_FLASH
121 tristate "Firmware flash interface"
122 depends on PPC64 && RTAS_PROC
123
124config PPC_PMI
125 tristate "Support for PMI"
Adrian Bunk247537b2007-09-26 20:02:52 +0200126 depends on PPC_IBM_CELL_BLADE
Kumar Gala4330f5d2007-03-16 09:32:17 -0500127 help
128 PMI (Platform Management Interrupt) is a way to
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200129 communicate with the BMC (Baseboard Management Controller).
Kumar Gala4330f5d2007-03-16 09:32:17 -0500130 It is used in some IBM Cell blades.
131 default m
132
133config MMIO_NVRAM
134 bool
135 default n
136
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000137config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500138 bool
139 depends on PPC_MAPLE
140 default y
141
Olof Johansson0d72ba92007-09-08 05:13:19 +1000142config MPIC_BROKEN_REGREAD
143 bool
144 depends on MPIC
145 help
146 This option enables a MPIC driver workaround for some chips
147 that have a bug that causes some interrupt source information
148 to not read back properly. It is safe to use on other chips as
149 well, but enabling it uses about 8KB of memory to keep copies
150 of the register contents in software.
151
Kumar Gala4330f5d2007-03-16 09:32:17 -0500152config IBMVIO
153 depends on PPC_PSERIES || PPC_ISERIES
154 bool
155 default y
156
157config IBMEBUS
158 depends on PPC_PSERIES
159 bool "Support for GX bus based adapters"
160 help
161 Bus device driver for GX bus based adapters.
162
163config PPC_MPC106
164 bool
165 default n
166
167config PPC_970_NAP
168 bool
169 default n
170
171config PPC_INDIRECT_IO
172 bool
173 select GENERIC_IOMAP
174 default n
175
176config GENERIC_IOMAP
177 bool
178 default n
179
180source "drivers/cpufreq/Kconfig"
181
Olof Johanssonc146c952007-04-27 15:52:43 +1000182menu "CPU Frequency drivers"
183 depends on CPU_FREQ
184
Kumar Gala4330f5d2007-03-16 09:32:17 -0500185config CPU_FREQ_PMAC
186 bool "Support for Apple PowerBooks"
Olof Johanssonc146c952007-04-27 15:52:43 +1000187 depends on ADB_PMU && PPC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500188 select CPU_FREQ_TABLE
189 help
190 This adds support for frequency switching on Apple PowerBooks,
191 this currently includes some models of iBook & Titanium
192 PowerBook.
193
194config CPU_FREQ_PMAC64
195 bool "Support for some Apple G5s"
Olof Johanssonc146c952007-04-27 15:52:43 +1000196 depends on PPC_PMAC && PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500197 select CPU_FREQ_TABLE
198 help
199 This adds support for frequency switching on Apple iMac G5,
200 and some of the more recent desktop G5 machines as well.
Olof Johansson2e0c3372007-04-27 15:46:01 +1000201
202config PPC_PASEMI_CPUFREQ
203 bool "Support for PA Semi PWRficient"
Olof Johanssonc146c952007-04-27 15:52:43 +1000204 depends on PPC_PASEMI
Olof Johansson2e0c3372007-04-27 15:46:01 +1000205 default y
206 select CPU_FREQ_TABLE
207 help
208 This adds the support for frequency switching on PA Semi
209 PWRficient processors.
210
Kumar Gala164a4602007-04-12 15:35:50 -0500211endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500212
213config PPC601_SYNC_FIX
214 bool "Workarounds for PPC601 bugs"
215 depends on 6xx && (PPC_PREP || PPC_PMAC)
216 help
217 Some versions of the PPC601 (the first PowerPC chip) have bugs which
218 mean that extra synchronization instructions are required near
219 certain instructions, typically those that make major changes to the
220 CPU state. These extra instructions reduce performance slightly.
221 If you say N here, these extra instructions will not be included,
222 resulting in a kernel which will run faster but may not run at all
223 on some systems with the PPC601 chip.
224
225 If in doubt, say Y here.
226
227config TAU
228 bool "On-chip CPU temperature sensor support"
Kumar Gala164a4602007-04-12 15:35:50 -0500229 depends on CLASSIC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500230 help
231 G3 and G4 processors have an on-chip temperature sensor called the
232 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
233 temperature within 2-4 degrees Celsius. This option shows the current
234 on-die temperature in /proc/cpuinfo if the cpu supports it.
235
236 Unfortunately, on some chip revisions, this sensor is very inaccurate
237 and in many cases, does not work at all, so don't assume the cpu
238 temp is actually what /proc/cpuinfo says it is.
239
240config TAU_INT
241 bool "Interrupt driven TAU driver (DANGEROUS)"
242 depends on TAU
243 ---help---
244 The TAU supports an interrupt driven mode which causes an interrupt
245 whenever the temperature goes out of range. This is the fastest way
246 to get notified the temp has exceeded a range. With this option off,
247 a timer is used to re-check the temperature periodically.
248
249 However, on some cpus it appears that the TAU interrupt hardware
250 is buggy and can cause a situation which would lead unexplained hard
251 lockups.
252
253 Unless you are extending the TAU driver, or enjoy kernel/hardware
254 debugging, leave this option off.
255
256config TAU_AVERAGE
257 bool "Average high and low temp"
258 depends on TAU
259 ---help---
260 The TAU hardware can compare the temperature to an upper and lower
261 bound. The default behavior is to show both the upper and lower
262 bound in /proc/cpuinfo. If the range is large, the temperature is
263 either changing a lot, or the TAU hardware is broken (likely on some
264 G4's). If the range is small (around 4 degrees), the temperature is
265 relatively stable. If you say Y here, a single temperature value,
266 halfway between the upper and lower bounds, will be reported in
267 /proc/cpuinfo.
268
269 If in doubt, say N here.
270
Kumar Gala98750262007-04-12 18:01:34 -0500271config QUICC_ENGINE
272 bool
Sylvain Munaut1088a202007-09-16 20:53:25 +1000273 select PPC_LIB_RHEAP
Timur Tabibc556ba2008-01-08 10:30:58 -0600274 select CRC32
Kumar Gala98750262007-04-12 18:01:34 -0500275 help
276 The QUICC Engine (QE) is a new generation of communications
277 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
278 Selecting this option means that you wish to build a kernel
279 for a machine with a QE coprocessor.
280
Kumar Galad6071f82007-04-12 16:53:32 -0500281config CPM2
Paul Gortmakerb8b3caf2008-01-24 18:41:25 -0500282 bool "Enable support for the CPM2 (Communications Processor Module)"
283 depends on MPC85xx || 8260
Scott Woodc374e002007-07-16 11:43:43 -0500284 select CPM
Sylvain Munaut1088a202007-09-16 20:53:25 +1000285 select PPC_LIB_RHEAP
Kumar Galad6071f82007-04-12 16:53:32 -0500286 help
287 The CPM2 (Communications Processor Module) is a coprocessor on
288 embedded CPUs made by Freescale. Selecting this option means that
289 you wish to build a kernel for a machine with a CPM2 coprocessor
290 on it (826x, 827x, 8560).
291
Scott Woode631ae32007-09-14 13:04:54 -0500292config PPC_CPM_NEW_BINDING
293 bool
294 depends on CPM1 || CPM2
295 help
296 Select this if your board has been converted to use the new
297 device tree bindings for CPM, and no longer needs the
298 ioport callbacks or the platform device glue code.
299
300 The fs_enet and cpm_uart drivers will be built as
301 of_platform devices.
302
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200303config AXON_RAM
304 tristate "Axon DDR2 memory device driver"
305 depends on PPC_IBM_CELL_BLADE
306 default m
307 help
308 It registers one block device per Axon's DDR2 memory bank found
309 on a system. Block devices are called axonram?, their major and
310 minor numbers are available in /proc/devices, /proc/partitions or
311 in /sys/block/axonram?/dev.
312
Kumar Galab66510c2007-08-16 23:55:55 -0500313config FSL_ULI1575
314 bool
315 default n
Kumar Galafb4f0e82007-09-10 14:57:34 -0500316 select GENERIC_ISA_DMA
Kumar Galab66510c2007-08-16 23:55:55 -0500317 help
318 Supports for the ULI1575 PCIe south bridge that exists on some
319 Freescale reference boards. The boards all use the ULI in pretty
320 much the same way.
321
Scott Woodc374e002007-07-16 11:43:43 -0500322config CPM
323 bool
324
David Gibson22258fa2008-01-11 14:25:34 +1100325config OF_RTC
326 bool
327 help
328 Uses information from the OF or flattened device tree to instatiate
329 platform devices for direct mapped RTC chips like the DS1742 or DS1743.
330
Sylvain Munaut2f9ea1b2007-09-16 20:53:27 +1000331source "arch/powerpc/sysdev/bestcomm/Kconfig"
332
Kumar Gala4330f5d2007-03-16 09:32:17 -0500333endmenu