blob: f81d9f6f19f6ebca065500768b58d4787c50ff2a [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
Jeremy Fitzhardinge73c9cea2006-12-08 03:30:41 -0800102config GENERIC_BUG
103 bool
104 default y
105 depends on BUG
106
Kumar Galaf4fc4a52006-01-16 10:53:22 -0600107config DEFAULT_UIMAGE
108 bool
109 help
110 Used to allow a board to specify it wants a uImage built by default
111 default n
112
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000113menu "Processor support"
114choice
115 prompt "Processor Type"
116 depends on PPC32
117 default 6xx
118
Kumar Gala08264cb2006-01-10 21:43:56 -0600119config CLASSIC32
Grant Likely650f3282006-12-04 17:29:13 -0700120 bool "52xx/6xx/7xx/74xx"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000121 select PPC_FPU
Kumar Gala08264cb2006-01-10 21:43:56 -0600122 select 6xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000123 help
124 There are four families of PowerPC chips supported. The more common
125 types (601, 603, 604, 740, 750, 7400), the Motorola embedded
126 versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
127 embedded versions (403 and 405) and the high end 64 bit Power
128 processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
Grant Likely650f3282006-12-04 17:29:13 -0700129
130 This option is the catch-all for 6xx types, including some of the
131 embedded versions. Unless there is see an option for the specific
132 chip family you are using, you want this option.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000133
Grant Likely650f3282006-12-04 17:29:13 -0700134 You do not want this if you are building a kernel for a 64 bit
135 IBM RS/6000 or an Apple G5, choose 6xx.
136
137 If unsure, select this option
138
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000139 Note that the kernel runs in 32-bit mode even on 64-bit chips.
140
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000141config PPC_82xx
142 bool "Freescale 82xx"
Kumar Gala08264cb2006-01-10 21:43:56 -0600143 select 6xx
144 select PPC_FPU
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000145
146config PPC_83xx
147 bool "Freescale 83xx"
Kumar Gala08264cb2006-01-10 21:43:56 -0600148 select 6xx
149 select FSL_SOC
150 select 83xx
151 select PPC_FPU
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000152
Becky Bruce63dafe52006-01-14 16:57:39 -0600153config PPC_85xx
154 bool "Freescale 85xx"
155 select E500
156 select FSL_SOC
157 select 85xx
158
Jon Loeligerc9b484b2006-06-17 17:52:35 -0500159config PPC_86xx
160 bool "Freescale 86xx"
161 select 6xx
162 select FSL_SOC
163 select PPC_FPU
164 select ALTIVEC
165 help
166 The Freescale E600 SoCs have 74xx cores.
167
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000168config 40x
169 bool "AMCC 40x"
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100170 select PPC_DCR_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000171
172config 44x
173 bool "AMCC 44x"
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100174 select PPC_DCR_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000175
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000176config 8xx
177 bool "Freescale 8xx"
178
179config E200
180 bool "Freescale e200"
181
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000182endchoice
183
184config POWER4_ONLY
185 bool "Optimize for POWER4"
Paul Mackerras187a0062005-10-06 12:49:05 +1000186 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000187 default n
188 ---help---
189 Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
190 The resulting binary will not work on POWER3 or RS64 processors
191 when compiled with binutils 2.15 or later.
192
193config POWER3
194 bool
Paul Mackerras187a0062005-10-06 12:49:05 +1000195 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000196 default y if !POWER4_ONLY
197
198config POWER4
Paul Mackerras187a0062005-10-06 12:49:05 +1000199 depends on PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000200 def_bool y
201
Kumar Gala08264cb2006-01-10 21:43:56 -0600202config 6xx
203 bool
204
205# this is temp to handle compat with arch=ppc
206config 83xx
207 bool
208
Becky Bruce63dafe52006-01-14 16:57:39 -0600209# this is temp to handle compat with arch=ppc
210config 85xx
211 bool
212
213config E500
214 bool
215
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000216config PPC_FPU
Paul Mackerras187a0062005-10-06 12:49:05 +1000217 bool
218 default y if PPC64
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000219
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100220config PPC_DCR_NATIVE
221 bool
222 default n
223
224config PPC_DCR_MMIO
225 bool
226 default n
227
228config PPC_DCR
229 bool
230 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
231 default y
232
Benjamin Herrenschmidt4c9d2802006-11-11 17:25:08 +1100233config PPC_OF_PLATFORM_PCI
234 bool
235 depends on PPC64 # not supported on 32 bits yet
236 default n
237
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000238config BOOKE
239 bool
240 depends on E200 || E500
241 default y
242
243config FSL_BOOKE
244 bool
245 depends on E200 || E500
246 default y
247
248config PTE_64BIT
249 bool
250 depends on 44x || E500
251 default y if 44x
252 default y if E500 && PHYS_64BIT
253
254config PHYS_64BIT
255 bool 'Large physical address support' if E500
256 depends on 44x || E500
Benjamin Herrenschmidt3d1ea8e2006-11-11 17:25:19 +1100257 select RESOURCES_64BIT
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000258 default y if 44x
259 ---help---
260 This option enables kernel support for larger than 32-bit physical
261 addresses. This features is not be available on all e500 cores.
262
263 If in doubt, say N here.
264
265config ALTIVEC
266 bool "AltiVec Support"
Kumar Gala08264cb2006-01-10 21:43:56 -0600267 depends on CLASSIC32 || POWER4
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000268 ---help---
269 This option enables kernel support for the Altivec extensions to the
270 PowerPC processor. The kernel currently supports saving and restoring
271 altivec registers, and turning on the 'altivec enable' bit so user
272 processes can execute altivec instructions.
273
274 This option is only usefully if you have a processor that supports
275 altivec (G4, otherwise known as 74xx series), but does not have
276 any affect on a non-altivec cpu (it does, however add code to the
277 kernel).
278
279 If in doubt, say Y here.
280
281config SPE
282 bool "SPE Support"
283 depends on E200 || E500
Becky Bruce63dafe52006-01-14 16:57:39 -0600284 default y
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000285 ---help---
286 This option enables kernel support for the Signal Processing
287 Extensions (SPE) to the PowerPC processor. The kernel currently
288 supports saving and restoring SPE registers, and turning on the
289 'spe enable' bit so user processes can execute SPE instructions.
290
291 This option is only useful if you have a processor that supports
292 SPE (e500, otherwise known as 85xx series), but does not have any
293 effect on a non-spe cpu (it does, however add code to the kernel).
294
295 If in doubt, say Y here.
296
297config PPC_STD_MMU
298 bool
299 depends on 6xx || POWER3 || POWER4 || PPC64
300 default y
301
302config PPC_STD_MMU_32
303 def_bool y
304 depends on PPC_STD_MMU && PPC32
305
Paul Mackerrasc6622f62006-02-24 10:06:59 +1100306config VIRT_CPU_ACCOUNTING
307 bool "Deterministic task and CPU time accounting"
308 depends on PPC64
309 default y
310 help
311 Select this option to enable more accurate task and CPU time
312 accounting. This is done by reading a CPU counter on each
313 kernel entry and exit and on transitions within the kernel
314 between system, softirq and hardirq state, so there is a
315 small performance impact. This also enables accounting of
316 stolen time on logically-partitioned systems running on
317 IBM POWER5-based machines.
318
319 If in doubt, say Y here.
320
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000321config SMP
322 depends on PPC_STD_MMU
323 bool "Symmetric multi-processing support"
324 ---help---
325 This enables support for systems with more than one CPU. If you have
326 a system with only one CPU, say N. If you have a system with more
327 than one CPU, say Y. Note that the kernel does not currently
328 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
329 since they have inadequate hardware support for multiprocessor
330 operation.
331
332 If you say N here, the kernel will run on single and multiprocessor
333 machines, but will use only one CPU of a multiprocessor machine. If
334 you say Y here, the kernel will run on single-processor machines.
335 On a single-processor machine, the kernel will run faster if you say
336 N here.
337
338 If you don't know what to do here, say N.
339
340config NR_CPUS
Olaf Heringe8a167a2005-12-01 21:10:10 +0100341 int "Maximum number of CPUs (2-128)"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000342 range 2 128
343 depends on SMP
344 default "32" if PPC64
345 default "4"
346
347config NOT_COHERENT_CACHE
348 bool
349 depends on 4xx || 8xx || E200
350 default y
351endmenu
352
353source "init/Kconfig"
354
355menu "Platform support"
Kumar Gala08264cb2006-01-10 21:43:56 -0600356 depends on PPC64 || CLASSIC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000357
358choice
359 prompt "Machine type"
360 default PPC_MULTIPLATFORM
361
362config PPC_MULTIPLATFORM
363 bool "Generic desktop/server/laptop"
364 help
365 Select this option if configuring for an IBM pSeries or
366 RS/6000 machine, an Apple machine, or a PReP, CHRP,
367 Maple or Cell-based machine.
368
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000369config EMBEDDED6xx
370 bool "Embedded 6xx/7xx/7xxx-based board"
Zang Roy-r61911c5d56332006-06-13 15:07:15 +0800371 depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000372
373config APUS
374 bool "Amiga-APUS"
375 depends on PPC32 && BROKEN
376 help
377 Select APUS if configuring for a PowerUP Amiga.
378 More information is available at:
379 <http://linux-apus.sourceforge.net/>.
380endchoice
381
Li Yang98658532006-10-03 23:10:46 -0500382config QUICC_ENGINE
383 bool
384 depends on PPC_MPC836x || PPC_MPC832x
385 default y
386 help
387 The QUICC Engine (QE) is a new generation of communications
388 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
389 Selecting this option means that you wish to build a kernel
390 for a machine with a QE coprocessor.
391
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000392config PPC_PSERIES
393 depends on PPC_MULTIPLATFORM && PPC64
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700394 bool "IBM pSeries & new (POWER5-based) iSeries"
Zang Roy-r6191172335932006-08-25 14:16:30 +1000395 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000396 select PPC_I8259
Paul Mackerras033ef332005-10-26 17:05:24 +1000397 select PPC_RTAS
398 select RTAS_ERROR_LOGGING
Paul Mackerras13b8a272006-01-10 16:19:05 +1100399 select PPC_UDBG_16550
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100400 select PPC_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000401 default y
402
Stephen Rothwella542dbd2006-09-25 13:49:58 +1000403config PPC_ISERIES
404 bool "IBM Legacy iSeries"
405 depends on PPC_MULTIPLATFORM && PPC64
Benjamin Herrenschmidt4cb3cee2006-11-11 17:25:10 +1100406 select PPC_INDIRECT_IO
Stephen Rothwella542dbd2006-09-25 13:49:58 +1000407
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000408config PPC_CHRP
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700409 bool "Common Hardware Reference Platform (CHRP) based machines"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000410 depends on PPC_MULTIPLATFORM && PPC32
Zang Roy-r6191172335932006-08-25 14:16:30 +1000411 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000412 select PPC_I8259
Paul Mackerras25635c72005-10-26 16:36:55 +1000413 select PPC_INDIRECT_PCI
Paul Mackerras033ef332005-10-26 17:05:24 +1000414 select PPC_RTAS
Paul Mackerras830825d2005-10-26 17:16:38 +1000415 select PPC_MPC106
Paul Mackerras13b8a272006-01-10 16:19:05 +1100416 select PPC_UDBG_16550
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100417 select PPC_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000418 default y
419
Grant Likelyd41502482006-11-27 14:16:24 -0700420config PPC_MPC52xx
421 bool
422 default n
423
Nicolas DETc37858d2006-11-05 12:57:16 +0100424config PPC_EFIKA
425 bool "bPlan Efika 5k2. MPC5200B based computer"
426 depends on PPC_MULTIPLATFORM && PPC32
427 select PPC_RTAS
428 select RTAS_PROC
429 select PPC_MPC52xx
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100430 select PPC_NATIVE
Nicolas DETc37858d2006-11-05 12:57:16 +0100431 default y
432
Grant Likely6b642532006-11-27 14:16:28 -0700433config PPC_LITE5200
434 bool "Freescale Lite5200 Eval Board"
435 depends on PPC_MULTIPLATFORM && PPC32
436 select PPC_MPC52xx
437 default n
438
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000439config PPC_PMAC
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700440 bool "Apple PowerMac based machines"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000441 depends on PPC_MULTIPLATFORM
Zang Roy-r6191172335932006-08-25 14:16:30 +1000442 select MPIC
Paul Mackerras25635c72005-10-26 16:36:55 +1000443 select PPC_INDIRECT_PCI if PPC32
Paul Mackerrasb6a4ce52005-10-26 22:54:17 +1000444 select PPC_MPC106 if PPC32
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100445 select PPC_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000446 default y
447
448config PPC_PMAC64
449 bool
450 depends on PPC_PMAC && POWER4
Zang Roy-r6191172335932006-08-25 14:16:30 +1000451 select MPIC
Paul Mackerras35499c02005-10-22 16:02:39 +1000452 select U3_DART
Benjamin Herrenschmidt1beb6a72005-12-14 13:10:10 +1100453 select MPIC_BROKEN_U3
Paul Mackerras8ad200d2005-11-04 13:28:58 +1100454 select GENERIC_TBSYNC
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000455 select PPC_970_NAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000456 default y
457
458config PPC_PREP
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700459 bool "PowerPC Reference Platform (PReP) based machines"
Paul Mackerras5be396b2005-11-14 17:31:55 +1100460 depends on PPC_MULTIPLATFORM && PPC32 && BROKEN
Zang Roy-r6191172335932006-08-25 14:16:30 +1000461 select MPIC
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000462 select PPC_I8259
Paul Mackerras25635c72005-10-26 16:36:55 +1000463 select PPC_INDIRECT_PCI
Paul Mackerras13b8a272006-01-10 16:19:05 +1100464 select PPC_UDBG_16550
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100465 select PPC_NATIVE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000466 default y
467
468config PPC_MAPLE
469 depends on PPC_MULTIPLATFORM && PPC64
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700470 bool "Maple 970FX Evaluation Board"
Zang Roy-r6191172335932006-08-25 14:16:30 +1000471 select MPIC
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000472 select U3_DART
473 select MPIC_BROKEN_U3
Paul Mackerras8ad200d2005-11-04 13:28:58 +1100474 select GENERIC_TBSYNC
Paul Mackerras13b8a272006-01-10 16:19:05 +1100475 select PPC_UDBG_16550
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000476 select PPC_970_NAP
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100477 select PPC_NATIVE
Nathan Lynch9d9d868e2006-12-06 18:50:44 -0600478 select PPC_RTAS
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000479 default n
480 help
481 This option enables support for the Maple 970FX Evaluation Board.
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100482 For more information, refer to <http://www.970eval.com>
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000483
Olof Johansson1e768752006-09-06 14:42:08 -0500484config PPC_PASEMI
485 depends on PPC_MULTIPLATFORM && PPC64
486 bool "PA Semi SoC-based platforms"
487 default n
488 select MPIC
489 select PPC_UDBG_16550
490 select GENERIC_TBSYNC
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100491 select PPC_NATIVE
Olof Johansson1e768752006-09-06 14:42:08 -0500492 help
493 This option enables support for PA Semi's PWRficient line
494 of SoC processors, including PA6T-1682M
495
Arnd Bergmannf3f66f52005-10-31 20:08:37 -0500496config PPC_CELL
Geoff Levandc01ea722006-06-19 20:33:28 +0200497 bool
498 default n
499
500config PPC_CELL_NATIVE
501 bool
502 select PPC_CELL
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100503 select PPC_DCR_MMIO
Benjamin Herrenschmidt4c9d2802006-11-11 17:25:08 +1100504 select PPC_OF_PLATFORM_PCI
Benjamin Herrenschmidt014da7f2006-11-11 17:25:12 +1100505 select PPC_INDIRECT_IO
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100506 select PPC_NATIVE
Benjamin Herrenschmidt21fb5a12006-11-11 17:24:58 +1100507 select MPIC
Geoff Levandc01ea722006-06-19 20:33:28 +0200508 default n
509
510config PPC_IBM_CELL_BLADE
Andrew Mortonf127a2b2006-06-25 01:49:07 -0700511 bool "IBM Cell Blade"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000512 depends on PPC_MULTIPLATFORM && PPC64
Geoff Levandc01ea722006-06-19 20:33:28 +0200513 select PPC_CELL_NATIVE
Paul Mackerras033ef332005-10-26 17:05:24 +1000514 select PPC_RTAS
Arnd Bergmannedf03c12005-10-31 20:08:40 -0500515 select MMIO_NVRAM
Paul Mackerras13b8a272006-01-10 16:19:05 +1100516 select PPC_UDBG_16550
Michael Ellerman94b60ec2006-06-23 18:20:22 +1000517 select UDBG_RTAS_CONSOLE
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000518
Geoff Levandf58a9d12006-11-23 00:46:51 +0100519config PPC_PS3
520 bool "Sony PS3"
521 depends on PPC_MULTIPLATFORM && PPC64
522 select PPC_CELL
523 help
524 This option enables support for the Sony PS3 game console
525 and other platforms using the PS3 hypervisor.
526
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +0100527config PPC_NATIVE
528 bool
529 depends on PPC_MULTIPLATFORM
530 help
531 Support for running natively on the hardware, i.e. without
532 a hypervisor. This option is not user-selectable but should
533 be selected by all platforms that need it.
534
535config UDBG_RTAS_CONSOLE
536 bool "RTAS based debug console"
537 depends on PPC_RTAS
538 default n
539
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000540config XICS
541 depends on PPC_PSERIES
542 bool
543 default y
544
545config U3_DART
546 bool
547 depends on PPC_MULTIPLATFORM && PPC64
548 default n
549
Paul Mackerras033ef332005-10-26 17:05:24 +1000550config PPC_RTAS
551 bool
552 default n
553
554config RTAS_ERROR_LOGGING
555 bool
556 depends on PPC_RTAS
557 default n
558
Paul Mackerrasf4fcbbe2005-11-03 14:41:19 +1100559config RTAS_PROC
560 bool "Proc interface to RTAS"
Arnd Bergmanne9add2e2005-10-31 20:08:39 -0500561 depends on PPC_RTAS
Paul Mackerrasf4fcbbe2005-11-03 14:41:19 +1100562 default y
563
564config RTAS_FLASH
565 tristate "Firmware flash interface"
566 depends on PPC64 && RTAS_PROC
Arnd Bergmanne9add2e2005-10-31 20:08:39 -0500567
Arnd Bergmannedf03c12005-10-31 20:08:40 -0500568config MMIO_NVRAM
569 bool
570 default n
571
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000572config MPIC_BROKEN_U3
573 bool
574 depends on PPC_MAPLE
575 default y
576
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000577config IBMVIO
578 depends on PPC_PSERIES || PPC_ISERIES
579 bool
580 default y
581
Heiko J Schickd7a30102005-11-16 08:56:43 +0100582config IBMEBUS
583 depends on PPC_PSERIES
584 bool "Support for GX bus based adapters"
Heiko J Schickd7a30102005-11-16 08:56:43 +0100585 help
586 Bus device driver for GX bus based adapters.
587
Paul Mackerras830825d2005-10-26 17:16:38 +1000588config PPC_MPC106
589 bool
590 default n
591
Paul Mackerrasf39224a2006-04-18 21:49:11 +1000592config PPC_970_NAP
593 bool
594 default n
595
Benjamin Herrenschmidt4cb3cee2006-11-11 17:25:10 +1100596config PPC_INDIRECT_IO
597 bool
598 select GENERIC_IOMAP
599 default n
600
601config GENERIC_IOMAP
602 bool
603 default n
604
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000605source "drivers/cpufreq/Kconfig"
606
607config CPU_FREQ_PMAC
608 bool "Support for Apple PowerBooks"
609 depends on CPU_FREQ && ADB_PMU && PPC32
610 select CPU_FREQ_TABLE
611 help
612 This adds support for frequency switching on Apple PowerBooks,
613 this currently includes some models of iBook & Titanium
614 PowerBook.
615
Benjamin Herrenschmidt43501472005-11-07 14:27:33 +1100616config CPU_FREQ_PMAC64
617 bool "Support for some Apple G5s"
Benjamin Herrenschmidt7ed14c22006-07-06 15:09:19 +1000618 depends on CPU_FREQ && PPC64
Benjamin Herrenschmidt43501472005-11-07 14:27:33 +1100619 select CPU_FREQ_TABLE
620 help
621 This adds support for frequency switching on Apple iMac G5,
622 and some of the more recent desktop G5 machines as well.
623
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000624config PPC601_SYNC_FIX
625 bool "Workarounds for PPC601 bugs"
626 depends on 6xx && (PPC_PREP || PPC_PMAC)
627 help
628 Some versions of the PPC601 (the first PowerPC chip) have bugs which
629 mean that extra synchronization instructions are required near
630 certain instructions, typically those that make major changes to the
631 CPU state. These extra instructions reduce performance slightly.
632 If you say N here, these extra instructions will not be included,
633 resulting in a kernel which will run faster but may not run at all
634 on some systems with the PPC601 chip.
635
636 If in doubt, say Y here.
637
638config TAU
Paul Mackerras9b781722006-03-27 19:15:26 +1100639 bool "On-chip CPU temperature sensor support"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000640 depends on 6xx
641 help
642 G3 and G4 processors have an on-chip temperature sensor called the
643 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
644 temperature within 2-4 degrees Celsius. This option shows the current
645 on-die temperature in /proc/cpuinfo if the cpu supports it.
646
647 Unfortunately, on some chip revisions, this sensor is very inaccurate
Paul Mackerras9b781722006-03-27 19:15:26 +1100648 and in many cases, does not work at all, so don't assume the cpu
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000649 temp is actually what /proc/cpuinfo says it is.
650
651config TAU_INT
652 bool "Interrupt driven TAU driver (DANGEROUS)"
653 depends on TAU
654 ---help---
655 The TAU supports an interrupt driven mode which causes an interrupt
656 whenever the temperature goes out of range. This is the fastest way
657 to get notified the temp has exceeded a range. With this option off,
658 a timer is used to re-check the temperature periodically.
659
660 However, on some cpus it appears that the TAU interrupt hardware
661 is buggy and can cause a situation which would lead unexplained hard
662 lockups.
663
664 Unless you are extending the TAU driver, or enjoy kernel/hardware
665 debugging, leave this option off.
666
667config TAU_AVERAGE
668 bool "Average high and low temp"
669 depends on TAU
670 ---help---
671 The TAU hardware can compare the temperature to an upper and lower
672 bound. The default behavior is to show both the upper and lower
673 bound in /proc/cpuinfo. If the range is large, the temperature is
674 either changing a lot, or the TAU hardware is broken (likely on some
675 G4's). If the range is small (around 4 degrees), the temperature is
676 relatively stable. If you say Y here, a single temperature value,
677 halfway between the upper and lower bounds, will be reported in
678 /proc/cpuinfo.
679
680 If in doubt, say N here.
Mark A. Greerc2201532006-06-28 14:13:20 -0700681
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000682endmenu
683
684source arch/powerpc/platforms/embedded6xx/Kconfig
685source arch/powerpc/platforms/4xx/Kconfig
Vitaly Borduged943c12006-10-02 22:41:50 +0400686source arch/powerpc/platforms/82xx/Kconfig
Kumar Gala08264cb2006-01-10 21:43:56 -0600687source arch/powerpc/platforms/83xx/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000688source arch/powerpc/platforms/85xx/Kconfig
Jon Loeligerc9b484b2006-06-17 17:52:35 -0500689source arch/powerpc/platforms/86xx/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000690source arch/powerpc/platforms/8xx/Kconfig
Arnd Bergmann67207b92005-11-15 15:53:48 -0500691source arch/powerpc/platforms/cell/Kconfig
Geoff Levandf58a9d12006-11-23 00:46:51 +0100692source arch/powerpc/platforms/ps3/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000693
694menu "Kernel options"
695
696config HIGHMEM
697 bool "High memory support"
698 depends on PPC32
699
700source kernel/Kconfig.hz
701source kernel/Kconfig.preempt
702source "fs/Kconfig.binfmt"
703
704# We optimistically allocate largepages from the VM, so make the limit
705# large enough (16MB). This badly named config option is actually
706# max order + 1
707config FORCE_MAX_ZONEORDER
708 int
709 depends on PPC64
Mike Kravetz02864862005-11-07 13:48:59 -0800710 default "9" if PPC_64K_PAGES
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000711 default "13"
712
713config MATH_EMULATION
714 bool "Math emulation"
Kim Phillipsaa42c692006-12-08 02:43:30 -0600715 depends on 4xx || 8xx || E200 || PPC_83xx || E500
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000716 ---help---
717 Some PowerPC chips designed for embedded applications do not have
718 a floating-point unit and therefore do not implement the
719 floating-point instructions in the PowerPC instruction set. If you
720 say Y here, the kernel will include code to emulate a floating-point
721 unit, which will allow programs that use floating-point
722 instructions to run.
723
724config IOMMU_VMERGE
725 bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
726 depends on EXPERIMENTAL && PPC64
727 default n
728 help
729 Cause IO segments sent to a device for DMA to be merged virtually
730 by the IOMMU when they happen to have been allocated contiguously.
731 This doesn't add pressure to the IOMMU allocator. However, some
732 drivers don't support getting large merged segments coming back
733 from *_map_sg(). Say Y if you know the drivers you are using are
734 properly handling this case.
735
736config HOTPLUG_CPU
737 bool "Support for enabling/disabling CPUs"
738 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
739 ---help---
740 Say Y here to be able to disable and re-enable individual
741 CPUs at runtime on SMP machines.
742
743 Say N if you are unsure.
744
Yasunori Gotocc576372006-06-29 02:24:27 -0700745config ARCH_ENABLE_MEMORY_HOTPLUG
746 def_bool y
747
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000748config KEXEC
749 bool "kexec system call (EXPERIMENTAL)"
750 depends on PPC_MULTIPLATFORM && EXPERIMENTAL
751 help
752 kexec is a system call that implements the ability to shutdown your
753 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400754 but it is independent of the system firmware. And like a reboot
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000755 you can start any kernel with it, not just Linux.
756
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400757 The name comes from the similarity to the exec system call.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000758
759 It is an ongoing process to be certain the hardware in a machine
760 is properly shutdown, so do not be surprised if this code does not
761 initially work for you. It may help to enable device hotplugging
762 support. As of this writing the exact hardware interface is
763 strongly in flux, so no good recommendation can be made.
764
Haren Mynenie8625d462006-01-14 13:48:25 -0800765config CRASH_DUMP
Michael Ellermancd9c99d2006-03-10 15:01:08 +1100766 bool "Build a kdump crash kernel (EXPERIMENTAL)"
Haren Mynenie8625d462006-01-14 13:48:25 -0800767 depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
768 help
769 Build a kernel suitable for use as a kdump capture kernel.
770 The kernel will be linked at a different address than normal, and
771 so can only be used for Kdump.
772
773 Don't change this unless you know what you are doing.
774
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000775config EMBEDDEDBOOT
776 bool
777 depends on 8xx || 8260
778 default y
779
780config PC_KEYBOARD
781 bool "PC PS/2 style Keyboard"
782 depends on 4xx || CPM2
783
784config PPCBUG_NVRAM
785 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
786 default y if PPC_PREP
787
788config IRQ_ALL_CPUS
789 bool "Distribute interrupts on all CPUs by default"
790 depends on SMP && !MV64360
791 help
792 This option gives the kernel permission to distribute IRQs across
793 multiple CPUs. Saying N here will route all IRQs to the first
794 CPU. Generally saying Y is safe, although some problems have been
795 reported with SMP Power Macintoshes with this option enabled.
796
797source "arch/powerpc/platforms/pseries/Kconfig"
798
Andy Whitcroftffa27b62005-10-28 17:46:58 -0700799config NUMA
800 bool "NUMA support"
801 depends on PPC64
802 default y if SMP && PPC_PSERIES
803
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700804config NODES_SHIFT
805 int
806 default "4"
807 depends on NEED_MULTIPLE_NODES
808
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000809config ARCH_SELECT_MEMORY_MODEL
810 def_bool y
811 depends on PPC64
812
813config ARCH_FLATMEM_ENABLE
Andy Whitcroft9100b202005-11-29 19:20:55 +0000814 def_bool y
815 depends on (PPC64 && !NUMA) || PPC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000816
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000817config ARCH_SPARSEMEM_ENABLE
818 def_bool y
Andy Whitcroft9100b202005-11-29 19:20:55 +0000819 depends on PPC64
Anton Blanchard45fb6ce2005-11-11 14:22:35 +1100820
821config ARCH_SPARSEMEM_DEFAULT
822 def_bool y
Geoff Levand36b600f2006-11-02 21:08:45 -0800823 depends on (SMP && PPC_PSERIES) || PPC_CELL
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000824
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700825config ARCH_POPULATES_NODE_MAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000826 def_bool y
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700827
828source "mm/Kconfig"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000829
Mike Kravetz7e9191d2005-11-07 09:39:48 -0800830config ARCH_MEMORY_PROBE
831 def_bool y
832 depends on MEMORY_HOTPLUG
833
Andy Whitcroft75167952006-10-21 10:24:14 -0700834# Some NUMA nodes have memory ranges that span
835# other nodes. Even though a pfn is valid and
836# between a node's start and end pfns, it may not
837# reside on that node. See memmap_init_zone()
838# for details.
839config NODES_SPAN_OTHER_NODES
840 def_bool y
841 depends on NEED_MULTIPLE_NODES
842
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100843config PPC_64K_PAGES
844 bool "64k page size"
Benjamin Herrenschmidt863c84b2005-11-07 00:57:58 -0800845 depends on PPC64
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100846 help
847 This option changes the kernel logical page size to 64k. On machines
848 without processor support for 64k pages, the kernel will simulate
849 them by loading each individual 4k page on demand transparently,
850 while on hardware with such support, it will be used to map
851 normal application pages.
852
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000853config SCHED_SMT
854 bool "SMT (Hyperthreading) scheduler support"
855 depends on PPC64 && SMP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000856 help
857 SMT scheduler support improves the CPU scheduler's decision making
858 when dealing with POWER5 cpus at a cost of slightly increased
859 overhead in some places. If unsure say N here.
860
861config PROC_DEVICETREE
Paul Mackerras5f296752005-10-17 20:14:59 +1000862 bool "Support for device tree in /proc"
863 depends on PROC_FS
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000864 help
865 This option adds a device-tree directory under /proc which contains
866 an image of the device tree that the kernel copies from Open
Paul Mackerras5f296752005-10-17 20:14:59 +1000867 Firmware or other boot firmware. If unsure, say Y here.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000868
869source "arch/powerpc/platforms/prep/Kconfig"
870
871config CMDLINE_BOOL
872 bool "Default bootloader kernel arguments"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000873
874config CMDLINE
875 string "Initial kernel command string"
876 depends on CMDLINE_BOOL
877 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
878 help
879 On some platforms, there is currently no way for the boot loader to
880 pass arguments to the kernel. For these platforms, you can supply
881 some command-line options at build time by entering them here. In
882 most cases you will need to specify the root device here.
883
884if !44x || BROKEN
885source kernel/power/Kconfig
886endif
887
888config SECCOMP
889 bool "Enable seccomp to safely compute untrusted bytecode"
890 depends on PROC_FS
891 default y
892 help
893 This kernel feature is useful for number crunching applications
894 that may need to compute untrusted bytecode during their
895 execution. By using pipes or other transports made available to
896 the process as file descriptors supporting the read/write
897 syscalls, it's possible to isolate those applications in
898 their own address space using seccomp. Once seccomp is
899 enabled via /proc/<pid>/seccomp, it cannot be disabled
900 and the task is only allowed to execute a few safe syscalls
901 defined by each seccomp mode.
902
903 If unsure, say Y. Only embedded should say N here.
904
905endmenu
906
907config ISA_DMA_API
908 bool
909 default y
910
911menu "Bus options"
912
913config ISA
914 bool "Support for ISA-bus hardware"
915 depends on PPC_PREP || PPC_CHRP
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000916 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000917 help
918 Find out whether you have ISA slots on your motherboard. ISA is the
919 name of a bus system, i.e. the way the CPU talks to the other stuff
920 inside your box. If you have an Apple machine, say N here; if you
921 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
922 you have an embedded board, consult your board documentation.
923
924config GENERIC_ISA_DMA
925 bool
926 depends on PPC64 || POWER4 || 6xx && !CPM2
927 default y
928
Zang Roy-r6191172335932006-08-25 14:16:30 +1000929config MPIC
930 bool
931 default n
932
933config MPIC_WEIRD
934 bool
935 default n
936
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000937config PPC_I8259
938 bool
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000939 default n
940
Paul Mackerras25635c72005-10-26 16:36:55 +1000941config PPC_INDIRECT_PCI
942 bool
943 depends on PCI
Becky Bruce63dafe52006-01-14 16:57:39 -0600944 default y if 40x || 44x
Paul Mackerras25635c72005-10-26 16:36:55 +1000945 default n
946
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000947config EISA
948 bool
949
950config SBUS
951 bool
952
Kumar Gala08264cb2006-01-10 21:43:56 -0600953config FSL_SOC
954 bool
955
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000956# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
957config MCA
958 bool
959
960config PCI
Jon Loeliger53158622006-08-09 10:37:28 -0500961 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
Geoff Levandf58a9d12006-11-23 00:46:51 +0100962 || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2 || PPC_PS3
Jon Loeliger53158622006-08-09 10:37:28 -0500963 default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \
964 && !PPC_85xx && !PPC_86xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000965 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
966 default PCI_QSPAN if !4xx && !CPM2 && 8xx
967 help
968 Find out whether your system includes a PCI bus. PCI is the name of
969 a bus system, i.e. the way the CPU talks to the other stuff inside
970 your box. If you say Y here, the kernel will include drivers and
971 infrastructure code to support PCI bus devices.
972
973config PCI_DOMAINS
974 bool
975 default PCI
976
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000977config PCI_QSPAN
978 bool "QSpan PCI"
979 depends on !4xx && !CPM2 && 8xx
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000980 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000981 help
982 Say Y here if you have a system based on a Motorola 8xx-series
983 embedded processor with a QSPAN PCI interface, otherwise say N.
984
985config PCI_8260
986 bool
987 depends on PCI && 8260
Paul Mackerras25635c72005-10-26 16:36:55 +1000988 select PPC_INDIRECT_PCI
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000989 default y
990
991config 8260_PCI9
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700992 bool "Enable workaround for MPC826x erratum PCI 9"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000993 depends on PCI_8260 && !ADS8272
994 default y
995
996choice
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700997 prompt "IDMA channel for PCI 9 workaround"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000998 depends on 8260_PCI9
999
1000config 8260_PCI9_IDMA1
1001 bool "IDMA1"
1002
1003config 8260_PCI9_IDMA2
1004 bool "IDMA2"
1005
1006config 8260_PCI9_IDMA3
1007 bool "IDMA3"
1008
1009config 8260_PCI9_IDMA4
1010 bool "IDMA4"
1011
1012endchoice
1013
Jake Moilanenbb53bb32006-06-07 16:05:46 -05001014source "drivers/pci/pcie/Kconfig"
1015
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001016source "drivers/pci/Kconfig"
1017
1018source "drivers/pcmcia/Kconfig"
1019
1020source "drivers/pci/hotplug/Kconfig"
1021
1022endmenu
1023
1024menu "Advanced setup"
1025 depends on PPC32
1026
1027config ADVANCED_OPTIONS
1028 bool "Prompt for advanced kernel configuration options"
1029 help
1030 This option will enable prompting for a variety of advanced kernel
1031 configuration options. These options can cause the kernel to not
1032 work if they are set incorrectly, but can be used to optimize certain
1033 aspects of kernel memory management.
1034
1035 Unless you know what you are doing, say N here.
1036
1037comment "Default settings for advanced configuration options are used"
1038 depends on !ADVANCED_OPTIONS
1039
1040config HIGHMEM_START_BOOL
1041 bool "Set high memory pool address"
1042 depends on ADVANCED_OPTIONS && HIGHMEM
1043 help
1044 This option allows you to set the base address of the kernel virtual
1045 area used to map high memory pages. This can be useful in
1046 optimizing the layout of kernel virtual memory.
1047
1048 Say N here unless you know what you are doing.
1049
1050config HIGHMEM_START
1051 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
1052 default "0xfe000000"
1053
1054config LOWMEM_SIZE_BOOL
1055 bool "Set maximum low memory"
1056 depends on ADVANCED_OPTIONS
1057 help
1058 This option allows you to set the maximum amount of memory which
1059 will be used as "low memory", that is, memory which the kernel can
1060 access directly, without having to set up a kernel virtual mapping.
1061 This can be useful in optimizing the layout of kernel virtual
1062 memory.
1063
1064 Say N here unless you know what you are doing.
1065
1066config LOWMEM_SIZE
1067 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
1068 default "0x30000000"
1069
1070config KERNEL_START_BOOL
1071 bool "Set custom kernel base address"
1072 depends on ADVANCED_OPTIONS
1073 help
1074 This option allows you to set the kernel virtual address at which
1075 the kernel will map low memory (the kernel image will be linked at
1076 this address). This can be useful in optimizing the virtual memory
1077 layout of the system.
1078
1079 Say N here unless you know what you are doing.
1080
1081config KERNEL_START
1082 hex "Virtual address of kernel base" if KERNEL_START_BOOL
1083 default "0xc0000000"
1084
1085config TASK_SIZE_BOOL
1086 bool "Set custom user task size"
1087 depends on ADVANCED_OPTIONS
1088 help
1089 This option allows you to set the amount of virtual address space
1090 allocated to user tasks. This can be useful in optimizing the
1091 virtual memory layout of the system.
1092
1093 Say N here unless you know what you are doing.
1094
1095config TASK_SIZE
1096 hex "Size of user task space" if TASK_SIZE_BOOL
1097 default "0x80000000"
1098
1099config CONSISTENT_START_BOOL
1100 bool "Set custom consistent memory pool address"
1101 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1102 help
1103 This option allows you to set the base virtual address
Matt LaPlante4b3f6862006-10-03 22:21:02 +02001104 of the consistent memory pool. This pool of virtual
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001105 memory is used to make consistent memory allocations.
1106
1107config CONSISTENT_START
1108 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
1109 default "0xff100000" if NOT_COHERENT_CACHE
1110
1111config CONSISTENT_SIZE_BOOL
1112 bool "Set custom consistent memory pool size"
1113 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1114 help
Matt LaPlante4b3f6862006-10-03 22:21:02 +02001115 This option allows you to set the size of the
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001116 consistent memory pool. This pool of virtual memory
1117 is used to make consistent memory allocations.
1118
1119config CONSISTENT_SIZE
1120 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
1121 default "0x00200000" if NOT_COHERENT_CACHE
1122
1123config BOOT_LOAD_BOOL
1124 bool "Set the boot link/load address"
1125 depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
1126 help
1127 This option allows you to set the initial load address of the zImage
1128 or zImage.initrd file. This can be useful if you are on a board
1129 which has a small amount of memory.
1130
1131 Say N here unless you know what you are doing.
1132
1133config BOOT_LOAD
1134 hex "Link/load address for booting" if BOOT_LOAD_BOOL
1135 default "0x00400000" if 40x || 8xx || 8260
1136 default "0x01000000" if 44x
1137 default "0x00800000"
1138
1139config PIN_TLB
1140 bool "Pinned Kernel TLBs (860 ONLY)"
1141 depends on ADVANCED_OPTIONS && 8xx
1142endmenu
1143
Stephen Rothwellcabb5582005-09-30 16:16:52 +10001144if PPC64
1145config KERNEL_START
1146 hex
Stephen Rothwelleeb2d212005-09-30 17:24:15 +10001147 default "0xc000000000000000"
Stephen Rothwellcabb5582005-09-30 16:16:52 +10001148endif
1149
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001150source "net/Kconfig"
1151
1152source "drivers/Kconfig"
1153
1154source "fs/Kconfig"
1155
1156# XXX source "arch/ppc/8xx_io/Kconfig"
1157
1158# XXX source "arch/ppc/8260_io/Kconfig"
1159
Li Yang98658532006-10-03 23:10:46 -05001160source "arch/powerpc/sysdev/qe_lib/Kconfig"
1161
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001162source "arch/powerpc/platforms/iseries/Kconfig"
1163
1164source "lib/Kconfig"
1165
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001166menu "Instrumentation Support"
1167 depends on EXPERIMENTAL
1168
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001169source "arch/powerpc/oprofile/Kconfig"
1170
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001171config KPROBES
1172 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -07001173 depends on PPC64 && KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -08001174 help
1175 Kprobes allows you to trap at almost any kernel address and
1176 execute a callback function. register_kprobe() establishes
1177 a probepoint and specifies the callback. Kprobes is useful
1178 for kernel debugging, non-intrusive instrumentation and testing.
1179 If in doubt, say "N".
1180endmenu
1181
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001182source "arch/powerpc/Kconfig.debug"
1183
1184source "security/Kconfig"
1185
1186config KEYS_COMPAT
1187 bool
1188 depends on COMPAT && KEYS
1189 default y
1190
1191source "crypto/Kconfig"