blob: ac62fa08f5e685bd9b59c710742e0b1c675916ee [file] [log] [blame]
Kumar Gala4330f5d2007-03-16 09:32:17 -05001menu "Platform support"
Kumar Gala4330f5d2007-03-16 09:32:17 -05002
3choice
4 prompt "Machine type"
Kumar Gala164a4602007-04-12 15:35:50 -05005 depends on PPC64 || CLASSIC32
Kumar Gala4330f5d2007-03-16 09:32:17 -05006 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
19config 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/>.
26endchoice
27
Kumar Gala4330f5d2007-03-16 09:32:17 -050028source "arch/powerpc/platforms/pseries/Kconfig"
29source "arch/powerpc/platforms/iseries/Kconfig"
30source "arch/powerpc/platforms/chrp/Kconfig"
31source "arch/powerpc/platforms/52xx/Kconfig"
32source "arch/powerpc/platforms/powermac/Kconfig"
33source "arch/powerpc/platforms/prep/Kconfig"
34source "arch/powerpc/platforms/maple/Kconfig"
35source "arch/powerpc/platforms/pasemi/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050036source "arch/powerpc/platforms/celleb/Kconfig"
37source "arch/powerpc/platforms/ps3/Kconfig"
38source "arch/powerpc/platforms/cell/Kconfig"
Kumar Galac8a55f32007-04-12 17:35:54 -050039source "arch/powerpc/platforms/8xx/Kconfig"
Kumar Galad6071f82007-04-12 16:53:32 -050040source "arch/powerpc/platforms/82xx/Kconfig"
Kumar Galab5a48342007-04-12 15:46:21 -050041source "arch/powerpc/platforms/83xx/Kconfig"
Kumar Galadb947802007-04-12 17:44:07 -050042source "arch/powerpc/platforms/85xx/Kconfig"
Kumar Gala4a89f7f2007-04-12 15:41:26 -050043source "arch/powerpc/platforms/86xx/Kconfig"
Kumar Gala98750262007-04-12 18:01:34 -050044source "arch/powerpc/platforms/embedded6xx/Kconfig"
45#source "arch/powerpc/platforms/4xx/Kconfig
Kumar Gala4330f5d2007-03-16 09:32:17 -050046
47config 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
55config UDBG_RTAS_CONSOLE
56 bool "RTAS based debug console"
57 depends on PPC_RTAS
58 default n
59
60config PPC_UDBG_BEAT
61 bool "BEAT based debug console"
62 depends on PPC_CELLEB
63 default n
64
65config XICS
66 depends on PPC_PSERIES
67 bool
68 default y
69
Kumar Gala98750262007-04-12 18:01:34 -050070config MPIC
71 bool
72 default n
73
74config MPIC_WEIRD
75 bool
76 default n
77
78config PPC_I8259
79 bool
80 default n
81
Kumar Gala4330f5d2007-03-16 09:32:17 -050082config U3_DART
83 bool
84 depends on PPC_MULTIPLATFORM && PPC64
85 default n
86
87config PPC_RTAS
88 bool
89 default n
90
91config RTAS_ERROR_LOGGING
92 bool
93 depends on PPC_RTAS
94 default n
95
96config RTAS_PROC
97 bool "Proc interface to RTAS"
98 depends on PPC_RTAS
99 default y
100
101config RTAS_FLASH
102 tristate "Firmware flash interface"
103 depends on PPC64 && RTAS_PROC
104
105config 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
114config MMIO_NVRAM
115 bool
116 default n
117
Michael Ellerman6cfef5b2007-04-23 18:47:08 +1000118config MPIC_U3_HT_IRQS
Kumar Gala4330f5d2007-03-16 09:32:17 -0500119 bool
120 depends on PPC_MAPLE
121 default y
122
123config 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
Kumar Gala164a4602007-04-12 15:35:50 -0500151menu "CPU Frequency support"
152 depends on PPC64 || CLASSIC32
153
Kumar Gala4330f5d2007-03-16 09:32:17 -0500154source "drivers/cpufreq/Kconfig"
155
156config CPU_FREQ_PMAC
157 bool "Support for Apple PowerBooks"
158 depends on CPU_FREQ && 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
165config CPU_FREQ_PMAC64
166 bool "Support for some Apple G5s"
167 depends on CPU_FREQ && 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.
Kumar Gala164a4602007-04-12 15:35:50 -0500172endmenu
Kumar Gala4330f5d2007-03-16 09:32:17 -0500173
174config PPC601_SYNC_FIX
175 bool "Workarounds for PPC601 bugs"
176 depends on 6xx && (PPC_PREP || PPC_PMAC)
177 help
178 Some versions of the PPC601 (the first PowerPC chip) have bugs which
179 mean that extra synchronization instructions are required near
180 certain instructions, typically those that make major changes to the
181 CPU state. These extra instructions reduce performance slightly.
182 If you say N here, these extra instructions will not be included,
183 resulting in a kernel which will run faster but may not run at all
184 on some systems with the PPC601 chip.
185
186 If in doubt, say Y here.
187
188config TAU
189 bool "On-chip CPU temperature sensor support"
Kumar Gala164a4602007-04-12 15:35:50 -0500190 depends on CLASSIC32
Kumar Gala4330f5d2007-03-16 09:32:17 -0500191 help
192 G3 and G4 processors have an on-chip temperature sensor called the
193 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
194 temperature within 2-4 degrees Celsius. This option shows the current
195 on-die temperature in /proc/cpuinfo if the cpu supports it.
196
197 Unfortunately, on some chip revisions, this sensor is very inaccurate
198 and in many cases, does not work at all, so don't assume the cpu
199 temp is actually what /proc/cpuinfo says it is.
200
201config TAU_INT
202 bool "Interrupt driven TAU driver (DANGEROUS)"
203 depends on TAU
204 ---help---
205 The TAU supports an interrupt driven mode which causes an interrupt
206 whenever the temperature goes out of range. This is the fastest way
207 to get notified the temp has exceeded a range. With this option off,
208 a timer is used to re-check the temperature periodically.
209
210 However, on some cpus it appears that the TAU interrupt hardware
211 is buggy and can cause a situation which would lead unexplained hard
212 lockups.
213
214 Unless you are extending the TAU driver, or enjoy kernel/hardware
215 debugging, leave this option off.
216
217config TAU_AVERAGE
218 bool "Average high and low temp"
219 depends on TAU
220 ---help---
221 The TAU hardware can compare the temperature to an upper and lower
222 bound. The default behavior is to show both the upper and lower
223 bound in /proc/cpuinfo. If the range is large, the temperature is
224 either changing a lot, or the TAU hardware is broken (likely on some
225 G4's). If the range is small (around 4 degrees), the temperature is
226 relatively stable. If you say Y here, a single temperature value,
227 halfway between the upper and lower bounds, will be reported in
228 /proc/cpuinfo.
229
230 If in doubt, say N here.
231
Kumar Gala98750262007-04-12 18:01:34 -0500232config QUICC_ENGINE
233 bool
234 help
235 The QUICC Engine (QE) is a new generation of communications
236 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
237 Selecting this option means that you wish to build a kernel
238 for a machine with a QE coprocessor.
239
Kumar Galad6071f82007-04-12 16:53:32 -0500240config CPM2
241 bool
242 default n
243 help
244 The CPM2 (Communications Processor Module) is a coprocessor on
245 embedded CPUs made by Freescale. Selecting this option means that
246 you wish to build a kernel for a machine with a CPM2 coprocessor
247 on it (826x, 827x, 8560).
248
Kumar Gala4330f5d2007-03-16 09:32:17 -0500249endmenu