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