[POWERPC] Convert 8xx platform to unified platform Kconfig
[linux-2.6-block.git] / arch / powerpc / platforms / Kconfig
CommitLineData
4330f5da 1menu "Platform support"
c8a55f3d
KG
2 depends on PPC64 || CLASSIC32 || PPC_8xx || PPC_82xx || PPC_83xx || \
3 PPC_86xx
4330f5da
KG
4
5choice
6 prompt "Machine type"
164a460d 7 depends on PPC64 || CLASSIC32
4330f5da
KG
8 default PPC_MULTIPLATFORM
9
10config PPC_MULTIPLATFORM
11 bool "Generic desktop/server/laptop"
12 help
13 Select this option if configuring for an IBM pSeries or
14 RS/6000 machine, an Apple machine, or a PReP, CHRP,
15 Maple or Cell-based machine.
16
17config EMBEDDED6xx
18 bool "Embedded 6xx/7xx/7xxx-based board"
19 depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
20
21config APUS
22 bool "Amiga-APUS"
23 depends on PPC32 && BROKEN
24 help
25 Select APUS if configuring for a PowerUP Amiga.
26 More information is available at:
27 <http://linux-apus.sourceforge.net/>.
28endchoice
29
30config QUICC_ENGINE
31 bool
4330f5da
KG
32 help
33 The QUICC Engine (QE) is a new generation of communications
34 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
35 Selecting this option means that you wish to build a kernel
36 for a machine with a QE coprocessor.
37
38source "arch/powerpc/platforms/pseries/Kconfig"
39source "arch/powerpc/platforms/iseries/Kconfig"
40source "arch/powerpc/platforms/chrp/Kconfig"
41source "arch/powerpc/platforms/52xx/Kconfig"
42source "arch/powerpc/platforms/powermac/Kconfig"
43source "arch/powerpc/platforms/prep/Kconfig"
44source "arch/powerpc/platforms/maple/Kconfig"
45source "arch/powerpc/platforms/pasemi/Kconfig"
46source arch/powerpc/platforms/celleb/Kconfig
47source arch/powerpc/platforms/ps3/Kconfig
48source arch/powerpc/platforms/cell/Kconfig
c8a55f3d 49source "arch/powerpc/platforms/8xx/Kconfig"
d6071f88 50source "arch/powerpc/platforms/82xx/Kconfig"
b5a48346 51source "arch/powerpc/platforms/83xx/Kconfig"
4a89f7fa 52source "arch/powerpc/platforms/86xx/Kconfig"
4330f5da
KG
53
54config PPC_NATIVE
55 bool
56 depends on PPC_MULTIPLATFORM
57 help
58 Support for running natively on the hardware, i.e. without
59 a hypervisor. This option is not user-selectable but should
60 be selected by all platforms that need it.
61
62config UDBG_RTAS_CONSOLE
63 bool "RTAS based debug console"
64 depends on PPC_RTAS
65 default n
66
67config PPC_UDBG_BEAT
68 bool "BEAT based debug console"
69 depends on PPC_CELLEB
70 default n
71
72config XICS
73 depends on PPC_PSERIES
74 bool
75 default y
76
77config U3_DART
78 bool
79 depends on PPC_MULTIPLATFORM && PPC64
80 default n
81
82config PPC_RTAS
83 bool
84 default n
85
86config RTAS_ERROR_LOGGING
87 bool
88 depends on PPC_RTAS
89 default n
90
91config RTAS_PROC
92 bool "Proc interface to RTAS"
93 depends on PPC_RTAS
94 default y
95
96config RTAS_FLASH
97 tristate "Firmware flash interface"
98 depends on PPC64 && RTAS_PROC
99
100config PPC_PMI
101 tristate "Support for PMI"
102 depends PPC_IBM_CELL_BLADE
103 help
104 PMI (Platform Management Interrupt) is a way to
105 communicate with the BMC (Baseboard Mangement Controller).
106 It is used in some IBM Cell blades.
107 default m
108
109config MMIO_NVRAM
110 bool
111 default n
112
113config MPIC_BROKEN_U3
114 bool
115 depends on PPC_MAPLE
116 default y
117
118config IBMVIO
119 depends on PPC_PSERIES || PPC_ISERIES
120 bool
121 default y
122
123config IBMEBUS
124 depends on PPC_PSERIES
125 bool "Support for GX bus based adapters"
126 help
127 Bus device driver for GX bus based adapters.
128
129config PPC_MPC106
130 bool
131 default n
132
133config PPC_970_NAP
134 bool
135 default n
136
137config PPC_INDIRECT_IO
138 bool
139 select GENERIC_IOMAP
140 default n
141
142config GENERIC_IOMAP
143 bool
144 default n
145
164a460d
KG
146menu "CPU Frequency support"
147 depends on PPC64 || CLASSIC32
148
4330f5da
KG
149source "drivers/cpufreq/Kconfig"
150
151config CPU_FREQ_PMAC
152 bool "Support for Apple PowerBooks"
153 depends on CPU_FREQ && ADB_PMU && PPC32
154 select CPU_FREQ_TABLE
155 help
156 This adds support for frequency switching on Apple PowerBooks,
157 this currently includes some models of iBook & Titanium
158 PowerBook.
159
160config CPU_FREQ_PMAC64
161 bool "Support for some Apple G5s"
162 depends on CPU_FREQ && PPC64
163 select CPU_FREQ_TABLE
164 help
165 This adds support for frequency switching on Apple iMac G5,
166 and some of the more recent desktop G5 machines as well.
164a460d 167endmenu
4330f5da
KG
168
169config PPC601_SYNC_FIX
170 bool "Workarounds for PPC601 bugs"
171 depends on 6xx && (PPC_PREP || PPC_PMAC)
172 help
173 Some versions of the PPC601 (the first PowerPC chip) have bugs which
174 mean that extra synchronization instructions are required near
175 certain instructions, typically those that make major changes to the
176 CPU state. These extra instructions reduce performance slightly.
177 If you say N here, these extra instructions will not be included,
178 resulting in a kernel which will run faster but may not run at all
179 on some systems with the PPC601 chip.
180
181 If in doubt, say Y here.
182
183config TAU
184 bool "On-chip CPU temperature sensor support"
164a460d 185 depends on CLASSIC32
4330f5da
KG
186 help
187 G3 and G4 processors have an on-chip temperature sensor called the
188 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
189 temperature within 2-4 degrees Celsius. This option shows the current
190 on-die temperature in /proc/cpuinfo if the cpu supports it.
191
192 Unfortunately, on some chip revisions, this sensor is very inaccurate
193 and in many cases, does not work at all, so don't assume the cpu
194 temp is actually what /proc/cpuinfo says it is.
195
196config TAU_INT
197 bool "Interrupt driven TAU driver (DANGEROUS)"
198 depends on TAU
199 ---help---
200 The TAU supports an interrupt driven mode which causes an interrupt
201 whenever the temperature goes out of range. This is the fastest way
202 to get notified the temp has exceeded a range. With this option off,
203 a timer is used to re-check the temperature periodically.
204
205 However, on some cpus it appears that the TAU interrupt hardware
206 is buggy and can cause a situation which would lead unexplained hard
207 lockups.
208
209 Unless you are extending the TAU driver, or enjoy kernel/hardware
210 debugging, leave this option off.
211
212config TAU_AVERAGE
213 bool "Average high and low temp"
214 depends on TAU
215 ---help---
216 The TAU hardware can compare the temperature to an upper and lower
217 bound. The default behavior is to show both the upper and lower
218 bound in /proc/cpuinfo. If the range is large, the temperature is
219 either changing a lot, or the TAU hardware is broken (likely on some
220 G4's). If the range is small (around 4 degrees), the temperature is
221 relatively stable. If you say Y here, a single temperature value,
222 halfway between the upper and lower bounds, will be reported in
223 /proc/cpuinfo.
224
225 If in doubt, say N here.
226
d6071f88
KG
227config CPM2
228 bool
229 default n
230 help
231 The CPM2 (Communications Processor Module) is a coprocessor on
232 embedded CPUs made by Freescale. Selecting this option means that
233 you wish to build a kernel for a machine with a CPM2 coprocessor
234 on it (826x, 827x, 8560).
235
4330f5da 236endmenu