blob: 08e083d30dc68c6d142bb1638963b438d4805ffb [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# 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
Stephen Rothwell2578bfa2007-09-21 10:16:20 +10007config WORD_SIZE
8 int
9 default 32
10
Linus Torvalds1da177e2005-04-16 15:20:36 -070011config MMU
12 bool
13 default y
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015config GENERIC_HARDIRQS
16 bool
17 default y
18
19config RWSEM_GENERIC_SPINLOCK
20 bool
21
22config RWSEM_XCHGADD_ALGORITHM
23 bool
24 default y
25
David Howellsf0d1b0b2006-12-08 02:37:49 -080026config ARCH_HAS_ILOG2_U32
27 bool
28 default y
29
30config ARCH_HAS_ILOG2_U64
31 bool
32 default n
33
Akinobu Mita4c5aea02006-03-26 01:39:28 -080034config GENERIC_HWEIGHT
35 bool
36 default y
37
Linus Torvalds1da177e2005-04-16 15:20:36 -070038config GENERIC_CALIBRATE_DELAY
39 bool
40 default y
41
Linus Torvalds1da177e2005-04-16 15:20:36 -070042config PPC
43 bool
44 default y
45
46config PPC32
47 bool
48 default y
49
50# All PPCs use generic nvram driver through ppc_md
51config GENERIC_NVRAM
52 bool
53 default y
54
Jon Mason0a9cb462006-05-19 15:35:32 -050055config GENERIC_FIND_NEXT_BIT
56 bool
57 default y
58
Anton Blanchard7d12e522005-05-05 16:15:11 -070059config SCHED_NO_NO_OMIT_FRAME_POINTER
60 bool
61 default y
62
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010063config ARCH_MAY_HAVE_PC_FDC
64 bool
65 default y
66
Judith Lebzeltera8605ae2006-12-08 02:36:23 -080067config GENERIC_BUG
68 bool
69 default y
70 depends on BUG
71
Linus Torvalds1da177e2005-04-16 15:20:36 -070072source "init/Kconfig"
73
74menu "Processor"
75
76choice
77 prompt "Processor Type"
78 default 6xx
79
80config 6xx
Kumar Gala3155f7f2008-01-25 15:41:00 -060081 bool "6xx/7xx/74xx/52xx/82xx"
Paul Mackerras443a8482005-05-01 08:58:40 -070082 select PPC_FPU
Linus Torvalds1da177e2005-04-16 15:20:36 -070083 help
84 There are four types of PowerPC chips supported. The more common
Paul Mackerras0a26b132006-03-28 10:22:10 +110085 types (601, 603, 604, 740, 750, 7400), the older Freescale
86 (formerly Motorola) embedded versions (821, 823, 850, 855, 860,
Kumar Gala3155f7f2008-01-25 15:41:00 -060087 52xx, 82xx), the IBM embedded versions (403 and 405) and
Paul Mackerras0a26b132006-03-28 10:22:10 +110088 the Book E embedded processors from IBM (44x) and Freescale (85xx).
89 For support for 64-bit processors, set ARCH=powerpc.
Linus Torvalds1da177e2005-04-16 15:20:36 -070090 Unless you are building a kernel for one of the embedded processor
Paul Mackerras0a26b132006-03-28 10:22:10 +110091 systems, choose 6xx.
Kumar Gala3155f7f2008-01-25 15:41:00 -060092 Also note that because the 52xx, 82xx family have a 603e
Paul Mackerras0a26b132006-03-28 10:22:10 +110093 core, specific support for that chipset is asked later on.
Linus Torvalds1da177e2005-04-16 15:20:36 -070094
95config 40x
96 bool "40x"
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +110097 select PPC_DCR_NATIVE
Linus Torvalds1da177e2005-04-16 15:20:36 -070098
99config 44x
100 bool "44x"
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100101 select PPC_DCR_NATIVE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103config 8xx
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104 bool "8xx"
Sylvain Munaut1088a202007-09-16 20:53:25 +1000105 select PPC_LIB_RHEAP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106
Kumar Gala33d9e9b2005-06-25 14:54:37 -0700107config E200
108 bool "e200"
109
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110config E500
111 bool "e500"
112
113endchoice
114
Paul Mackerras443a8482005-05-01 08:58:40 -0700115config PPC_FPU
116 bool
117
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100118config PPC_DCR_NATIVE
119 bool
120 default n
121
122config PPC_DCR
123 bool
124 depends on PPC_DCR_NATIVE
125 default y
126
Linus Torvalds1da177e2005-04-16 15:20:36 -0700127config BOOKE
128 bool
Kumar Gala33d9e9b2005-06-25 14:54:37 -0700129 depends on E200 || E500
Linus Torvalds1da177e2005-04-16 15:20:36 -0700130 default y
131
132config FSL_BOOKE
133 bool
Kumar Gala33d9e9b2005-06-25 14:54:37 -0700134 depends on E200 || E500
Linus Torvalds1da177e2005-04-16 15:20:36 -0700135 default y
136
137config PTE_64BIT
138 bool
Kumar Galaf50b1532005-04-16 15:24:22 -0700139 depends on 44x || E500
140 default y if 44x
141 default y if E500 && PHYS_64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142
143config PHYS_64BIT
Kumar Galaf50b1532005-04-16 15:24:22 -0700144 bool 'Large physical address support' if E500
145 depends on 44x || E500
146 default y if 44x
147 ---help---
148 This option enables kernel support for larger than 32-bit physical
149 addresses. This features is not be available on all e500 cores.
150
151 If in doubt, say N here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152
153config ALTIVEC
154 bool "AltiVec Support"
Paul Mackerrasa7fdd902006-01-15 17:30:44 +1100155 depends on 6xx
Kumar Gala3155f7f2008-01-25 15:41:00 -0600156 depends on !8260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157 ---help---
158 This option enables kernel support for the Altivec extensions to the
159 PowerPC processor. The kernel currently supports saving and restoring
160 altivec registers, and turning on the 'altivec enable' bit so user
161 processes can execute altivec instructions.
162
163 This option is only usefully if you have a processor that supports
164 altivec (G4, otherwise known as 74xx series), but does not have
165 any affect on a non-altivec cpu (it does, however add code to the
166 kernel).
167
168 If in doubt, say Y here.
169
170config SPE
171 bool "SPE Support"
Kumar Gala33d9e9b2005-06-25 14:54:37 -0700172 depends on E200 || E500
Linus Torvalds1da177e2005-04-16 15:20:36 -0700173 ---help---
174 This option enables kernel support for the Signal Processing
175 Extensions (SPE) to the PowerPC processor. The kernel currently
176 supports saving and restoring SPE registers, and turning on the
177 'spe enable' bit so user processes can execute SPE instructions.
178
Kumar Gala33d9e9b2005-06-25 14:54:37 -0700179 This option is only useful if you have a processor that supports
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180 SPE (e500, otherwise known as 85xx series), but does not have any
Kumar Gala33d9e9b2005-06-25 14:54:37 -0700181 effect on a non-spe cpu (it does, however add code to the kernel).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700182
183 If in doubt, say Y here.
184
185config TAU
186 bool "Thermal Management Support"
Kumar Gala3155f7f2008-01-25 15:41:00 -0600187 depends on 6xx && !8260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188 help
189 G3 and G4 processors have an on-chip temperature sensor called the
190 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
191 temperature within 2-4 degrees Celsius. This option shows the current
192 on-die temperature in /proc/cpuinfo if the cpu supports it.
193
194 Unfortunately, on some chip revisions, this sensor is very inaccurate
195 and in some cases, does not work at all, so don't assume the cpu
196 temp is actually what /proc/cpuinfo says it is.
197
198config TAU_INT
199 bool "Interrupt driven TAU driver (DANGEROUS)"
200 depends on TAU
201 ---help---
202 The TAU supports an interrupt driven mode which causes an interrupt
203 whenever the temperature goes out of range. This is the fastest way
204 to get notified the temp has exceeded a range. With this option off,
205 a timer is used to re-check the temperature periodically.
206
207 However, on some cpus it appears that the TAU interrupt hardware
208 is buggy and can cause a situation which would lead unexplained hard
209 lockups.
210
211 Unless you are extending the TAU driver, or enjoy kernel/hardware
212 debugging, leave this option off.
213
214config TAU_AVERAGE
215 bool "Average high and low temp"
216 depends on TAU
217 ---help---
218 The TAU hardware can compare the temperature to an upper and lower
219 bound. The default behavior is to show both the upper and lower
220 bound in /proc/cpuinfo. If the range is large, the temperature is
221 either changing a lot, or the TAU hardware is broken (likely on some
222 G4's). If the range is small (around 4 degrees), the temperature is
223 relatively stable. If you say Y here, a single temperature value,
224 halfway between the upper and lower bounds, will be reported in
225 /proc/cpuinfo.
226
227 If in doubt, say N here.
228
229config MATH_EMULATION
230 bool "Math emulation"
Kumar Gala33d9e9b2005-06-25 14:54:37 -0700231 depends on 4xx || 8xx || E200 || E500
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232 ---help---
233 Some PowerPC chips designed for embedded applications do not have
234 a floating-point unit and therefore do not implement the
235 floating-point instructions in the PowerPC instruction set. If you
236 say Y here, the kernel will include code to emulate a floating-point
237 unit, which will allow programs that use floating-point
238 instructions to run.
239
240 If you have an Apple machine or an IBM RS/6000 or pSeries machine,
241 or any machine with a 6xx, 7xx or 7xxx series processor, say N
242 here. Saying Y here will not hurt performance (on any machine) but
243 will increase the size of the kernel.
244
Eric W. Biederman70765aa2005-06-25 14:58:07 -0700245config KEXEC
246 bool "kexec system call (EXPERIMENTAL)"
247 depends on EXPERIMENTAL
248 help
249 kexec is a system call that implements the ability to shutdown your
250 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400251 but it is independent of the system firmware. And like a reboot
Eric W. Biederman70765aa2005-06-25 14:58:07 -0700252 you can start any kernel with it, not just Linux.
253
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400254 The name comes from the similarity to the exec system call.
Eric W. Biederman70765aa2005-06-25 14:58:07 -0700255
256 It is an ongoing process to be certain the hardware in a machine
257 is properly shutdown, so do not be surprised if this code does not
258 initially work for you. It may help to enable device hotplugging
259 support. As of this writing the exact hardware interface is
260 strongly in flux, so no good recommendation can be made.
261
262 In the GameCube implementation, kexec allows you to load and
263 run DOL files, including kernel and homebrew DOLs.
264
Linus Torvalds1da177e2005-04-16 15:20:36 -0700265source "drivers/cpufreq/Kconfig"
266
Linus Torvalds1da177e2005-04-16 15:20:36 -0700267config PPC601_SYNC_FIX
268 bool "Workarounds for PPC601 bugs"
Paul Mackerrasa7fdd902006-01-15 17:30:44 +1100269 depends on 6xx && PPC_PREP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270 help
271 Some versions of the PPC601 (the first PowerPC chip) have bugs which
272 mean that extra synchronization instructions are required near
273 certain instructions, typically those that make major changes to the
274 CPU state. These extra instructions reduce performance slightly.
275 If you say N here, these extra instructions will not be included,
276 resulting in a kernel which will run faster but may not run at all
277 on some systems with the PPC601 chip.
278
279 If in doubt, say Y here.
280
281source arch/ppc/platforms/4xx/Kconfig
282source arch/ppc/platforms/85xx/Kconfig
283
Linus Torvalds1da177e2005-04-16 15:20:36 -0700284config PPC_STD_MMU
285 bool
Paul Mackerras0a26b132006-03-28 10:22:10 +1100286 depends on 6xx
Linus Torvalds1da177e2005-04-16 15:20:36 -0700287 default y
288
289config NOT_COHERENT_CACHE
290 bool
Kumar Gala33d9e9b2005-06-25 14:54:37 -0700291 depends on 4xx || 8xx || E200
Linus Torvalds1da177e2005-04-16 15:20:36 -0700292 default y
293
294endmenu
295
296menu "Platform options"
297
Andrei Konovalove6b62392005-07-05 18:54:43 -0700298config FADS
299 bool
300
Linus Torvalds1da177e2005-04-16 15:20:36 -0700301choice
302 prompt "8xx Machine Type"
303 depends on 8xx
304 default RPXLITE
305
306config RPXLITE
307 bool "RPX-Lite"
308 ---help---
309 Single-board computers based around the PowerPC MPC8xx chips and
310 intended for embedded applications. The following types are
311 supported:
312
313 RPX-Lite:
314 Embedded Planet RPX Lite. PC104 form-factor SBC based on the MPC823.
315
316 RPX-Classic:
317 Embedded Planet RPX Classic Low-fat. Credit-card-size SBC based on
318 the MPC 860
319
320 BSE-IP:
321 Bright Star Engineering ip-Engine.
322
323 TQM823L:
324 TQM850L:
325 TQM855L:
326 TQM860L:
327 MPC8xx based family of mini modules, half credit card size,
328 up to 64 MB of RAM, 8 MB Flash, (Fast) Ethernet, 2 x serial ports,
329 2 x CAN bus interface, ...
330 Manufacturer: TQ Components, www.tq-group.de
331 Date of Release: October (?) 1999
332 End of Life: not yet :-)
333 URL:
334 - module: <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>
335 - starter kit: <http://www.denx.de/PDF/STK8xxLHWM201.pdf>
336 - images: <http://www.denx.de/embedded-ppc-en.html>
337
338 FPS850L:
339 FingerPrint Sensor System (based on TQM850L)
340 Manufacturer: IKENDI AG, <http://www.ikendi.com/>
341 Date of Release: November 1999
342 End of life: end 2000 ?
343 URL: see TQM850L
344
Linus Torvalds1da177e2005-04-16 15:20:36 -0700345 IVMS8:
346 MPC860 based board used in the "Integrated Voice Mail System",
347 Small Version (8 voice channels)
348 Manufacturer: Speech Design, <http://www.speech-design.de/>
349 Date of Release: December 2000 (?)
350 End of life: -
351 URL: <http://www.speech-design.de/>
352
353 IVML24:
354 MPC860 based board used in the "Integrated Voice Mail System",
355 Large Version (24 voice channels)
356 Manufacturer: Speech Design, <http://www.speech-design.de/>
357 Date of Release: March 2001 (?)
358 End of life: -
359 URL: <http://www.speech-design.de/>
360
Linus Torvalds1da177e2005-04-16 15:20:36 -0700361 HERMES:
362 Hermes-Pro ISDN/LAN router with integrated 8 x hub
363 Manufacturer: Multidata Gesellschaft fur Datentechnik und Informatik
364 <http://www.multidata.de/>
365 Date of Release: 2000 (?)
366 End of life: -
367 URL: <http://www.multidata.de/english/products/hpro.htm>
368
369 IP860:
370 VMEBus IP (Industry Pack) carrier board with MPC860
371 Manufacturer: MicroSys GmbH, <http://www.microsys.de/>
372 Date of Release: ?
373 End of life: -
374 URL: <http://www.microsys.de/html/ip860.html>
375
376 PCU_E:
377 PCU = Peripheral Controller Unit, Extended
378 Manufacturer: Siemens AG, ICN (Information and Communication Networks)
379 <http://www.siemens.de/page/1,3771,224315-1-999_2_226207-0,00.html>
380 Date of Release: April 2001
381 End of life: August 2001
382 URL: n. a.
383
384config RPXCLASSIC
385 bool "RPX-Classic"
386 help
387 The RPX-Classic is a single-board computer based on the Motorola
388 MPC860. It features 16MB of DRAM and a variable amount of flash,
389 I2C EEPROM, thermal monitoring, a PCMCIA slot, a DIP switch and two
390 LEDs. Variants with Ethernet ports exist. Say Y here to support it
391 directly.
392
393config BSEIP
394 bool "BSE-IP"
395 help
396 Say Y here to support the Bright Star Engineering ipEngine SBC.
397 This is a credit-card-sized device featuring a MPC823 processor,
398 26MB DRAM, 4MB flash, Ethernet, a 16K-gate FPGA, USB, an LCD/video
399 controller, and two RS232 ports.
400
Andrei Konovalove6b62392005-07-05 18:54:43 -0700401config MPC8XXFADS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700402 bool "FADS"
Andrei Konovalove6b62392005-07-05 18:54:43 -0700403 select FADS
404
405config MPC86XADS
406 bool "MPC86XADS"
407 help
408 MPC86x Application Development System by Freescale Semiconductor.
409 The MPC86xADS is meant to serve as a platform for s/w and h/w
410 development around the MPC86X processor families.
411 select FADS
412
413config MPC885ADS
414 bool "MPC885ADS"
415 help
416 Freescale Semiconductor MPC885 Application Development System (ADS).
417 Also known as DUET.
418 The MPC885ADS is meant to serve as a platform for s/w and h/w
419 development around the MPC885 processor family.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420
421config TQM823L
422 bool "TQM823L"
423 help
424 Say Y here to support the TQM823L, one of an MPC8xx-based family of
425 mini SBCs (half credit-card size) from TQ Components first released
426 in late 1999. Technical references are at
427 <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>, and
428 <http://www.denx.de/PDF/STK8xxLHWM201.pdf>, and an image at
429 <http://www.denx.de/embedded-ppc-en.html>.
430
431config TQM850L
432 bool "TQM850L"
433 help
434 Say Y here to support the TQM850L, one of an MPC8xx-based family of
435 mini SBCs (half credit-card size) from TQ Components first released
436 in late 1999. Technical references are at
437 <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>, and
438 <http://www.denx.de/PDF/STK8xxLHWM201.pdf>, and an image at
439 <http://www.denx.de/embedded-ppc-en.html>.
440
441config TQM855L
442 bool "TQM855L"
443 help
444 Say Y here to support the TQM855L, one of an MPC8xx-based family of
445 mini SBCs (half credit-card size) from TQ Components first released
446 in late 1999. Technical references are at
447 <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>, and
448 <http://www.denx.de/PDF/STK8xxLHWM201.pdf>, and an image at
449 <http://www.denx.de/embedded-ppc-en.html>.
450
451config TQM860L
452 bool "TQM860L"
453 help
454 Say Y here to support the TQM860L, one of an MPC8xx-based family of
455 mini SBCs (half credit-card size) from TQ Components first released
456 in late 1999. Technical references are at
457 <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>, and
458 <http://www.denx.de/PDF/STK8xxLHWM201.pdf>, and an image at
459 <http://www.denx.de/embedded-ppc-en.html>.
460
461config FPS850L
462 bool "FPS850L"
463
Linus Torvalds1da177e2005-04-16 15:20:36 -0700464config IVMS8
465 bool "IVMS8"
466 help
467 Say Y here to support the Integrated Voice-Mail Small 8-channel SBC
468 from Speech Design, released March 2001. The manufacturer's website
469 is at <http://www.speech-design.de/>.
470
471config IVML24
472 bool "IVML24"
473 help
474 Say Y here to support the Integrated Voice-Mail Large 24-channel SBC
475 from Speech Design, released March 2001. The manufacturer's website
476 is at <http://www.speech-design.de/>.
477
Linus Torvalds1da177e2005-04-16 15:20:36 -0700478config HERMES_PRO
479 bool "HERMES"
480
481config IP860
482 bool "IP860"
483
484config LWMON
485 bool "LWMON"
486
487config PCU_E
488 bool "PCU_E"
489
490config CCM
491 bool "CCM"
492
493config LANTEC
494 bool "LANTEC"
495
496config MBX
497 bool "MBX"
498 help
499 MBX is a line of Motorola single-board computer based around the
500 MPC821 and MPC860 processors, and intended for embedded-controller
501 applications. Say Y here to support these boards directly.
502
503config WINCEPT
504 bool "WinCept"
505 help
506 The Wincept 100/110 is a Motorola single-board computer based on the
507 MPC821 PowerPC, introduced in 1998 and designed to be used in
508 thin-client machines. Say Y to support it directly.
509
510endchoice
511
Vitaly Bordug42dc75c2006-01-20 22:22:36 +0300512menu "Freescale Ethernet driver platform-specific options"
513 depends on FS_ENET
514
515 config MPC8xx_SECOND_ETH
516 bool "Second Ethernet channel"
517 depends on (MPC885ADS || MPC86XADS)
518 default y
519 help
520 This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
521 The latter will use SCC1, for 885ADS you can select it below.
522
523 choice
524 prompt "Second Ethernet channel"
525 depends on MPC8xx_SECOND_ETH
526 default MPC8xx_SECOND_ETH_FEC2
527
528 config MPC8xx_SECOND_ETH_FEC2
529 bool "FEC2"
530 depends on MPC885ADS
531 help
532 Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
533 (often 2-nd UART) will not work if this is enabled.
534
535 config MPC8xx_SECOND_ETH_SCC1
536 bool "SCC1"
537 depends on MPC86XADS
538 select MPC8xx_SCC_ENET_FIXED
539 help
540 Enable SCC1 to serve as 2-nd Ethernet channel. Note that SMC1
541 (often 1-nd UART) will not work if this is enabled.
542
543 config MPC8xx_SECOND_ETH_SCC3
544 bool "SCC3"
545 depends on MPC885ADS
546 help
547 Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
548 (often 1-nd UART) will not work if this is enabled.
549
550 endchoice
551
552 config MPC8xx_SCC_ENET_FIXED
553 depends on MPC8xx_SECOND_ETH_SCC
554 default n
555 bool "Use fixed MII-less mode for SCC Ethernet"
556
557endmenu
558
Linus Torvalds1da177e2005-04-16 15:20:36 -0700559choice
560 prompt "Machine Type"
Paul Mackerras0a26b132006-03-28 10:22:10 +1100561 depends on 6xx
562 default PPC_PREP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700563 ---help---
564 Linux currently supports several different kinds of PowerPC-based
565 machines: Apple Power Macintoshes and clones (such as the Motorola
566 Starmax series), PReP (PowerPC Reference Platform) machines (such
567 as the Motorola PowerStacks, Motorola cPCI/VME embedded systems,
568 and some IBM RS/6000 systems), CHRP (Common Hardware Reference
569 Platform) machines (including all of the recent IBM RS/6000 and
570 pSeries machines), and several embedded PowerPC systems containing
571 4xx, 6xx, 7xx, 8xx, 74xx, and 82xx processors. Currently, the
Paul Mackerras0a26b132006-03-28 10:22:10 +1100572 default option is to build a kernel which works on PReP.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700573
Paul Mackerras0a26b132006-03-28 10:22:10 +1100574 Note that support for Apple and CHRP machines is now only available
575 with ARCH=powerpc, and has been removed from this menu. If you
576 wish to build a kernel for an Apple or CHRP machine, exit this
577 configuration process and re-run it with ARCH=powerpc.
Paul Mackerrasa7fdd902006-01-15 17:30:44 +1100578
Paul Mackerras0a26b132006-03-28 10:22:10 +1100579 Select PReP if configuring for a PReP machine.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700580
Paul Mackerras0a26b132006-03-28 10:22:10 +1100581config PPC_PREP
582 bool "PReP"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700583
Linus Torvalds1da177e2005-04-16 15:20:36 -0700584config KATANA
585 bool "Artesyn-Katana"
586 help
587 Select KATANA if configuring an Artesyn KATANA 750i or 3750
588 cPCI board.
589
590config WILLOW
591 bool "Cogent-Willow"
592
593config CPCI690
594 bool "Force-CPCI690"
595 help
596 Select CPCI690 if configuring a Force CPCI690 cPCI board.
597
Linus Torvalds1da177e2005-04-16 15:20:36 -0700598config POWERPMC250
599 bool "Force-PowerPMC250"
600
601config CHESTNUT
602 bool "IBM 750FX Eval board or 750GX Eval board"
603 help
604 Select CHESTNUT if configuring an IBM 750FX Eval Board or a
605 IBM 750GX Eval board.
606
607config SPRUCE
608 bool "IBM-Spruce"
Paul Mackerras25635c72005-10-26 16:36:55 +1000609 select PPC_INDIRECT_PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700610
611config HDPU
612 bool "Sky-HDPU"
613 help
614 Select HDPU if configuring a Sky Computers Compute Blade.
615
616config HDPU_FEATURES
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100617 depends on HDPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700618 tristate "HDPU-Features"
619 help
620 Select to enable HDPU enhanced features.
621
622config EV64260
623 bool "Marvell-EV64260BP"
624 help
625 Select EV64260 if configuring a Marvell (formerly Galileo)
626 EV64260BP Evaluation platform.
627
628config LOPEC
629 bool "Motorola-LoPEC"
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000630 select PPC_I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700631
Linus Torvalds1da177e2005-04-16 15:20:36 -0700632config MVME5100
633 bool "Motorola-MVME5100"
Paul Mackerras25635c72005-10-26 16:36:55 +1000634 select PPC_INDIRECT_PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700635
636config PPLUS
637 bool "Motorola-PowerPlus"
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000638 select PPC_I8259
Paul Mackerras25635c72005-10-26 16:36:55 +1000639 select PPC_INDIRECT_PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700640
641config PRPMC750
642 bool "Motorola-PrPMC750"
Paul Mackerras25635c72005-10-26 16:36:55 +1000643 select PPC_INDIRECT_PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700644
645config PRPMC800
646 bool "Motorola-PrPMC800"
Paul Mackerras25635c72005-10-26 16:36:55 +1000647 select PPC_INDIRECT_PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700648
649config SANDPOINT
650 bool "Motorola-Sandpoint"
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000651 select PPC_I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700652 help
653 Select SANDPOINT if configuring for a Motorola Sandpoint X3
654 (any flavor).
655
656config RADSTONE_PPC7D
657 bool "Radstone Technology PPC7D board"
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000658 select PPC_I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700659
Linus Torvalds1da177e2005-04-16 15:20:36 -0700660config PAL4
661 bool "SBS-Palomar4"
662
Linus Torvalds1da177e2005-04-16 15:20:36 -0700663config EST8260
664 bool "EST8260"
665 ---help---
666 The EST8260 is a single-board computer manufactured by Wind River
667 Systems, Inc. (formerly Embedded Support Tools Corp.) and based on
668 the MPC8260. Wind River Systems has a website at
669 <http://www.windriver.com/>, but the EST8260 cannot be found on it
670 and has probably been discontinued or rebadged.
671
672config SBC82xx
673 bool "SBC82xx"
674 ---help---
675 SBC PowerQUICC II, single-board computer with MPC82xx CPU
676 Manufacturer: Wind River Systems, Inc.
677 Date of Release: May 2003
678 End of Life: -
679 URL: <http://www.windriver.com/>
680
681config SBS8260
682 bool "SBS8260"
683
684config RPX8260
685 bool "RPXSUPER"
686
687config TQM8260
688 bool "TQM8260"
689 ---help---
690 MPC8260 based module, little larger than credit card,
691 up to 128 MB global + 64 MB local RAM, 32 MB Flash,
692 32 kB EEPROM, 256 kB L@ Cache, 10baseT + 100baseT Ethernet,
693 2 x serial ports, ...
694 Manufacturer: TQ Components, www.tq-group.de
695 Date of Release: June 2001
696 End of Life: not yet :-)
697 URL: <http://www.denx.de/PDF/TQM82xx_SPEC_Rev005.pdf>
698
699config ADS8272
700 bool "ADS8272"
701
702config PQ2FADS
703 bool "Freescale-PQ2FADS"
704 help
705 Select PQ2FADS if you wish to configure for a Freescale
706 PQ2FADS board (-VR or -ZU).
707
708config LITE5200
709 bool "Freescale LITE5200 / (IceCube)"
710 select PPC_MPC52xx
711 help
712 Support for the LITE5200 dev board for the MPC5200 from Freescale.
713 This is for the LITE5200 version 2.0 board. Don't know if it changes
714 much but it's only been tested on this board version. I think this
715 board is also known as IceCube.
716
Sylvain Munautf8dd3112006-03-26 13:37:38 +0200717config LITE5200B
718 bool "Freescale LITE5200B"
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100719 depends on LITE5200
Sylvain Munautf8dd3112006-03-26 13:37:38 +0200720 help
721 Support for the LITE5200B dev board for the MPC5200 from Freescale.
722 This is the new board with 2 PCI slots.
723
Lee Nicks3acb2342005-09-03 15:55:48 -0700724config EV64360
725 bool "Marvell-EV64360BP"
726 help
727 Select EV64360 if configuring a Marvell EV64360BP Evaluation
728 platform.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700729endchoice
730
731config PQ2ADS
732 bool
733 depends on ADS8272
734 default y
735
736config TQM8xxL
737 bool
Kumar Gala8b1a9772005-09-03 15:55:28 -0700738 depends on 8xx && (TQM823L || TQM850L || FPS850L || TQM855L || TQM860L)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700739 default y
740
741config EMBEDDEDBOOT
742 bool
743 depends on 8xx || 8260
744 default y
745
746config PPC_MPC52xx
747 bool
748
749config 8260
750 bool "CPM2 Support" if WILLOW
751 depends on 6xx
752 default y if TQM8260 || RPX8260 || EST8260 || SBS8260 || SBC82xx || PQ2FADS
753 help
754 The MPC8260 is a typical embedded CPU made by Motorola. Selecting
755 this option means that you wish to build a kernel for a machine with
756 an 8260 class CPU.
757
758config 8272
759 bool
760 depends on 6xx
761 default y if ADS8272
762 select 8260
763 help
764 The MPC8272 CPM has a different internal dpram setup than other CPM2
765 devices
766
Pantelis Antonioude672e42005-11-07 00:58:17 -0800767config CPM1
768 bool
769 depends on 8xx
770 default y
771 help
772 The CPM1 (Communications Processor Module) is a coprocessor on
773 embedded CPUs made by Motorola. Selecting this option means that
774 you wish to build a kernel for a machine with a CPM1 coprocessor
775 on it (8xx, 827x, 8560).
776
Linus Torvalds1da177e2005-04-16 15:20:36 -0700777config CPM2
778 bool
779 depends on 8260 || MPC8560 || MPC8555
Sylvain Munaut1088a202007-09-16 20:53:25 +1000780 select PPC_LIB_RHEAP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700781 default y
782 help
783 The CPM2 (Communications Processor Module) is a coprocessor on
784 embedded CPUs made by Motorola. Selecting this option means that
785 you wish to build a kernel for a machine with a CPM2 coprocessor
786 on it (826x, 827x, 8560).
787
Linus Torvalds1da177e2005-04-16 15:20:36 -0700788config PPC_GEN550
789 bool
Kumar Gala617bf9a2005-09-03 15:55:30 -0700790 depends on SANDPOINT || SPRUCE || PPLUS || \
Kumar Galaba9d1e22005-09-03 15:55:23 -0700791 PRPMC750 || PRPMC800 || LOPEC || \
Kumar Gala3155f7f2008-01-25 15:41:00 -0600792 (EV64260 && !SERIAL_MPSC) || CHESTNUT || RADSTONE_PPC7D
Linus Torvalds1da177e2005-04-16 15:20:36 -0700793 default y
794
795config FORCE
796 bool
Kumar Gala617bf9a2005-09-03 15:55:30 -0700797 depends on 6xx && POWERPMC250
Linus Torvalds1da177e2005-04-16 15:20:36 -0700798 default y
799
800config GT64260
801 bool
802 depends on EV64260 || CPCI690
803 default y
804
805config MV64360 # Really MV64360 & MV64460
806 bool
Lee Nicks3acb2342005-09-03 15:55:48 -0700807 depends on CHESTNUT || KATANA || RADSTONE_PPC7D || HDPU || EV64360
Linus Torvalds1da177e2005-04-16 15:20:36 -0700808 default y
809
810config MV64X60
811 bool
812 depends on (GT64260 || MV64360)
Paul Mackerras25635c72005-10-26 16:36:55 +1000813 select PPC_INDIRECT_PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700814 default y
815
Dale Farnsworthf00a3ec2007-02-20 05:15:20 -0700816config MV643XX_ETH_0
817 bool
818 depends on MV643XX_ETH && (KATANA || RADSTONE_PPC7D || EV64360 || HDPU)
819 default y
820
821config MV643XX_ETH_1
822 bool
823 depends on MV643XX_ETH && (KATANA || RADSTONE_PPC7D || EV64360)
824 default y
825
826config MV643XX_ETH_2
827 bool
828 depends on MV643XX_ETH && (KATANA || RADSTONE_PPC7D || EV64360)
829 default y
830
Linus Torvalds1da177e2005-04-16 15:20:36 -0700831menu "Set bridge options"
832 depends on MV64X60
833
834config NOT_COHERENT_CACHE
835 bool "Turn off Cache Coherency"
836 default n
837 help
838 Some 64x60 bridges lock up when trying to enforce cache coherency.
839 When this option is selected, cache coherency will be turned off.
840 Note that this can cause other problems (e.g., stale data being
841 speculatively loaded via a cached mapping). Use at your own risk.
842
843config MV64X60_BASE
844 hex "Set bridge base used by firmware"
845 default "0xf1000000"
846 help
847 A firmware can leave the base address of the bridge's registers at
848 a non-standard location. If so, set this value to reflect the
849 address of that non-standard location.
850
851config MV64X60_NEW_BASE
852 hex "Set bridge base used by kernel"
853 default "0xf1000000"
854 help
855 If the current base address of the bridge's registers is not where
856 you want it, set this value to the address that you want it moved to.
857
858endmenu
859
860config NONMONARCH_SUPPORT
861 bool "Enable Non-Monarch Support"
862 depends on PRPMC800
863
864config HARRIER
865 bool
866 depends on PRPMC800
867 default y
868
869config EPIC_SERIAL_MODE
870 bool
871 depends on 6xx && (LOPEC || SANDPOINT)
872 default y
873
874config MPC10X_BRIDGE
875 bool
Kumar Gala617bf9a2005-09-03 15:55:30 -0700876 depends on POWERPMC250 || LOPEC || SANDPOINT
Paul Mackerras25635c72005-10-26 16:36:55 +1000877 select PPC_INDIRECT_PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700878 default y
879
Linus Torvalds1da177e2005-04-16 15:20:36 -0700880config MPC10X_OPENPIC
881 bool
882 depends on POWERPMC250 || LOPEC || SANDPOINT
883 default y
884
885config MPC10X_STORE_GATHERING
886 bool "Enable MPC10x store gathering"
887 depends on MPC10X_BRIDGE
888
Kumar Gala13e886c2005-07-27 11:44:07 -0700889config SANDPOINT_ENABLE_UART1
890 bool "Enable DUART mode on Sandpoint"
891 depends on SANDPOINT
892 help
893 If this option is enabled then the MPC824x processor will run
894 in DUART mode instead of UART mode.
895
Linus Torvalds1da177e2005-04-16 15:20:36 -0700896config HARRIER_STORE_GATHERING
897 bool "Enable Harrier store gathering"
898 depends on HARRIER
899
900config MVME5100_IPMC761_PRESENT
901 bool "MVME5100 configured with an IPMC761"
902 depends on MVME5100
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000903 select PPC_I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700904
905config SPRUCE_BAUD_33M
906 bool "Spruce baud clock support"
907 depends on SPRUCE
908
909config PC_KEYBOARD
910 bool "PC PS/2 style Keyboard"
911 depends on 4xx || CPM2
912
913config PPCBUG_NVRAM
914 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
915 default y if PPC_PREP
916
917config SMP
Al Viroee449f52005-08-23 22:46:26 +0100918 depends on PPC_STD_MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700919 bool "Symmetric multi-processing support"
920 ---help---
921 This enables support for systems with more than one CPU. If you have
922 a system with only one CPU, say N. If you have a system with more
923 than one CPU, say Y. Note that the kernel does not currently
924 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
925 since they have inadequate hardware support for multiprocessor
926 operation.
927
928 If you say N here, the kernel will run on single and multiprocessor
929 machines, but will use only one CPU of a multiprocessor machine. If
930 you say Y here, the kernel will run on single-processor machines.
931 On a single-processor machine, the kernel will run faster if you say
932 N here.
933
934 If you don't know what to do here, say N.
935
936config IRQ_ALL_CPUS
937 bool "Distribute interrupts on all CPUs by default"
Al Viroc4457fb2005-08-23 22:46:31 +0100938 depends on SMP && !MV64360
Linus Torvalds1da177e2005-04-16 15:20:36 -0700939 help
940 This option gives the kernel permission to distribute IRQs across
941 multiple CPUs. Saying N here will route all IRQs to the first
942 CPU. Generally saying Y is safe, although some problems have been
943 reported with SMP Power Macintoshes with this option enabled.
944
945config NR_CPUS
946 int "Maximum number of CPUs (2-32)"
947 range 2 32
948 depends on SMP
949 default "4"
950
Linus Torvalds1da177e2005-04-16 15:20:36 -0700951config HIGHMEM
952 bool "High memory support"
953
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700954config ARCH_POPULATES_NODE_MAP
955 def_bool y
956
Olaf Hering7b625c02005-07-27 11:44:03 -0700957source kernel/Kconfig.hz
958source kernel/Kconfig.preempt
Dave Hansen3f22ab22005-06-23 00:07:43 -0700959source "mm/Kconfig"
960
Linus Torvalds1da177e2005-04-16 15:20:36 -0700961source "fs/Kconfig.binfmt"
962
Linus Torvalds1da177e2005-04-16 15:20:36 -0700963config PREP_RESIDUAL
964 bool "Support for PReP Residual Data"
965 depends on PPC_PREP
966 help
967 Some PReP systems have residual data passed to the kernel by the
968 firmware. This allows detection of memory size, devices present and
969 other useful pieces of information. Sometimes this information is
970 not present or incorrect, in which case it could lead to the machine
971 behaving incorrectly. If this happens, either disable PREP_RESIDUAL
972 or pass the 'noresidual' option to the kernel.
973
974 If you are running a PReP system, say Y here, otherwise say N.
975
976config PROC_PREPRESIDUAL
977 bool "Support for reading of PReP Residual Data in /proc"
978 depends on PREP_RESIDUAL && PROC_FS
979 help
980 Enabling this option will create a /proc/residual file which allows
981 you to get at the residual data on PReP systems. You will need a tool
982 (lsresidual) to parse it. If you aren't on a PReP system, you don't
983 want this.
984
985config CMDLINE_BOOL
986 bool "Default bootloader kernel arguments"
987
988config CMDLINE
989 string "Initial kernel command string"
990 depends on CMDLINE_BOOL
991 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
992 help
993 On some platforms, there is currently no way for the boot loader to
994 pass arguments to the kernel. For these platforms, you can supply
995 some command-line options at build time by entering them here. In
996 most cases you will need to specify the root device here.
997
Paul Mackerras94987af2007-09-21 11:52:36 +1000998if BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700999source kernel/power/Kconfig
Al Viro6299afc2005-08-23 22:46:41 +01001000endif
Linus Torvalds1da177e2005-04-16 15:20:36 -07001001
David Woodhouseea9c1022005-05-08 15:56:09 +01001002config SECCOMP
1003 bool "Enable seccomp to safely compute untrusted bytecode"
1004 depends on PROC_FS
1005 default y
1006 help
1007 This kernel feature is useful for number crunching applications
1008 that may need to compute untrusted bytecode during their
1009 execution. By using pipes or other transports made available to
1010 the process as file descriptors supporting the read/write
1011 syscalls, it's possible to isolate those applications in
1012 their own address space using seccomp. Once seccomp is
1013 enabled via /proc/<pid>/seccomp, it cannot be disabled
1014 and the task is only allowed to execute a few safe syscalls
1015 defined by each seccomp mode.
1016
1017 If unsure, say Y. Only embedded should say N here.
1018
Linus Torvalds1da177e2005-04-16 15:20:36 -07001019endmenu
1020
Al Viro5cae8412005-05-04 05:39:22 +01001021config ISA_DMA_API
1022 bool
1023 default y
1024
Linus Torvalds1da177e2005-04-16 15:20:36 -07001025menu "Bus options"
1026
1027config ISA
1028 bool "Support for ISA-bus hardware"
Paul Mackerras0a26b132006-03-28 10:22:10 +11001029 depends on PPC_PREP
Linus Torvalds1da177e2005-04-16 15:20:36 -07001030 help
1031 Find out whether you have ISA slots on your motherboard. ISA is the
1032 name of a bus system, i.e. the way the CPU talks to the other stuff
1033 inside your box. If you have an Apple machine, say N here; if you
1034 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
1035 you have an embedded board, consult your board documentation.
1036
Christoph Lameter5ac6da62007-02-10 01:43:14 -08001037config ZONE_DMA
1038 bool
1039 default y
1040
Linus Torvalds1da177e2005-04-16 15:20:36 -07001041config GENERIC_ISA_DMA
1042 bool
Paul Mackerras0a26b132006-03-28 10:22:10 +11001043 depends on 6xx && !CPM2
Linus Torvalds1da177e2005-04-16 15:20:36 -07001044 default y
1045
Paul Mackerrasf9bd1702005-10-26 16:47:42 +10001046config PPC_I8259
1047 bool
Paul Mackerras0a26b132006-03-28 10:22:10 +11001048 default y if 85xx || PPC_PREP
Paul Mackerrasf9bd1702005-10-26 16:47:42 +10001049 default n
1050
Paul Mackerras25635c72005-10-26 16:36:55 +10001051config PPC_INDIRECT_PCI
1052 bool
1053 depends on PCI
Kumar Gala3155f7f2008-01-25 15:41:00 -06001054 default y if 40x || 44x || 85xx || PPC_PREP
Paul Mackerras25635c72005-10-26 16:36:55 +10001055 default n
1056
Linus Torvalds1da177e2005-04-16 15:20:36 -07001057config EISA
1058 bool
1059 help
1060 The Extended Industry Standard Architecture (EISA) bus is a bus
1061 architecture used on some older intel-based PCs.
1062
1063config SBUS
1064 bool
1065
1066# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
1067config MCA
1068 bool
1069
1070config PCI
Kumar Gala3155f7f2008-01-25 15:41:00 -06001071 bool "PCI support" if 40x || CPM2 || 85xx || PPC_MPC52xx
1072 default y if !40x && !CPM2 && !8xx && !85xx
Linus Torvalds1da177e2005-04-16 15:20:36 -07001073 default PCI_QSPAN if !4xx && !CPM2 && 8xx
1074 help
1075 Find out whether your system includes a PCI bus. PCI is the name of
1076 a bus system, i.e. the way the CPU talks to the other stuff inside
1077 your box. If you say Y here, the kernel will include drivers and
1078 infrastructure code to support PCI bus devices.
1079
1080config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -06001081 def_bool PCI
1082
1083config PCI_SYSCALL
1084 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -07001085
1086config PCI_QSPAN
1087 bool "QSpan PCI"
1088 depends on !4xx && !CPM2 && 8xx
Paul Mackerrasf9bd1702005-10-26 16:47:42 +10001089 select PPC_I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -07001090 help
1091 Say Y here if you have a system based on a Motorola 8xx-series
1092 embedded processor with a QSPAN PCI interface, otherwise say N.
1093
1094config PCI_8260
1095 bool
Vitaly Borduga6dbba72005-05-28 15:52:09 -07001096 depends on PCI && 8260
Paul Mackerras25635c72005-10-26 16:36:55 +10001097 select PPC_INDIRECT_PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -07001098 default y
1099
1100config 8260_PCI9
Josh Boyer06e6d292006-09-07 08:25:40 -05001101 bool "Enable workaround for MPC826x erratum PCI 9"
Vitaly Borduga6dbba72005-05-28 15:52:09 -07001102 depends on PCI_8260 && !ADS8272
Linus Torvalds1da177e2005-04-16 15:20:36 -07001103 default y
1104
1105choice
Josh Boyer06e6d292006-09-07 08:25:40 -05001106 prompt "IDMA channel for PCI 9 workaround"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001107 depends on 8260_PCI9
1108
1109config 8260_PCI9_IDMA1
1110 bool "IDMA1"
1111
1112config 8260_PCI9_IDMA2
1113 bool "IDMA2"
1114
1115config 8260_PCI9_IDMA3
1116 bool "IDMA3"
1117
1118config 8260_PCI9_IDMA4
1119 bool "IDMA4"
1120
1121endchoice
1122
Linus Torvalds1da177e2005-04-16 15:20:36 -07001123source "drivers/pci/Kconfig"
1124
1125source "drivers/pcmcia/Kconfig"
1126
Matt Porter2b0c28d7f2005-11-07 01:00:19 -08001127config RAPIDIO
1128 bool "RapidIO support" if MPC8540 || MPC8560
1129 help
1130 If you say Y here, the kernel will include drivers and
1131 infrastructure code to support RapidIO interconnect devices.
1132
1133source "drivers/rapidio/Kconfig"
1134
Linus Torvalds1da177e2005-04-16 15:20:36 -07001135endmenu
1136
1137menu "Advanced setup"
1138
1139config ADVANCED_OPTIONS
1140 bool "Prompt for advanced kernel configuration options"
1141 help
1142 This option will enable prompting for a variety of advanced kernel
1143 configuration options. These options can cause the kernel to not
1144 work if they are set incorrectly, but can be used to optimize certain
1145 aspects of kernel memory management.
1146
1147 Unless you know what you are doing, say N here.
1148
1149comment "Default settings for advanced configuration options are used"
1150 depends on !ADVANCED_OPTIONS
1151
1152config HIGHMEM_START_BOOL
1153 bool "Set high memory pool address"
1154 depends on ADVANCED_OPTIONS && HIGHMEM
1155 help
1156 This option allows you to set the base address of the kernel virtual
1157 area used to map high memory pages. This can be useful in
1158 optimizing the layout of kernel virtual memory.
1159
1160 Say N here unless you know what you are doing.
1161
1162config HIGHMEM_START
1163 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
1164 default "0xfe000000"
1165
1166config LOWMEM_SIZE_BOOL
1167 bool "Set maximum low memory"
1168 depends on ADVANCED_OPTIONS
1169 help
1170 This option allows you to set the maximum amount of memory which
1171 will be used as "low memory", that is, memory which the kernel can
1172 access directly, without having to set up a kernel virtual mapping.
1173 This can be useful in optimizing the layout of kernel virtual
1174 memory.
1175
1176 Say N here unless you know what you are doing.
1177
1178config LOWMEM_SIZE
1179 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
1180 default "0x30000000"
1181
1182config KERNEL_START_BOOL
1183 bool "Set custom kernel base address"
1184 depends on ADVANCED_OPTIONS
1185 help
1186 This option allows you to set the kernel virtual address at which
1187 the kernel will map low memory (the kernel image will be linked at
1188 this address). This can be useful in optimizing the virtual memory
1189 layout of the system.
1190
1191 Say N here unless you know what you are doing.
1192
1193config KERNEL_START
1194 hex "Virtual address of kernel base" if KERNEL_START_BOOL
1195 default "0xc0000000"
1196
1197config TASK_SIZE_BOOL
1198 bool "Set custom user task size"
1199 depends on ADVANCED_OPTIONS
1200 help
1201 This option allows you to set the amount of virtual address space
1202 allocated to user tasks. This can be useful in optimizing the
1203 virtual memory layout of the system.
1204
1205 Say N here unless you know what you are doing.
1206
1207config TASK_SIZE
1208 hex "Size of user task space" if TASK_SIZE_BOOL
1209 default "0x80000000"
1210
1211config CONSISTENT_START_BOOL
1212 bool "Set custom consistent memory pool address"
1213 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1214 help
1215 This option allows you to set the base virtual address
Matt LaPlante4b3f6862006-10-03 22:21:02 +02001216 of the consistent memory pool. This pool of virtual
Linus Torvalds1da177e2005-04-16 15:20:36 -07001217 memory is used to make consistent memory allocations.
1218
1219config CONSISTENT_START
1220 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
1221 default "0xff100000" if NOT_COHERENT_CACHE
1222
1223config CONSISTENT_SIZE_BOOL
1224 bool "Set custom consistent memory pool size"
1225 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1226 help
Matt LaPlante4b3f6862006-10-03 22:21:02 +02001227 This option allows you to set the size of the
Linus Torvalds1da177e2005-04-16 15:20:36 -07001228 consistent memory pool. This pool of virtual memory
1229 is used to make consistent memory allocations.
1230
1231config CONSISTENT_SIZE
1232 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
1233 default "0x00200000" if NOT_COHERENT_CACHE
1234
1235config BOOT_LOAD_BOOL
1236 bool "Set the boot link/load address"
Paul Mackerras0a26b132006-03-28 10:22:10 +11001237 depends on ADVANCED_OPTIONS && !PPC_PREP
Linus Torvalds1da177e2005-04-16 15:20:36 -07001238 help
1239 This option allows you to set the initial load address of the zImage
1240 or zImage.initrd file. This can be useful if you are on a board
1241 which has a small amount of memory.
1242
1243 Say N here unless you know what you are doing.
1244
1245config BOOT_LOAD
1246 hex "Link/load address for booting" if BOOT_LOAD_BOOL
1247 default "0x00400000" if 40x || 8xx || 8260
1248 default "0x01000000" if 44x
1249 default "0x00800000"
1250
1251config PIN_TLB
1252 bool "Pinned Kernel TLBs (860 ONLY)"
1253 depends on ADVANCED_OPTIONS && 8xx
Sylvain Munaut1088a202007-09-16 20:53:25 +10001254
1255config PPC_LIB_RHEAP
1256 bool
1257
Linus Torvalds1da177e2005-04-16 15:20:36 -07001258endmenu
1259
Sam Ravnborgd5950b42005-07-11 21:03:49 -07001260source "net/Kconfig"
1261
Linus Torvalds1da177e2005-04-16 15:20:36 -07001262source "drivers/Kconfig"
1263
1264source "fs/Kconfig"
1265
1266source "arch/ppc/8xx_io/Kconfig"
1267
1268source "arch/ppc/8260_io/Kconfig"
1269
1270
1271menu "IBM 40x options"
1272 depends on 40x
1273
1274config SERIAL_SICC
1275 bool "SICC Serial port"
1276 depends on STB03xxx
1277
1278config UART1_DFLT_CONSOLE
1279 bool
1280 depends on SERIAL_SICC && UART0_TTYS1
1281 default y
1282
1283config SERIAL_SICC_CONSOLE
1284 bool
1285 depends on SERIAL_SICC && UART0_TTYS1
1286 default y
1287
1288endmenu
1289
1290source "lib/Kconfig"
1291
Mathieu Desnoyers09caded2007-10-18 23:41:05 -07001292source "kernel/Kconfig.instrumentation"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001293
1294source "arch/ppc/Kconfig.debug"
1295
1296source "security/Kconfig"
1297
1298source "crypto/Kconfig"