blob: b25404ca22165d547411a961cef75a71df5491f0 [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"
Gerhard Pircher54b318a2009-02-10 12:20:49 +000031source "arch/powerpc/platforms/amigaone/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -050032
33config PPC_NATIVE
34 bool
35 depends on PPC_MULTIPLATFORM
36 help
37 Support for running natively on the hardware, i.e. without
38 a hypervisor. This option is not user-selectable but should
39 be selected by all platforms that need it.
40
41config UDBG_RTAS_CONSOLE
42 bool "RTAS based debug console"
43 depends on PPC_RTAS
44 default n
45
46config PPC_UDBG_BEAT
47 bool "BEAT based debug console"
48 depends on PPC_CELLEB
49 default n
50
51config XICS
52 depends on PPC_PSERIES
53 bool
54 default y
55
John Rigbyb0bbad62008-01-17 17:05:31 -070056config IPIC
57 bool
58 default n
59
Kumar Gala98750262007-04-12 18:01:34 -050060config MPIC
61 bool
62 default n
63
64config MPIC_WEIRD
65 bool
66 default n
67
68config PPC_I8259
69 bool
70 default n
71
Kumar Gala4330f5d2007-03-16 09:32:17 -050072config U3_DART
73 bool
74 depends on PPC_MULTIPLATFORM && PPC64
75 default n
76
77config PPC_RTAS
78 bool
79 default n
80
81config RTAS_ERROR_LOGGING
82 bool
83 depends on PPC_RTAS
84 default n
85
86config RTAS_PROC
87 bool "Proc interface to RTAS"
88 depends on PPC_RTAS
89 default y
90
91config RTAS_FLASH
92 tristate "Firmware flash interface"
93 depends on PPC64 && RTAS_PROC
94
95config PPC_PMI
96 tristate "Support for PMI"
Adrian Bunk247537b2007-09-26 20:02:52 +020097 depends on PPC_IBM_CELL_BLADE
Kumar Gala4330f5d2007-03-16 09:32:17 -050098 help
99 PMI (Platform Management Interrupt) is a way to
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200100 communicate with the BMC (Baseboard Management Controller).
Kumar Gala4330f5d2007-03-16 09:32:17 -0500101 It is used in some IBM Cell blades.
102 default m
103
104config MMIO_NVRAM
105 bool
106 default n
107
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000108config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500109 bool
110 depends on PPC_MAPLE
111 default y
112
Olof Johansson0d72ba92007-09-08 05:13:19 +1000113config MPIC_BROKEN_REGREAD
114 bool
115 depends on MPIC
116 help
117 This option enables a MPIC driver workaround for some chips
118 that have a bug that causes some interrupt source information
119 to not read back properly. It is safe to use on other chips as
120 well, but enabling it uses about 8KB of memory to keep copies
121 of the register contents in software.
122
Kumar Gala4330f5d2007-03-16 09:32:17 -0500123config IBMVIO
124 depends on PPC_PSERIES || PPC_ISERIES
125 bool
126 default y
127
128config IBMEBUS
129 depends on PPC_PSERIES
130 bool "Support for GX bus based adapters"
131 help
132 Bus device driver for GX bus based adapters.
133
134config PPC_MPC106
135 bool
136 default n
137
138config PPC_970_NAP
139 bool
140 default n
141
142config PPC_INDIRECT_IO
143 bool
144 select GENERIC_IOMAP
145 default n
146
147config GENERIC_IOMAP
148 bool
149 default n
150
151source "drivers/cpufreq/Kconfig"
152
Olof Johanssonc146c952007-04-27 15:52:43 +1000153menu "CPU Frequency drivers"
154 depends on CPU_FREQ
155
Kumar Gala4330f5d2007-03-16 09:32:17 -0500156config CPU_FREQ_PMAC
157 bool "Support for Apple PowerBooks"
Olof Johanssonc146c952007-04-27 15:52:43 +1000158 depends on ADB_PMU && PPC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500159 select CPU_FREQ_TABLE
160 help
161 This adds support for frequency switching on Apple PowerBooks,
162 this currently includes some models of iBook & Titanium
163 PowerBook.
164
165config CPU_FREQ_PMAC64
166 bool "Support for some Apple G5s"
Olof Johanssonc146c952007-04-27 15:52:43 +1000167 depends on PPC_PMAC && PPC64
Kumar Gala4330f5d2007-03-16 09:32:17 -0500168 select CPU_FREQ_TABLE
169 help
170 This adds support for frequency switching on Apple iMac G5,
171 and some of the more recent desktop G5 machines as well.
Olof Johansson2e0c3372007-04-27 15:46:01 +1000172
173config PPC_PASEMI_CPUFREQ
174 bool "Support for PA Semi PWRficient"
Olof Johanssonc146c952007-04-27 15:52:43 +1000175 depends on PPC_PASEMI
Olof Johansson2e0c3372007-04-27 15:46:01 +1000176 default y
177 select CPU_FREQ_TABLE
178 help
179 This adds the support for frequency switching on PA Semi
180 PWRficient processors.
181
Kumar Gala164a4602007-04-12 15:35:50 -0500182endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500183
184config PPC601_SYNC_FIX
185 bool "Workarounds for PPC601 bugs"
186 depends on 6xx && (PPC_PREP || PPC_PMAC)
187 help
188 Some versions of the PPC601 (the first PowerPC chip) have bugs which
189 mean that extra synchronization instructions are required near
190 certain instructions, typically those that make major changes to the
191 CPU state. These extra instructions reduce performance slightly.
192 If you say N here, these extra instructions will not be included,
193 resulting in a kernel which will run faster but may not run at all
194 on some systems with the PPC601 chip.
195
196 If in doubt, say Y here.
197
198config TAU
199 bool "On-chip CPU temperature sensor support"
Kumar Gala164a4602007-04-12 15:35:50 -0500200 depends on CLASSIC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500201 help
202 G3 and G4 processors have an on-chip temperature sensor called the
203 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
204 temperature within 2-4 degrees Celsius. This option shows the current
205 on-die temperature in /proc/cpuinfo if the cpu supports it.
206
207 Unfortunately, on some chip revisions, this sensor is very inaccurate
208 and in many cases, does not work at all, so don't assume the cpu
209 temp is actually what /proc/cpuinfo says it is.
210
211config TAU_INT
212 bool "Interrupt driven TAU driver (DANGEROUS)"
213 depends on TAU
214 ---help---
215 The TAU supports an interrupt driven mode which causes an interrupt
216 whenever the temperature goes out of range. This is the fastest way
217 to get notified the temp has exceeded a range. With this option off,
218 a timer is used to re-check the temperature periodically.
219
220 However, on some cpus it appears that the TAU interrupt hardware
221 is buggy and can cause a situation which would lead unexplained hard
222 lockups.
223
224 Unless you are extending the TAU driver, or enjoy kernel/hardware
225 debugging, leave this option off.
226
227config TAU_AVERAGE
228 bool "Average high and low temp"
229 depends on TAU
230 ---help---
231 The TAU hardware can compare the temperature to an upper and lower
232 bound. The default behavior is to show both the upper and lower
233 bound in /proc/cpuinfo. If the range is large, the temperature is
234 either changing a lot, or the TAU hardware is broken (likely on some
235 G4's). If the range is small (around 4 degrees), the temperature is
236 relatively stable. If you say Y here, a single temperature value,
237 halfway between the upper and lower bounds, will be reported in
238 /proc/cpuinfo.
239
240 If in doubt, say N here.
241
Kumar Gala98750262007-04-12 18:01:34 -0500242config QUICC_ENGINE
Timur Tabi4e330bc2008-10-03 11:14:10 -0500243 bool "Freescale QUICC Engine (QE) Support"
244 depends on FSL_SOC
Sylvain Munaut1088a202007-09-16 20:53:25 +1000245 select PPC_LIB_RHEAP
Timur Tabibc556ba2008-01-08 10:30:58 -0600246 select CRC32
Kumar Gala98750262007-04-12 18:01:34 -0500247 help
248 The QUICC Engine (QE) is a new generation of communications
249 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
250 Selecting this option means that you wish to build a kernel
251 for a machine with a QE coprocessor.
252
Anton Vorontsov5c091192008-10-03 23:40:36 +0400253config QE_GPIO
254 bool "QE GPIO support"
255 depends on QUICC_ENGINE
256 select GENERIC_GPIO
257 select ARCH_REQUIRE_GPIOLIB
258 help
259 Say Y here if you're going to use hardware that connects to the
260 QE GPIOs.
261
Kumar Galad6071f82007-04-12 16:53:32 -0500262config CPM2
Paul Gortmakerb8b3caf2008-01-24 18:41:25 -0500263 bool "Enable support for the CPM2 (Communications Processor Module)"
264 depends on MPC85xx || 8260
Scott Woodc374e002007-07-16 11:43:43 -0500265 select CPM
Sylvain Munaut1088a202007-09-16 20:53:25 +1000266 select PPC_LIB_RHEAP
John Rigbyb5005632008-06-26 11:07:56 -0600267 select PPC_PCI_CHOICE
Laurent Pincharte1933252008-07-28 10:43:22 +0200268 select ARCH_REQUIRE_GPIOLIB
269 select GENERIC_GPIO
Kumar Galad6071f82007-04-12 16:53:32 -0500270 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
Kumar Galafb4f0e82007-09-10 14:57:34 -0500289 select GENERIC_ISA_DMA
Kumar Galab66510c2007-08-16 23:55:55 -0500290 help
291 Supports for the ULI1575 PCIe south bridge that exists on some
292 Freescale reference boards. The boards all use the ULI in pretty
293 much the same way.
294
Scott Woodc374e002007-07-16 11:43:43 -0500295config CPM
296 bool
Laurent Pinchart80776552008-07-28 10:42:16 +0200297 select PPC_CLOCK
Scott Woodc374e002007-07-16 11:43:43 -0500298
David Gibson22258fa2008-01-11 14:25:34 +1100299config OF_RTC
300 bool
301 help
302 Uses information from the OF or flattened device tree to instatiate
303 platform devices for direct mapped RTC chips like the DS1742 or DS1743.
304
Sylvain Munaut2f9ea1b2007-09-16 20:53:27 +1000305source "arch/powerpc/sysdev/bestcomm/Kconfig"
306
Kumar Gala782f04f2008-09-23 23:36:32 -0500307config MPC8xxx_GPIO
308 bool "MPC8xxx GPIO support"
309 depends on PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || PPC_85xx || PPC_86xx
310 select GENERIC_GPIO
311 select ARCH_REQUIRE_GPIOLIB
312 help
313 Say Y here if you're going to use hardware that connects to the
314 MPC831x/834x/837x/8572/8610 GPIOs.
315
Anton Vorontsov3d64de92008-12-18 19:37:26 +0300316config SIMPLE_GPIO
317 bool "Support for simple, memory-mapped GPIO controllers"
318 depends on PPC
319 select GENERIC_GPIO
320 select ARCH_REQUIRE_GPIOLIB
321 help
322 Say Y here to support simple, memory-mapped GPIO controllers.
323 These are usually BCSRs used to control board's switches, LEDs,
324 chip-selects, Ethernet/USB PHY's power and various other small
325 on-board peripherals.
326
Anton Vorontsovea0105e2009-01-11 19:55:39 +0300327config MCU_MPC8349EMITX
328 tristate "MPC8349E-mITX MCU driver"
329 depends on I2C && PPC_83xx
330 select GENERIC_GPIO
331 select ARCH_REQUIRE_GPIOLIB
332 help
333 Say Y here to enable soft power-off functionality on the Freescale
334 boards with the MPC8349E-mITX-compatible MCU chips. This driver will
335 also register MCU GPIOs with the generic GPIO API, so you'll able
336 to use MCU pins as GPIOs.
337
Kumar Gala4330f5d2007-03-16 09:32:17 -0500338endmenu