Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[pandora-kernel.git] / arch / powerpc / platforms / Kconfig
1 menu "Platform support"
2
3 source "arch/powerpc/platforms/pseries/Kconfig"
4 source "arch/powerpc/platforms/iseries/Kconfig"
5 source "arch/powerpc/platforms/chrp/Kconfig"
6 source "arch/powerpc/platforms/512x/Kconfig"
7 source "arch/powerpc/platforms/52xx/Kconfig"
8 source "arch/powerpc/platforms/powermac/Kconfig"
9 source "arch/powerpc/platforms/prep/Kconfig"
10 source "arch/powerpc/platforms/maple/Kconfig"
11 source "arch/powerpc/platforms/pasemi/Kconfig"
12 source "arch/powerpc/platforms/ps3/Kconfig"
13 source "arch/powerpc/platforms/cell/Kconfig"
14 source "arch/powerpc/platforms/8xx/Kconfig"
15 source "arch/powerpc/platforms/82xx/Kconfig"
16 source "arch/powerpc/platforms/83xx/Kconfig"
17 source "arch/powerpc/platforms/85xx/Kconfig"
18 source "arch/powerpc/platforms/86xx/Kconfig"
19 source "arch/powerpc/platforms/embedded6xx/Kconfig"
20 source "arch/powerpc/platforms/44x/Kconfig"
21 source "arch/powerpc/platforms/40x/Kconfig"
22 source "arch/powerpc/platforms/amigaone/Kconfig"
23
24 config PPC_NATIVE
25         bool
26         depends on 6xx || PPC64
27         help
28           Support for running natively on the hardware, i.e. without
29           a hypervisor. This option is not user-selectable but should
30           be selected by all platforms that need it.
31
32 config PPC_OF_BOOT_TRAMPOLINE
33         bool "Support booting from Open Firmware or yaboot"
34         depends on 6xx || PPC64
35         default y
36         help
37           Support from booting from Open Firmware or yaboot using an
38           Open Firmware client interface. This enables the kernel to
39           communicate with open firmware to retrieve system informations
40           such as the device tree.
41
42           In case of doubt, say Y
43
44 config UDBG_RTAS_CONSOLE
45         bool "RTAS based debug console"
46         depends on PPC_RTAS
47         default n
48
49 config PPC_UDBG_BEAT
50         bool "BEAT based debug console"
51         depends on PPC_CELLEB
52         default n
53
54 config XICS
55         depends on PPC_PSERIES
56         bool
57         default y
58
59 config IPIC
60         bool
61         default n
62
63 config MPIC
64         bool
65         default n
66
67 config MPIC_WEIRD
68         bool
69         default n
70
71 config PPC_I8259
72         bool
73         default n
74
75 config U3_DART
76         bool
77         depends on PPC64
78         default n
79
80 config PPC_RTAS
81         bool
82         default n
83
84 config RTAS_ERROR_LOGGING
85         bool
86         depends on PPC_RTAS
87         default n
88
89 config PPC_RTAS_DAEMON
90         bool
91         depends on PPC_RTAS
92         default n
93
94 config RTAS_PROC
95         bool "Proc interface to RTAS"
96         depends on PPC_RTAS
97         default y
98
99 config RTAS_FLASH
100         tristate "Firmware flash interface"
101         depends on PPC64 && RTAS_PROC
102
103 config MMIO_NVRAM
104         bool
105         default n
106
107 config MPIC_U3_HT_IRQS
108         bool
109         default n
110
111 config MPIC_BROKEN_REGREAD
112         bool
113         depends on MPIC
114         help
115           This option enables a MPIC driver workaround for some chips
116           that have a bug that causes some interrupt source information
117           to not read back properly. It is safe to use on other chips as
118           well, but enabling it uses about 8KB of memory to keep copies
119           of the register contents in software.
120
121 config IBMVIO
122         depends on PPC_PSERIES || PPC_ISERIES
123         bool
124         default y
125
126 config IBMEBUS
127         depends on PPC_PSERIES
128         bool "Support for GX bus based adapters"
129         help
130           Bus device driver for GX bus based adapters.
131
132 config PPC_MPC106
133         bool
134         default n
135
136 config PPC_970_NAP
137         bool
138         default n
139
140 config PPC_INDIRECT_IO
141         bool
142         select GENERIC_IOMAP
143         default n
144
145 config GENERIC_IOMAP
146         bool
147         default n
148
149 source "drivers/cpufreq/Kconfig"
150
151 menu "CPU Frequency drivers"
152         depends on CPU_FREQ
153
154 config CPU_FREQ_PMAC
155         bool "Support for Apple PowerBooks"
156         depends on ADB_PMU && PPC32
157         select CPU_FREQ_TABLE
158         help
159           This adds support for frequency switching on Apple PowerBooks,
160           this currently includes some models of iBook & Titanium
161           PowerBook.
162
163 config CPU_FREQ_PMAC64
164         bool "Support for some Apple G5s"
165         depends on PPC_PMAC && PPC64
166         select CPU_FREQ_TABLE
167         help
168           This adds support for frequency switching on Apple iMac G5,
169           and some of the more recent desktop G5 machines as well.
170
171 config PPC_PASEMI_CPUFREQ
172         bool "Support for PA Semi PWRficient"
173         depends on PPC_PASEMI
174         default y
175         select CPU_FREQ_TABLE
176         help
177           This adds the support for frequency switching on PA Semi
178           PWRficient processors.
179
180 endmenu
181
182 config PPC601_SYNC_FIX
183         bool "Workarounds for PPC601 bugs"
184         depends on 6xx && (PPC_PREP || PPC_PMAC)
185         help
186           Some versions of the PPC601 (the first PowerPC chip) have bugs which
187           mean that extra synchronization instructions are required near
188           certain instructions, typically those that make major changes to the
189           CPU state.  These extra instructions reduce performance slightly.
190           If you say N here, these extra instructions will not be included,
191           resulting in a kernel which will run faster but may not run at all
192           on some systems with the PPC601 chip.
193
194           If in doubt, say Y here.
195
196 config TAU
197         bool "On-chip CPU temperature sensor support"
198         depends on 6xx
199         help
200           G3 and G4 processors have an on-chip temperature sensor called the
201           'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
202           temperature within 2-4 degrees Celsius. This option shows the current
203           on-die temperature in /proc/cpuinfo if the cpu supports it.
204
205           Unfortunately, on some chip revisions, this sensor is very inaccurate
206           and in many cases, does not work at all, so don't assume the cpu
207           temp is actually what /proc/cpuinfo says it is.
208
209 config TAU_INT
210         bool "Interrupt driven TAU driver (DANGEROUS)"
211         depends on TAU
212         ---help---
213           The TAU supports an interrupt driven mode which causes an interrupt
214           whenever the temperature goes out of range. This is the fastest way
215           to get notified the temp has exceeded a range. With this option off,
216           a timer is used to re-check the temperature periodically.
217
218           However, on some cpus it appears that the TAU interrupt hardware
219           is buggy and can cause a situation which would lead unexplained hard
220           lockups.
221
222           Unless you are extending the TAU driver, or enjoy kernel/hardware
223           debugging, leave this option off.
224
225 config TAU_AVERAGE
226         bool "Average high and low temp"
227         depends on TAU
228         ---help---
229           The TAU hardware can compare the temperature to an upper and lower
230           bound.  The default behavior is to show both the upper and lower
231           bound in /proc/cpuinfo. If the range is large, the temperature is
232           either changing a lot, or the TAU hardware is broken (likely on some
233           G4's). If the range is small (around 4 degrees), the temperature is
234           relatively stable.  If you say Y here, a single temperature value,
235           halfway between the upper and lower bounds, will be reported in
236           /proc/cpuinfo.
237
238           If in doubt, say N here.
239
240 config QUICC_ENGINE
241         bool "Freescale QUICC Engine (QE) Support"
242         depends on FSL_SOC
243         select PPC_LIB_RHEAP
244         select CRC32
245         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
251 config QE_GPIO
252         bool "QE GPIO support"
253         depends on QUICC_ENGINE
254         select GENERIC_GPIO
255         select ARCH_REQUIRE_GPIOLIB
256         help
257           Say Y here if you're going to use hardware that connects to the
258           QE GPIOs.
259
260 config CPM2
261         bool "Enable support for the CPM2 (Communications Processor Module)"
262         depends on (FSL_SOC_BOOKE && PPC32) || 8260
263         select CPM
264         select PPC_LIB_RHEAP
265         select PPC_PCI_CHOICE
266         select ARCH_REQUIRE_GPIOLIB
267         select GENERIC_GPIO
268         help
269           The CPM2 (Communications Processor Module) is a coprocessor on
270           embedded CPUs made by Freescale.  Selecting this option means that
271           you wish to build a kernel for a machine with a CPM2 coprocessor
272           on it (826x, 827x, 8560).
273
274 config AXON_RAM
275         tristate "Axon DDR2 memory device driver"
276         depends on PPC_IBM_CELL_BLADE && BLOCK
277         default m
278         help
279           It registers one block device per Axon's DDR2 memory bank found
280           on a system. Block devices are called axonram?, their major and
281           minor numbers are available in /proc/devices, /proc/partitions or
282           in /sys/block/axonram?/dev.
283
284 config FSL_ULI1575
285         bool
286         default n
287         select GENERIC_ISA_DMA
288         help
289           Supports for the ULI1575 PCIe south bridge that exists on some
290           Freescale reference boards. The boards all use the ULI in pretty
291           much the same way.
292
293 config CPM
294         bool
295         select PPC_CLOCK
296
297 config OF_RTC
298         bool
299         help
300           Uses information from the OF or flattened device tree to instantiate
301           platform devices for direct mapped RTC chips like the DS1742 or DS1743.
302
303 source "arch/powerpc/sysdev/bestcomm/Kconfig"
304
305 config MPC8xxx_GPIO
306         bool "MPC8xxx GPIO support"
307         depends on PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || FSL_SOC_BOOKE || PPC_86xx
308         select GENERIC_GPIO
309         select ARCH_REQUIRE_GPIOLIB
310         help
311           Say Y here if you're going to use hardware that connects to the
312           MPC831x/834x/837x/8572/8610 GPIOs.
313
314 config SIMPLE_GPIO
315         bool "Support for simple, memory-mapped GPIO controllers"
316         depends on PPC
317         select GENERIC_GPIO
318         select ARCH_REQUIRE_GPIOLIB
319         help
320           Say Y here to support simple, memory-mapped GPIO controllers.
321           These are usually BCSRs used to control board's switches, LEDs,
322           chip-selects, Ethernet/USB PHY's power and various other small
323           on-board peripherals.
324
325 config MCU_MPC8349EMITX
326         tristate "MPC8349E-mITX MCU driver"
327         depends on I2C && PPC_83xx
328         select GENERIC_GPIO
329         select ARCH_REQUIRE_GPIOLIB
330         help
331           Say Y here to enable soft power-off functionality on the Freescale
332           boards with the MPC8349E-mITX-compatible MCU chips. This driver will
333           also register MCU GPIOs with the generic GPIO API, so you'll able
334           to use MCU pins as GPIOs.
335
336 config XILINX_PCI
337         bool "Xilinx PCI host bridge support"
338         depends on PCI && XILINX_VIRTEX
339
340 endmenu