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