]> err.no Git - linux-2.6/blob - arch/powerpc/Kconfig
[POWERPC] Native cell support for MPIC in southbridge
[linux-2.6] / arch / powerpc / 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 PPC64
8         bool "64-bit kernel"
9         default n
10         help
11           This option selects whether a 32-bit or a 64-bit kernel
12           will be built.
13
14 config PPC32
15         bool
16         default y if !PPC64
17
18 config 64BIT
19         bool
20         default y if PPC64
21
22 config PPC_MERGE
23         def_bool y
24
25 config MMU
26         bool
27         default y
28
29 config GENERIC_HARDIRQS
30         bool
31         default y
32
33 config IRQ_PER_CPU
34         bool
35         default y
36
37 config RWSEM_GENERIC_SPINLOCK
38         bool
39
40 config RWSEM_XCHGADD_ALGORITHM
41         bool
42         default y
43
44 config GENERIC_HWEIGHT
45         bool
46         default y
47
48 config GENERIC_CALIBRATE_DELAY
49         bool
50         default y
51
52 config GENERIC_FIND_NEXT_BIT
53         bool
54         default y
55
56 config PPC
57         bool
58         default y
59
60 config EARLY_PRINTK
61         bool
62         default y
63
64 config COMPAT
65         bool
66         default y if PPC64
67
68 config SYSVIPC_COMPAT
69         bool
70         depends on COMPAT && SYSVIPC
71         default y
72
73 # All PPC32s use generic nvram driver through ppc_md
74 config GENERIC_NVRAM
75         bool
76         default y if PPC32
77
78 config SCHED_NO_NO_OMIT_FRAME_POINTER
79         bool
80         default y
81
82 config ARCH_MAY_HAVE_PC_FDC
83         bool
84         default y
85
86 config PPC_OF
87         def_bool y
88
89 config PPC_UDBG_16550
90         bool
91         default n
92
93 config GENERIC_TBSYNC
94         bool
95         default y if PPC32 && SMP
96         default n
97
98 config AUDIT_ARCH
99         bool
100         default y
101
102 config DEFAULT_UIMAGE
103         bool
104         help
105           Used to allow a board to specify it wants a uImage built by default
106         default n
107
108 menu "Processor support"
109 choice
110         prompt "Processor Type"
111         depends on PPC32
112         default 6xx
113
114 config CLASSIC32
115         bool "6xx/7xx/74xx"
116         select PPC_FPU
117         select 6xx
118         help
119           There are four families of PowerPC chips supported.  The more common
120           types (601, 603, 604, 740, 750, 7400), the Motorola embedded
121           versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
122           embedded versions (403 and 405) and the high end 64 bit Power
123           processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
124           
125           Unless you are building a kernel for one of the embedded processor
126           systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx.
127           Note that the kernel runs in 32-bit mode even on 64-bit chips.
128
129 config PPC_52xx
130         bool "Freescale 52xx"
131         select 6xx
132         select PPC_FPU
133         
134 config PPC_82xx
135         bool "Freescale 82xx"
136         select 6xx
137         select PPC_FPU
138
139 config PPC_83xx
140         bool "Freescale 83xx"
141         select 6xx
142         select FSL_SOC
143         select 83xx
144         select PPC_FPU
145
146 config PPC_85xx
147         bool "Freescale 85xx"
148         select E500
149         select FSL_SOC
150         select 85xx
151
152 config PPC_86xx
153         bool "Freescale 86xx"
154         select 6xx
155         select FSL_SOC
156         select PPC_FPU
157         select ALTIVEC
158         help
159           The Freescale E600 SoCs have 74xx cores.
160
161 config 40x
162         bool "AMCC 40x"
163         select PPC_DCR_NATIVE
164
165 config 44x
166         bool "AMCC 44x"
167         select PPC_DCR_NATIVE
168
169 config 8xx
170         bool "Freescale 8xx"
171
172 config E200
173         bool "Freescale e200"
174
175 endchoice
176
177 config POWER4_ONLY
178         bool "Optimize for POWER4"
179         depends on PPC64
180         default n
181         ---help---
182           Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
183           The resulting binary will not work on POWER3 or RS64 processors
184           when compiled with binutils 2.15 or later.
185
186 config POWER3
187         bool
188         depends on PPC64
189         default y if !POWER4_ONLY
190
191 config POWER4
192         depends on PPC64
193         def_bool y
194
195 config 6xx
196         bool
197
198 # this is temp to handle compat with arch=ppc
199 config 83xx
200         bool
201
202 # this is temp to handle compat with arch=ppc
203 config 85xx
204         bool
205
206 config E500
207         bool
208
209 config PPC_FPU
210         bool
211         default y if PPC64
212
213 config PPC_DCR_NATIVE
214         bool
215         default n
216
217 config PPC_DCR_MMIO
218         bool
219         default n
220
221 config PPC_DCR
222         bool
223         depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
224         default y
225
226 config BOOKE
227         bool
228         depends on E200 || E500
229         default y
230
231 config FSL_BOOKE
232         bool
233         depends on E200 || E500
234         default y
235
236 config PTE_64BIT
237         bool
238         depends on 44x || E500
239         default y if 44x
240         default y if E500 && PHYS_64BIT
241
242 config PHYS_64BIT
243         bool 'Large physical address support' if E500
244         depends on 44x || E500
245         default y if 44x
246         ---help---
247           This option enables kernel support for larger than 32-bit physical
248           addresses.  This features is not be available on all e500 cores.
249
250           If in doubt, say N here.
251
252 config ALTIVEC
253         bool "AltiVec Support"
254         depends on CLASSIC32 || POWER4
255         ---help---
256           This option enables kernel support for the Altivec extensions to the
257           PowerPC processor. The kernel currently supports saving and restoring
258           altivec registers, and turning on the 'altivec enable' bit so user
259           processes can execute altivec instructions.
260
261           This option is only usefully if you have a processor that supports
262           altivec (G4, otherwise known as 74xx series), but does not have
263           any affect on a non-altivec cpu (it does, however add code to the
264           kernel).
265
266           If in doubt, say Y here.
267
268 config SPE
269         bool "SPE Support"
270         depends on E200 || E500
271         default y
272         ---help---
273           This option enables kernel support for the Signal Processing
274           Extensions (SPE) to the PowerPC processor. The kernel currently
275           supports saving and restoring SPE registers, and turning on the
276           'spe enable' bit so user processes can execute SPE instructions.
277
278           This option is only useful if you have a processor that supports
279           SPE (e500, otherwise known as 85xx series), but does not have any
280           effect on a non-spe cpu (it does, however add code to the kernel).
281
282           If in doubt, say Y here.
283
284 config PPC_STD_MMU
285         bool
286         depends on 6xx || POWER3 || POWER4 || PPC64
287         default y
288
289 config PPC_STD_MMU_32
290         def_bool y
291         depends on PPC_STD_MMU && PPC32
292
293 config VIRT_CPU_ACCOUNTING
294         bool "Deterministic task and CPU time accounting"
295         depends on PPC64
296         default y
297         help
298           Select this option to enable more accurate task and CPU time
299           accounting.  This is done by reading a CPU counter on each
300           kernel entry and exit and on transitions within the kernel
301           between system, softirq and hardirq state, so there is a
302           small performance impact.  This also enables accounting of
303           stolen time on logically-partitioned systems running on
304           IBM POWER5-based machines.
305
306           If in doubt, say Y here.
307
308 config SMP
309         depends on PPC_STD_MMU
310         bool "Symmetric multi-processing support"
311         ---help---
312           This enables support for systems with more than one CPU. If you have
313           a system with only one CPU, say N. If you have a system with more
314           than one CPU, say Y.  Note that the kernel does not currently
315           support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
316           since they have inadequate hardware support for multiprocessor
317           operation.
318
319           If you say N here, the kernel will run on single and multiprocessor
320           machines, but will use only one CPU of a multiprocessor machine. If
321           you say Y here, the kernel will run on single-processor machines.
322           On a single-processor machine, the kernel will run faster if you say
323           N here.
324
325           If you don't know what to do here, say N.
326
327 config NR_CPUS
328         int "Maximum number of CPUs (2-128)"
329         range 2 128
330         depends on SMP
331         default "32" if PPC64
332         default "4"
333
334 config NOT_COHERENT_CACHE
335         bool
336         depends on 4xx || 8xx || E200
337         default y
338 endmenu
339
340 source "init/Kconfig"
341
342 menu "Platform support"
343         depends on PPC64 || CLASSIC32
344
345 choice
346         prompt "Machine type"
347         default PPC_MULTIPLATFORM
348
349 config PPC_MULTIPLATFORM
350         bool "Generic desktop/server/laptop"
351         help
352           Select this option if configuring for an IBM pSeries or
353           RS/6000 machine, an Apple machine, or a PReP, CHRP,
354           Maple or Cell-based machine.
355
356 config EMBEDDED6xx
357         bool "Embedded 6xx/7xx/7xxx-based board"
358         depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
359
360 config APUS
361         bool "Amiga-APUS"
362         depends on PPC32 && BROKEN
363         help
364           Select APUS if configuring for a PowerUP Amiga.
365           More information is available at:
366           <http://linux-apus.sourceforge.net/>.
367 endchoice
368
369 config QUICC_ENGINE
370         bool
371         depends on PPC_MPC836x || PPC_MPC832x
372         default y
373         help
374           The QUICC Engine (QE) is a new generation of communications
375           coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
376           Selecting this option means that you wish to build a kernel
377           for a machine with a QE coprocessor.
378
379 config PPC_PSERIES
380         depends on PPC_MULTIPLATFORM && PPC64
381         bool "IBM pSeries & new (POWER5-based) iSeries"
382         select MPIC
383         select PPC_I8259
384         select PPC_RTAS
385         select RTAS_ERROR_LOGGING
386         select PPC_UDBG_16550
387         default y
388
389 config PPC_ISERIES
390         bool "IBM Legacy iSeries"
391         depends on PPC_MULTIPLATFORM && PPC64
392
393 config PPC_CHRP
394         bool "Common Hardware Reference Platform (CHRP) based machines"
395         depends on PPC_MULTIPLATFORM && PPC32
396         select MPIC
397         select PPC_I8259
398         select PPC_INDIRECT_PCI
399         select PPC_RTAS
400         select PPC_MPC106
401         select PPC_UDBG_16550
402         default y
403
404 config PPC_EFIKA
405         bool "bPlan Efika 5k2. MPC5200B based computer"
406         depends on PPC_MULTIPLATFORM && PPC32
407         select PPC_RTAS
408         select RTAS_PROC
409         select PPC_MPC52xx
410         default y
411
412 config PPC_PMAC
413         bool "Apple PowerMac based machines"
414         depends on PPC_MULTIPLATFORM
415         select MPIC
416         select PPC_INDIRECT_PCI if PPC32
417         select PPC_MPC106 if PPC32
418         default y
419
420 config PPC_PMAC64
421         bool
422         depends on PPC_PMAC && POWER4
423         select MPIC
424         select U3_DART
425         select MPIC_BROKEN_U3
426         select GENERIC_TBSYNC
427         select PPC_970_NAP
428         default y
429
430 config PPC_PREP
431         bool "PowerPC Reference Platform (PReP) based machines"
432         depends on PPC_MULTIPLATFORM && PPC32 && BROKEN
433         select MPIC
434         select PPC_I8259
435         select PPC_INDIRECT_PCI
436         select PPC_UDBG_16550
437         default y
438
439 config PPC_MAPLE
440         depends on PPC_MULTIPLATFORM && PPC64
441         bool "Maple 970FX Evaluation Board"
442         select MPIC
443         select U3_DART
444         select MPIC_BROKEN_U3
445         select GENERIC_TBSYNC
446         select PPC_UDBG_16550
447         select PPC_970_NAP
448         default n
449         help
450           This option enables support for the Maple 970FX Evaluation Board.
451           For more information, refer to <http://www.970eval.com>
452
453 config PPC_PASEMI
454         depends on PPC_MULTIPLATFORM && PPC64
455         bool "PA Semi SoC-based platforms"
456         default n
457         select MPIC
458         select PPC_UDBG_16550
459         select GENERIC_TBSYNC
460         help
461           This option enables support for PA Semi's PWRficient line
462           of SoC processors, including PA6T-1682M
463
464 config PPC_CELL
465         bool
466         default n
467
468 config PPC_CELL_NATIVE
469         bool
470         select PPC_CELL
471         select PPC_DCR_MMIO
472         select MPIC
473         default n
474
475 config PPC_IBM_CELL_BLADE
476         bool "IBM Cell Blade"
477         depends on PPC_MULTIPLATFORM && PPC64
478         select PPC_CELL_NATIVE
479         select PPC_RTAS
480         select MMIO_NVRAM
481         select PPC_UDBG_16550
482         select UDBG_RTAS_CONSOLE
483
484 config UDBG_RTAS_CONSOLE
485         bool "RTAS based debug console"
486         depends on PPC_RTAS
487         default n
488
489 config XICS
490         depends on PPC_PSERIES
491         bool
492         default y
493
494 config U3_DART
495         bool 
496         depends on PPC_MULTIPLATFORM && PPC64
497         default n
498
499 config PPC_RTAS
500         bool
501         default n
502
503 config RTAS_ERROR_LOGGING
504         bool
505         depends on PPC_RTAS
506         default n
507
508 config RTAS_PROC
509         bool "Proc interface to RTAS"
510         depends on PPC_RTAS
511         default y
512
513 config RTAS_FLASH
514         tristate "Firmware flash interface"
515         depends on PPC64 && RTAS_PROC
516
517 config MMIO_NVRAM
518         bool
519         default n
520
521 config MPIC_BROKEN_U3
522         bool
523         depends on PPC_MAPLE
524         default y
525
526 config IBMVIO
527         depends on PPC_PSERIES || PPC_ISERIES
528         bool
529         default y
530
531 config IBMEBUS
532         depends on PPC_PSERIES
533         bool "Support for GX bus based adapters"
534         help
535           Bus device driver for GX bus based adapters.
536
537 config PPC_MPC106
538         bool
539         default n
540
541 config PPC_970_NAP
542         bool
543         default n
544
545 source "drivers/cpufreq/Kconfig"
546
547 config CPU_FREQ_PMAC
548         bool "Support for Apple PowerBooks"
549         depends on CPU_FREQ && ADB_PMU && PPC32
550         select CPU_FREQ_TABLE
551         help
552           This adds support for frequency switching on Apple PowerBooks,
553           this currently includes some models of iBook & Titanium
554           PowerBook.
555
556 config CPU_FREQ_PMAC64
557         bool "Support for some Apple G5s"
558         depends on CPU_FREQ && PPC64
559         select CPU_FREQ_TABLE
560         help
561           This adds support for frequency switching on Apple iMac G5,
562           and some of the more recent desktop G5 machines as well.
563
564 config PPC601_SYNC_FIX
565         bool "Workarounds for PPC601 bugs"
566         depends on 6xx && (PPC_PREP || PPC_PMAC)
567         help
568           Some versions of the PPC601 (the first PowerPC chip) have bugs which
569           mean that extra synchronization instructions are required near
570           certain instructions, typically those that make major changes to the
571           CPU state.  These extra instructions reduce performance slightly.
572           If you say N here, these extra instructions will not be included,
573           resulting in a kernel which will run faster but may not run at all
574           on some systems with the PPC601 chip.
575
576           If in doubt, say Y here.
577
578 config TAU
579         bool "On-chip CPU temperature sensor support"
580         depends on 6xx
581         help
582           G3 and G4 processors have an on-chip temperature sensor called the
583           'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
584           temperature within 2-4 degrees Celsius. This option shows the current
585           on-die temperature in /proc/cpuinfo if the cpu supports it.
586
587           Unfortunately, on some chip revisions, this sensor is very inaccurate
588           and in many cases, does not work at all, so don't assume the cpu
589           temp is actually what /proc/cpuinfo says it is.
590
591 config TAU_INT
592         bool "Interrupt driven TAU driver (DANGEROUS)"
593         depends on TAU
594         ---help---
595           The TAU supports an interrupt driven mode which causes an interrupt
596           whenever the temperature goes out of range. This is the fastest way
597           to get notified the temp has exceeded a range. With this option off,
598           a timer is used to re-check the temperature periodically.
599
600           However, on some cpus it appears that the TAU interrupt hardware
601           is buggy and can cause a situation which would lead unexplained hard
602           lockups.
603
604           Unless you are extending the TAU driver, or enjoy kernel/hardware
605           debugging, leave this option off.
606
607 config TAU_AVERAGE
608         bool "Average high and low temp"
609         depends on TAU
610         ---help---
611           The TAU hardware can compare the temperature to an upper and lower
612           bound.  The default behavior is to show both the upper and lower
613           bound in /proc/cpuinfo. If the range is large, the temperature is
614           either changing a lot, or the TAU hardware is broken (likely on some
615           G4's). If the range is small (around 4 degrees), the temperature is
616           relatively stable.  If you say Y here, a single temperature value,
617           halfway between the upper and lower bounds, will be reported in
618           /proc/cpuinfo.
619
620           If in doubt, say N here.
621
622 endmenu
623
624 source arch/powerpc/platforms/embedded6xx/Kconfig
625 source arch/powerpc/platforms/4xx/Kconfig
626 source arch/powerpc/platforms/82xx/Kconfig
627 source arch/powerpc/platforms/83xx/Kconfig
628 source arch/powerpc/platforms/85xx/Kconfig
629 source arch/powerpc/platforms/86xx/Kconfig
630 source arch/powerpc/platforms/8xx/Kconfig
631 source arch/powerpc/platforms/cell/Kconfig
632
633 menu "Kernel options"
634
635 config HIGHMEM
636         bool "High memory support"
637         depends on PPC32
638
639 source kernel/Kconfig.hz
640 source kernel/Kconfig.preempt
641 source "fs/Kconfig.binfmt"
642
643 # We optimistically allocate largepages from the VM, so make the limit
644 # large enough (16MB). This badly named config option is actually
645 # max order + 1
646 config FORCE_MAX_ZONEORDER
647         int
648         depends on PPC64
649         default "9" if PPC_64K_PAGES
650         default "13"
651
652 config MATH_EMULATION
653         bool "Math emulation"
654         depends on 4xx || 8xx || E200 || E500
655         ---help---
656           Some PowerPC chips designed for embedded applications do not have
657           a floating-point unit and therefore do not implement the
658           floating-point instructions in the PowerPC instruction set.  If you
659           say Y here, the kernel will include code to emulate a floating-point
660           unit, which will allow programs that use floating-point
661           instructions to run.
662
663 config IOMMU_VMERGE
664         bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
665         depends on EXPERIMENTAL && PPC64
666         default n
667         help
668           Cause IO segments sent to a device for DMA to be merged virtually
669           by the IOMMU when they happen to have been allocated contiguously.
670           This doesn't add pressure to the IOMMU allocator. However, some
671           drivers don't support getting large merged segments coming back
672           from *_map_sg(). Say Y if you know the drivers you are using are
673           properly handling this case.
674
675 config HOTPLUG_CPU
676         bool "Support for enabling/disabling CPUs"
677         depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
678         ---help---
679           Say Y here to be able to disable and re-enable individual
680           CPUs at runtime on SMP machines.
681
682           Say N if you are unsure.
683
684 config ARCH_ENABLE_MEMORY_HOTPLUG
685         def_bool y
686
687 config KEXEC
688         bool "kexec system call (EXPERIMENTAL)"
689         depends on PPC_MULTIPLATFORM && EXPERIMENTAL
690         help
691           kexec is a system call that implements the ability to shutdown your
692           current kernel, and to start another kernel.  It is like a reboot
693           but it is independent of the system firmware.   And like a reboot
694           you can start any kernel with it, not just Linux.
695
696           The name comes from the similarity to the exec system call.
697
698           It is an ongoing process to be certain the hardware in a machine
699           is properly shutdown, so do not be surprised if this code does not
700           initially work for you.  It may help to enable device hotplugging
701           support.  As of this writing the exact hardware interface is
702           strongly in flux, so no good recommendation can be made.
703
704 config CRASH_DUMP
705         bool "Build a kdump crash kernel (EXPERIMENTAL)"
706         depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
707         help
708           Build a kernel suitable for use as a kdump capture kernel.
709           The kernel will be linked at a different address than normal, and
710           so can only be used for Kdump.
711
712           Don't change this unless you know what you are doing.
713
714 config EMBEDDEDBOOT
715         bool
716         depends on 8xx || 8260
717         default y
718
719 config PC_KEYBOARD
720         bool "PC PS/2 style Keyboard"
721         depends on 4xx || CPM2
722
723 config PPCBUG_NVRAM
724         bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
725         default y if PPC_PREP
726
727 config IRQ_ALL_CPUS
728         bool "Distribute interrupts on all CPUs by default"
729         depends on SMP && !MV64360
730         help
731           This option gives the kernel permission to distribute IRQs across
732           multiple CPUs.  Saying N here will route all IRQs to the first
733           CPU.  Generally saying Y is safe, although some problems have been
734           reported with SMP Power Macintoshes with this option enabled.
735
736 source "arch/powerpc/platforms/pseries/Kconfig"
737
738 config NUMA
739         bool "NUMA support"
740         depends on PPC64
741         default y if SMP && PPC_PSERIES
742
743 config NODES_SHIFT
744         int
745         default "4"
746         depends on NEED_MULTIPLE_NODES
747
748 config ARCH_SELECT_MEMORY_MODEL
749         def_bool y
750         depends on PPC64
751
752 config ARCH_FLATMEM_ENABLE
753         def_bool y
754         depends on (PPC64 && !NUMA) || PPC32
755
756 config ARCH_SPARSEMEM_ENABLE
757         def_bool y
758         depends on PPC64
759
760 config ARCH_SPARSEMEM_DEFAULT
761         def_bool y
762         depends on (SMP && PPC_PSERIES) || PPC_CELL
763
764 config ARCH_POPULATES_NODE_MAP
765         def_bool y
766
767 source "mm/Kconfig"
768
769 config ARCH_MEMORY_PROBE
770         def_bool y
771         depends on MEMORY_HOTPLUG
772
773 # Some NUMA nodes have memory ranges that span
774 # other nodes.  Even though a pfn is valid and
775 # between a node's start and end pfns, it may not
776 # reside on that node.  See memmap_init_zone()
777 # for details.
778 config NODES_SPAN_OTHER_NODES
779         def_bool y
780         depends on NEED_MULTIPLE_NODES
781
782 config PPC_64K_PAGES
783         bool "64k page size"
784         depends on PPC64
785         help
786           This option changes the kernel logical page size to 64k. On machines
787           without processor support for 64k pages, the kernel will simulate
788           them by loading each individual 4k page on demand transparently,
789           while on hardware with such support, it will be used to map
790           normal application pages.
791
792 config SCHED_SMT
793         bool "SMT (Hyperthreading) scheduler support"
794         depends on PPC64 && SMP
795         help
796           SMT scheduler support improves the CPU scheduler's decision making
797           when dealing with POWER5 cpus at a cost of slightly increased
798           overhead in some places. If unsure say N here.
799
800 config PROC_DEVICETREE
801         bool "Support for device tree in /proc"
802         depends on PROC_FS
803         help
804           This option adds a device-tree directory under /proc which contains
805           an image of the device tree that the kernel copies from Open
806           Firmware or other boot firmware. If unsure, say Y here.
807
808 source "arch/powerpc/platforms/prep/Kconfig"
809
810 config CMDLINE_BOOL
811         bool "Default bootloader kernel arguments"
812         depends on !PPC_ISERIES
813
814 config CMDLINE
815         string "Initial kernel command string"
816         depends on CMDLINE_BOOL
817         default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
818         help
819           On some platforms, there is currently no way for the boot loader to
820           pass arguments to the kernel. For these platforms, you can supply
821           some command-line options at build time by entering them here.  In
822           most cases you will need to specify the root device here.
823
824 if !44x || BROKEN
825 source kernel/power/Kconfig
826 endif
827
828 config SECCOMP
829         bool "Enable seccomp to safely compute untrusted bytecode"
830         depends on PROC_FS
831         default y
832         help
833           This kernel feature is useful for number crunching applications
834           that may need to compute untrusted bytecode during their
835           execution. By using pipes or other transports made available to
836           the process as file descriptors supporting the read/write
837           syscalls, it's possible to isolate those applications in
838           their own address space using seccomp. Once seccomp is
839           enabled via /proc/<pid>/seccomp, it cannot be disabled
840           and the task is only allowed to execute a few safe syscalls
841           defined by each seccomp mode.
842
843           If unsure, say Y. Only embedded should say N here.
844
845 endmenu
846
847 config ISA_DMA_API
848         bool
849         default y
850
851 menu "Bus options"
852
853 config ISA
854         bool "Support for ISA-bus hardware"
855         depends on PPC_PREP || PPC_CHRP
856         select PPC_I8259
857         help
858           Find out whether you have ISA slots on your motherboard.  ISA is the
859           name of a bus system, i.e. the way the CPU talks to the other stuff
860           inside your box.  If you have an Apple machine, say N here; if you
861           have an IBM RS/6000 or pSeries machine or a PReP machine, say Y.  If
862           you have an embedded board, consult your board documentation.
863
864 config GENERIC_ISA_DMA
865         bool
866         depends on PPC64 || POWER4 || 6xx && !CPM2
867         default y
868
869 config MPIC
870         bool
871         default n
872
873 config MPIC_WEIRD
874         bool
875         default n
876
877 config PPC_I8259
878         bool
879         default n
880
881 config PPC_INDIRECT_PCI
882         bool
883         depends on PCI
884         default y if 40x || 44x
885         default n
886
887 config EISA
888         bool
889
890 config SBUS
891         bool
892
893 config FSL_SOC
894         bool
895
896 # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
897 config MCA
898         bool
899
900 config PCI
901         bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
902                 || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES) || MPC7448HPC2
903         default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \
904                 && !PPC_85xx && !PPC_86xx
905         default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
906         default PCI_QSPAN if !4xx && !CPM2 && 8xx
907         help
908           Find out whether your system includes a PCI bus. PCI is the name of
909           a bus system, i.e. the way the CPU talks to the other stuff inside
910           your box.  If you say Y here, the kernel will include drivers and
911           infrastructure code to support PCI bus devices.
912
913 config PCI_DOMAINS
914         bool
915         default PCI
916
917 config PCI_QSPAN
918         bool "QSpan PCI"
919         depends on !4xx && !CPM2 && 8xx
920         select PPC_I8259
921         help
922           Say Y here if you have a system based on a Motorola 8xx-series
923           embedded processor with a QSPAN PCI interface, otherwise say N.
924
925 config PCI_8260
926         bool
927         depends on PCI && 8260
928         select PPC_INDIRECT_PCI
929         default y
930
931 config 8260_PCI9
932         bool "Enable workaround for MPC826x erratum PCI 9"
933         depends on PCI_8260 && !ADS8272
934         default y
935
936 choice
937         prompt "IDMA channel for PCI 9 workaround"
938         depends on 8260_PCI9
939
940 config 8260_PCI9_IDMA1
941         bool "IDMA1"
942
943 config 8260_PCI9_IDMA2
944         bool "IDMA2"
945
946 config 8260_PCI9_IDMA3
947         bool "IDMA3"
948
949 config 8260_PCI9_IDMA4
950         bool "IDMA4"
951
952 endchoice
953
954 source "drivers/pci/pcie/Kconfig"
955
956 source "drivers/pci/Kconfig"
957
958 source "drivers/pcmcia/Kconfig"
959
960 source "drivers/pci/hotplug/Kconfig"
961
962 endmenu
963
964 menu "Advanced setup"
965         depends on PPC32
966
967 config ADVANCED_OPTIONS
968         bool "Prompt for advanced kernel configuration options"
969         help
970           This option will enable prompting for a variety of advanced kernel
971           configuration options.  These options can cause the kernel to not
972           work if they are set incorrectly, but can be used to optimize certain
973           aspects of kernel memory management.
974
975           Unless you know what you are doing, say N here.
976
977 comment "Default settings for advanced configuration options are used"
978         depends on !ADVANCED_OPTIONS
979
980 config HIGHMEM_START_BOOL
981         bool "Set high memory pool address"
982         depends on ADVANCED_OPTIONS && HIGHMEM
983         help
984           This option allows you to set the base address of the kernel virtual
985           area used to map high memory pages.  This can be useful in
986           optimizing the layout of kernel virtual memory.
987
988           Say N here unless you know what you are doing.
989
990 config HIGHMEM_START
991         hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
992         default "0xfe000000"
993
994 config LOWMEM_SIZE_BOOL
995         bool "Set maximum low memory"
996         depends on ADVANCED_OPTIONS
997         help
998           This option allows you to set the maximum amount of memory which
999           will be used as "low memory", that is, memory which the kernel can
1000           access directly, without having to set up a kernel virtual mapping.
1001           This can be useful in optimizing the layout of kernel virtual
1002           memory.
1003
1004           Say N here unless you know what you are doing.
1005
1006 config LOWMEM_SIZE
1007         hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
1008         default "0x30000000"
1009
1010 config KERNEL_START_BOOL
1011         bool "Set custom kernel base address"
1012         depends on ADVANCED_OPTIONS
1013         help
1014           This option allows you to set the kernel virtual address at which
1015           the kernel will map low memory (the kernel image will be linked at
1016           this address).  This can be useful in optimizing the virtual memory
1017           layout of the system.
1018
1019           Say N here unless you know what you are doing.
1020
1021 config KERNEL_START
1022         hex "Virtual address of kernel base" if KERNEL_START_BOOL
1023         default "0xc0000000"
1024
1025 config TASK_SIZE_BOOL
1026         bool "Set custom user task size"
1027         depends on ADVANCED_OPTIONS
1028         help
1029           This option allows you to set the amount of virtual address space
1030           allocated to user tasks.  This can be useful in optimizing the
1031           virtual memory layout of the system.
1032
1033           Say N here unless you know what you are doing.
1034
1035 config TASK_SIZE
1036         hex "Size of user task space" if TASK_SIZE_BOOL
1037         default "0x80000000"
1038
1039 config CONSISTENT_START_BOOL
1040         bool "Set custom consistent memory pool address"
1041         depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1042         help
1043           This option allows you to set the base virtual address
1044           of the consistent memory pool.  This pool of virtual
1045           memory is used to make consistent memory allocations.
1046
1047 config CONSISTENT_START
1048         hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
1049         default "0xff100000" if NOT_COHERENT_CACHE
1050
1051 config CONSISTENT_SIZE_BOOL
1052         bool "Set custom consistent memory pool size"
1053         depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
1054         help
1055           This option allows you to set the size of the
1056           consistent memory pool.  This pool of virtual memory
1057           is used to make consistent memory allocations.
1058
1059 config CONSISTENT_SIZE
1060         hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
1061         default "0x00200000" if NOT_COHERENT_CACHE
1062
1063 config BOOT_LOAD_BOOL
1064         bool "Set the boot link/load address"
1065         depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
1066         help
1067           This option allows you to set the initial load address of the zImage
1068           or zImage.initrd file.  This can be useful if you are on a board
1069           which has a small amount of memory.
1070
1071           Say N here unless you know what you are doing.
1072
1073 config BOOT_LOAD
1074         hex "Link/load address for booting" if BOOT_LOAD_BOOL
1075         default "0x00400000" if 40x || 8xx || 8260
1076         default "0x01000000" if 44x
1077         default "0x00800000"
1078
1079 config PIN_TLB
1080         bool "Pinned Kernel TLBs (860 ONLY)"
1081         depends on ADVANCED_OPTIONS && 8xx
1082 endmenu
1083
1084 if PPC64
1085 config KERNEL_START
1086         hex
1087         default "0xc000000000000000"
1088 endif
1089
1090 source "net/Kconfig"
1091
1092 source "drivers/Kconfig"
1093
1094 source "fs/Kconfig"
1095
1096 # XXX source "arch/ppc/8xx_io/Kconfig"
1097
1098 # XXX source "arch/ppc/8260_io/Kconfig"
1099
1100 source "arch/powerpc/sysdev/qe_lib/Kconfig"
1101
1102 source "arch/powerpc/platforms/iseries/Kconfig"
1103
1104 source "lib/Kconfig"
1105
1106 menu "Instrumentation Support"
1107         depends on EXPERIMENTAL
1108
1109 source "arch/powerpc/oprofile/Kconfig"
1110
1111 config KPROBES
1112         bool "Kprobes (EXPERIMENTAL)"
1113         depends on PPC64 && KALLSYMS && EXPERIMENTAL && MODULES
1114         help
1115           Kprobes allows you to trap at almost any kernel address and
1116           execute a callback function.  register_kprobe() establishes
1117           a probepoint and specifies the callback.  Kprobes is useful
1118           for kernel debugging, non-intrusive instrumentation and testing.
1119           If in doubt, say "N".
1120 endmenu
1121
1122 source "arch/powerpc/Kconfig.debug"
1123
1124 source "security/Kconfig"
1125
1126 config KEYS_COMPAT
1127         bool
1128         depends on COMPAT && KEYS
1129         default y
1130
1131 source "crypto/Kconfig"