blob: 8eb8d400ecb2ea2f01b4ba5f238795ae05212887 [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
140config IBMVIO
141 depends on PPC_PSERIES || PPC_ISERIES
142 bool
143 default y
144
145config IBMEBUS
146 depends on PPC_PSERIES
147 bool "Support for GX bus based adapters"
148 help
149 Bus device driver for GX bus based adapters.
150
151config PPC_MPC106
152 bool
153 default n
154
155config PPC_970_NAP
156 bool
157 default n
158
159config PPC_INDIRECT_IO
160 bool
161 select GENERIC_IOMAP
162 default n
163
164config GENERIC_IOMAP
165 bool
166 default n
167
168source "drivers/cpufreq/Kconfig"
169
Olof Johanssonc146c952007-04-27 15:52:43 +1000170menu "CPU Frequency drivers"
171 depends on CPU_FREQ
172
Kumar Gala4330f5d2007-03-16 09:32:17 -0500173config CPU_FREQ_PMAC
174 bool "Support for Apple PowerBooks"
Olof Johanssonc146c952007-04-27 15:52:43 +1000175 depends on ADB_PMU && PPC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500176 select CPU_FREQ_TABLE
177 help
178 This adds support for frequency switching on Apple PowerBooks,
179 this currently includes some models of iBook & Titanium
180 PowerBook.
181
182config CPU_FREQ_PMAC64
183 bool "Support for some Apple G5s"
Olof Johanssonc146c952007-04-27 15:52:43 +1000184 depends on PPC_PMAC && PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500185 select CPU_FREQ_TABLE
186 help
187 This adds support for frequency switching on Apple iMac G5,
188 and some of the more recent desktop G5 machines as well.
Olof Johansson2e0c3372007-04-27 15:46:01 +1000189
190config PPC_PASEMI_CPUFREQ
191 bool "Support for PA Semi PWRficient"
Olof Johanssonc146c952007-04-27 15:52:43 +1000192 depends on PPC_PASEMI
Olof Johansson2e0c3372007-04-27 15:46:01 +1000193 default y
194 select CPU_FREQ_TABLE
195 help
196 This adds the support for frequency switching on PA Semi
197 PWRficient processors.
198
Kumar Gala164a4602007-04-12 15:35:50 -0500199endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500200
201config PPC601_SYNC_FIX
202 bool "Workarounds for PPC601 bugs"
203 depends on 6xx && (PPC_PREP || PPC_PMAC)
204 help
205 Some versions of the PPC601 (the first PowerPC chip) have bugs which
206 mean that extra synchronization instructions are required near
207 certain instructions, typically those that make major changes to the
208 CPU state. These extra instructions reduce performance slightly.
209 If you say N here, these extra instructions will not be included,
210 resulting in a kernel which will run faster but may not run at all
211 on some systems with the PPC601 chip.
212
213 If in doubt, say Y here.
214
215config TAU
216 bool "On-chip CPU temperature sensor support"
Kumar Gala164a4602007-04-12 15:35:50 -0500217 depends on CLASSIC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500218 help
219 G3 and G4 processors have an on-chip temperature sensor called the
220 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
221 temperature within 2-4 degrees Celsius. This option shows the current
222 on-die temperature in /proc/cpuinfo if the cpu supports it.
223
224 Unfortunately, on some chip revisions, this sensor is very inaccurate
225 and in many cases, does not work at all, so don't assume the cpu
226 temp is actually what /proc/cpuinfo says it is.
227
228config TAU_INT
229 bool "Interrupt driven TAU driver (DANGEROUS)"
230 depends on TAU
231 ---help---
232 The TAU supports an interrupt driven mode which causes an interrupt
233 whenever the temperature goes out of range. This is the fastest way
234 to get notified the temp has exceeded a range. With this option off,
235 a timer is used to re-check the temperature periodically.
236
237 However, on some cpus it appears that the TAU interrupt hardware
238 is buggy and can cause a situation which would lead unexplained hard
239 lockups.
240
241 Unless you are extending the TAU driver, or enjoy kernel/hardware
242 debugging, leave this option off.
243
244config TAU_AVERAGE
245 bool "Average high and low temp"
246 depends on TAU
247 ---help---
248 The TAU hardware can compare the temperature to an upper and lower
249 bound. The default behavior is to show both the upper and lower
250 bound in /proc/cpuinfo. If the range is large, the temperature is
251 either changing a lot, or the TAU hardware is broken (likely on some
252 G4's). If the range is small (around 4 degrees), the temperature is
253 relatively stable. If you say Y here, a single temperature value,
254 halfway between the upper and lower bounds, will be reported in
255 /proc/cpuinfo.
256
257 If in doubt, say N here.
258
Kumar Gala98750262007-04-12 18:01:34 -0500259config QUICC_ENGINE
260 bool
261 help
262 The QUICC Engine (QE) is a new generation of communications
263 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
264 Selecting this option means that you wish to build a kernel
265 for a machine with a QE coprocessor.
266
Kumar Galad6071f82007-04-12 16:53:32 -0500267config CPM2
268 bool
269 default n
270 help
271 The CPM2 (Communications Processor Module) is a coprocessor on
272 embedded CPUs made by Freescale. Selecting this option means that
273 you wish to build a kernel for a machine with a CPM2 coprocessor
274 on it (826x, 827x, 8560).
275
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200276config AXON_RAM
277 tristate "Axon DDR2 memory device driver"
278 depends on PPC_IBM_CELL_BLADE
279 default m
280 help
281 It registers one block device per Axon's DDR2 memory bank found
282 on a system. Block devices are called axonram?, their major and
283 minor numbers are available in /proc/devices, /proc/partitions or
284 in /sys/block/axonram?/dev.
285
Kumar Galab66510c2007-08-16 23:55:55 -0500286config FSL_ULI1575
287 bool
288 default n
289 help
290 Supports for the ULI1575 PCIe south bridge that exists on some
291 Freescale reference boards. The boards all use the ULI in pretty
292 much the same way.
293
Kumar Gala4330f5d2007-03-16 09:32:17 -0500294endmenu