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