aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig267
1 files changed, 4 insertions, 263 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 6b8b83ebca75..e641bb68d871 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -4,17 +4,7 @@
4 4
5mainmenu "Linux/PowerPC Kernel Configuration" 5mainmenu "Linux/PowerPC Kernel Configuration"
6 6
7config PPC64 7source "arch/powerpc/platforms/Kconfig.cputype"
8 bool "64-bit kernel"
9 default n
10 help
11 This option selects whether a 32-bit or a 64-bit kernel
12 will be built.
13
14config PPC_PM_NEEDS_RTC_LIB
15 bool
16 select RTC_LIB
17 default y if PM
18 8
19config PPC32 9config PPC32
20 bool 10 bool
@@ -135,123 +125,6 @@ config PPC64_SWSUSP
135 depends on PPC64 && (BROKEN || (PPC_PMAC64 && EXPERIMENTAL)) 125 depends on PPC64 && (BROKEN || (PPC_PMAC64 && EXPERIMENTAL))
136 default y 126 default y
137 127
138menu "Processor support"
139choice
140 prompt "Processor Type"
141 depends on PPC32
142 default 6xx
143
144config CLASSIC32
145 bool "52xx/6xx/7xx/74xx"
146 select PPC_FPU
147 select 6xx
148 help
149 There are four families of PowerPC chips supported. The more common
150 types (601, 603, 604, 740, 750, 7400), the Motorola embedded
151 versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
152 embedded versions (403 and 405) and the high end 64 bit Power
153 processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
154
155 This option is the catch-all for 6xx types, including some of the
156 embedded versions. Unless there is see an option for the specific
157 chip family you are using, you want this option.
158
159 You do not want this if you are building a kernel for a 64 bit
160 IBM RS/6000 or an Apple G5, choose 6xx.
161
162 If unsure, select this option
163
164 Note that the kernel runs in 32-bit mode even on 64-bit chips.
165
166config PPC_82xx
167 bool "Freescale 82xx"
168 select 6xx
169 select PPC_FPU
170
171config PPC_83xx
172 bool "Freescale 83xx"
173 select 6xx
174 select FSL_SOC
175 select 83xx
176 select PPC_FPU
177 select WANT_DEVICE_TREE
178
179config PPC_85xx
180 bool "Freescale 85xx"
181 select E500
182 select FSL_SOC
183 select 85xx
184 select WANT_DEVICE_TREE
185
186config PPC_86xx
187 bool "Freescale 86xx"
188 select 6xx
189 select FSL_SOC
190 select FSL_PCIE
191 select PPC_FPU
192 select ALTIVEC
193 help
194 The Freescale E600 SoCs have 74xx cores.
195
196config PPC_8xx
197 bool "Freescale 8xx"
198 select FSL_SOC
199 select 8xx
200
201config 40x
202 bool "AMCC 40x"
203 select PPC_DCR_NATIVE
204
205config 44x
206 bool "AMCC 44x"
207 select PPC_DCR_NATIVE
208 select WANT_DEVICE_TREE
209
210config E200
211 bool "Freescale e200"
212
213endchoice
214
215config POWER4_ONLY
216 bool "Optimize for POWER4"
217 depends on PPC64
218 default n
219 ---help---
220 Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
221 The resulting binary will not work on POWER3 or RS64 processors
222 when compiled with binutils 2.15 or later.
223
224config POWER3
225 bool
226 depends on PPC64
227 default y if !POWER4_ONLY
228
229config POWER4
230 depends on PPC64
231 def_bool y
232
233config 6xx
234 bool
235
236# this is temp to handle compat with arch=ppc
237config 8xx
238 bool
239
240# this is temp to handle compat with arch=ppc
241config 83xx
242 bool
243
244# this is temp to handle compat with arch=ppc
245config 85xx
246 bool
247
248config E500
249 bool
250
251config PPC_FPU
252 bool
253 default y if PPC64
254
255config PPC_DCR_NATIVE 128config PPC_DCR_NATIVE
256 bool 129 bool
257 default n 130 default n
@@ -270,134 +143,6 @@ config PPC_OF_PLATFORM_PCI
270 depends on PPC64 # not supported on 32 bits yet 143 depends on PPC64 # not supported on 32 bits yet
271 default n 144 default n
272 145
273config 4xx
274 bool
275 depends on 40x || 44x
276 default y
277
278config BOOKE
279 bool
280 depends on E200 || E500 || 44x
281 default y
282
283config FSL_BOOKE
284 bool
285 depends on E200 || E500
286 default y
287
288config PTE_64BIT
289 bool
290 depends on 44x || E500
291 default y if 44x
292 default y if E500 && PHYS_64BIT
293
294config PHYS_64BIT
295 bool 'Large physical address support' if E500
296 depends on 44x || E500
297 select RESOURCES_64BIT
298 default y if 44x
299 ---help---
300 This option enables kernel support for larger than 32-bit physical
301 addresses. This features is not be available on all e500 cores.
302
303 If in doubt, say N here.
304
305config ALTIVEC
306 bool "AltiVec Support"
307 depends on CLASSIC32 || POWER4
308 ---help---
309 This option enables kernel support for the Altivec extensions to the
310 PowerPC processor. The kernel currently supports saving and restoring
311 altivec registers, and turning on the 'altivec enable' bit so user
312 processes can execute altivec instructions.
313
314 This option is only usefully if you have a processor that supports
315 altivec (G4, otherwise known as 74xx series), but does not have
316 any affect on a non-altivec cpu (it does, however add code to the
317 kernel).
318
319 If in doubt, say Y here.
320
321config SPE
322 bool "SPE Support"
323 depends on E200 || E500
324 default y
325 ---help---
326 This option enables kernel support for the Signal Processing
327 Extensions (SPE) to the PowerPC processor. The kernel currently
328 supports saving and restoring SPE registers, and turning on the
329 'spe enable' bit so user processes can execute SPE instructions.
330
331 This option is only useful if you have a processor that supports
332 SPE (e500, otherwise known as 85xx series), but does not have any
333 effect on a non-spe cpu (it does, however add code to the kernel).
334
335 If in doubt, say Y here.
336
337config PPC_STD_MMU
338 bool
339 depends on 6xx || POWER3 || POWER4 || PPC64
340 default y
341
342config PPC_STD_MMU_32
343 def_bool y
344 depends on PPC_STD_MMU && PPC32
345
346config PPC_MM_SLICES
347 bool
348 default y if HUGETLB_PAGE
349 default n
350
351config VIRT_CPU_ACCOUNTING
352 bool "Deterministic task and CPU time accounting"
353 depends on PPC64
354 default y
355 help
356 Select this option to enable more accurate task and CPU time
357 accounting. This is done by reading a CPU counter on each
358 kernel entry and exit and on transitions within the kernel
359 between system, softirq and hardirq state, so there is a
360 small performance impact. This also enables accounting of
361 stolen time on logically-partitioned systems running on
362 IBM POWER5-based machines.
363
364 If in doubt, say Y here.
365
366config SMP
367 depends on PPC_STD_MMU
368 bool "Symmetric multi-processing support"
369 ---help---
370 This enables support for systems with more than one CPU. If you have
371 a system with only one CPU, say N. If you have a system with more
372 than one CPU, say Y. Note that the kernel does not currently
373 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
374 since they have inadequate hardware support for multiprocessor
375 operation.
376
377 If you say N here, the kernel will run on single and multiprocessor
378 machines, but will use only one CPU of a multiprocessor machine. If
379 you say Y here, the kernel will run on single-processor machines.
380 On a single-processor machine, the kernel will run faster if you say
381 N here.
382
383 If you don't know what to do here, say N.
384
385config NR_CPUS
386 int "Maximum number of CPUs (2-128)"
387 range 2 128
388 depends on SMP
389 default "32" if PPC64
390 default "4"
391
392config NOT_COHERENT_CACHE
393 bool
394 depends on 4xx || 8xx || E200
395 default y
396
397config CONFIG_CHECK_CACHE_COHERENCY
398 bool
399endmenu
400
401source "init/Kconfig" 146source "init/Kconfig"
402 147
403source "arch/powerpc/platforms/Kconfig" 148source "arch/powerpc/platforms/Kconfig"
@@ -677,10 +422,6 @@ config SBUS
677config FSL_SOC 422config FSL_SOC
678 bool 423 bool
679 424
680config FSL_PCIE
681 bool
682 depends on PPC_86xx
683
684# Yes MCA RS/6000s exist but Linux-PPC does not currently support any 425# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
685config MCA 426config MCA
686 bool 427 bool
@@ -688,10 +429,10 @@ config MCA
688config PCI 429config PCI
689 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ 430 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
690 || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \ 431 || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \
691 || MPC7448HPC2 || PPC_PS3 || PPC_HOLLY 432 || PPC_PS3
692 default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \ 433 default y if !40x && !CPM2 && !8xx && !PPC_83xx \
693 && !PPC_85xx && !PPC_86xx 434 && !PPC_85xx && !PPC_86xx
694 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS 435 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx
695 default PCI_QSPAN if !4xx && !CPM2 && 8xx 436 default PCI_QSPAN if !4xx && !CPM2 && 8xx
696 select ARCH_SUPPORTS_MSI 437 select ARCH_SUPPORTS_MSI
697 help 438 help