blob: 18f101bcca94ab9912075028d9ecf5f56ee8a393 [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
24 select 83xx
25 select WANT_DEVICE_TREE
26
27config PPC_86xx
28 bool "Freescale 86xx"
29 depends on 6xx
30 select FSL_SOC
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020031 select ALTIVEC
32 help
33 The Freescale E600 SoCs have 74xx cores.
Kumar Gala4330f5d2007-03-16 09:32:17 -050034endchoice
35
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020036config CLASSIC32
37 def_bool y
38 depends on 6xx && PPC_MULTIPLATFORM
39
Kumar Gala4330f5d2007-03-16 09:32:17 -050040source "arch/powerpc/platforms/pseries/Kconfig"
41source "arch/powerpc/platforms/iseries/Kconfig"
42source "arch/powerpc/platforms/chrp/Kconfig"
43source "arch/powerpc/platforms/52xx/Kconfig"
44source "arch/powerpc/platforms/powermac/Kconfig"
45source "arch/powerpc/platforms/prep/Kconfig"
46source "arch/powerpc/platforms/maple/Kconfig"
47source "arch/powerpc/platforms/pasemi/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050048source "arch/powerpc/platforms/celleb/Kconfig"
49source "arch/powerpc/platforms/ps3/Kconfig"
50source "arch/powerpc/platforms/cell/Kconfig"
Kumar Galac8a55f32007-04-12 17:35:54 -050051source "arch/powerpc/platforms/8xx/Kconfig"
Kumar Galad6071f82007-04-12 16:53:32 -050052source "arch/powerpc/platforms/82xx/Kconfig"
Kumar Galab5a48342007-04-12 15:46:21 -050053source "arch/powerpc/platforms/83xx/Kconfig"
Kumar Galadb947802007-04-12 17:44:07 -050054source "arch/powerpc/platforms/85xx/Kconfig"
Kumar Gala4a89f7f2007-04-12 15:41:26 -050055source "arch/powerpc/platforms/86xx/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050056source "arch/powerpc/platforms/embedded6xx/Kconfig"
David Gibsonf6dfc802007-05-08 14:10:01 +100057source "arch/powerpc/platforms/44x/Kconfig"
Josh Boyer545c0692007-09-07 07:51:24 -050058source "arch/powerpc/platforms/40x/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050059
60config PPC_NATIVE
61 bool
62 depends on PPC_MULTIPLATFORM
63 help
64 Support for running natively on the hardware, i.e. without
65 a hypervisor. This option is not user-selectable but should
66 be selected by all platforms that need it.
67
68config UDBG_RTAS_CONSOLE
69 bool "RTAS based debug console"
70 depends on PPC_RTAS
71 default n
72
73config PPC_UDBG_BEAT
74 bool "BEAT based debug console"
75 depends on PPC_CELLEB
76 default n
77
78config XICS
79 depends on PPC_PSERIES
80 bool
81 default y
82
Kumar Gala98750262007-04-12 18:01:34 -050083config MPIC
84 bool
85 default n
86
87config MPIC_WEIRD
88 bool
89 default n
90
91config PPC_I8259
92 bool
93 default n
94
Kumar Gala4330f5d2007-03-16 09:32:17 -050095config U3_DART
96 bool
97 depends on PPC_MULTIPLATFORM && PPC64
98 default n
99
100config PPC_RTAS
101 bool
102 default n
103
104config RTAS_ERROR_LOGGING
105 bool
106 depends on PPC_RTAS
107 default n
108
109config RTAS_PROC
110 bool "Proc interface to RTAS"
111 depends on PPC_RTAS
112 default y
113
114config RTAS_FLASH
115 tristate "Firmware flash interface"
116 depends on PPC64 && RTAS_PROC
117
118config PPC_PMI
119 tristate "Support for PMI"
Adrian Bunk247537b2007-09-26 20:02:52 +0200120 depends on PPC_IBM_CELL_BLADE
Kumar Gala4330f5d2007-03-16 09:32:17 -0500121 help
122 PMI (Platform Management Interrupt) is a way to
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200123 communicate with the BMC (Baseboard Management Controller).
Kumar Gala4330f5d2007-03-16 09:32:17 -0500124 It is used in some IBM Cell blades.
125 default m
126
127config MMIO_NVRAM
128 bool
129 default n
130
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000131config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500132 bool
133 depends on PPC_MAPLE
134 default y
135
Olof Johansson0d72ba92007-09-08 05:13:19 +1000136config MPIC_BROKEN_REGREAD
137 bool
138 depends on MPIC
139 help
140 This option enables a MPIC driver workaround for some chips
141 that have a bug that causes some interrupt source information
142 to not read back properly. It is safe to use on other chips as
143 well, but enabling it uses about 8KB of memory to keep copies
144 of the register contents in software.
145
Kumar Gala4330f5d2007-03-16 09:32:17 -0500146config IBMVIO
147 depends on PPC_PSERIES || PPC_ISERIES
148 bool
149 default y
150
151config IBMEBUS
152 depends on PPC_PSERIES
153 bool "Support for GX bus based adapters"
154 help
155 Bus device driver for GX bus based adapters.
156
157config PPC_MPC106
158 bool
159 default n
160
161config PPC_970_NAP
162 bool
163 default n
164
165config PPC_INDIRECT_IO
166 bool
167 select GENERIC_IOMAP
168 default n
169
170config GENERIC_IOMAP
171 bool
172 default n
173
174source "drivers/cpufreq/Kconfig"
175
Olof Johanssonc146c952007-04-27 15:52:43 +1000176menu "CPU Frequency drivers"
177 depends on CPU_FREQ
178
Kumar Gala4330f5d2007-03-16 09:32:17 -0500179config CPU_FREQ_PMAC
180 bool "Support for Apple PowerBooks"
Olof Johanssonc146c952007-04-27 15:52:43 +1000181 depends on ADB_PMU && PPC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500182 select CPU_FREQ_TABLE
183 help
184 This adds support for frequency switching on Apple PowerBooks,
185 this currently includes some models of iBook & Titanium
186 PowerBook.
187
188config CPU_FREQ_PMAC64
189 bool "Support for some Apple G5s"
Olof Johanssonc146c952007-04-27 15:52:43 +1000190 depends on PPC_PMAC && PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500191 select CPU_FREQ_TABLE
192 help
193 This adds support for frequency switching on Apple iMac G5,
194 and some of the more recent desktop G5 machines as well.
Olof Johansson2e0c3372007-04-27 15:46:01 +1000195
196config PPC_PASEMI_CPUFREQ
197 bool "Support for PA Semi PWRficient"
Olof Johanssonc146c952007-04-27 15:52:43 +1000198 depends on PPC_PASEMI
Olof Johansson2e0c3372007-04-27 15:46:01 +1000199 default y
200 select CPU_FREQ_TABLE
201 help
202 This adds the support for frequency switching on PA Semi
203 PWRficient processors.
204
Kumar Gala164a4602007-04-12 15:35:50 -0500205endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500206
207config PPC601_SYNC_FIX
208 bool "Workarounds for PPC601 bugs"
209 depends on 6xx && (PPC_PREP || PPC_PMAC)
210 help
211 Some versions of the PPC601 (the first PowerPC chip) have bugs which
212 mean that extra synchronization instructions are required near
213 certain instructions, typically those that make major changes to the
214 CPU state. These extra instructions reduce performance slightly.
215 If you say N here, these extra instructions will not be included,
216 resulting in a kernel which will run faster but may not run at all
217 on some systems with the PPC601 chip.
218
219 If in doubt, say Y here.
220
221config TAU
222 bool "On-chip CPU temperature sensor support"
Kumar Gala164a4602007-04-12 15:35:50 -0500223 depends on CLASSIC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500224 help
225 G3 and G4 processors have an on-chip temperature sensor called the
226 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
227 temperature within 2-4 degrees Celsius. This option shows the current
228 on-die temperature in /proc/cpuinfo if the cpu supports it.
229
230 Unfortunately, on some chip revisions, this sensor is very inaccurate
231 and in many cases, does not work at all, so don't assume the cpu
232 temp is actually what /proc/cpuinfo says it is.
233
234config TAU_INT
235 bool "Interrupt driven TAU driver (DANGEROUS)"
236 depends on TAU
237 ---help---
238 The TAU supports an interrupt driven mode which causes an interrupt
239 whenever the temperature goes out of range. This is the fastest way
240 to get notified the temp has exceeded a range. With this option off,
241 a timer is used to re-check the temperature periodically.
242
243 However, on some cpus it appears that the TAU interrupt hardware
244 is buggy and can cause a situation which would lead unexplained hard
245 lockups.
246
247 Unless you are extending the TAU driver, or enjoy kernel/hardware
248 debugging, leave this option off.
249
250config TAU_AVERAGE
251 bool "Average high and low temp"
252 depends on TAU
253 ---help---
254 The TAU hardware can compare the temperature to an upper and lower
255 bound. The default behavior is to show both the upper and lower
256 bound in /proc/cpuinfo. If the range is large, the temperature is
257 either changing a lot, or the TAU hardware is broken (likely on some
258 G4's). If the range is small (around 4 degrees), the temperature is
259 relatively stable. If you say Y here, a single temperature value,
260 halfway between the upper and lower bounds, will be reported in
261 /proc/cpuinfo.
262
263 If in doubt, say N here.
264
Kumar Gala98750262007-04-12 18:01:34 -0500265config QUICC_ENGINE
266 bool
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
Kumar Galad6071f82007-04-12 16:53:32 -0500275config CPM2
276 bool
277 default n
Scott Woodc374e002007-07-16 11:43:43 -0500278 select CPM
Sylvain Munaut1088a202007-09-16 20:53:25 +1000279 select PPC_LIB_RHEAP
Kumar Galad6071f82007-04-12 16:53:32 -0500280 help
281 The CPM2 (Communications Processor Module) is a coprocessor on
282 embedded CPUs made by Freescale. Selecting this option means that
283 you wish to build a kernel for a machine with a CPM2 coprocessor
284 on it (826x, 827x, 8560).
285
Scott Woode631ae32007-09-14 13:04:54 -0500286config PPC_CPM_NEW_BINDING
287 bool
288 depends on CPM1 || CPM2
289 help
290 Select this if your board has been converted to use the new
291 device tree bindings for CPM, and no longer needs the
292 ioport callbacks or the platform device glue code.
293
294 The fs_enet and cpm_uart drivers will be built as
295 of_platform devices.
296
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200297config AXON_RAM
298 tristate "Axon DDR2 memory device driver"
299 depends on PPC_IBM_CELL_BLADE
300 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
318
Sylvain Munaut2f9ea1b2007-09-16 20:53:27 +1000319source "arch/powerpc/sysdev/bestcomm/Kconfig"
320
Kumar Gala4330f5d2007-03-16 09:32:17 -0500321endmenu