[POWERPC] pasemi: GPIO MDIO of_platform driver
[linux-2.6-block.git] / arch / powerpc / Kconfig
CommitLineData
14cf11af
PM
1# For a description of the syntax of this configuration file,
2# see Documentation/kbuild/kconfig-language.txt.
3#
4
5mainmenu "Linux/PowerPC Kernel Configuration"
6
7config 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
17e638bc
JB
14config PPC_PM_NEEDS_RTC_LIB
15 bool
16 select RTC_LIB
17 default y if PM
18
14cf11af
PM
19config PPC32
20 bool
21 default y if !PPC64
22
23config 64BIT
24 bool
25 default y if PPC64
26
27config PPC_MERGE
28 def_bool y
29
30config MMU
31 bool
32 default y
33
14cf11af
PM
34config GENERIC_HARDIRQS
35 bool
36 default y
37
0d7012a9
IM
38config IRQ_PER_CPU
39 bool
40 default y
41
14cf11af
PM
42config RWSEM_GENERIC_SPINLOCK
43 bool
44
45config RWSEM_XCHGADD_ALGORITHM
46 bool
47 default y
48
f0d1b0b3
DH
49config ARCH_HAS_ILOG2_U32
50 bool
ef55d53c 51 default y
f0d1b0b3
DH
52
53config ARCH_HAS_ILOG2_U64
54 bool
ef55d53c 55 default y if 64BIT
f0d1b0b3 56
e779b2f9
AM
57config GENERIC_HWEIGHT
58 bool
59 default y
60
14cf11af
PM
61config GENERIC_CALIBRATE_DELAY
62 bool
63 default y
64
0a9cb46a
JM
65config GENERIC_FIND_NEXT_BIT
66 bool
67 default y
68
14cf11af
PM
69config PPC
70 bool
71 default y
72
73config EARLY_PRINTK
74 bool
51d3082f 75 default y
14cf11af
PM
76
77config COMPAT
78 bool
79 default y if PPC64
80
81config SYSVIPC_COMPAT
82 bool
83 depends on COMPAT && SYSVIPC
84 default y
85
86# All PPC32s use generic nvram driver through ppc_md
87config GENERIC_NVRAM
88 bool
89 default y if PPC32
90
91config SCHED_NO_NO_OMIT_FRAME_POINTER
92 bool
93 default y
94
95config ARCH_MAY_HAVE_PC_FDC
96 bool
bed59275 97 default !PPC_PSERIES || PCI
14cf11af 98
08264cbc
KG
99config PPC_OF
100 def_bool y
101
102config PPC_UDBG_16550
103 bool
104 default n
105
08264cbc
KG
106config GENERIC_TBSYNC
107 bool
108 default y if PPC32 && SMP
109 default n
110
e65e1fc2
AV
111config AUDIT_ARCH
112 bool
113 default y
114
73c9ceab
JF
115config GENERIC_BUG
116 bool
117 default y
118 depends on BUG
119
f4fc4a5b
KG
120config DEFAULT_UIMAGE
121 bool
122 help
123 Used to allow a board to specify it wants a uImage built by default
124 default n
125
14cf11af
PM
126menu "Processor support"
127choice
128 prompt "Processor Type"
129 depends on PPC32
130 default 6xx
131
08264cbc 132config CLASSIC32
650f3289 133 bool "52xx/6xx/7xx/74xx"
14cf11af 134 select PPC_FPU
08264cbc 135 select 6xx
14cf11af
PM
136 help
137 There are four families of PowerPC chips supported. The more common
138 types (601, 603, 604, 740, 750, 7400), the Motorola embedded
139 versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
140 embedded versions (403 and 405) and the high end 64 bit Power
141 processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
650f3289
GL
142
143 This option is the catch-all for 6xx types, including some of the
144 embedded versions. Unless there is see an option for the specific
145 chip family you are using, you want this option.
146
147 You do not want this if you are building a kernel for a 64 bit
148 IBM RS/6000 or an Apple G5, choose 6xx.
149
150 If unsure, select this option
14cf11af 151
14cf11af
PM
152 Note that the kernel runs in 32-bit mode even on 64-bit chips.
153
14cf11af
PM
154config PPC_82xx
155 bool "Freescale 82xx"
08264cbc
KG
156 select 6xx
157 select PPC_FPU
14cf11af
PM
158
159config PPC_83xx
160 bool "Freescale 83xx"
08264cbc
KG
161 select 6xx
162 select FSL_SOC
163 select 83xx
164 select PPC_FPU
14cf11af 165
63dafe57
BB
166config PPC_85xx
167 bool "Freescale 85xx"
168 select E500
169 select FSL_SOC
170 select 85xx
171
c9b484b5
JL
172config PPC_86xx
173 bool "Freescale 86xx"
174 select 6xx
175 select FSL_SOC
3e4e97f4 176 select FSL_PCIE
c9b484b5
JL
177 select PPC_FPU
178 select ALTIVEC
179 help
180 The Freescale E600 SoCs have 74xx cores.
181
5902ebce
VB
182config PPC_8xx
183 bool "Freescale 8xx"
184 select FSL_SOC
185 select 8xx
186
14cf11af
PM
187config 40x
188 bool "AMCC 40x"
4c75a6f4 189 select PPC_DCR_NATIVE
14cf11af
PM
190
191config 44x
192 bool "AMCC 44x"
4c75a6f4 193 select PPC_DCR_NATIVE
14cf11af 194
14cf11af
PM
195config E200
196 bool "Freescale e200"
197
14cf11af
PM
198endchoice
199
200config POWER4_ONLY
201 bool "Optimize for POWER4"
187a0067 202 depends on PPC64
14cf11af
PM
203 default n
204 ---help---
205 Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
206 The resulting binary will not work on POWER3 or RS64 processors
207 when compiled with binutils 2.15 or later.
208
209config POWER3
210 bool
187a0067 211 depends on PPC64
14cf11af
PM
212 default y if !POWER4_ONLY
213
214config POWER4
187a0067 215 depends on PPC64
14cf11af
PM
216 def_bool y
217
08264cbc
KG
218config 6xx
219 bool
220
5902ebce
VB
221# this is temp to handle compat with arch=ppc
222config 8xx
223 bool
224
08264cbc
KG
225# this is temp to handle compat with arch=ppc
226config 83xx
227 bool
228
63dafe57
BB
229# this is temp to handle compat with arch=ppc
230config 85xx
231 bool
232
233config E500
234 bool
235
14cf11af 236config PPC_FPU
187a0067
PM
237 bool
238 default y if PPC64
14cf11af 239
4c75a6f4
BH
240config PPC_DCR_NATIVE
241 bool
242 default n
243
244config PPC_DCR_MMIO
245 bool
246 default n
247
248config PPC_DCR
249 bool
250 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
251 default y
252
4c9d2800
BH
253config PPC_OF_PLATFORM_PCI
254 bool
255 depends on PPC64 # not supported on 32 bits yet
256 default n
257
14cf11af
PM
258config BOOKE
259 bool
260 depends on E200 || E500
261 default y
262
263config FSL_BOOKE
264 bool
265 depends on E200 || E500
266 default y
267
268config PTE_64BIT
269 bool
270 depends on 44x || E500
271 default y if 44x
272 default y if E500 && PHYS_64BIT
273
274config PHYS_64BIT
275 bool 'Large physical address support' if E500
276 depends on 44x || E500
3d1ea8e8 277 select RESOURCES_64BIT
14cf11af
PM
278 default y if 44x
279 ---help---
280 This option enables kernel support for larger than 32-bit physical
281 addresses. This features is not be available on all e500 cores.
282
283 If in doubt, say N here.
284
285config ALTIVEC
286 bool "AltiVec Support"
08264cbc 287 depends on CLASSIC32 || POWER4
14cf11af
PM
288 ---help---
289 This option enables kernel support for the Altivec extensions to the
290 PowerPC processor. The kernel currently supports saving and restoring
291 altivec registers, and turning on the 'altivec enable' bit so user
292 processes can execute altivec instructions.
293
294 This option is only usefully if you have a processor that supports
295 altivec (G4, otherwise known as 74xx series), but does not have
296 any affect on a non-altivec cpu (it does, however add code to the
297 kernel).
298
299 If in doubt, say Y here.
300
301config SPE
302 bool "SPE Support"
303 depends on E200 || E500
63dafe57 304 default y
14cf11af
PM
305 ---help---
306 This option enables kernel support for the Signal Processing
307 Extensions (SPE) to the PowerPC processor. The kernel currently
308 supports saving and restoring SPE registers, and turning on the
309 'spe enable' bit so user processes can execute SPE instructions.
310
311 This option is only useful if you have a processor that supports
312 SPE (e500, otherwise known as 85xx series), but does not have any
313 effect on a non-spe cpu (it does, however add code to the kernel).
314
315 If in doubt, say Y here.
316
317config PPC_STD_MMU
318 bool
319 depends on 6xx || POWER3 || POWER4 || PPC64
320 default y
321
322config PPC_STD_MMU_32
323 def_bool y
324 depends on PPC_STD_MMU && PPC32
325
c6622f63
PM
326config VIRT_CPU_ACCOUNTING
327 bool "Deterministic task and CPU time accounting"
328 depends on PPC64
329 default y
330 help
331 Select this option to enable more accurate task and CPU time
332 accounting. This is done by reading a CPU counter on each
333 kernel entry and exit and on transitions within the kernel
334 between system, softirq and hardirq state, so there is a
335 small performance impact. This also enables accounting of
336 stolen time on logically-partitioned systems running on
337 IBM POWER5-based machines.
338
339 If in doubt, say Y here.
340
14cf11af
PM
341config SMP
342 depends on PPC_STD_MMU
343 bool "Symmetric multi-processing support"
344 ---help---
345 This enables support for systems with more than one CPU. If you have
346 a system with only one CPU, say N. If you have a system with more
347 than one CPU, say Y. Note that the kernel does not currently
348 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
349 since they have inadequate hardware support for multiprocessor
350 operation.
351
352 If you say N here, the kernel will run on single and multiprocessor
353 machines, but will use only one CPU of a multiprocessor machine. If
354 you say Y here, the kernel will run on single-processor machines.
355 On a single-processor machine, the kernel will run faster if you say
356 N here.
357
358 If you don't know what to do here, say N.
359
360config NR_CPUS
e8a167ac 361 int "Maximum number of CPUs (2-128)"
14cf11af
PM
362 range 2 128
363 depends on SMP
364 default "32" if PPC64
365 default "4"
366
367config NOT_COHERENT_CACHE
368 bool
369 depends on 4xx || 8xx || E200
370 default y
371endmenu
372
373source "init/Kconfig"
374
4330f5da 375source "arch/powerpc/platforms/Kconfig"
14cf11af 376
14cf11af
PM
377menu "Kernel options"
378
379config HIGHMEM
380 bool "High memory support"
381 depends on PPC32
382
383source kernel/Kconfig.hz
384source kernel/Kconfig.preempt
385source "fs/Kconfig.binfmt"
386
387# We optimistically allocate largepages from the VM, so make the limit
388# large enough (16MB). This badly named config option is actually
389# max order + 1
390config FORCE_MAX_ZONEORDER
391 int
392 depends on PPC64
02864867 393 default "9" if PPC_64K_PAGES
14cf11af
PM
394 default "13"
395
396config MATH_EMULATION
397 bool "Math emulation"
4d52719a 398 depends on 4xx || 8xx || E200 || PPC_MPC832x || E500
14cf11af
PM
399 ---help---
400 Some PowerPC chips designed for embedded applications do not have
401 a floating-point unit and therefore do not implement the
402 floating-point instructions in the PowerPC instruction set. If you
403 say Y here, the kernel will include code to emulate a floating-point
404 unit, which will allow programs that use floating-point
405 instructions to run.
406
407config IOMMU_VMERGE
408 bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
409 depends on EXPERIMENTAL && PPC64
410 default n
411 help
412 Cause IO segments sent to a device for DMA to be merged virtually
413 by the IOMMU when they happen to have been allocated contiguously.
414 This doesn't add pressure to the IOMMU allocator. However, some
415 drivers don't support getting large merged segments coming back
416 from *_map_sg(). Say Y if you know the drivers you are using are
417 properly handling this case.
418
419config HOTPLUG_CPU
420 bool "Support for enabling/disabling CPUs"
421 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
422 ---help---
423 Say Y here to be able to disable and re-enable individual
424 CPUs at runtime on SMP machines.
425
426 Say N if you are unsure.
427
cc57637b
YG
428config ARCH_ENABLE_MEMORY_HOTPLUG
429 def_bool y
430
14cf11af
PM
431config KEXEC
432 bool "kexec system call (EXPERIMENTAL)"
433 depends on PPC_MULTIPLATFORM && EXPERIMENTAL
434 help
435 kexec is a system call that implements the ability to shutdown your
436 current kernel, and to start another kernel. It is like a reboot
1f1332f7 437 but it is independent of the system firmware. And like a reboot
14cf11af
PM
438 you can start any kernel with it, not just Linux.
439
1f1332f7 440 The name comes from the similarity to the exec system call.
14cf11af
PM
441
442 It is an ongoing process to be certain the hardware in a machine
443 is properly shutdown, so do not be surprised if this code does not
444 initially work for you. It may help to enable device hotplugging
445 support. As of this writing the exact hardware interface is
446 strongly in flux, so no good recommendation can be made.
447
e8625d46 448config CRASH_DUMP
cd9c99d7 449 bool "Build a kdump crash kernel (EXPERIMENTAL)"
e8625d46
HM
450 depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
451 help
452 Build a kernel suitable for use as a kdump capture kernel.
453 The kernel will be linked at a different address than normal, and
454 so can only be used for Kdump.
455
456 Don't change this unless you know what you are doing.
457
14cf11af
PM
458config PPCBUG_NVRAM
459 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
460 default y if PPC_PREP
461
462config IRQ_ALL_CPUS
463 bool "Distribute interrupts on all CPUs by default"
464 depends on SMP && !MV64360
465 help
466 This option gives the kernel permission to distribute IRQs across
467 multiple CPUs. Saying N here will route all IRQs to the first
468 CPU. Generally saying Y is safe, although some problems have been
469 reported with SMP Power Macintoshes with this option enabled.
470
ffa27b6b
AW
471config NUMA
472 bool "NUMA support"
473 depends on PPC64
474 default y if SMP && PPC_PSERIES
475
c80d79d7
YG
476config NODES_SHIFT
477 int
478 default "4"
479 depends on NEED_MULTIPLE_NODES
480
14cf11af
PM
481config ARCH_SELECT_MEMORY_MODEL
482 def_bool y
483 depends on PPC64
484
485config ARCH_FLATMEM_ENABLE
9100b205
AW
486 def_bool y
487 depends on (PPC64 && !NUMA) || PPC32
14cf11af 488
45fb6cea 489config ARCH_SPARSEMEM_ENABLE
14cf11af 490 def_bool y
9100b205 491 depends on PPC64
14cf11af 492
45fb6cea 493config ARCH_SPARSEMEM_DEFAULT
14cf11af 494 def_bool y
78bde53e 495 depends on (SMP && PPC_PSERIES) || PPC_PS3
14cf11af 496
c67c3cb4 497config ARCH_POPULATES_NODE_MAP
14cf11af 498 def_bool y
c67c3cb4
MG
499
500source "mm/Kconfig"
14cf11af 501
7e9191da
MK
502config ARCH_MEMORY_PROBE
503 def_bool y
504 depends on MEMORY_HOTPLUG
505
75167957
AW
506# Some NUMA nodes have memory ranges that span
507# other nodes. Even though a pfn is valid and
508# between a node's start and end pfns, it may not
509# reside on that node. See memmap_init_zone()
510# for details.
511config NODES_SPAN_OTHER_NODES
512 def_bool y
513 depends on NEED_MULTIPLE_NODES
514
3c726f8d
BH
515config PPC_64K_PAGES
516 bool "64k page size"
863c84b9 517 depends on PPC64
3c726f8d
BH
518 help
519 This option changes the kernel logical page size to 64k. On machines
98750261
KG
520 without processor support for 64k pages, the kernel will simulate
521 them by loading each individual 4k page on demand transparently,
522 while on hardware with such support, it will be used to map
523 normal application pages.
3c726f8d 524
14cf11af
PM
525config SCHED_SMT
526 bool "SMT (Hyperthreading) scheduler support"
527 depends on PPC64 && SMP
14cf11af
PM
528 help
529 SMT scheduler support improves the CPU scheduler's decision making
530 when dealing with POWER5 cpus at a cost of slightly increased
531 overhead in some places. If unsure say N here.
532
533config PROC_DEVICETREE
5f296755
PM
534 bool "Support for device tree in /proc"
535 depends on PROC_FS
14cf11af
PM
536 help
537 This option adds a device-tree directory under /proc which contains
538 an image of the device tree that the kernel copies from Open
5f296755 539 Firmware or other boot firmware. If unsure, say Y here.
14cf11af 540
14cf11af
PM
541config CMDLINE_BOOL
542 bool "Default bootloader kernel arguments"
14cf11af
PM
543
544config CMDLINE
545 string "Initial kernel command string"
546 depends on CMDLINE_BOOL
547 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
548 help
549 On some platforms, there is currently no way for the boot loader to
550 pass arguments to the kernel. For these platforms, you can supply
551 some command-line options at build time by entering them here. In
552 most cases you will need to specify the root device here.
553
554if !44x || BROKEN
555source kernel/power/Kconfig
556endif
557
558config SECCOMP
559 bool "Enable seccomp to safely compute untrusted bytecode"
560 depends on PROC_FS
561 default y
562 help
563 This kernel feature is useful for number crunching applications
564 that may need to compute untrusted bytecode during their
565 execution. By using pipes or other transports made available to
566 the process as file descriptors supporting the read/write
567 syscalls, it's possible to isolate those applications in
568 their own address space using seccomp. Once seccomp is
569 enabled via /proc/<pid>/seccomp, it cannot be disabled
570 and the task is only allowed to execute a few safe syscalls
571 defined by each seccomp mode.
572
573 If unsure, say Y. Only embedded should say N here.
574
575endmenu
576
577config ISA_DMA_API
578 bool
579 default y
580
581menu "Bus options"
582
583config ISA
584 bool "Support for ISA-bus hardware"
585 depends on PPC_PREP || PPC_CHRP
f9bd170a 586 select PPC_I8259
14cf11af
PM
587 help
588 Find out whether you have ISA slots on your motherboard. ISA is the
589 name of a bus system, i.e. the way the CPU talks to the other stuff
590 inside your box. If you have an Apple machine, say N here; if you
591 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
592 you have an embedded board, consult your board documentation.
593
5ac6da66
CL
594config ZONE_DMA
595 bool
596 default y
597
14cf11af
PM
598config GENERIC_ISA_DMA
599 bool
600 depends on PPC64 || POWER4 || 6xx && !CPM2
601 default y
602
25635c71
PM
603config PPC_INDIRECT_PCI
604 bool
605 depends on PCI
63dafe57 606 default y if 40x || 44x
25635c71
PM
607 default n
608
4a89f7fa
KG
609config PPC_INDIRECT_PCI_BE
610 bool
611 depends PPC_INDIRECT_PCI
612 default n
613
14cf11af
PM
614config EISA
615 bool
616
617config SBUS
618 bool
619
08264cbc
KG
620config FSL_SOC
621 bool
622
3e4e97f4
JL
623config FSL_PCIE
624 bool
625 depends on PPC_86xx
626
14cf11af
PM
627# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
628config MCA
629 bool
630
631config PCI
53158620 632 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
bed59275
SR
633 || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \
634 || MPC7448HPC2 || PPC_PS3
53158620
JL
635 default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \
636 && !PPC_85xx && !PPC_86xx
14cf11af
PM
637 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
638 default PCI_QSPAN if !4xx && !CPM2 && 8xx
639 help
640 Find out whether your system includes a PCI bus. PCI is the name of
641 a bus system, i.e. the way the CPU talks to the other stuff inside
642 your box. If you say Y here, the kernel will include drivers and
643 infrastructure code to support PCI bus devices.
644
645config PCI_DOMAINS
646 bool
647 default PCI
648
14cf11af
PM
649config PCI_QSPAN
650 bool "QSpan PCI"
651 depends on !4xx && !CPM2 && 8xx
f9bd170a 652 select PPC_I8259
14cf11af
PM
653 help
654 Say Y here if you have a system based on a Motorola 8xx-series
655 embedded processor with a QSPAN PCI interface, otherwise say N.
656
657config PCI_8260
658 bool
659 depends on PCI && 8260
25635c71 660 select PPC_INDIRECT_PCI
14cf11af
PM
661 default y
662
663config 8260_PCI9
4a3ecc62 664 bool "Enable workaround for MPC826x erratum PCI 9"
14cf11af
PM
665 depends on PCI_8260 && !ADS8272
666 default y
667
668choice
4a3ecc62 669 prompt "IDMA channel for PCI 9 workaround"
14cf11af
PM
670 depends on 8260_PCI9
671
672config 8260_PCI9_IDMA1
673 bool "IDMA1"
674
675config 8260_PCI9_IDMA2
676 bool "IDMA2"
677
678config 8260_PCI9_IDMA3
679 bool "IDMA3"
680
681config 8260_PCI9_IDMA4
682 bool "IDMA4"
683
684endchoice
685
bb53bb3d
JM
686source "drivers/pci/pcie/Kconfig"
687
14cf11af
PM
688source "drivers/pci/Kconfig"
689
690source "drivers/pcmcia/Kconfig"
691
692source "drivers/pci/hotplug/Kconfig"
693
694endmenu
695
696menu "Advanced setup"
697 depends on PPC32
698
699config ADVANCED_OPTIONS
700 bool "Prompt for advanced kernel configuration options"
701 help
702 This option will enable prompting for a variety of advanced kernel
703 configuration options. These options can cause the kernel to not
704 work if they are set incorrectly, but can be used to optimize certain
705 aspects of kernel memory management.
706
707 Unless you know what you are doing, say N here.
708
709comment "Default settings for advanced configuration options are used"
710 depends on !ADVANCED_OPTIONS
711
712config HIGHMEM_START_BOOL
713 bool "Set high memory pool address"
714 depends on ADVANCED_OPTIONS && HIGHMEM
715 help
716 This option allows you to set the base address of the kernel virtual
717 area used to map high memory pages. This can be useful in
718 optimizing the layout of kernel virtual memory.
719
720 Say N here unless you know what you are doing.
721
722config HIGHMEM_START
723 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
724 default "0xfe000000"
725
726config LOWMEM_SIZE_BOOL
727 bool "Set maximum low memory"
728 depends on ADVANCED_OPTIONS
729 help
730 This option allows you to set the maximum amount of memory which
731 will be used as "low memory", that is, memory which the kernel can
732 access directly, without having to set up a kernel virtual mapping.
733 This can be useful in optimizing the layout of kernel virtual
734 memory.
735
736 Say N here unless you know what you are doing.
737
738config LOWMEM_SIZE
739 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
740 default "0x30000000"
741
742config KERNEL_START_BOOL
743 bool "Set custom kernel base address"
744 depends on ADVANCED_OPTIONS
745 help
746 This option allows you to set the kernel virtual address at which
747 the kernel will map low memory (the kernel image will be linked at
748 this address). This can be useful in optimizing the virtual memory
749 layout of the system.
750
751 Say N here unless you know what you are doing.
752
753config KERNEL_START
754 hex "Virtual address of kernel base" if KERNEL_START_BOOL
755 default "0xc0000000"
756
757config TASK_SIZE_BOOL
758 bool "Set custom user task size"
759 depends on ADVANCED_OPTIONS
760 help
761 This option allows you to set the amount of virtual address space
762 allocated to user tasks. This can be useful in optimizing the
763 virtual memory layout of the system.
764
765 Say N here unless you know what you are doing.
766
767config TASK_SIZE
768 hex "Size of user task space" if TASK_SIZE_BOOL
769 default "0x80000000"
770
771config CONSISTENT_START_BOOL
772 bool "Set custom consistent memory pool address"
773 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
774 help
775 This option allows you to set the base virtual address
4b3f686d 776 of the consistent memory pool. This pool of virtual
14cf11af
PM
777 memory is used to make consistent memory allocations.
778
779config CONSISTENT_START
780 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
781 default "0xff100000" if NOT_COHERENT_CACHE
782
783config CONSISTENT_SIZE_BOOL
784 bool "Set custom consistent memory pool size"
785 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
786 help
4b3f686d 787 This option allows you to set the size of the
14cf11af
PM
788 consistent memory pool. This pool of virtual memory
789 is used to make consistent memory allocations.
790
791config CONSISTENT_SIZE
792 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
793 default "0x00200000" if NOT_COHERENT_CACHE
794
795config BOOT_LOAD_BOOL
796 bool "Set the boot link/load address"
797 depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
798 help
799 This option allows you to set the initial load address of the zImage
800 or zImage.initrd file. This can be useful if you are on a board
801 which has a small amount of memory.
802
803 Say N here unless you know what you are doing.
804
805config BOOT_LOAD
806 hex "Link/load address for booting" if BOOT_LOAD_BOOL
807 default "0x00400000" if 40x || 8xx || 8260
808 default "0x01000000" if 44x
809 default "0x00800000"
810
811config PIN_TLB
812 bool "Pinned Kernel TLBs (860 ONLY)"
813 depends on ADVANCED_OPTIONS && 8xx
814endmenu
815
cabb5587
SR
816if PPC64
817config KERNEL_START
818 hex
eeb2d218 819 default "0xc000000000000000"
cabb5587
SR
820endif
821
14cf11af
PM
822source "net/Kconfig"
823
824source "drivers/Kconfig"
825
826source "fs/Kconfig"
827
828# XXX source "arch/ppc/8xx_io/Kconfig"
829
830# XXX source "arch/ppc/8260_io/Kconfig"
831
98658538
LY
832source "arch/powerpc/sysdev/qe_lib/Kconfig"
833
14cf11af
PM
834source "lib/Kconfig"
835
cd6b0762 836menu "Instrumentation Support"
98750261 837 depends on EXPERIMENTAL
cd6b0762 838
14cf11af
PM
839source "arch/powerpc/oprofile/Kconfig"
840
cd6b0762
PP
841config KPROBES
842 bool "Kprobes (EXPERIMENTAL)"
82090035 843 depends on !BOOKE && !4xx && KALLSYMS && EXPERIMENTAL && MODULES
cd6b0762
PP
844 help
845 Kprobes allows you to trap at almost any kernel address and
846 execute a callback function. register_kprobe() establishes
847 a probepoint and specifies the callback. Kprobes is useful
848 for kernel debugging, non-intrusive instrumentation and testing.
849 If in doubt, say "N".
850endmenu
851
14cf11af
PM
852source "arch/powerpc/Kconfig.debug"
853
854source "security/Kconfig"
855
856config KEYS_COMPAT
857 bool
858 depends on COMPAT && KEYS
859 default y
860
861source "crypto/Kconfig"