blob: 7b63ede083f2add8e57913dc95fdaa6c6e1e45f4 [file] [log] [blame]
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001# For a description of the syntax of this configuration file,
2# see Documentation/kbuild/kconfig-language.txt.
3#
4
5mainmenu "Linux/PowerPC Kernel Configuration"
6
7config PPC64
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 PPC32
15 bool
16 default y if !PPC64
17
18config 64BIT
19 bool
20 default y if PPC64
21
22config PPC_MERGE
23 def_bool y
24
25config MMU
26 bool
27 default y
28
Paul Mackerras14cf11a2005-09-26 16:04:21 +100029config GENERIC_HARDIRQS
30 bool
31 default y
32
Ingo Molnar0d7012a2006-06-29 02:24:43 -070033config IRQ_PER_CPU
34 bool
35 default y
36
Paul Mackerras14cf11a2005-09-26 16:04:21 +100037config RWSEM_GENERIC_SPINLOCK
38 bool
39
40config RWSEM_XCHGADD_ALGORITHM
41 bool
42 default y
43
Akinobu Mitae779b2f2006-03-26 01:39:33 -080044config GENERIC_HWEIGHT
45 bool
46 default y
47
Paul Mackerras14cf11a2005-09-26 16:04:21 +100048config GENERIC_CALIBRATE_DELAY
49 bool
50 default y
51
Jon Mason0a9cb462006-05-19 15:35:32 -050052config GENERIC_FIND_NEXT_BIT
53 bool
54 default y
55
Paul Mackerras14cf11a2005-09-26 16:04:21 +100056config PPC
57 bool
58 default y
59
60config EARLY_PRINTK
61 bool
Benjamin Herrenschmidt51d30822005-11-23 17:57:25 +110062 default y
Paul Mackerras14cf11a2005-09-26 16:04:21 +100063
64config COMPAT
65 bool
66 default y if PPC64
67
68config SYSVIPC_COMPAT
69 bool
70 depends on COMPAT && SYSVIPC
71 default y
72
73# All PPC32s use generic nvram driver through ppc_md
74config GENERIC_NVRAM
75 bool
76 default y if PPC32
77
78config SCHED_NO_NO_OMIT_FRAME_POINTER
79 bool
80 default y
81
82config ARCH_MAY_HAVE_PC_FDC
83 bool
84 default y
85
Kumar Gala08264cb2006-01-10 21:43:56 -060086config PPC_OF
87 def_bool y
88
89config PPC_UDBG_16550
90 bool
91 default n
92
Kumar Gala08264cb2006-01-10 21:43:56 -060093config GENERIC_TBSYNC
94 bool
95 default y if PPC32 && SMP
96 default n
97
Al Viroe65e1fc2006-09-12 03:04:40 -040098config AUDIT_ARCH
99 bool
100 default y
101
Kumar Galaf4fc4a52006-01-16 10:53:22 -0600102config DEFAULT_UIMAGE
103 bool
104 help
105 Used to allow a board to specify it wants a uImage built by default
106 default n
107
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000108menu "Processor support"
109choice
110 prompt "Processor Type"
111 depends on PPC32
112 default 6xx
113
Kumar Gala08264cb2006-01-10 21:43:56 -0600114config CLASSIC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000115 bool "6xx/7xx/74xx"
116 select PPC_FPU
Kumar Gala08264cb2006-01-10 21:43:56 -0600117 select 6xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000118 help
119 There are four families of PowerPC chips supported. The more common
120 types (601, 603, 604, 740, 750, 7400), the Motorola embedded
121 versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
122 embedded versions (403 and 405) and the high end 64 bit Power
123 processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
124
125 Unless you are building a kernel for one of the embedded processor
126 systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx.
127 Note that the kernel runs in 32-bit mode even on 64-bit chips.
128
129config PPC_52xx
130 bool "Freescale 52xx"
Kumar Gala08264cb2006-01-10 21:43:56 -0600131 select 6xx
132 select PPC_FPU
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000133
134config PPC_82xx
135 bool "Freescale 82xx"
Kumar Gala08264cb2006-01-10 21:43:56 -0600136 select 6xx
137 select PPC_FPU
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000138
139config PPC_83xx
140 bool "Freescale 83xx"
Kumar Gala08264cb2006-01-10 21:43:56 -0600141 select 6xx
142 select FSL_SOC
143 select 83xx
144 select PPC_FPU
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000145
Becky Bruce63dafe52006-01-14 16:57:39 -0600146config PPC_85xx
147 bool "Freescale 85xx"
148 select E500
149 select FSL_SOC
150 select 85xx
151
Jon Loeligerc9b484b2006-06-17 17:52:35 -0500152config PPC_86xx
153 bool "Freescale 86xx"
154 select 6xx
155 select FSL_SOC
156 select PPC_FPU
157 select ALTIVEC
158 help
159 The Freescale E600 SoCs have 74xx cores.
160
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000161config 40x
162 bool "AMCC 40x"
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100163 select PPC_DCR_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000164
165config 44x
166 bool "AMCC 44x"
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100167 select PPC_DCR_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000168
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000169config 8xx
170 bool "Freescale 8xx"
171
172config E200
173 bool "Freescale e200"
174
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000175endchoice
176
177config POWER4_ONLY
178 bool "Optimize for POWER4"
Paul Mackerras187a0062005-10-06 12:49:05 +1000179 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000180 default n
181 ---help---
182 Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
183 The resulting binary will not work on POWER3 or RS64 processors
184 when compiled with binutils 2.15 or later.
185
186config POWER3
187 bool
Paul Mackerras187a0062005-10-06 12:49:05 +1000188 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000189 default y if !POWER4_ONLY
190
191config POWER4
Paul Mackerras187a0062005-10-06 12:49:05 +1000192 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000193 def_bool y
194
Kumar Gala08264cb2006-01-10 21:43:56 -0600195config 6xx
196 bool
197
198# this is temp to handle compat with arch=ppc
199config 83xx
200 bool
201
Becky Bruce63dafe52006-01-14 16:57:39 -0600202# this is temp to handle compat with arch=ppc
203config 85xx
204 bool
205
206config E500
207 bool
208
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000209config PPC_FPU
Paul Mackerras187a0062005-10-06 12:49:05 +1000210 bool
211 default y if PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000212
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100213config PPC_DCR_NATIVE
214 bool
215 default n
216
217config PPC_DCR_MMIO
218 bool
219 default n
220
221config PPC_DCR
222 bool
223 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
224 default y
225
Benjamin Herrenschmidt4c9d2802006-11-11 17:25:08 +1100226config PPC_OF_PLATFORM_PCI
227 bool
228 depends on PPC64 # not supported on 32 bits yet
229 default n
230
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000231config BOOKE
232 bool
233 depends on E200 || E500
234 default y
235
236config FSL_BOOKE
237 bool
238 depends on E200 || E500
239 default y
240
241config PTE_64BIT
242 bool
243 depends on 44x || E500
244 default y if 44x
245 default y if E500 && PHYS_64BIT
246
247config PHYS_64BIT
248 bool 'Large physical address support' if E500
249 depends on 44x || E500
Benjamin Herrenschmidt3d1ea8e2006-11-11 17:25:19 +1100250 select RESOURCES_64BIT
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000251 default y if 44x
252 ---help---
253 This option enables kernel support for larger than 32-bit physical
254 addresses. This features is not be available on all e500 cores.
255
256 If in doubt, say N here.
257
258config ALTIVEC
259 bool "AltiVec Support"
Kumar Gala08264cb2006-01-10 21:43:56 -0600260 depends on CLASSIC32 || POWER4
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000261 ---help---
262 This option enables kernel support for the Altivec extensions to the
263 PowerPC processor. The kernel currently supports saving and restoring
264 altivec registers, and turning on the 'altivec enable' bit so user
265 processes can execute altivec instructions.
266
267 This option is only usefully if you have a processor that supports
268 altivec (G4, otherwise known as 74xx series), but does not have
269 any affect on a non-altivec cpu (it does, however add code to the
270 kernel).
271
272 If in doubt, say Y here.
273
274config SPE
275 bool "SPE Support"
276 depends on E200 || E500
Becky Bruce63dafe52006-01-14 16:57:39 -0600277 default y
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000278 ---help---
279 This option enables kernel support for the Signal Processing
280 Extensions (SPE) to the PowerPC processor. The kernel currently
281 supports saving and restoring SPE registers, and turning on the
282 'spe enable' bit so user processes can execute SPE instructions.
283
284 This option is only useful if you have a processor that supports
285 SPE (e500, otherwise known as 85xx series), but does not have any
286 effect on a non-spe cpu (it does, however add code to the kernel).
287
288 If in doubt, say Y here.
289
290config PPC_STD_MMU
291 bool
292 depends on 6xx || POWER3 || POWER4 || PPC64
293 default y
294
295config PPC_STD_MMU_32
296 def_bool y
297 depends on PPC_STD_MMU && PPC32
298
Paul Mackerrasc6622f62006-02-24 10:06:59 +1100299config VIRT_CPU_ACCOUNTING
300 bool "Deterministic task and CPU time accounting"
301 depends on PPC64
302 default y
303 help
304 Select this option to enable more accurate task and CPU time
305 accounting. This is done by reading a CPU counter on each
306 kernel entry and exit and on transitions within the kernel
307 between system, softirq and hardirq state, so there is a
308 small performance impact. This also enables accounting of
309 stolen time on logically-partitioned systems running on
310 IBM POWER5-based machines.
311
312 If in doubt, say Y here.
313
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000314config SMP
315 depends on PPC_STD_MMU
316 bool "Symmetric multi-processing support"
317 ---help---
318 This enables support for systems with more than one CPU. If you have
319 a system with only one CPU, say N. If you have a system with more
320 than one CPU, say Y. Note that the kernel does not currently
321 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
322 since they have inadequate hardware support for multiprocessor
323 operation.
324
325 If you say N here, the kernel will run on single and multiprocessor
326 machines, but will use only one CPU of a multiprocessor machine. If
327 you say Y here, the kernel will run on single-processor machines.
328 On a single-processor machine, the kernel will run faster if you say
329 N here.
330
331 If you don't know what to do here, say N.
332
333config NR_CPUS
Olaf Heringe8a167a2005-12-01 21:10:10 +0100334 int "Maximum number of CPUs (2-128)"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000335 range 2 128
336 depends on SMP
337 default "32" if PPC64
338 default "4"
339
340config NOT_COHERENT_CACHE
341 bool
342 depends on 4xx || 8xx || E200
343 default y
344endmenu
345
346source "init/Kconfig"
347
348menu "Platform support"
Kumar Gala08264cb2006-01-10 21:43:56 -0600349 depends on PPC64 || CLASSIC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000350
351choice
352 prompt "Machine type"
353 default PPC_MULTIPLATFORM
354
355config PPC_MULTIPLATFORM
356 bool "Generic desktop/server/laptop"
357 help
358 Select this option if configuring for an IBM pSeries or
359 RS/6000 machine, an Apple machine, or a PReP, CHRP,
360 Maple or Cell-based machine.
361
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000362config EMBEDDED6xx
363 bool "Embedded 6xx/7xx/7xxx-based board"
Zang Roy-r61911c5d56332006-06-13 15:07:15 +0800364 depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000365
366config APUS
367 bool "Amiga-APUS"
368 depends on PPC32 && BROKEN
369 help
370 Select APUS if configuring for a PowerUP Amiga.
371 More information is available at:
372 <http://linux-apus.sourceforge.net/>.
373endchoice
374
Li Yang98658532006-10-03 23:10:46 -0500375config QUICC_ENGINE
376 bool
377 depends on PPC_MPC836x || PPC_MPC832x
378 default y
379 help
380 The QUICC Engine (QE) is a new generation of communications
381 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
382 Selecting this option means that you wish to build a kernel
383 for a machine with a QE coprocessor.
384
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000385config PPC_PSERIES
386 depends on PPC_MULTIPLATFORM && PPC64
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700387 bool "IBM pSeries & new (POWER5-based) iSeries"
Zang Roy-r6191172335932006-08-25 14:16:30 +1000388 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000389 select PPC_I8259
Paul Mackerras033ef332005-10-26 17:05:24 +1000390 select PPC_RTAS
391 select RTAS_ERROR_LOGGING
Paul Mackerras13b8a272006-01-10 16:19:05 +1100392 select PPC_UDBG_16550
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100393 select PPC_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000394 default y
395
Stephen Rothwella542dbd2006-09-25 13:49:58 +1000396config PPC_ISERIES
397 bool "IBM Legacy iSeries"
398 depends on PPC_MULTIPLATFORM && PPC64
Benjamin Herrenschmidt4cb3cee2006-11-11 17:25:10 +1100399 select PPC_INDIRECT_IO
Stephen Rothwella542dbd2006-09-25 13:49:58 +1000400
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000401config PPC_CHRP
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700402 bool "Common Hardware Reference Platform (CHRP) based machines"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000403 depends on PPC_MULTIPLATFORM && PPC32
Zang Roy-r6191172335932006-08-25 14:16:30 +1000404 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000405 select PPC_I8259
Paul Mackerras25635c72005-10-26 16:36:55 +1000406 select PPC_INDIRECT_PCI
Paul Mackerras033ef332005-10-26 17:05:24 +1000407 select PPC_RTAS
Paul Mackerras830825d2005-10-26 17:16:38 +1000408 select PPC_MPC106
Paul Mackerras13b8a272006-01-10 16:19:05 +1100409 select PPC_UDBG_16550
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100410 select PPC_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000411 default y
412
Grant Likelyd4150242006-11-27 14:16:24 -0700413config PPC_MPC52xx
414 bool
415 default n
416
Nicolas DETc37858d2006-11-05 12:57:16 +0100417config PPC_EFIKA
418 bool "bPlan Efika 5k2. MPC5200B based computer"
419 depends on PPC_MULTIPLATFORM && PPC32
420 select PPC_RTAS
421 select RTAS_PROC
422 select PPC_MPC52xx
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100423 select PPC_NATIVE
Nicolas DETc37858d2006-11-05 12:57:16 +0100424 default y
425
Grant Likely6b642532006-11-27 14:16:28 -0700426config PPC_LITE5200
427 bool "Freescale Lite5200 Eval Board"
428 depends on PPC_MULTIPLATFORM && PPC32
429 select PPC_MPC52xx
430 default n
431
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000432config PPC_PMAC
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700433 bool "Apple PowerMac based machines"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000434 depends on PPC_MULTIPLATFORM
Zang Roy-r6191172335932006-08-25 14:16:30 +1000435 select MPIC
Paul Mackerras25635c72005-10-26 16:36:55 +1000436 select PPC_INDIRECT_PCI if PPC32
Paul Mackerrasb6a4ce52005-10-26 22:54:17 +1000437 select PPC_MPC106 if PPC32
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100438 select PPC_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000439 default y
440
441config PPC_PMAC64
442 bool
443 depends on PPC_PMAC && POWER4
Zang Roy-r6191172335932006-08-25 14:16:30 +1000444 select MPIC
Paul Mackerras35499c02005-10-22 16:02:39 +1000445 select U3_DART
Benjamin Herrenschmidt1beb6a72005-12-14 13:10:10 +1100446 select MPIC_BROKEN_U3
Paul Mackerras8ad200d2005-11-04 13:28:58 +1100447 select GENERIC_TBSYNC
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000448 select PPC_970_NAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000449 default y
450
451config PPC_PREP
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700452 bool "PowerPC Reference Platform (PReP) based machines"
Paul Mackerras5be396b2005-11-14 17:31:55 +1100453 depends on PPC_MULTIPLATFORM && PPC32 && BROKEN
Zang Roy-r6191172335932006-08-25 14:16:30 +1000454 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000455 select PPC_I8259
Paul Mackerras25635c72005-10-26 16:36:55 +1000456 select PPC_INDIRECT_PCI
Paul Mackerras13b8a272006-01-10 16:19:05 +1100457 select PPC_UDBG_16550
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100458 select PPC_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000459 default y
460
461config PPC_MAPLE
462 depends on PPC_MULTIPLATFORM && PPC64
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700463 bool "Maple 970FX Evaluation Board"
Zang Roy-r6191172335932006-08-25 14:16:30 +1000464 select MPIC
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000465 select U3_DART
466 select MPIC_BROKEN_U3
Paul Mackerras8ad200d2005-11-04 13:28:58 +1100467 select GENERIC_TBSYNC
Paul Mackerras13b8a272006-01-10 16:19:05 +1100468 select PPC_UDBG_16550
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000469 select PPC_970_NAP
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100470 select PPC_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000471 default n
472 help
473 This option enables support for the Maple 970FX Evaluation Board.
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100474 For more information, refer to <http://www.970eval.com>
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000475
Olof Johansson1e768752006-09-06 14:42:08 -0500476config PPC_PASEMI
477 depends on PPC_MULTIPLATFORM && PPC64
478 bool "PA Semi SoC-based platforms"
479 default n
480 select MPIC
481 select PPC_UDBG_16550
482 select GENERIC_TBSYNC
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100483 select PPC_NATIVE
Olof Johansson1e768752006-09-06 14:42:08 -0500484 help
485 This option enables support for PA Semi's PWRficient line
486 of SoC processors, including PA6T-1682M
487
Arnd Bergmannf3f66f52005-10-31 20:08:37 -0500488config PPC_CELL
Geoff Levandc01ea722006-06-19 20:33:28 +0200489 bool
490 default n
491
492config PPC_CELL_NATIVE
493 bool
494 select PPC_CELL
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100495 select PPC_DCR_MMIO
Benjamin Herrenschmidt4c9d2802006-11-11 17:25:08 +1100496 select PPC_OF_PLATFORM_PCI
Benjamin Herrenschmidt014da7f2006-11-11 17:25:12 +1100497 select PPC_INDIRECT_IO
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100498 select PPC_NATIVE
Benjamin Herrenschmidt21fb5a12006-11-11 17:24:58 +1100499 select MPIC
Geoff Levandc01ea722006-06-19 20:33:28 +0200500 default n
501
502config PPC_IBM_CELL_BLADE
Andrew Mortonf127a2b2006-06-25 01:49:07 -0700503 bool "IBM Cell Blade"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000504 depends on PPC_MULTIPLATFORM && PPC64
Geoff Levandc01ea722006-06-19 20:33:28 +0200505 select PPC_CELL_NATIVE
Paul Mackerras033ef332005-10-26 17:05:24 +1000506 select PPC_RTAS
Arnd Bergmannedf03c12005-10-31 20:08:40 -0500507 select MMIO_NVRAM
Paul Mackerras13b8a272006-01-10 16:19:05 +1100508 select PPC_UDBG_16550
Michael Ellerman94b60ec2006-06-23 18:20:22 +1000509 select UDBG_RTAS_CONSOLE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000510
Geoff Levandf58a9d12006-11-23 00:46:51 +0100511config PPC_PS3
512 bool "Sony PS3"
513 depends on PPC_MULTIPLATFORM && PPC64
514 select PPC_CELL
515 help
516 This option enables support for the Sony PS3 game console
517 and other platforms using the PS3 hypervisor.
518
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100519config PPC_NATIVE
520 bool
521 depends on PPC_MULTIPLATFORM
522 help
523 Support for running natively on the hardware, i.e. without
524 a hypervisor. This option is not user-selectable but should
525 be selected by all platforms that need it.
526
527config UDBG_RTAS_CONSOLE
528 bool "RTAS based debug console"
529 depends on PPC_RTAS
530 default n
531
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000532config XICS
533 depends on PPC_PSERIES
534 bool
535 default y
536
537config U3_DART
538 bool
539 depends on PPC_MULTIPLATFORM && PPC64
540 default n
541
Paul Mackerras033ef332005-10-26 17:05:24 +1000542config PPC_RTAS
543 bool
544 default n
545
546config RTAS_ERROR_LOGGING
547 bool
548 depends on PPC_RTAS
549 default n
550
Paul Mackerrasf4fcbbe2005-11-03 14:41:19 +1100551config RTAS_PROC
552 bool "Proc interface to RTAS"
Arnd Bergmanne9add2e2005-10-31 20:08:39 -0500553 depends on PPC_RTAS
Paul Mackerrasf4fcbbe2005-11-03 14:41:19 +1100554 default y
555
556config RTAS_FLASH
557 tristate "Firmware flash interface"
558 depends on PPC64 && RTAS_PROC
Arnd Bergmanne9add2e2005-10-31 20:08:39 -0500559
Arnd Bergmannedf03c12005-10-31 20:08:40 -0500560config MMIO_NVRAM
561 bool
562 default n
563
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000564config MPIC_BROKEN_U3
565 bool
566 depends on PPC_MAPLE
567 default y
568
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000569config IBMVIO
570 depends on PPC_PSERIES || PPC_ISERIES
571 bool
572 default y
573
Heiko J Schickd7a30102005-11-16 08:56:43 +0100574config IBMEBUS
575 depends on PPC_PSERIES
576 bool "Support for GX bus based adapters"
Heiko J Schickd7a30102005-11-16 08:56:43 +0100577 help
578 Bus device driver for GX bus based adapters.
579
Paul Mackerras830825d2005-10-26 17:16:38 +1000580config PPC_MPC106
581 bool
582 default n
583
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000584config PPC_970_NAP
585 bool
586 default n
587
Benjamin Herrenschmidt4cb3cee2006-11-11 17:25:10 +1100588config PPC_INDIRECT_IO
589 bool
590 select GENERIC_IOMAP
591 default n
592
593config GENERIC_IOMAP
594 bool
595 default n
596
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000597source "drivers/cpufreq/Kconfig"
598
599config CPU_FREQ_PMAC
600 bool "Support for Apple PowerBooks"
601 depends on CPU_FREQ && ADB_PMU && PPC32
602 select CPU_FREQ_TABLE
603 help
604 This adds support for frequency switching on Apple PowerBooks,
605 this currently includes some models of iBook & Titanium
606 PowerBook.
607
Benjamin Herrenschmidt43501472005-11-07 14:27:33 +1100608config CPU_FREQ_PMAC64
609 bool "Support for some Apple G5s"
Benjamin Herrenschmidt7ed14c22006-07-06 15:09:19 +1000610 depends on CPU_FREQ && PPC64
Benjamin Herrenschmidt43501472005-11-07 14:27:33 +1100611 select CPU_FREQ_TABLE
612 help
613 This adds support for frequency switching on Apple iMac G5,
614 and some of the more recent desktop G5 machines as well.
615
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000616config PPC601_SYNC_FIX
617 bool "Workarounds for PPC601 bugs"
618 depends on 6xx && (PPC_PREP || PPC_PMAC)
619 help
620 Some versions of the PPC601 (the first PowerPC chip) have bugs which
621 mean that extra synchronization instructions are required near
622 certain instructions, typically those that make major changes to the
623 CPU state. These extra instructions reduce performance slightly.
624 If you say N here, these extra instructions will not be included,
625 resulting in a kernel which will run faster but may not run at all
626 on some systems with the PPC601 chip.
627
628 If in doubt, say Y here.
629
630config TAU
Paul Mackerras9b781722006-03-27 19:15:26 +1100631 bool "On-chip CPU temperature sensor support"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000632 depends on 6xx
633 help
634 G3 and G4 processors have an on-chip temperature sensor called the
635 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
636 temperature within 2-4 degrees Celsius. This option shows the current
637 on-die temperature in /proc/cpuinfo if the cpu supports it.
638
639 Unfortunately, on some chip revisions, this sensor is very inaccurate
Paul Mackerras9b781722006-03-27 19:15:26 +1100640 and in many cases, does not work at all, so don't assume the cpu
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000641 temp is actually what /proc/cpuinfo says it is.
642
643config TAU_INT
644 bool "Interrupt driven TAU driver (DANGEROUS)"
645 depends on TAU
646 ---help---
647 The TAU supports an interrupt driven mode which causes an interrupt
648 whenever the temperature goes out of range. This is the fastest way
649 to get notified the temp has exceeded a range. With this option off,
650 a timer is used to re-check the temperature periodically.
651
652 However, on some cpus it appears that the TAU interrupt hardware
653 is buggy and can cause a situation which would lead unexplained hard
654 lockups.
655
656 Unless you are extending the TAU driver, or enjoy kernel/hardware
657 debugging, leave this option off.
658
659config TAU_AVERAGE
660 bool "Average high and low temp"
661 depends on TAU
662 ---help---
663 The TAU hardware can compare the temperature to an upper and lower
664 bound. The default behavior is to show both the upper and lower
665 bound in /proc/cpuinfo. If the range is large, the temperature is
666 either changing a lot, or the TAU hardware is broken (likely on some
667 G4's). If the range is small (around 4 degrees), the temperature is
668 relatively stable. If you say Y here, a single temperature value,
669 halfway between the upper and lower bounds, will be reported in
670 /proc/cpuinfo.
671
672 If in doubt, say N here.
Mark A. Greerc2201532006-06-28 14:13:20 -0700673
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000674endmenu
675
676source arch/powerpc/platforms/embedded6xx/Kconfig
677source arch/powerpc/platforms/4xx/Kconfig
Vitaly Borduged943c12006-10-02 22:41:50 +0400678source arch/powerpc/platforms/82xx/Kconfig
Kumar Gala08264cb2006-01-10 21:43:56 -0600679source arch/powerpc/platforms/83xx/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000680source arch/powerpc/platforms/85xx/Kconfig
Jon Loeligerc9b484b2006-06-17 17:52:35 -0500681source arch/powerpc/platforms/86xx/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000682source arch/powerpc/platforms/8xx/Kconfig
Arnd Bergmann67207b92005-11-15 15:53:48 -0500683source arch/powerpc/platforms/cell/Kconfig
Geoff Levandf58a9d12006-11-23 00:46:51 +0100684source arch/powerpc/platforms/ps3/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000685
686menu "Kernel options"
687
688config HIGHMEM
689 bool "High memory support"
690 depends on PPC32
691
692source kernel/Kconfig.hz
693source kernel/Kconfig.preempt
694source "fs/Kconfig.binfmt"
695
696# We optimistically allocate largepages from the VM, so make the limit
697# large enough (16MB). This badly named config option is actually
698# max order + 1
699config FORCE_MAX_ZONEORDER
700 int
701 depends on PPC64
Mike Kravetz02864862005-11-07 13:48:59 -0800702 default "9" if PPC_64K_PAGES
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000703 default "13"
704
705config MATH_EMULATION
706 bool "Math emulation"
707 depends on 4xx || 8xx || E200 || E500
708 ---help---
709 Some PowerPC chips designed for embedded applications do not have
710 a floating-point unit and therefore do not implement the
711 floating-point instructions in the PowerPC instruction set. If you
712 say Y here, the kernel will include code to emulate a floating-point
713 unit, which will allow programs that use floating-point
714 instructions to run.
715
716config IOMMU_VMERGE
717 bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
718 depends on EXPERIMENTAL && PPC64
719 default n
720 help
721 Cause IO segments sent to a device for DMA to be merged virtually
722 by the IOMMU when they happen to have been allocated contiguously.
723 This doesn't add pressure to the IOMMU allocator. However, some
724 drivers don't support getting large merged segments coming back
725 from *_map_sg(). Say Y if you know the drivers you are using are
726 properly handling this case.
727
728config HOTPLUG_CPU
729 bool "Support for enabling/disabling CPUs"
730 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
731 ---help---
732 Say Y here to be able to disable and re-enable individual
733 CPUs at runtime on SMP machines.
734
735 Say N if you are unsure.
736
Yasunori Gotocc576372006-06-29 02:24:27 -0700737config ARCH_ENABLE_MEMORY_HOTPLUG
738 def_bool y
739
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000740config KEXEC
741 bool "kexec system call (EXPERIMENTAL)"
742 depends on PPC_MULTIPLATFORM && EXPERIMENTAL
743 help
744 kexec is a system call that implements the ability to shutdown your
745 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400746 but it is independent of the system firmware. And like a reboot
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000747 you can start any kernel with it, not just Linux.
748
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400749 The name comes from the similarity to the exec system call.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000750
751 It is an ongoing process to be certain the hardware in a machine
752 is properly shutdown, so do not be surprised if this code does not
753 initially work for you. It may help to enable device hotplugging
754 support. As of this writing the exact hardware interface is
755 strongly in flux, so no good recommendation can be made.
756
Haren Mynenie8625d462006-01-14 13:48:25 -0800757config CRASH_DUMP
Michael Ellermancd9c99d2006-03-10 15:01:08 +1100758 bool "Build a kdump crash kernel (EXPERIMENTAL)"
Haren Mynenie8625d462006-01-14 13:48:25 -0800759 depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
760 help
761 Build a kernel suitable for use as a kdump capture kernel.
762 The kernel will be linked at a different address than normal, and
763 so can only be used for Kdump.
764
765 Don't change this unless you know what you are doing.
766
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000767config EMBEDDEDBOOT
768 bool
769 depends on 8xx || 8260
770 default y
771
772config PC_KEYBOARD
773 bool "PC PS/2 style Keyboard"
774 depends on 4xx || CPM2
775
776config PPCBUG_NVRAM
777 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
778 default y if PPC_PREP
779
780config IRQ_ALL_CPUS
781 bool "Distribute interrupts on all CPUs by default"
782 depends on SMP && !MV64360
783 help
784 This option gives the kernel permission to distribute IRQs across
785 multiple CPUs. Saying N here will route all IRQs to the first
786 CPU. Generally saying Y is safe, although some problems have been
787 reported with SMP Power Macintoshes with this option enabled.
788
789source "arch/powerpc/platforms/pseries/Kconfig"
790
Andy Whitcroftffa27b62005-10-28 17:46:58 -0700791config NUMA
792 bool "NUMA support"
793 depends on PPC64
794 default y if SMP && PPC_PSERIES
795
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700796config NODES_SHIFT
797 int
798 default "4"
799 depends on NEED_MULTIPLE_NODES
800
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000801config ARCH_SELECT_MEMORY_MODEL
802 def_bool y
803 depends on PPC64
804
805config ARCH_FLATMEM_ENABLE
Andy Whitcroft9100b202005-11-29 19:20:55 +0000806 def_bool y
807 depends on (PPC64 && !NUMA) || PPC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000808
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000809config ARCH_SPARSEMEM_ENABLE
810 def_bool y
Andy Whitcroft9100b202005-11-29 19:20:55 +0000811 depends on PPC64
Anton Blanchard45fb6ce2005-11-11 14:22:35 +1100812
813config ARCH_SPARSEMEM_DEFAULT
814 def_bool y
Geoff Levand36b600f2006-11-02 21:08:45 -0800815 depends on (SMP && PPC_PSERIES) || PPC_CELL
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000816
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700817config ARCH_POPULATES_NODE_MAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000818 def_bool y
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700819
820source "mm/Kconfig"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000821
Mike Kravetz7e9191d2005-11-07 09:39:48 -0800822config ARCH_MEMORY_PROBE
823 def_bool y
824 depends on MEMORY_HOTPLUG
825
Andy Whitcroft75167952006-10-21 10:24:14 -0700826# Some NUMA nodes have memory ranges that span
827# other nodes. Even though a pfn is valid and
828# between a node's start and end pfns, it may not
829# reside on that node. See memmap_init_zone()
830# for details.
831config NODES_SPAN_OTHER_NODES
832 def_bool y
833 depends on NEED_MULTIPLE_NODES
834
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100835config PPC_64K_PAGES
836 bool "64k page size"
Benjamin Herrenschmidt863c84b2005-11-07 00:57:58 -0800837 depends on PPC64
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100838 help
839 This option changes the kernel logical page size to 64k. On machines
840 without processor support for 64k pages, the kernel will simulate
841 them by loading each individual 4k page on demand transparently,
842 while on hardware with such support, it will be used to map
843 normal application pages.
844
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000845config SCHED_SMT
846 bool "SMT (Hyperthreading) scheduler support"
847 depends on PPC64 && SMP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000848 help
849 SMT scheduler support improves the CPU scheduler's decision making
850 when dealing with POWER5 cpus at a cost of slightly increased
851 overhead in some places. If unsure say N here.
852
853config PROC_DEVICETREE
Paul Mackerras5f296752005-10-17 20:14:59 +1000854 bool "Support for device tree in /proc"
855 depends on PROC_FS
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000856 help
857 This option adds a device-tree directory under /proc which contains
858 an image of the device tree that the kernel copies from Open
Paul Mackerras5f296752005-10-17 20:14:59 +1000859 Firmware or other boot firmware. If unsure, say Y here.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000860
861source "arch/powerpc/platforms/prep/Kconfig"
862
863config CMDLINE_BOOL
864 bool "Default bootloader kernel arguments"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000865
866config CMDLINE
867 string "Initial kernel command string"
868 depends on CMDLINE_BOOL
869 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
870 help
871 On some platforms, there is currently no way for the boot loader to
872 pass arguments to the kernel. For these platforms, you can supply
873 some command-line options at build time by entering them here. In
874 most cases you will need to specify the root device here.
875
876if !44x || BROKEN
877source kernel/power/Kconfig
878endif
879
880config SECCOMP
881 bool "Enable seccomp to safely compute untrusted bytecode"
882 depends on PROC_FS
883 default y
884 help
885 This kernel feature is useful for number crunching applications
886 that may need to compute untrusted bytecode during their
887 execution. By using pipes or other transports made available to
888 the process as file descriptors supporting the read/write
889 syscalls, it's possible to isolate those applications in
890 their own address space using seccomp. Once seccomp is
891 enabled via /proc/<pid>/seccomp, it cannot be disabled
892 and the task is only allowed to execute a few safe syscalls
893 defined by each seccomp mode.
894
895 If unsure, say Y. Only embedded should say N here.
896
897endmenu
898
899config ISA_DMA_API
900 bool
901 default y
902
903menu "Bus options"
904
905config ISA
906 bool "Support for ISA-bus hardware"
907 depends on PPC_PREP || PPC_CHRP
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000908 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000909 help
910 Find out whether you have ISA slots on your motherboard. ISA is the
911 name of a bus system, i.e. the way the CPU talks to the other stuff
912 inside your box. If you have an Apple machine, say N here; if you
913 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
914 you have an embedded board, consult your board documentation.
915
916config GENERIC_ISA_DMA
917 bool
918 depends on PPC64 || POWER4 || 6xx && !CPM2
919 default y
920
Zang Roy-r6191172335932006-08-25 14:16:30 +1000921config MPIC
922 bool
923 default n
924
925config MPIC_WEIRD
926 bool
927 default n
928
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000929config PPC_I8259
930 bool
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000931 default n
932
Paul Mackerras25635c72005-10-26 16:36:55 +1000933config PPC_INDIRECT_PCI
934 bool
935 depends on PCI
Becky Bruce63dafe52006-01-14 16:57:39 -0600936 default y if 40x || 44x
Paul Mackerras25635c72005-10-26 16:36:55 +1000937 default n
938
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000939config EISA
940 bool
941
942config SBUS
943 bool
944
Kumar Gala08264cb2006-01-10 21:43:56 -0600945config FSL_SOC
946 bool
947
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000948# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
949config MCA
950 bool
951
952config PCI
Jon Loeliger53158622006-08-09 10:37:28 -0500953 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
Geoff Levandf58a9d12006-11-23 00:46:51 +0100954 || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2 || PPC_PS3
Jon Loeliger53158622006-08-09 10:37:28 -0500955 default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \
956 && !PPC_85xx && !PPC_86xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000957 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
958 default PCI_QSPAN if !4xx && !CPM2 && 8xx
959 help
960 Find out whether your system includes a PCI bus. PCI is the name of
961 a bus system, i.e. the way the CPU talks to the other stuff inside
962 your box. If you say Y here, the kernel will include drivers and
963 infrastructure code to support PCI bus devices.
964
965config PCI_DOMAINS
966 bool
967 default PCI
968
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000969config PCI_QSPAN
970 bool "QSpan PCI"
971 depends on !4xx && !CPM2 && 8xx
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000972 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000973 help
974 Say Y here if you have a system based on a Motorola 8xx-series
975 embedded processor with a QSPAN PCI interface, otherwise say N.
976
977config PCI_8260
978 bool
979 depends on PCI && 8260
Paul Mackerras25635c72005-10-26 16:36:55 +1000980 select PPC_INDIRECT_PCI
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000981 default y
982
983config 8260_PCI9
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700984 bool "Enable workaround for MPC826x erratum PCI 9"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000985 depends on PCI_8260 && !ADS8272
986 default y
987
988choice
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700989 prompt "IDMA channel for PCI 9 workaround"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000990 depends on 8260_PCI9
991
992config 8260_PCI9_IDMA1
993 bool "IDMA1"
994
995config 8260_PCI9_IDMA2
996 bool "IDMA2"
997
998config 8260_PCI9_IDMA3
999 bool "IDMA3"
1000
1001config 8260_PCI9_IDMA4
1002 bool "IDMA4"
1003
1004endchoice
1005
Jake Moilanenbb53bb32006-06-07 16:05:46 -05001006source "drivers/pci/pcie/Kconfig"
1007
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001008source "drivers/pci/Kconfig"
1009
1010source "drivers/pcmcia/Kconfig"
1011
1012source "drivers/pci/hotplug/Kconfig"
1013
1014endmenu
1015
1016menu "Advanced setup"
1017 depends on PPC32
1018
1019config ADVANCED_OPTIONS
1020 bool "Prompt for advanced kernel configuration options"
1021 help
1022 This option will enable prompting for a variety of advanced kernel
1023 configuration options. These options can cause the kernel to not
1024 work if they are set incorrectly, but can be used to optimize certain
1025 aspects of kernel memory management.
1026
1027 Unless you know what you are doing, say N here.
1028
1029comment "Default settings for advanced configuration options are used"
1030 depends on !ADVANCED_OPTIONS
1031
1032config HIGHMEM_START_BOOL
1033 bool "Set high memory pool address"
1034 depends on ADVANCED_OPTIONS && HIGHMEM
1035 help
1036 This option allows you to set the base address of the kernel virtual
1037 area used to map high memory pages. This can be useful in
1038 optimizing the layout of kernel virtual memory.
1039
1040 Say N here unless you know what you are doing.
1041
1042config HIGHMEM_START
1043 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
1044 default "0xfe000000"
1045
1046config LOWMEM_SIZE_BOOL
1047 bool "Set maximum low memory"
1048 depends on ADVANCED_OPTIONS
1049 help
1050 This option allows you to set the maximum amount of memory which
1051 will be used as "low memory", that is, memory which the kernel can
1052 access directly, without having to set up a kernel virtual mapping.
1053 This can be useful in optimizing the layout of kernel virtual
1054 memory.
1055
1056 Say N here unless you know what you are doing.
1057
1058config LOWMEM_SIZE
1059 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
1060 default "0x30000000"
1061
1062config KERNEL_START_BOOL
1063 bool "Set custom kernel base address"
1064 depends on ADVANCED_OPTIONS
1065 help
1066 This option allows you to set the kernel virtual address at which
1067 the kernel will map low memory (the kernel image will be linked at
1068 this address). This can be useful in optimizing the virtual memory
1069 layout of the system.
1070
1071 Say N here unless you know what you are doing.
1072
1073config KERNEL_START
1074 hex "Virtual address of kernel base" if KERNEL_START_BOOL
1075 default "0xc0000000"
1076
1077config TASK_SIZE_BOOL
1078 bool "Set custom user task size"
1079 depends on ADVANCED_OPTIONS
1080 help
1081 This option allows you to set the amount of virtual address space
1082 allocated to user tasks. This can be useful in optimizing the
1083 virtual memory layout of the system.
1084
1085 Say N here unless you know what you are doing.
1086
1087config TASK_SIZE
1088 hex "Size of user task space" if TASK_SIZE_BOOL
1089 default "0x80000000"
1090
1091config CONSISTENT_START_BOOL
1092 bool "Set custom consistent memory pool address"
1093 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1094 help
1095 This option allows you to set the base virtual address
Matt LaPlante4b3f6862006-10-03 22:21:02 +02001096 of the consistent memory pool. This pool of virtual
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001097 memory is used to make consistent memory allocations.
1098
1099config CONSISTENT_START
1100 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
1101 default "0xff100000" if NOT_COHERENT_CACHE
1102
1103config CONSISTENT_SIZE_BOOL
1104 bool "Set custom consistent memory pool size"
1105 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1106 help
Matt LaPlante4b3f6862006-10-03 22:21:02 +02001107 This option allows you to set the size of the
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001108 consistent memory pool. This pool of virtual memory
1109 is used to make consistent memory allocations.
1110
1111config CONSISTENT_SIZE
1112 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
1113 default "0x00200000" if NOT_COHERENT_CACHE
1114
1115config BOOT_LOAD_BOOL
1116 bool "Set the boot link/load address"
1117 depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
1118 help
1119 This option allows you to set the initial load address of the zImage
1120 or zImage.initrd file. This can be useful if you are on a board
1121 which has a small amount of memory.
1122
1123 Say N here unless you know what you are doing.
1124
1125config BOOT_LOAD
1126 hex "Link/load address for booting" if BOOT_LOAD_BOOL
1127 default "0x00400000" if 40x || 8xx || 8260
1128 default "0x01000000" if 44x
1129 default "0x00800000"
1130
1131config PIN_TLB
1132 bool "Pinned Kernel TLBs (860 ONLY)"
1133 depends on ADVANCED_OPTIONS && 8xx
1134endmenu
1135
Stephen Rothwellcabb5582005-09-30 16:16:52 +10001136if PPC64
1137config KERNEL_START
1138 hex
Stephen Rothwelleeb2d212005-09-30 17:24:15 +10001139 default "0xc000000000000000"
Stephen Rothwellcabb5582005-09-30 16:16:52 +10001140endif
1141
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001142source "net/Kconfig"
1143
1144source "drivers/Kconfig"
1145
1146source "fs/Kconfig"
1147
1148# XXX source "arch/ppc/8xx_io/Kconfig"
1149
1150# XXX source "arch/ppc/8260_io/Kconfig"
1151
Li Yang98658532006-10-03 23:10:46 -05001152source "arch/powerpc/sysdev/qe_lib/Kconfig"
1153
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001154source "arch/powerpc/platforms/iseries/Kconfig"
1155
1156source "lib/Kconfig"
1157
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001158menu "Instrumentation Support"
1159 depends on EXPERIMENTAL
1160
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001161source "arch/powerpc/oprofile/Kconfig"
1162
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001163config KPROBES
1164 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -07001165 depends on PPC64 && KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001166 help
1167 Kprobes allows you to trap at almost any kernel address and
1168 execute a callback function. register_kprobe() establishes
1169 a probepoint and specifies the callback. Kprobes is useful
1170 for kernel debugging, non-intrusive instrumentation and testing.
1171 If in doubt, say "N".
1172endmenu
1173
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001174source "arch/powerpc/Kconfig.debug"
1175
1176source "security/Kconfig"
1177
1178config KEYS_COMPAT
1179 bool
1180 depends on COMPAT && KEYS
1181 default y
1182
1183source "crypto/Kconfig"