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