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