blob: efe5805eecbebb369ee840c662f28d1d838342b5 [file] [log] [blame]
Kumar Gala4330f5d2007-03-16 09:32:17 -05001menu "Platform support"
Kumar Gala4330f5d2007-03-16 09:32:17 -05002
Kumar Gala4330f5d2007-03-16 09:32:17 -05003config PPC_MULTIPLATFORM
Kumar Galad8267c12008-06-27 11:26:26 -05004 bool
5 depends on PPC64 || 6xx
6 default y
Kumar Gala4330f5d2007-03-16 09:32:17 -05007
Arnd Bergmannb9fd3052007-06-18 01:06:52 +02008config CLASSIC32
9 def_bool y
10 depends on 6xx && PPC_MULTIPLATFORM
11
Kumar Gala4330f5d2007-03-16 09:32:17 -050012source "arch/powerpc/platforms/pseries/Kconfig"
13source "arch/powerpc/platforms/iseries/Kconfig"
14source "arch/powerpc/platforms/chrp/Kconfig"
John Rigbye177edc2008-01-29 04:28:53 +110015source "arch/powerpc/platforms/512x/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050016source "arch/powerpc/platforms/52xx/Kconfig"
17source "arch/powerpc/platforms/powermac/Kconfig"
18source "arch/powerpc/platforms/prep/Kconfig"
19source "arch/powerpc/platforms/maple/Kconfig"
20source "arch/powerpc/platforms/pasemi/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050021source "arch/powerpc/platforms/ps3/Kconfig"
22source "arch/powerpc/platforms/cell/Kconfig"
Kumar Galac8a55f32007-04-12 17:35:54 -050023source "arch/powerpc/platforms/8xx/Kconfig"
Kumar Galad6071f82007-04-12 16:53:32 -050024source "arch/powerpc/platforms/82xx/Kconfig"
Kumar Galab5a48342007-04-12 15:46:21 -050025source "arch/powerpc/platforms/83xx/Kconfig"
Kumar Galadb947802007-04-12 17:44:07 -050026source "arch/powerpc/platforms/85xx/Kconfig"
Kumar Gala4a89f7f2007-04-12 15:41:26 -050027source "arch/powerpc/platforms/86xx/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050028source "arch/powerpc/platforms/embedded6xx/Kconfig"
David Gibsonf6dfc802007-05-08 14:10:01 +100029source "arch/powerpc/platforms/44x/Kconfig"
Josh Boyer545c0692007-09-07 07:51:24 -050030source "arch/powerpc/platforms/40x/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050031
32config PPC_NATIVE
33 bool
34 depends on PPC_MULTIPLATFORM
35 help
36 Support for running natively on the hardware, i.e. without
37 a hypervisor. This option is not user-selectable but should
38 be selected by all platforms that need it.
39
40config UDBG_RTAS_CONSOLE
41 bool "RTAS based debug console"
42 depends on PPC_RTAS
43 default n
44
45config PPC_UDBG_BEAT
46 bool "BEAT based debug console"
47 depends on PPC_CELLEB
48 default n
49
50config XICS
51 depends on PPC_PSERIES
52 bool
53 default y
54
John Rigbyb0bbad62008-01-17 17:05:31 -070055config IPIC
56 bool
57 default n
58
Kumar Gala98750262007-04-12 18:01:34 -050059config MPIC
60 bool
61 default n
62
63config MPIC_WEIRD
64 bool
65 default n
66
67config PPC_I8259
68 bool
69 default n
70
Kumar Gala4330f5d2007-03-16 09:32:17 -050071config U3_DART
72 bool
73 depends on PPC_MULTIPLATFORM && PPC64
74 default n
75
76config PPC_RTAS
77 bool
78 default n
79
80config RTAS_ERROR_LOGGING
81 bool
82 depends on PPC_RTAS
83 default n
84
85config RTAS_PROC
86 bool "Proc interface to RTAS"
87 depends on PPC_RTAS
88 default y
89
90config RTAS_FLASH
91 tristate "Firmware flash interface"
92 depends on PPC64 && RTAS_PROC
93
94config PPC_PMI
95 tristate "Support for PMI"
Adrian Bunk247537b2007-09-26 20:02:52 +020096 depends on PPC_IBM_CELL_BLADE
Kumar Gala4330f5d2007-03-16 09:32:17 -050097 help
98 PMI (Platform Management Interrupt) is a way to
Matt LaPlante01dd2fb2007-10-20 01:34:40 +020099 communicate with the BMC (Baseboard Management Controller).
Kumar Gala4330f5d2007-03-16 09:32:17 -0500100 It is used in some IBM Cell blades.
101 default m
102
103config MMIO_NVRAM
104 bool
105 default n
106
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000107config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500108 bool
109 depends on PPC_MAPLE
110 default y
111
Olof Johansson0d72ba92007-09-08 05:13:19 +1000112config MPIC_BROKEN_REGREAD
113 bool
114 depends on MPIC
115 help
116 This option enables a MPIC driver workaround for some chips
117 that have a bug that causes some interrupt source information
118 to not read back properly. It is safe to use on other chips as
119 well, but enabling it uses about 8KB of memory to keep copies
120 of the register contents in software.
121
Kumar Gala4330f5d2007-03-16 09:32:17 -0500122config IBMVIO
123 depends on PPC_PSERIES || PPC_ISERIES
124 bool
125 default y
126
127config IBMEBUS
128 depends on PPC_PSERIES
129 bool "Support for GX bus based adapters"
130 help
131 Bus device driver for GX bus based adapters.
132
133config PPC_MPC106
134 bool
135 default n
136
137config PPC_970_NAP
138 bool
139 default n
140
141config PPC_INDIRECT_IO
142 bool
143 select GENERIC_IOMAP
144 default n
145
146config GENERIC_IOMAP
147 bool
148 default n
149
150source "drivers/cpufreq/Kconfig"
151
Olof Johanssonc146c952007-04-27 15:52:43 +1000152menu "CPU Frequency drivers"
153 depends on CPU_FREQ
154
Kumar Gala4330f5d2007-03-16 09:32:17 -0500155config CPU_FREQ_PMAC
156 bool "Support for Apple PowerBooks"
Olof Johanssonc146c952007-04-27 15:52:43 +1000157 depends on ADB_PMU && PPC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500158 select CPU_FREQ_TABLE
159 help
160 This adds support for frequency switching on Apple PowerBooks,
161 this currently includes some models of iBook & Titanium
162 PowerBook.
163
164config CPU_FREQ_PMAC64
165 bool "Support for some Apple G5s"
Olof Johanssonc146c952007-04-27 15:52:43 +1000166 depends on PPC_PMAC && PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500167 select CPU_FREQ_TABLE
168 help
169 This adds support for frequency switching on Apple iMac G5,
170 and some of the more recent desktop G5 machines as well.
Olof Johansson2e0c3372007-04-27 15:46:01 +1000171
172config PPC_PASEMI_CPUFREQ
173 bool "Support for PA Semi PWRficient"
Olof Johanssonc146c952007-04-27 15:52:43 +1000174 depends on PPC_PASEMI
Olof Johansson2e0c3372007-04-27 15:46:01 +1000175 default y
176 select CPU_FREQ_TABLE
177 help
178 This adds the support for frequency switching on PA Semi
179 PWRficient processors.
180
Kumar Gala164a4602007-04-12 15:35:50 -0500181endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500182
183config PPC601_SYNC_FIX
184 bool "Workarounds for PPC601 bugs"
185 depends on 6xx && (PPC_PREP || PPC_PMAC)
186 help
187 Some versions of the PPC601 (the first PowerPC chip) have bugs which
188 mean that extra synchronization instructions are required near
189 certain instructions, typically those that make major changes to the
190 CPU state. These extra instructions reduce performance slightly.
191 If you say N here, these extra instructions will not be included,
192 resulting in a kernel which will run faster but may not run at all
193 on some systems with the PPC601 chip.
194
195 If in doubt, say Y here.
196
197config TAU
198 bool "On-chip CPU temperature sensor support"
Kumar Gala164a4602007-04-12 15:35:50 -0500199 depends on CLASSIC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500200 help
201 G3 and G4 processors have an on-chip temperature sensor called the
202 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
203 temperature within 2-4 degrees Celsius. This option shows the current
204 on-die temperature in /proc/cpuinfo if the cpu supports it.
205
206 Unfortunately, on some chip revisions, this sensor is very inaccurate
207 and in many cases, does not work at all, so don't assume the cpu
208 temp is actually what /proc/cpuinfo says it is.
209
210config TAU_INT
211 bool "Interrupt driven TAU driver (DANGEROUS)"
212 depends on TAU
213 ---help---
214 The TAU supports an interrupt driven mode which causes an interrupt
215 whenever the temperature goes out of range. This is the fastest way
216 to get notified the temp has exceeded a range. With this option off,
217 a timer is used to re-check the temperature periodically.
218
219 However, on some cpus it appears that the TAU interrupt hardware
220 is buggy and can cause a situation which would lead unexplained hard
221 lockups.
222
223 Unless you are extending the TAU driver, or enjoy kernel/hardware
224 debugging, leave this option off.
225
226config TAU_AVERAGE
227 bool "Average high and low temp"
228 depends on TAU
229 ---help---
230 The TAU hardware can compare the temperature to an upper and lower
231 bound. The default behavior is to show both the upper and lower
232 bound in /proc/cpuinfo. If the range is large, the temperature is
233 either changing a lot, or the TAU hardware is broken (likely on some
234 G4's). If the range is small (around 4 degrees), the temperature is
235 relatively stable. If you say Y here, a single temperature value,
236 halfway between the upper and lower bounds, will be reported in
237 /proc/cpuinfo.
238
239 If in doubt, say N here.
240
Kumar Gala98750262007-04-12 18:01:34 -0500241config QUICC_ENGINE
242 bool
Sylvain Munaut1088a202007-09-16 20:53:25 +1000243 select PPC_LIB_RHEAP
Timur Tabibc556ba2008-01-08 10:30:58 -0600244 select CRC32
Kumar Gala98750262007-04-12 18:01:34 -0500245 help
246 The QUICC Engine (QE) is a new generation of communications
247 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
248 Selecting this option means that you wish to build a kernel
249 for a machine with a QE coprocessor.
250
Kumar Galad6071f82007-04-12 16:53:32 -0500251config CPM2
Paul Gortmakerb8b3caf2008-01-24 18:41:25 -0500252 bool "Enable support for the CPM2 (Communications Processor Module)"
253 depends on MPC85xx || 8260
Scott Woodc374e002007-07-16 11:43:43 -0500254 select CPM
Sylvain Munaut1088a202007-09-16 20:53:25 +1000255 select PPC_LIB_RHEAP
John Rigbyb5005632008-06-26 11:07:56 -0600256 select PPC_PCI_CHOICE
Kumar Galad6071f82007-04-12 16:53:32 -0500257 help
258 The CPM2 (Communications Processor Module) is a coprocessor on
259 embedded CPUs made by Freescale. Selecting this option means that
260 you wish to build a kernel for a machine with a CPM2 coprocessor
261 on it (826x, 827x, 8560).
262
Scott Woode631ae32007-09-14 13:04:54 -0500263config PPC_CPM_NEW_BINDING
264 bool
265 depends on CPM1 || CPM2
Scott Wood3dd82a12008-04-10 15:45:02 -0500266 default y
Scott Woode631ae32007-09-14 13:04:54 -0500267
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +0200268config AXON_RAM
269 tristate "Axon DDR2 memory device driver"
270 depends on PPC_IBM_CELL_BLADE
271 default m
272 help
273 It registers one block device per Axon's DDR2 memory bank found
274 on a system. Block devices are called axonram?, their major and
275 minor numbers are available in /proc/devices, /proc/partitions or
276 in /sys/block/axonram?/dev.
277
Kumar Galab66510c2007-08-16 23:55:55 -0500278config FSL_ULI1575
279 bool
280 default n
Kumar Galafb4f0e82007-09-10 14:57:34 -0500281 select GENERIC_ISA_DMA
Kumar Galab66510c2007-08-16 23:55:55 -0500282 help
283 Supports for the ULI1575 PCIe south bridge that exists on some
284 Freescale reference boards. The boards all use the ULI in pretty
285 much the same way.
286
Scott Woodc374e002007-07-16 11:43:43 -0500287config CPM
288 bool
289
David Gibson22258fa2008-01-11 14:25:34 +1100290config OF_RTC
291 bool
292 help
293 Uses information from the OF or flattened device tree to instatiate
294 platform devices for direct mapped RTC chips like the DS1742 or DS1743.
295
Sylvain Munaut2f9ea1b2007-09-16 20:53:27 +1000296source "arch/powerpc/sysdev/bestcomm/Kconfig"
297
Kumar Gala4330f5d2007-03-16 09:32:17 -0500298endmenu