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