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