Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/cpufreq-2.6
[pandora-kernel.git] / arch / ppc / Kconfig
1 # For a description of the syntax of this configuration file,
2 # see Documentation/kbuild/kconfig-language.txt.
3 #
4
5 mainmenu "Linux/PowerPC Kernel Configuration"
6
7 config MMU
8         bool
9         default y
10
11 config GENERIC_HARDIRQS
12         bool
13         default y
14
15 config RWSEM_GENERIC_SPINLOCK
16         bool
17
18 config RWSEM_XCHGADD_ALGORITHM
19         bool
20         default y
21
22 config GENERIC_HWEIGHT
23         bool
24         default y
25
26 config GENERIC_CALIBRATE_DELAY
27         bool
28         default y
29
30 config PPC
31         bool
32         default y
33
34 config PPC32
35         bool
36         default y
37
38 # All PPCs use generic nvram driver through ppc_md
39 config GENERIC_NVRAM
40         bool
41         default y
42
43 config SCHED_NO_NO_OMIT_FRAME_POINTER
44         bool
45         default y
46
47 config ARCH_MAY_HAVE_PC_FDC
48         bool
49         default y
50
51 source "init/Kconfig"
52
53 menu "Processor"
54
55 choice
56         prompt "Processor Type"
57         default 6xx
58
59 config 6xx
60         bool "6xx/7xx/74xx/52xx/82xx/83xx"
61         select PPC_FPU
62         help
63           There are four types of PowerPC chips supported.  The more common
64           types (601, 603, 604, 740, 750, 7400), the Motorola embedded
65           versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the IBM
66           embedded versions (403 and 405) and the POWER3 processor.
67           (For support for more recent 64-bit processors, set ARCH=powerpc.)
68           Unless you are building a kernel for one of the embedded processor
69           systems or a POWER3-based IBM RS/6000, choose 6xx.
70           Note that the kernel runs in 32-bit mode even on 64-bit chips.
71           Also note that because the 52xx, 82xx, & 83xx family has a 603e core,
72           specific support for that chipset is asked later on.
73
74 config 40x
75         bool "40x"
76
77 config 44x
78         bool "44x"
79
80 config POWER3
81         select PPC_FPU
82         bool "POWER3"
83
84 config 8xx
85         bool "8xx"
86
87 config E200
88         bool "e200"
89
90 config E500
91         bool "e500"
92
93 endchoice
94
95 config PPC_FPU
96         bool
97
98 config BOOKE
99         bool
100         depends on E200 || E500
101         default y
102
103 config FSL_BOOKE
104         bool
105         depends on E200 || E500
106         default y
107
108 config PTE_64BIT
109         bool
110         depends on 44x || E500
111         default y if 44x
112         default y if E500 && PHYS_64BIT
113
114 config PHYS_64BIT
115         bool 'Large physical address support' if E500
116         depends on 44x || E500
117         default y if 44x
118         ---help---
119           This option enables kernel support for larger than 32-bit physical
120           addresses.  This features is not be available on all e500 cores.
121
122           If in doubt, say N here.
123
124 config ALTIVEC
125         bool "AltiVec Support"
126         depends on 6xx
127         depends on !8260 && !83xx
128         ---help---
129           This option enables kernel support for the Altivec extensions to the
130           PowerPC processor. The kernel currently supports saving and restoring
131           altivec registers, and turning on the 'altivec enable' bit so user
132           processes can execute altivec instructions.
133
134           This option is only usefully if you have a processor that supports
135           altivec (G4, otherwise known as 74xx series), but does not have
136           any affect on a non-altivec cpu (it does, however add code to the
137           kernel).
138
139           If in doubt, say Y here.
140
141 config SPE
142         bool "SPE Support"
143         depends on E200 || E500
144         ---help---
145           This option enables kernel support for the Signal Processing
146           Extensions (SPE) to the PowerPC processor. The kernel currently
147           supports saving and restoring SPE registers, and turning on the
148           'spe enable' bit so user processes can execute SPE instructions.
149
150           This option is only useful if you have a processor that supports
151           SPE (e500, otherwise known as 85xx series), but does not have any
152           effect on a non-spe cpu (it does, however add code to the kernel).
153
154           If in doubt, say Y here.
155
156 config TAU
157         bool "Thermal Management Support"
158         depends on 6xx && !8260 && !83xx
159         help
160           G3 and G4 processors have an on-chip temperature sensor called the
161           'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
162           temperature within 2-4 degrees Celsius. This option shows the current
163           on-die temperature in /proc/cpuinfo if the cpu supports it.
164
165           Unfortunately, on some chip revisions, this sensor is very inaccurate
166           and in some cases, does not work at all, so don't assume the cpu
167           temp is actually what /proc/cpuinfo says it is.
168
169 config TAU_INT
170         bool "Interrupt driven TAU driver (DANGEROUS)"
171         depends on TAU
172         ---help---
173           The TAU supports an interrupt driven mode which causes an interrupt
174           whenever the temperature goes out of range. This is the fastest way
175           to get notified the temp has exceeded a range. With this option off,
176           a timer is used to re-check the temperature periodically.
177
178           However, on some cpus it appears that the TAU interrupt hardware
179           is buggy and can cause a situation which would lead unexplained hard
180           lockups.
181
182           Unless you are extending the TAU driver, or enjoy kernel/hardware
183           debugging, leave this option off.
184
185 config TAU_AVERAGE
186         bool "Average high and low temp"
187         depends on TAU
188         ---help---
189           The TAU hardware can compare the temperature to an upper and lower
190           bound.  The default behavior is to show both the upper and lower
191           bound in /proc/cpuinfo. If the range is large, the temperature is
192           either changing a lot, or the TAU hardware is broken (likely on some
193           G4's). If the range is small (around 4 degrees), the temperature is
194           relatively stable.  If you say Y here, a single temperature value,
195           halfway between the upper and lower bounds, will be reported in
196           /proc/cpuinfo.
197
198           If in doubt, say N here.
199
200 config MATH_EMULATION
201         bool "Math emulation"
202         depends on 4xx || 8xx || E200 || E500
203         ---help---
204           Some PowerPC chips designed for embedded applications do not have
205           a floating-point unit and therefore do not implement the
206           floating-point instructions in the PowerPC instruction set.  If you
207           say Y here, the kernel will include code to emulate a floating-point
208           unit, which will allow programs that use floating-point
209           instructions to run.
210
211           If you have an Apple machine or an IBM RS/6000 or pSeries machine,
212           or any machine with a 6xx, 7xx or 7xxx series processor, say N
213           here.  Saying Y here will not hurt performance (on any machine) but
214           will increase the size of the kernel.
215
216 config KEXEC
217         bool "kexec system call (EXPERIMENTAL)"
218         depends on EXPERIMENTAL
219         help
220           kexec is a system call that implements the ability to shutdown your
221           current kernel, and to start another kernel.  It is like a reboot
222           but it is indepedent of the system firmware.   And like a reboot
223           you can start any kernel with it, not just Linux.
224
225           The name comes from the similiarity to the exec system call.
226
227           It is an ongoing process to be certain the hardware in a machine
228           is properly shutdown, so do not be surprised if this code does not
229           initially work for you.  It may help to enable device hotplugging
230           support.  As of this writing the exact hardware interface is
231           strongly in flux, so no good recommendation can be made.
232
233           In the GameCube implementation, kexec allows you to load and
234           run DOL files, including kernel and homebrew DOLs.
235
236 source "drivers/cpufreq/Kconfig"
237
238 config PPC601_SYNC_FIX
239         bool "Workarounds for PPC601 bugs"
240         depends on 6xx && PPC_PREP
241         help
242           Some versions of the PPC601 (the first PowerPC chip) have bugs which
243           mean that extra synchronization instructions are required near
244           certain instructions, typically those that make major changes to the
245           CPU state.  These extra instructions reduce performance slightly.
246           If you say N here, these extra instructions will not be included,
247           resulting in a kernel which will run faster but may not run at all
248           on some systems with the PPC601 chip.
249
250           If in doubt, say Y here.
251
252 source arch/ppc/platforms/4xx/Kconfig
253 source arch/ppc/platforms/85xx/Kconfig
254
255 config PPC64BRIDGE
256         bool
257         depends on POWER3
258         default y
259
260 config PPC_STD_MMU
261         bool
262         depends on 6xx || POWER3
263         default y
264
265 config NOT_COHERENT_CACHE
266         bool
267         depends on 4xx || 8xx || E200
268         default y
269
270 endmenu
271
272 menu "Platform options"
273
274 config FADS
275         bool
276
277 choice
278         prompt "8xx Machine Type"
279         depends on 8xx
280         default RPXLITE
281
282 config RPXLITE
283         bool "RPX-Lite"
284         ---help---
285           Single-board computers based around the PowerPC MPC8xx chips and
286           intended for embedded applications.  The following types are
287           supported:
288
289           RPX-Lite:
290           Embedded Planet RPX Lite. PC104 form-factor SBC based on the MPC823.
291
292           RPX-Classic:
293           Embedded Planet RPX Classic Low-fat. Credit-card-size SBC based on
294           the MPC 860
295
296           BSE-IP:
297           Bright Star Engineering ip-Engine.
298
299           TQM823L:
300           TQM850L:
301           TQM855L:
302           TQM860L:
303           MPC8xx based family of mini modules, half credit card size,
304           up to 64 MB of RAM, 8 MB Flash, (Fast) Ethernet, 2 x serial ports,
305           2 x CAN bus interface, ...
306           Manufacturer: TQ Components, www.tq-group.de
307           Date of Release: October (?) 1999
308           End of Life: not yet :-)
309           URL:
310           - module: <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>
311           - starter kit: <http://www.denx.de/PDF/STK8xxLHWM201.pdf>
312           - images: <http://www.denx.de/embedded-ppc-en.html>
313
314           FPS850L:
315           FingerPrint Sensor System (based on TQM850L)
316           Manufacturer: IKENDI AG, <http://www.ikendi.com/>
317           Date of Release: November 1999
318           End of life: end 2000 ?
319           URL: see TQM850L
320
321           IVMS8:
322           MPC860 based board used in the "Integrated Voice Mail System",
323           Small Version (8 voice channels)
324           Manufacturer: Speech Design, <http://www.speech-design.de/>
325           Date of Release: December 2000 (?)
326           End of life: -
327           URL: <http://www.speech-design.de/>
328
329           IVML24:
330           MPC860 based board used in the "Integrated Voice Mail System",
331           Large Version (24 voice channels)
332           Manufacturer: Speech Design, <http://www.speech-design.de/>
333           Date of Release: March 2001  (?)
334           End of life: -
335           URL: <http://www.speech-design.de/>
336
337           HERMES:
338           Hermes-Pro ISDN/LAN router with integrated 8 x hub
339           Manufacturer: Multidata Gesellschaft fur Datentechnik und Informatik
340           <http://www.multidata.de/>
341           Date of Release: 2000 (?)
342           End of life: -
343           URL: <http://www.multidata.de/english/products/hpro.htm>
344
345           IP860:
346           VMEBus IP (Industry Pack) carrier board with MPC860
347           Manufacturer: MicroSys GmbH, <http://www.microsys.de/>
348           Date of Release: ?
349           End of life: -
350           URL: <http://www.microsys.de/html/ip860.html>
351
352           PCU_E:
353           PCU = Peripheral Controller Unit, Extended
354           Manufacturer: Siemens AG, ICN (Information and Communication Networks)
355                 <http://www.siemens.de/page/1,3771,224315-1-999_2_226207-0,00.html>
356           Date of Release: April 2001
357           End of life: August 2001
358           URL: n. a.
359
360 config RPXCLASSIC
361         bool "RPX-Classic"
362         help
363           The RPX-Classic is a single-board computer based on the Motorola
364           MPC860.  It features 16MB of DRAM and a variable amount of flash,
365           I2C EEPROM, thermal monitoring, a PCMCIA slot, a DIP switch and two
366           LEDs.  Variants with Ethernet ports exist.  Say Y here to support it
367           directly.
368
369 config BSEIP
370         bool "BSE-IP"
371         help
372           Say Y here to support the Bright Star Engineering ipEngine SBC.
373           This is a credit-card-sized device featuring a MPC823 processor,
374           26MB DRAM, 4MB flash, Ethernet, a 16K-gate FPGA, USB, an LCD/video
375           controller, and two RS232 ports.
376
377 config MPC8XXFADS
378         bool "FADS"
379         select FADS
380
381 config MPC86XADS
382         bool "MPC86XADS"
383         help
384           MPC86x Application Development System by Freescale Semiconductor.
385           The MPC86xADS is meant to serve as a platform for s/w and h/w
386           development around the MPC86X processor families.
387         select FADS
388
389 config MPC885ADS
390         bool "MPC885ADS"
391         help
392           Freescale Semiconductor MPC885 Application Development System (ADS).
393           Also known as DUET.
394           The MPC885ADS is meant to serve as a platform for s/w and h/w
395           development around the MPC885 processor family.
396
397 config TQM823L
398         bool "TQM823L"
399         help
400           Say Y here to support the TQM823L, one of an MPC8xx-based family of
401           mini SBCs (half credit-card size) from TQ Components first released
402           in late 1999.  Technical references are at
403           <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>, and
404           <http://www.denx.de/PDF/STK8xxLHWM201.pdf>, and an image at
405           <http://www.denx.de/embedded-ppc-en.html>.
406
407 config TQM850L
408         bool "TQM850L"
409         help
410           Say Y here to support the TQM850L, one of an MPC8xx-based family of
411           mini SBCs (half credit-card size) from TQ Components first released
412           in late 1999.  Technical references are at
413           <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>, and
414           <http://www.denx.de/PDF/STK8xxLHWM201.pdf>, and an image at
415           <http://www.denx.de/embedded-ppc-en.html>.
416
417 config TQM855L
418         bool "TQM855L"
419         help
420           Say Y here to support the TQM855L, one of an MPC8xx-based family of
421           mini SBCs (half credit-card size) from TQ Components first released
422           in late 1999.  Technical references are at
423           <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>, and
424           <http://www.denx.de/PDF/STK8xxLHWM201.pdf>, and an image at
425           <http://www.denx.de/embedded-ppc-en.html>.
426
427 config TQM860L
428         bool "TQM860L"
429         help
430           Say Y here to support the TQM860L, one of an MPC8xx-based family of
431           mini SBCs (half credit-card size) from TQ Components first released
432           in late 1999.  Technical references are at
433           <http://www.denx.de/PDF/TQM8xxLHWM201.pdf>, and
434           <http://www.denx.de/PDF/STK8xxLHWM201.pdf>, and an image at
435           <http://www.denx.de/embedded-ppc-en.html>.
436
437 config FPS850L
438         bool "FPS850L"
439
440 config IVMS8
441         bool "IVMS8"
442         help
443           Say Y here to support the Integrated Voice-Mail Small 8-channel SBC
444           from Speech Design, released March 2001.  The manufacturer's website
445           is at <http://www.speech-design.de/>.
446
447 config IVML24
448         bool "IVML24"
449         help
450           Say Y here to support the Integrated Voice-Mail Large 24-channel SBC
451           from Speech Design, released March 2001.  The manufacturer's website
452           is at <http://www.speech-design.de/>.
453
454 config HERMES_PRO
455         bool "HERMES"
456
457 config IP860
458         bool "IP860"
459
460 config LWMON
461         bool "LWMON"
462
463 config PCU_E
464         bool "PCU_E"
465
466 config CCM
467         bool "CCM"
468
469 config LANTEC
470         bool "LANTEC"
471
472 config MBX
473         bool "MBX"
474         help
475           MBX is a line of Motorola single-board computer based around the
476           MPC821 and MPC860 processors, and intended for embedded-controller
477           applications.  Say Y here to support these boards directly.
478
479 config WINCEPT
480         bool "WinCept"
481         help
482           The Wincept 100/110 is a Motorola single-board computer based on the
483           MPC821 PowerPC, introduced in 1998 and designed to be used in
484           thin-client machines.  Say Y to support it directly.
485
486 endchoice
487
488 menu "Freescale Ethernet driver platform-specific options"
489         depends on FS_ENET
490
491         config MPC8xx_SECOND_ETH
492         bool "Second Ethernet channel"
493         depends on (MPC885ADS || MPC86XADS)
494         default y
495         help
496           This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
497           The latter will use SCC1, for 885ADS you can select it below.
498
499         choice
500                 prompt "Second Ethernet channel"
501                 depends on MPC8xx_SECOND_ETH
502                 default MPC8xx_SECOND_ETH_FEC2
503
504                 config MPC8xx_SECOND_ETH_FEC2
505                 bool "FEC2"
506                 depends on MPC885ADS
507                 help
508                   Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
509                   (often 2-nd UART) will not work if this is enabled.
510
511                 config MPC8xx_SECOND_ETH_SCC1
512                 bool "SCC1"
513                 depends on MPC86XADS
514                 select MPC8xx_SCC_ENET_FIXED
515                 help
516                   Enable SCC1 to serve as 2-nd Ethernet channel. Note that SMC1
517                   (often 1-nd UART) will not work if this is enabled.
518
519                 config MPC8xx_SECOND_ETH_SCC3
520                 bool "SCC3"
521                 depends on MPC885ADS
522                 help
523                   Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
524                   (often 1-nd UART) will not work if this is enabled.
525
526         endchoice
527
528         config MPC8xx_SCC_ENET_FIXED
529         depends on MPC8xx_SECOND_ETH_SCC
530         default n
531         bool "Use fixed MII-less mode for SCC Ethernet"
532
533 endmenu
534
535 choice
536         prompt "Machine Type"
537         depends on 6xx || POWER3
538         default PPC_MULTIPLATFORM
539         ---help---
540           Linux currently supports several different kinds of PowerPC-based
541           machines: Apple Power Macintoshes and clones (such as the Motorola
542           Starmax series), PReP (PowerPC Reference Platform) machines (such
543           as the Motorola PowerStacks, Motorola cPCI/VME embedded systems,
544           and some IBM RS/6000 systems), CHRP (Common Hardware Reference
545           Platform) machines (including all of the recent IBM RS/6000 and
546           pSeries machines), and several embedded PowerPC systems containing
547           4xx, 6xx, 7xx, 8xx, 74xx, and 82xx processors.  Currently, the
548           default option is to build a kernel which works on PReP and CHRP.
549
550           Note that support for Apple machines is now only available with
551           ARCH=powerpc, and has been removed from this menu.  If you wish
552           to build a kernel for an Apple machine, exit this configuration
553           process and re-run it with ARCH=powerpc.
554
555           Select CHRP/PReP if configuring for an IBM RS/6000 or
556           pSeries machine, or a PReP machine.
557
558           Select Gemini if configuring for a Synergy Microsystems' Gemini
559           series Single Board Computer.  More information is available at:
560           <http://www.synergymicro.com/PressRel/97_10_15.html>.
561
562           Select APUS if configuring for a PowerUP Amiga.  More information is
563           available at: <http://linux-apus.sourceforge.net/>.
564
565 config PPC_MULTIPLATFORM
566         bool "CHRP/PReP"
567
568 config APUS
569         bool "Amiga-APUS"
570         depends on BROKEN
571         help
572           Select APUS if configuring for a PowerUP Amiga.
573           More information is available at:
574           <http://linux-apus.sourceforge.net/>.
575
576 config KATANA
577         bool "Artesyn-Katana"
578         help
579           Select KATANA if configuring an Artesyn KATANA 750i or 3750
580           cPCI board.
581
582 config WILLOW
583         bool "Cogent-Willow"
584
585 config CPCI690
586         bool "Force-CPCI690"
587         help
588           Select CPCI690 if configuring a Force CPCI690 cPCI board.
589
590 config POWERPMC250
591         bool "Force-PowerPMC250"
592
593 config CHESTNUT
594         bool "IBM 750FX Eval board or 750GX Eval board"
595         help
596           Select CHESTNUT if configuring an IBM 750FX Eval Board or a
597           IBM 750GX Eval board.
598
599 config SPRUCE
600         bool "IBM-Spruce"
601         select PPC_INDIRECT_PCI
602
603 config HDPU
604         bool "Sky-HDPU"
605         help
606           Select HDPU if configuring a Sky Computers Compute Blade.
607
608 config HDPU_FEATURES
609         depends HDPU
610         tristate "HDPU-Features"
611         help
612           Select to enable HDPU enhanced features.
613
614 config EV64260
615         bool "Marvell-EV64260BP"
616         help
617           Select EV64260 if configuring a Marvell (formerly Galileo)
618           EV64260BP Evaluation platform.
619
620 config LOPEC
621         bool "Motorola-LoPEC"
622         select PPC_I8259
623
624 config MVME5100
625         bool "Motorola-MVME5100"
626         select PPC_INDIRECT_PCI
627
628 config PPLUS
629         bool "Motorola-PowerPlus"
630         select PPC_I8259
631         select PPC_INDIRECT_PCI
632
633 config PRPMC750
634         bool "Motorola-PrPMC750"
635         select PPC_INDIRECT_PCI
636
637 config PRPMC800
638         bool "Motorola-PrPMC800"
639         select PPC_INDIRECT_PCI
640
641 config SANDPOINT
642         bool "Motorola-Sandpoint"
643         select PPC_I8259
644         help
645           Select SANDPOINT if configuring for a Motorola Sandpoint X3
646           (any flavor).
647
648 config RADSTONE_PPC7D
649         bool "Radstone Technology PPC7D board"
650         select PPC_I8259
651
652 config PAL4
653         bool "SBS-Palomar4"
654
655 config GEMINI
656         bool "Synergy-Gemini"
657         depends on BROKEN
658         select PPC_INDIRECT_PCI
659         help
660           Select Gemini if configuring for a Synergy Microsystems' Gemini
661           series Single Board Computer.  More information is available at:
662           <http://www.synergymicro.com/PressRel/97_10_15.html>.
663
664 config EST8260
665         bool "EST8260"
666         ---help---
667           The EST8260 is a single-board computer manufactured by Wind River
668           Systems, Inc. (formerly Embedded Support Tools Corp.) and based on
669           the MPC8260.  Wind River Systems has a website at
670           <http://www.windriver.com/>, but the EST8260 cannot be found on it
671           and has probably been discontinued or rebadged.
672
673 config SBC82xx
674         bool "SBC82xx"
675         ---help---
676           SBC PowerQUICC II, single-board computer with MPC82xx CPU
677           Manufacturer: Wind River Systems, Inc.
678           Date of Release: May 2003
679           End of Life: -
680           URL: <http://www.windriver.com/>
681
682 config SBS8260
683         bool "SBS8260"
684
685 config RPX8260
686         bool "RPXSUPER"
687
688 config TQM8260
689         bool "TQM8260"
690         ---help---
691           MPC8260 based module, little larger than credit card,
692           up to 128 MB global + 64 MB local RAM, 32 MB Flash,
693           32 kB EEPROM, 256 kB L@ Cache, 10baseT + 100baseT Ethernet,
694           2 x serial ports, ...
695           Manufacturer: TQ Components, www.tq-group.de
696           Date of Release: June 2001
697           End of Life: not yet :-)
698           URL: <http://www.denx.de/PDF/TQM82xx_SPEC_Rev005.pdf>
699
700 config ADS8272
701         bool "ADS8272"
702
703 config PQ2FADS
704         bool "Freescale-PQ2FADS"
705         help
706           Select PQ2FADS if you wish to configure for a Freescale
707           PQ2FADS board (-VR or -ZU).
708
709 config LITE5200
710         bool "Freescale LITE5200 / (IceCube)"
711         select PPC_MPC52xx
712         help
713           Support for the LITE5200 dev board for the MPC5200 from Freescale.
714           This is for the LITE5200 version 2.0 board. Don't know if it changes
715           much but it's only been tested on this board version. I think this
716           board is also known as IceCube.
717
718 config MPC834x_SYS
719         bool "Freescale MPC834x SYS"
720         help
721           This option enables support for the MPC 834x SYS evaluation board.
722
723           Be aware that PCI buses can only function when SYS board is plugged
724           into the PIB (Platform IO Board) board from Freescale which provide
725           3 PCI slots.  The PIBs PCI initialization is the bootloader's
726           responsiblilty.
727
728 config EV64360
729         bool "Marvell-EV64360BP"
730         help
731           Select EV64360 if configuring a Marvell EV64360BP Evaluation
732           platform.
733 endchoice
734
735 config PQ2ADS
736         bool
737         depends on ADS8272
738         default y
739
740 config TQM8xxL
741         bool
742         depends on 8xx && (TQM823L || TQM850L || FPS850L || TQM855L || TQM860L)
743         default y
744
745 config EMBEDDEDBOOT
746         bool
747         depends on 8xx || 8260
748         default y
749
750 config PPC_MPC52xx
751         bool
752
753 config 8260
754         bool "CPM2 Support" if WILLOW
755         depends on 6xx
756         default y if TQM8260 || RPX8260 || EST8260 || SBS8260 || SBC82xx || PQ2FADS
757         help
758           The MPC8260 is a typical embedded CPU made by Motorola.  Selecting
759           this option means that you wish to build a kernel for a machine with
760           an 8260 class CPU.
761
762 config 8272
763         bool
764         depends on 6xx
765         default y if ADS8272
766         select 8260
767         help
768           The MPC8272 CPM has a different internal dpram setup than other CPM2
769           devices
770
771 config 83xx
772         bool
773         default y if MPC834x_SYS
774
775 config MPC834x
776         bool
777         default y if MPC834x_SYS
778
779 config PPC_83xx
780         bool
781         default y if 83xx
782
783 config CPM1
784         bool
785         depends on 8xx
786         default y
787         help
788           The CPM1 (Communications Processor Module) is a coprocessor on
789           embedded CPUs made by Motorola.  Selecting this option means that
790           you wish to build a kernel for a machine with a CPM1 coprocessor
791           on it (8xx, 827x, 8560).
792
793 config CPM2
794         bool
795         depends on 8260 || MPC8560 || MPC8555
796         default y
797         help
798           The CPM2 (Communications Processor Module) is a coprocessor on
799           embedded CPUs made by Motorola.  Selecting this option means that
800           you wish to build a kernel for a machine with a CPM2 coprocessor
801           on it (826x, 827x, 8560).
802
803 config PPC_CHRP
804         bool "Support for CHRP (Common Hardware Reference Platform) machines"
805         depends on PPC_MULTIPLATFORM
806         select PPC_I8259
807         select PPC_INDIRECT_PCI
808         default y
809
810 config PPC_PREP
811         bool "Support for PReP (PowerPC Reference Platform) machines"
812         depends on PPC_MULTIPLATFORM
813         select PPC_I8259
814         select PPC_INDIRECT_PCI
815         default y
816
817 config PPC_OF
818         bool
819         depends on PPC_CHRP
820         default y
821
822 config PPC_GEN550
823         bool
824         depends on SANDPOINT || SPRUCE || PPLUS || \
825                 PRPMC750 || PRPMC800 || LOPEC || \
826                 (EV64260 && !SERIAL_MPSC) || CHESTNUT || RADSTONE_PPC7D || \
827                 83xx
828         default y
829
830 config FORCE
831         bool
832         depends on 6xx && POWERPMC250
833         default y
834
835 config GT64260
836         bool
837         depends on EV64260 || CPCI690
838         default y
839
840 config MV64360          # Really MV64360 & MV64460
841         bool
842         depends on CHESTNUT || KATANA || RADSTONE_PPC7D || HDPU || EV64360
843         default y
844
845 config MV64X60
846         bool
847         depends on (GT64260 || MV64360)
848         select PPC_INDIRECT_PCI
849         default y
850
851 menu "Set bridge options"
852         depends on MV64X60
853
854 config NOT_COHERENT_CACHE
855         bool "Turn off Cache Coherency"
856         default n
857         help
858           Some 64x60 bridges lock up when trying to enforce cache coherency.
859           When this option is selected, cache coherency will be turned off.
860           Note that this can cause other problems (e.g., stale data being
861           speculatively loaded via a cached mapping).  Use at your own risk.
862
863 config MV64X60_BASE
864         hex "Set bridge base used by firmware"
865         default "0xf1000000"
866         help
867           A firmware can leave the base address of the bridge's registers at
868           a non-standard location.  If so, set this value to reflect the
869           address of that non-standard location.
870
871 config MV64X60_NEW_BASE
872         hex "Set bridge base used by kernel"
873         default "0xf1000000"
874         help
875           If the current base address of the bridge's registers is not where
876           you want it, set this value to the address that you want it moved to.
877
878 endmenu
879
880 config NONMONARCH_SUPPORT
881         bool "Enable Non-Monarch Support"
882         depends on PRPMC800
883
884 config HARRIER
885         bool
886         depends on PRPMC800
887         default y
888
889 config EPIC_SERIAL_MODE
890         bool
891         depends on 6xx && (LOPEC || SANDPOINT)
892         default y
893
894 config MPC10X_BRIDGE
895         bool
896         depends on POWERPMC250 || LOPEC || SANDPOINT
897         select PPC_INDIRECT_PCI
898         default y
899
900 config MPC10X_OPENPIC
901         bool
902         depends on POWERPMC250 || LOPEC || SANDPOINT
903         default y
904
905 config MPC10X_STORE_GATHERING
906         bool "Enable MPC10x store gathering"
907         depends on MPC10X_BRIDGE
908
909 config SANDPOINT_ENABLE_UART1
910         bool "Enable DUART mode on Sandpoint"
911         depends on SANDPOINT
912         help
913           If this option is enabled then the MPC824x processor will run
914           in DUART mode instead of UART mode.
915
916 config HARRIER_STORE_GATHERING
917         bool "Enable Harrier store gathering"
918         depends on HARRIER
919
920 config MVME5100_IPMC761_PRESENT
921         bool "MVME5100 configured with an IPMC761"
922         depends on MVME5100
923         select PPC_I8259
924
925 config SPRUCE_BAUD_33M
926         bool "Spruce baud clock support"
927         depends on SPRUCE
928
929 config PC_KEYBOARD
930         bool "PC PS/2 style Keyboard"
931         depends on 4xx || CPM2
932
933 config PPCBUG_NVRAM
934         bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
935         default y if PPC_PREP
936
937 config SMP
938         depends on PPC_STD_MMU
939         bool "Symmetric multi-processing support"
940         ---help---
941           This enables support for systems with more than one CPU. If you have
942           a system with only one CPU, say N. If you have a system with more
943           than one CPU, say Y.  Note that the kernel does not currently
944           support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
945           since they have inadequate hardware support for multiprocessor
946           operation.
947
948           If you say N here, the kernel will run on single and multiprocessor
949           machines, but will use only one CPU of a multiprocessor machine. If
950           you say Y here, the kernel will run on single-processor machines.
951           On a single-processor machine, the kernel will run faster if you say
952           N here.
953
954           If you don't know what to do here, say N.
955
956 config IRQ_ALL_CPUS
957         bool "Distribute interrupts on all CPUs by default"
958         depends on SMP && !MV64360
959         help
960           This option gives the kernel permission to distribute IRQs across
961           multiple CPUs.  Saying N here will route all IRQs to the first
962           CPU.  Generally saying Y is safe, although some problems have been
963           reported with SMP Power Macintoshes with this option enabled.
964
965 config NR_CPUS
966         int "Maximum number of CPUs (2-32)"
967         range 2 32
968         depends on SMP
969         default "4"
970
971 config HIGHMEM
972         bool "High memory support"
973
974 source kernel/Kconfig.hz
975 source kernel/Kconfig.preempt
976 source "mm/Kconfig"
977
978 source "fs/Kconfig.binfmt"
979
980 config PROC_DEVICETREE
981         bool "Support for Open Firmware device tree in /proc"
982         depends on PPC_OF && PROC_FS
983         help
984           This option adds a device-tree directory under /proc which contains
985           an image of the device tree that the kernel copies from Open
986           Firmware. If unsure, say Y here.
987
988 config PREP_RESIDUAL
989         bool "Support for PReP Residual Data"
990         depends on PPC_PREP
991         help
992           Some PReP systems have residual data passed to the kernel by the
993           firmware.  This allows detection of memory size, devices present and
994           other useful pieces of information.  Sometimes this information is
995           not present or incorrect, in which case it could lead to the machine 
996           behaving incorrectly.  If this happens, either disable PREP_RESIDUAL
997           or pass the 'noresidual' option to the kernel.
998
999           If you are running a PReP system, say Y here, otherwise say N.
1000
1001 config PROC_PREPRESIDUAL
1002         bool "Support for reading of PReP Residual Data in /proc"
1003         depends on PREP_RESIDUAL && PROC_FS
1004         help
1005           Enabling this option will create a /proc/residual file which allows
1006           you to get at the residual data on PReP systems.  You will need a tool
1007           (lsresidual) to parse it.  If you aren't on a PReP system, you don't
1008           want this.
1009
1010 config CMDLINE_BOOL
1011         bool "Default bootloader kernel arguments"
1012
1013 config CMDLINE
1014         string "Initial kernel command string"
1015         depends on CMDLINE_BOOL
1016         default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
1017         help
1018           On some platforms, there is currently no way for the boot loader to
1019           pass arguments to the kernel. For these platforms, you can supply
1020           some command-line options at build time by entering them here.  In
1021           most cases you will need to specify the root device here.
1022
1023 config AMIGA
1024         bool
1025         depends on APUS
1026         default y
1027         help
1028           This option enables support for the Amiga series of computers.
1029
1030 config ZORRO
1031         bool
1032         depends on APUS
1033         default y
1034         help
1035           This enables support for the Zorro bus in the Amiga. If you have
1036           expansion cards in your Amiga that conform to the Amiga
1037           AutoConfig(tm) specification, say Y, otherwise N. Note that even
1038           expansion cards that do not fit in the Zorro slots but fit in e.g.
1039           the CPU slot may fall in this category, so you have to say Y to let
1040           Linux use these.
1041
1042 config ABSTRACT_CONSOLE
1043         bool
1044         depends on APUS
1045         default y
1046
1047 config APUS_FAST_EXCEPT
1048         bool
1049         depends on APUS
1050         default y
1051
1052 config AMIGA_PCMCIA
1053         bool "Amiga 1200/600 PCMCIA support"
1054         depends on APUS && EXPERIMENTAL
1055         help
1056           Include support in the kernel for pcmcia on Amiga 1200 and Amiga
1057           600. If you intend to use pcmcia cards say Y; otherwise say N.
1058
1059 config AMIGA_BUILTIN_SERIAL
1060         tristate "Amiga builtin serial support"
1061         depends on APUS
1062         help
1063           If you want to use your Amiga's built-in serial port in Linux,
1064           answer Y.
1065
1066           To compile this driver as a module, choose M here.
1067
1068 config GVPIOEXT
1069         tristate "GVP IO-Extender support"
1070         depends on APUS
1071         help
1072           If you want to use a GVP IO-Extender serial card in Linux, say Y.
1073           Otherwise, say N.
1074
1075 config GVPIOEXT_LP
1076         tristate "GVP IO-Extender parallel printer support"
1077         depends on GVPIOEXT
1078         help
1079           Say Y to enable driving a printer from the parallel port on your
1080           GVP IO-Extender card, N otherwise.
1081
1082 config GVPIOEXT_PLIP
1083         tristate "GVP IO-Extender PLIP support"
1084         depends on GVPIOEXT
1085         help
1086           Say Y to enable doing IP over the parallel port on your GVP
1087           IO-Extender card, N otherwise.
1088
1089 config MULTIFACE_III_TTY
1090         tristate "Multiface Card III serial support"
1091         depends on APUS
1092         help
1093           If you want to use a Multiface III card's serial port in Linux,
1094           answer Y.
1095
1096           To compile this driver as a module, choose M here.
1097
1098 config A2232
1099         tristate "Commodore A2232 serial support (EXPERIMENTAL)"
1100         depends on EXPERIMENTAL && APUS
1101         ---help---
1102           This option supports the 2232 7-port serial card shipped with the
1103           Amiga 2000 and other Zorro-bus machines, dating from 1989.  At
1104           a max of 19,200 bps, the ports are served by a 6551 ACIA UART chip
1105           each, plus a 8520 CIA, and a master 6502 CPU and buffer as well. The
1106           ports were connected with 8 pin DIN connectors on the card bracket,
1107           for which 8 pin to DB25 adapters were supplied. The card also had
1108           jumpers internally to toggle various pinning configurations.
1109
1110           This driver can be built as a module; but then "generic_serial"
1111           will also be built as a module. This has to be loaded before
1112           "ser_a2232". If you want to do this, answer M here.
1113
1114 config WHIPPET_SERIAL
1115         tristate "Hisoft Whippet PCMCIA serial support"
1116         depends on AMIGA_PCMCIA
1117         help
1118           HiSoft has a web page at <http://www.hisoft.co.uk/>, but there
1119           is no listing for the Whippet in their Amiga section.
1120
1121 config APNE
1122         tristate "PCMCIA NE2000 support"
1123         depends on AMIGA_PCMCIA
1124         help
1125           If you have a PCMCIA NE2000 compatible adapter, say Y.  Otherwise,
1126           say N.
1127
1128           To compile this driver as a module, choose M here: the
1129           module will be called apne.
1130
1131 config SERIAL_CONSOLE
1132         bool "Support for serial port console"
1133         depends on APUS && (AMIGA_BUILTIN_SERIAL=y || GVPIOEXT=y || MULTIFACE_III_TTY=y)
1134
1135 config HEARTBEAT
1136         bool "Use power LED as a heartbeat"
1137         depends on APUS
1138         help
1139           Use the power-on LED on your machine as a load meter.  The exact
1140           behavior is platform-dependent, but normally the flash frequency is
1141           a hyperbolic function of the 5-minute load average.
1142
1143 config PROC_HARDWARE
1144         bool "/proc/hardware support"
1145         depends on APUS
1146
1147 source "drivers/zorro/Kconfig"
1148
1149 if !44x || BROKEN
1150 source kernel/power/Kconfig
1151 endif
1152
1153 config SECCOMP
1154         bool "Enable seccomp to safely compute untrusted bytecode"
1155         depends on PROC_FS
1156         default y
1157         help
1158           This kernel feature is useful for number crunching applications
1159           that may need to compute untrusted bytecode during their
1160           execution. By using pipes or other transports made available to
1161           the process as file descriptors supporting the read/write
1162           syscalls, it's possible to isolate those applications in
1163           their own address space using seccomp. Once seccomp is
1164           enabled via /proc/<pid>/seccomp, it cannot be disabled
1165           and the task is only allowed to execute a few safe syscalls
1166           defined by each seccomp mode.
1167
1168           If unsure, say Y. Only embedded should say N here.
1169
1170 endmenu
1171
1172 config ISA_DMA_API
1173         bool
1174         default y
1175
1176 menu "Bus options"
1177
1178 config ISA
1179         bool "Support for ISA-bus hardware"
1180         depends on PPC_PREP || PPC_CHRP
1181         select PPC_I8259
1182         help
1183           Find out whether you have ISA slots on your motherboard.  ISA is the
1184           name of a bus system, i.e. the way the CPU talks to the other stuff
1185           inside your box.  If you have an Apple machine, say N here; if you
1186           have an IBM RS/6000 or pSeries machine or a PReP machine, say Y.  If
1187           you have an embedded board, consult your board documentation.
1188
1189 config GENERIC_ISA_DMA
1190         bool
1191         depends on POWER3 || 6xx && !CPM2
1192         default y
1193
1194 config PPC_I8259
1195         bool
1196         default y if 85xx
1197         default n
1198
1199 config PPC_INDIRECT_PCI
1200         bool
1201         depends on PCI
1202         default y if 40x || 44x || 85xx || 83xx
1203         default n
1204
1205 config EISA
1206         bool
1207         help
1208           The Extended Industry Standard Architecture (EISA) bus is a bus
1209           architecture used on some older intel-based PCs.
1210
1211 config SBUS
1212         bool
1213
1214 # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
1215 config MCA
1216         bool
1217
1218 config PCI
1219         bool "PCI support" if 40x || CPM2 || 83xx || 85xx || PPC_MPC52xx
1220         default y if !40x && !CPM2 && !8xx && !APUS && !83xx && !85xx
1221         default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
1222         default PCI_QSPAN if !4xx && !CPM2 && 8xx
1223         help
1224           Find out whether your system includes a PCI bus. PCI is the name of
1225           a bus system, i.e. the way the CPU talks to the other stuff inside
1226           your box.  If you say Y here, the kernel will include drivers and
1227           infrastructure code to support PCI bus devices.
1228
1229 config PCI_DOMAINS
1230         bool
1231         default PCI
1232
1233 config MPC83xx_PCI2
1234         bool "  Supprt for 2nd PCI host controller"
1235         depends on PCI && MPC834x
1236         default y if MPC834x_SYS
1237
1238 config PCI_QSPAN
1239         bool "QSpan PCI"
1240         depends on !4xx && !CPM2 && 8xx
1241         select PPC_I8259
1242         help
1243           Say Y here if you have a system based on a Motorola 8xx-series
1244           embedded processor with a QSPAN PCI interface, otherwise say N.
1245
1246 config PCI_8260
1247         bool
1248         depends on PCI && 8260
1249         select PPC_INDIRECT_PCI
1250         default y
1251
1252 config 8260_PCI9
1253         bool "  Enable workaround for MPC826x erratum PCI 9"
1254         depends on PCI_8260 && !ADS8272
1255         default y
1256
1257 choice
1258         prompt "  IDMA channel for PCI 9 workaround"
1259         depends on 8260_PCI9
1260
1261 config 8260_PCI9_IDMA1
1262         bool "IDMA1"
1263
1264 config 8260_PCI9_IDMA2
1265         bool "IDMA2"
1266
1267 config 8260_PCI9_IDMA3
1268         bool "IDMA3"
1269
1270 config 8260_PCI9_IDMA4
1271         bool "IDMA4"
1272
1273 endchoice
1274
1275 config PCI_PERMEDIA
1276         bool "PCI for Permedia2"
1277         depends on !4xx && !8xx && APUS
1278
1279 source "drivers/pci/Kconfig"
1280
1281 source "drivers/pcmcia/Kconfig"
1282
1283 config RAPIDIO
1284         bool "RapidIO support" if MPC8540 || MPC8560
1285         help
1286           If you say Y here, the kernel will include drivers and
1287           infrastructure code to support RapidIO interconnect devices.
1288
1289 source "drivers/rapidio/Kconfig"
1290
1291 endmenu
1292
1293 menu "Advanced setup"
1294
1295 config ADVANCED_OPTIONS
1296         bool "Prompt for advanced kernel configuration options"
1297         help
1298           This option will enable prompting for a variety of advanced kernel
1299           configuration options.  These options can cause the kernel to not
1300           work if they are set incorrectly, but can be used to optimize certain
1301           aspects of kernel memory management.
1302
1303           Unless you know what you are doing, say N here.
1304
1305 comment "Default settings for advanced configuration options are used"
1306         depends on !ADVANCED_OPTIONS
1307
1308 config HIGHMEM_START_BOOL
1309         bool "Set high memory pool address"
1310         depends on ADVANCED_OPTIONS && HIGHMEM
1311         help
1312           This option allows you to set the base address of the kernel virtual
1313           area used to map high memory pages.  This can be useful in
1314           optimizing the layout of kernel virtual memory.
1315
1316           Say N here unless you know what you are doing.
1317
1318 config HIGHMEM_START
1319         hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
1320         default "0xfe000000"
1321
1322 config LOWMEM_SIZE_BOOL
1323         bool "Set maximum low memory"
1324         depends on ADVANCED_OPTIONS
1325         help
1326           This option allows you to set the maximum amount of memory which
1327           will be used as "low memory", that is, memory which the kernel can
1328           access directly, without having to set up a kernel virtual mapping.
1329           This can be useful in optimizing the layout of kernel virtual
1330           memory.
1331
1332           Say N here unless you know what you are doing.
1333
1334 config LOWMEM_SIZE
1335         hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
1336         default "0x30000000"
1337
1338 config KERNEL_START_BOOL
1339         bool "Set custom kernel base address"
1340         depends on ADVANCED_OPTIONS
1341         help
1342           This option allows you to set the kernel virtual address at which
1343           the kernel will map low memory (the kernel image will be linked at
1344           this address).  This can be useful in optimizing the virtual memory
1345           layout of the system.
1346
1347           Say N here unless you know what you are doing.
1348
1349 config KERNEL_START
1350         hex "Virtual address of kernel base" if KERNEL_START_BOOL
1351         default "0xc0000000"
1352
1353 config TASK_SIZE_BOOL
1354         bool "Set custom user task size"
1355         depends on ADVANCED_OPTIONS
1356         help
1357           This option allows you to set the amount of virtual address space
1358           allocated to user tasks.  This can be useful in optimizing the
1359           virtual memory layout of the system.
1360
1361           Say N here unless you know what you are doing.
1362
1363 config TASK_SIZE
1364         hex "Size of user task space" if TASK_SIZE_BOOL
1365         default "0x80000000"
1366
1367 config CONSISTENT_START_BOOL
1368         bool "Set custom consistent memory pool address"
1369         depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1370         help
1371           This option allows you to set the base virtual address
1372           of the the consistent memory pool.  This pool of virtual
1373           memory is used to make consistent memory allocations.
1374
1375 config CONSISTENT_START
1376         hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
1377         default "0xff100000" if NOT_COHERENT_CACHE
1378
1379 config CONSISTENT_SIZE_BOOL
1380         bool "Set custom consistent memory pool size"
1381         depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1382         help
1383           This option allows you to set the size of the the
1384           consistent memory pool.  This pool of virtual memory
1385           is used to make consistent memory allocations.
1386
1387 config CONSISTENT_SIZE
1388         hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
1389         default "0x00200000" if NOT_COHERENT_CACHE
1390
1391 config BOOT_LOAD_BOOL
1392         bool "Set the boot link/load address"
1393         depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
1394         help
1395           This option allows you to set the initial load address of the zImage
1396           or zImage.initrd file.  This can be useful if you are on a board
1397           which has a small amount of memory.
1398
1399           Say N here unless you know what you are doing.
1400
1401 config BOOT_LOAD
1402         hex "Link/load address for booting" if BOOT_LOAD_BOOL
1403         default "0x00400000" if 40x || 8xx || 8260
1404         default "0x01000000" if 44x
1405         default "0x00800000"
1406
1407 config PIN_TLB
1408         bool "Pinned Kernel TLBs (860 ONLY)"
1409         depends on ADVANCED_OPTIONS && 8xx
1410 endmenu
1411
1412 source "net/Kconfig"
1413
1414 source "drivers/Kconfig"
1415
1416 source "fs/Kconfig"
1417
1418 source "arch/ppc/8xx_io/Kconfig"
1419
1420 source "arch/ppc/8260_io/Kconfig"
1421
1422
1423 menu "IBM 40x options"
1424         depends on 40x
1425
1426 config SERIAL_SICC
1427         bool "SICC Serial port"
1428         depends on STB03xxx
1429
1430 config UART1_DFLT_CONSOLE
1431         bool
1432         depends on SERIAL_SICC && UART0_TTYS1
1433         default y
1434
1435 config SERIAL_SICC_CONSOLE
1436         bool
1437         depends on SERIAL_SICC && UART0_TTYS1
1438         default y
1439
1440 endmenu
1441
1442 source "lib/Kconfig"
1443
1444 source "arch/powerpc/oprofile/Kconfig"
1445
1446 source "arch/ppc/Kconfig.debug"
1447
1448 source "security/Kconfig"
1449
1450 source "crypto/Kconfig"