blob: 78a7edac577f355845bf7835aef0f6094bb6c4a7 [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
15config EMBEDDED6xx
16 bool "Embedded 6xx/7xx/7xxx-based board"
17 depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
18
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020019config PPC_82xx
20 bool "Freescale 82xx"
21 depends on 6xx
Scott Woode5d8d542007-08-21 03:40:02 +100022 select WANT_DEVICE_TREE
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020023
24config PPC_83xx
25 bool "Freescale 83xx"
26 depends on 6xx
27 select FSL_SOC
28 select 83xx
29 select WANT_DEVICE_TREE
30
31config PPC_86xx
32 bool "Freescale 86xx"
33 depends on 6xx
34 select FSL_SOC
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020035 select ALTIVEC
36 help
37 The Freescale E600 SoCs have 74xx cores.
Kumar Gala4330f5d2007-03-16 09:32:17 -050038endchoice
39
Arnd Bergmannb9fd3052007-06-18 01:06:52 +020040config CLASSIC32
41 def_bool y
42 depends on 6xx && PPC_MULTIPLATFORM
43
Kumar Gala4330f5d2007-03-16 09:32:17 -050044source "arch/powerpc/platforms/pseries/Kconfig"
45source "arch/powerpc/platforms/iseries/Kconfig"
46source "arch/powerpc/platforms/chrp/Kconfig"
47source "arch/powerpc/platforms/52xx/Kconfig"
48source "arch/powerpc/platforms/powermac/Kconfig"
49source "arch/powerpc/platforms/prep/Kconfig"
50source "arch/powerpc/platforms/maple/Kconfig"
51source "arch/powerpc/platforms/pasemi/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050052source "arch/powerpc/platforms/celleb/Kconfig"
53source "arch/powerpc/platforms/ps3/Kconfig"
54source "arch/powerpc/platforms/cell/Kconfig"
Kumar Galac8a55f32007-04-12 17:35:54 -050055source "arch/powerpc/platforms/8xx/Kconfig"
Kumar Galad6071f82007-04-12 16:53:32 -050056source "arch/powerpc/platforms/82xx/Kconfig"
Kumar Galab5a48342007-04-12 15:46:21 -050057source "arch/powerpc/platforms/83xx/Kconfig"
Kumar Galadb947802007-04-12 17:44:07 -050058source "arch/powerpc/platforms/85xx/Kconfig"
Kumar Gala4a89f7f2007-04-12 15:41:26 -050059source "arch/powerpc/platforms/86xx/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050060source "arch/powerpc/platforms/embedded6xx/Kconfig"
David Gibsonf6dfc802007-05-08 14:10:01 +100061source "arch/powerpc/platforms/44x/Kconfig"
Josh Boyer545c0692007-09-07 07:51:24 -050062source "arch/powerpc/platforms/40x/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050063
64config PPC_NATIVE
65 bool
66 depends on PPC_MULTIPLATFORM
67 help
68 Support for running natively on the hardware, i.e. without
69 a hypervisor. This option is not user-selectable but should
70 be selected by all platforms that need it.
71
72config UDBG_RTAS_CONSOLE
73 bool "RTAS based debug console"
74 depends on PPC_RTAS
75 default n
76
77config PPC_UDBG_BEAT
78 bool "BEAT based debug console"
79 depends on PPC_CELLEB
80 default n
81
82config XICS
83 depends on PPC_PSERIES
84 bool
85 default y
86
Kumar Gala98750262007-04-12 18:01:34 -050087config MPIC
88 bool
89 default n
90
91config MPIC_WEIRD
92 bool
93 default n
94
95config PPC_I8259
96 bool
97 default n
98
Kumar Gala4330f5d2007-03-16 09:32:17 -050099config U3_DART
100 bool
101 depends on PPC_MULTIPLATFORM && PPC64
102 default n
103
104config PPC_RTAS
105 bool
106 default n
107
108config RTAS_ERROR_LOGGING
109 bool
110 depends on PPC_RTAS
111 default n
112
113config RTAS_PROC
114 bool "Proc interface to RTAS"
115 depends on PPC_RTAS
116 default y
117
118config RTAS_FLASH
119 tristate "Firmware flash interface"
120 depends on PPC64 && RTAS_PROC
121
122config PPC_PMI
123 tristate "Support for PMI"
124 depends PPC_IBM_CELL_BLADE
125 help
126 PMI (Platform Management Interrupt) is a way to
127 communicate with the BMC (Baseboard Mangement Controller).
128 It is used in some IBM Cell blades.
129 default m
130
131config MMIO_NVRAM
132 bool
133 default n
134
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000135config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500136 bool
137 depends on PPC_MAPLE
138 default y
139
Olof Johansson0d72ba92007-09-08 05:13:19 +1000140config MPIC_BROKEN_REGREAD
141 bool
142 depends on MPIC
143 help
144 This option enables a MPIC driver workaround for some chips
145 that have a bug that causes some interrupt source information
146 to not read back properly. It is safe to use on other chips as
147 well, but enabling it uses about 8KB of memory to keep copies
148 of the register contents in software.
149
Kumar Gala4330f5d2007-03-16 09:32:17 -0500150config IBMVIO
151 depends on PPC_PSERIES || PPC_ISERIES
152 bool
153 default y
154
155config IBMEBUS
156 depends on PPC_PSERIES
157 bool "Support for GX bus based adapters"
158 help
159 Bus device driver for GX bus based adapters.
160
161config PPC_MPC106
162 bool
163 default n
164
165config PPC_970_NAP
166 bool
167 default n
168
169config PPC_INDIRECT_IO
170 bool
171 select GENERIC_IOMAP
172 default n
173
174config GENERIC_IOMAP
175 bool
176 default n
177
178source "drivers/cpufreq/Kconfig"
179
Olof Johanssonc146c952007-04-27 15:52:43 +1000180menu "CPU Frequency drivers"
181 depends on CPU_FREQ
182
Kumar Gala4330f5d2007-03-16 09:32:17 -0500183config CPU_FREQ_PMAC
184 bool "Support for Apple PowerBooks"
Olof Johanssonc146c952007-04-27 15:52:43 +1000185 depends on ADB_PMU && PPC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500186 select CPU_FREQ_TABLE
187 help
188 This adds support for frequency switching on Apple PowerBooks,
189 this currently includes some models of iBook & Titanium
190 PowerBook.
191
192config CPU_FREQ_PMAC64
193 bool "Support for some Apple G5s"
Olof Johanssonc146c952007-04-27 15:52:43 +1000194 depends on PPC_PMAC && PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500195 select CPU_FREQ_TABLE
196 help
197 This adds support for frequency switching on Apple iMac G5,
198 and some of the more recent desktop G5 machines as well.
Olof Johansson2e0c3372007-04-27 15:46:01 +1000199
200config PPC_PASEMI_CPUFREQ
201 bool "Support for PA Semi PWRficient"
Olof Johanssonc146c952007-04-27 15:52:43 +1000202 depends on PPC_PASEMI
Olof Johansson2e0c3372007-04-27 15:46:01 +1000203 default y
204 select CPU_FREQ_TABLE
205 help
206 This adds the support for frequency switching on PA Semi
207 PWRficient processors.
208
Kumar Gala164a4602007-04-12 15:35:50 -0500209endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500210
211config PPC601_SYNC_FIX
212 bool "Workarounds for PPC601 bugs"
213 depends on 6xx && (PPC_PREP || PPC_PMAC)
214 help
215 Some versions of the PPC601 (the first PowerPC chip) have bugs which
216 mean that extra synchronization instructions are required near
217 certain instructions, typically those that make major changes to the
218 CPU state. These extra instructions reduce performance slightly.
219 If you say N here, these extra instructions will not be included,
220 resulting in a kernel which will run faster but may not run at all
221 on some systems with the PPC601 chip.
222
223 If in doubt, say Y here.
224
225config TAU
226 bool "On-chip CPU temperature sensor support"
Kumar Gala164a4602007-04-12 15:35:50 -0500227 depends on CLASSIC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500228 help
229 G3 and G4 processors have an on-chip temperature sensor called the
230 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
231 temperature within 2-4 degrees Celsius. This option shows the current
232 on-die temperature in /proc/cpuinfo if the cpu supports it.
233
234 Unfortunately, on some chip revisions, this sensor is very inaccurate
235 and in many cases, does not work at all, so don't assume the cpu
236 temp is actually what /proc/cpuinfo says it is.
237
238config TAU_INT
239 bool "Interrupt driven TAU driver (DANGEROUS)"
240 depends on TAU
241 ---help---
242 The TAU supports an interrupt driven mode which causes an interrupt
243 whenever the temperature goes out of range. This is the fastest way
244 to get notified the temp has exceeded a range. With this option off,
245 a timer is used to re-check the temperature periodically.
246
247 However, on some cpus it appears that the TAU interrupt hardware
248 is buggy and can cause a situation which would lead unexplained hard
249 lockups.
250
251 Unless you are extending the TAU driver, or enjoy kernel/hardware
252 debugging, leave this option off.
253
254config TAU_AVERAGE
255 bool "Average high and low temp"
256 depends on TAU
257 ---help---
258 The TAU hardware can compare the temperature to an upper and lower
259 bound. The default behavior is to show both the upper and lower
260 bound in /proc/cpuinfo. If the range is large, the temperature is
261 either changing a lot, or the TAU hardware is broken (likely on some
262 G4's). If the range is small (around 4 degrees), the temperature is
263 relatively stable. If you say Y here, a single temperature value,
264 halfway between the upper and lower bounds, will be reported in
265 /proc/cpuinfo.
266
267 If in doubt, say N here.
268
Kumar Gala98750262007-04-12 18:01:34 -0500269config QUICC_ENGINE
270 bool
271 help
272 The QUICC Engine (QE) is a new generation of communications
273 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
274 Selecting this option means that you wish to build a kernel
275 for a machine with a QE coprocessor.
276
Kumar Galad6071f82007-04-12 16:53:32 -0500277config CPM2
278 bool
279 default n
280 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
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200286config AXON_RAM
287 tristate "Axon DDR2 memory device driver"
288 depends on PPC_IBM_CELL_BLADE
289 default m
290 help
291 It registers one block device per Axon's DDR2 memory bank found
292 on a system. Block devices are called axonram?, their major and
293 minor numbers are available in /proc/devices, /proc/partitions or
294 in /sys/block/axonram?/dev.
295
Kumar Galab66510c2007-08-16 23:55:55 -0500296config FSL_ULI1575
297 bool
298 default n
Kumar Galafb4f0e82007-09-10 14:57:34 -0500299 select GENERIC_ISA_DMA
Kumar Galab66510c2007-08-16 23:55:55 -0500300 help
301 Supports for the ULI1575 PCIe south bridge that exists on some
302 Freescale reference boards. The boards all use the ULI in pretty
303 much the same way.
304
Kumar Gala4330f5d2007-03-16 09:32:17 -0500305endmenu