Merge branch 'drm-patches' of master.kernel.org:/pub/scm/linux/kernel/git/airlied...
[linux-drm-fsl-dcu.git] / arch / powerpc / platforms / Kconfig
1 menu "Platform support"
2
3 choice
4         prompt "Machine type"
5         depends on PPC64 || CLASSIC32
6         default PPC_MULTIPLATFORM
7
8 config 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
15 config EMBEDDED6xx
16         bool "Embedded 6xx/7xx/7xxx-based board"
17         depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
18
19 config APUS
20         bool "Amiga-APUS"
21         depends on PPC32 && BROKEN
22         help
23           Select APUS if configuring for a PowerUP Amiga.
24           More information is available at:
25           <http://linux-apus.sourceforge.net/>.
26 endchoice
27
28 source "arch/powerpc/platforms/pseries/Kconfig"
29 source "arch/powerpc/platforms/iseries/Kconfig"
30 source "arch/powerpc/platforms/chrp/Kconfig"
31 source "arch/powerpc/platforms/52xx/Kconfig"
32 source "arch/powerpc/platforms/powermac/Kconfig"
33 source "arch/powerpc/platforms/prep/Kconfig"
34 source "arch/powerpc/platforms/maple/Kconfig"
35 source "arch/powerpc/platforms/pasemi/Kconfig"
36 source "arch/powerpc/platforms/celleb/Kconfig"
37 source "arch/powerpc/platforms/ps3/Kconfig"
38 source "arch/powerpc/platforms/cell/Kconfig"
39 source "arch/powerpc/platforms/8xx/Kconfig"
40 source "arch/powerpc/platforms/82xx/Kconfig"
41 source "arch/powerpc/platforms/83xx/Kconfig"
42 source "arch/powerpc/platforms/85xx/Kconfig"
43 source "arch/powerpc/platforms/86xx/Kconfig"
44 source "arch/powerpc/platforms/embedded6xx/Kconfig"
45 #source "arch/powerpc/platforms/4xx/Kconfig
46
47 config PPC_NATIVE
48         bool
49         depends on PPC_MULTIPLATFORM
50         help
51           Support for running natively on the hardware, i.e. without
52           a hypervisor. This option is not user-selectable but should
53           be selected by all platforms that need it.
54
55 config UDBG_RTAS_CONSOLE
56         bool "RTAS based debug console"
57         depends on PPC_RTAS
58         default n
59
60 config PPC_UDBG_BEAT
61         bool "BEAT based debug console"
62         depends on PPC_CELLEB
63         default n
64
65 config XICS
66         depends on PPC_PSERIES
67         bool
68         default y
69
70 config MPIC
71         bool
72         default n
73
74 config MPIC_WEIRD
75         bool
76         default n
77
78 config PPC_I8259
79         bool
80         default n
81
82 config U3_DART
83         bool
84         depends on PPC_MULTIPLATFORM && PPC64
85         default n
86
87 config PPC_RTAS
88         bool
89         default n
90
91 config RTAS_ERROR_LOGGING
92         bool
93         depends on PPC_RTAS
94         default n
95
96 config RTAS_PROC
97         bool "Proc interface to RTAS"
98         depends on PPC_RTAS
99         default y
100
101 config RTAS_FLASH
102         tristate "Firmware flash interface"
103         depends on PPC64 && RTAS_PROC
104
105 config PPC_PMI
106         tristate "Support for PMI"
107         depends PPC_IBM_CELL_BLADE
108         help
109           PMI (Platform Management Interrupt) is a way to
110           communicate with the BMC (Baseboard Mangement Controller).
111           It is used in some IBM Cell blades.
112         default m
113
114 config MMIO_NVRAM
115         bool
116         default n
117
118 config MPIC_U3_HT_IRQS
119         bool
120         depends on PPC_MAPLE
121         default y
122
123 config IBMVIO
124         depends on PPC_PSERIES || PPC_ISERIES
125         bool
126         default y
127
128 config 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
134 config PPC_MPC106
135         bool
136         default n
137
138 config PPC_970_NAP
139         bool
140         default n
141
142 config PPC_INDIRECT_IO
143         bool
144         select GENERIC_IOMAP
145         default n
146
147 config GENERIC_IOMAP
148         bool
149         default n
150
151 source "drivers/cpufreq/Kconfig"
152
153 menu "CPU Frequency drivers"
154         depends on CPU_FREQ
155
156 config CPU_FREQ_PMAC
157         bool "Support for Apple PowerBooks"
158         depends on ADB_PMU && PPC32
159         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
165 config CPU_FREQ_PMAC64
166         bool "Support for some Apple G5s"
167         depends on PPC_PMAC && PPC64
168         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.
172
173 config PPC_PASEMI_CPUFREQ
174         bool "Support for PA Semi PWRficient"
175         depends on PPC_PASEMI
176         default y
177         select CPU_FREQ_TABLE
178         help
179           This adds the support for frequency switching on PA Semi
180           PWRficient processors.
181
182 endmenu
183
184 config 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
198 config TAU
199         bool "On-chip CPU temperature sensor support"
200         depends on CLASSIC32
201         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
211 config 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
227 config 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
242 config QUICC_ENGINE
243         bool
244         help
245           The QUICC Engine (QE) is a new generation of communications
246           coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
247           Selecting this option means that you wish to build a kernel
248           for a machine with a QE coprocessor.
249
250 config CPM2
251         bool
252         default n
253         help
254           The CPM2 (Communications Processor Module) is a coprocessor on
255           embedded CPUs made by Freescale.  Selecting this option means that
256           you wish to build a kernel for a machine with a CPM2 coprocessor
257           on it (826x, 827x, 8560).
258
259 endmenu