add HAVE_CLK to Kconfig, for driver dependencies
[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
a0ae9c7c 7source "arch/powerpc/platforms/Kconfig.cputype"
17e638bc 8
14cf11af
PM
9config PPC32
10 bool
11 default y if !PPC64
12
13config 64BIT
14 bool
15 default y if PPC64
16
2578bfae
SR
17config WORD_SIZE
18 int
19 default 64 if PPC64
20 default 32 if !PPC64
21
14cf11af
PM
22config PPC_MERGE
23 def_bool y
24
25config MMU
26 bool
27 default y
28
aa3be5f3
TB
29config GENERIC_CMOS_UPDATE
30 def_bool y
31
4a4cfe38
TB
32config GENERIC_TIME
33 def_bool y
34
35config GENERIC_TIME_VSYSCALL
36 def_bool y
37
d831d0b8
TB
38config GENERIC_CLOCKEVENTS
39 def_bool y
40
14cf11af
PM
41config GENERIC_HARDIRQS
42 bool
43 default y
44
988c388a 45config HAVE_SETUP_PER_CPU_AREA
b32ef636 46 def_bool PPC64
47
0d7012a9
IM
48config IRQ_PER_CPU
49 bool
50 default y
51
fd3e0bbc
CH
52config STACKTRACE_SUPPORT
53 bool
54 default y
55
01f4b8b8
AB
56config HAVE_LATENCYTOP_SUPPORT
57 def_bool y
58
945feb17
BH
59config TRACE_IRQFLAGS_SUPPORT
60 bool
61 depends on PPC64
62 default y
63
64config LOCKDEP_SUPPORT
65 bool
66 default y
67
14cf11af
PM
68config RWSEM_GENERIC_SPINLOCK
69 bool
70
71config RWSEM_XCHGADD_ALGORITHM
72 bool
73 default y
74
95c354fe
NP
75config GENERIC_LOCKBREAK
76 bool
77 default y
78 depends on SMP && PREEMPT
79
f0d1b0b3
DH
80config ARCH_HAS_ILOG2_U32
81 bool
ef55d53c 82 default y
f0d1b0b3
DH
83
84config ARCH_HAS_ILOG2_U64
85 bool
ef55d53c 86 default y if 64BIT
f0d1b0b3 87
e779b2f9
AM
88config GENERIC_HWEIGHT
89 bool
90 default y
91
14cf11af
PM
92config GENERIC_CALIBRATE_DELAY
93 bool
94 default y
95
0a9cb46a
JM
96config GENERIC_FIND_NEXT_BIT
97 bool
98 default y
99
b7ce3415
AV
100config GENERIC_GPIO
101 bool
102 help
103 Generic GPIO API support
104
f057eac0
SR
105config ARCH_NO_VIRT_TO_BUS
106 def_bool PPC64
107
14cf11af
PM
108config PPC
109 bool
110 default y
677aa9f7 111 select HAVE_DYNAMIC_FTRACE
4e491d14 112 select HAVE_FTRACE
ec7748b5 113 select HAVE_IDE
3f550096 114 select HAVE_KPROBES
17ce452f 115 select HAVE_ARCH_KGDB
9edddaa2 116 select HAVE_KRETPROBES
d9b2b2a2 117 select HAVE_LMB
7ff86b03 118 select HAVE_DMA_ATTRS if PPC64
b7d7a240 119 select USE_GENERIC_SMP_HELPERS if SMP
4e491d14 120 select HAVE_OPROFILE
14cf11af
PM
121
122config EARLY_PRINTK
123 bool
51d3082f 124 default y
14cf11af
PM
125
126config COMPAT
127 bool
128 default y if PPC64
01e31dba 129 select COMPAT_BINFMT_ELF
14cf11af
PM
130
131config SYSVIPC_COMPAT
132 bool
133 depends on COMPAT && SYSVIPC
134 default y
135
136# All PPC32s use generic nvram driver through ppc_md
137config GENERIC_NVRAM
138 bool
139 default y if PPC32
140
141config SCHED_NO_NO_OMIT_FRAME_POINTER
142 bool
143 default y
144
145config ARCH_MAY_HAVE_PC_FDC
146 bool
bed59275 147 default !PPC_PSERIES || PCI
14cf11af 148
08264cbc
KG
149config PPC_OF
150 def_bool y
151
97e873e5
SR
152config OF
153 def_bool y
154
08264cbc
KG
155config PPC_UDBG_16550
156 bool
157 default n
158
08264cbc
KG
159config GENERIC_TBSYNC
160 bool
161 default y if PPC32 && SMP
162 default n
163
e65e1fc2
AV
164config AUDIT_ARCH
165 bool
166 default y
167
73c9ceab
JF
168config GENERIC_BUG
169 bool
170 default y
171 depends on BUG
172
b3028878 173config SYS_SUPPORTS_APM_EMULATION
58da10bb 174 default y if PMAC_APM_EMU
b3028878
JB
175 bool
176
f4fc4a5b
KG
177config DEFAULT_UIMAGE
178 bool
179 help
180 Used to allow a board to specify it wants a uImage built by default
181 default n
182
b09c1644
SW
183config REDBOOT
184 bool
185
801e4062 186config HIBERNATE_32
543b9fd3 187 bool
801e4062
JB
188 depends on (PPC_PMAC && !SMP) || BROKEN
189 default y
190
191config HIBERNATE_64
192 bool
193 depends on BROKEN || (PPC_PMAC64 && EXPERIMENTAL)
194 default y
195
196config ARCH_HIBERNATION_POSSIBLE
197 bool
198 depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32)
543b9fd3
JB
199 default y
200
f4cb5700
JB
201config ARCH_SUSPEND_POSSIBLE
202 def_bool y
d49747bd 203 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx
f4cb5700 204
4c75a6f4
BH
205config PPC_DCR_NATIVE
206 bool
207 default n
208
209config PPC_DCR_MMIO
210 bool
211 default n
212
213config PPC_DCR
214 bool
215 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
216 default y
217
4c9d2800
BH
218config PPC_OF_PLATFORM_PCI
219 bool
373a6da1 220 depends on PCI
4c9d2800
BH
221 depends on PPC64 # not supported on 32 bits yet
222 default n
223
14cf11af
PM
224source "init/Kconfig"
225
a2d2e1ec 226source "arch/powerpc/sysdev/Kconfig"
4330f5da 227source "arch/powerpc/platforms/Kconfig"
14cf11af 228
14cf11af
PM
229menu "Kernel options"
230
231config HIGHMEM
232 bool "High memory support"
233 depends on PPC32
234
1ad74998 235source kernel/time/Kconfig
14cf11af
PM
236source kernel/Kconfig.hz
237source kernel/Kconfig.preempt
238source "fs/Kconfig.binfmt"
239
ba72cb8c
MG
240config HUGETLB_PAGE_SIZE_VARIABLE
241 bool
242 depends on HUGETLB_PAGE
243 default y
244
14cf11af
PM
245config MATH_EMULATION
246 bool "Math emulation"
4d52719a 247 depends on 4xx || 8xx || E200 || PPC_MPC832x || E500
14cf11af
PM
248 ---help---
249 Some PowerPC chips designed for embedded applications do not have
250 a floating-point unit and therefore do not implement the
251 floating-point instructions in the PowerPC instruction set. If you
252 say Y here, the kernel will include code to emulate a floating-point
253 unit, which will allow programs that use floating-point
254 instructions to run.
255
5dd57a13
SW
256config 8XX_MINIMAL_FPEMU
257 bool "Minimal math emulation for 8xx"
258 depends on 8xx && !MATH_EMULATION
259 help
260 Older arch/ppc kernels still emulated a few floating point
261 instructions such as load and store, even when full math
262 emulation is disabled. Say "Y" here if you want to preserve
263 this behavior.
264
265 It is recommended that you build a soft-float userspace instead.
266
14cf11af 267config IOMMU_VMERGE
768cc2d3
LV
268 bool "Enable IOMMU virtual merging"
269 depends on PPC64
270 default y
14cf11af
PM
271 help
272 Cause IO segments sent to a device for DMA to be merged virtually
273 by the IOMMU when they happen to have been allocated contiguously.
274 This doesn't add pressure to the IOMMU allocator. However, some
275 drivers don't support getting large merged segments coming back
768cc2d3
LV
276 from *_map_sg().
277
278 Most drivers don't have this problem; it is safe to say Y here.
14cf11af 279
fb3475e9
FT
280config IOMMU_HELPER
281 def_bool PPC64
282
14cf11af
PM
283config HOTPLUG_CPU
284 bool "Support for enabling/disabling CPUs"
285 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
286 ---help---
287 Say Y here to be able to disable and re-enable individual
288 CPUs at runtime on SMP machines.
289
290 Say N if you are unsure.
291
cc57637b
YG
292config ARCH_ENABLE_MEMORY_HOTPLUG
293 def_bool y
294
a99824f3
BP
295config ARCH_HAS_WALK_MEMORY
296 def_bool y
297
1482471d
BP
298config ARCH_ENABLE_MEMORY_HOTREMOVE
299 def_bool y
300
14cf11af
PM
301config KEXEC
302 bool "kexec system call (EXPERIMENTAL)"
fd4ba7e2 303 depends on (PPC_PRPMC2800 || PPC_MULTIPLATFORM) && EXPERIMENTAL
14cf11af
PM
304 help
305 kexec is a system call that implements the ability to shutdown your
306 current kernel, and to start another kernel. It is like a reboot
1f1332f7 307 but it is independent of the system firmware. And like a reboot
14cf11af
PM
308 you can start any kernel with it, not just Linux.
309
1f1332f7 310 The name comes from the similarity to the exec system call.
14cf11af
PM
311
312 It is an ongoing process to be certain the hardware in a machine
313 is properly shutdown, so do not be surprised if this code does not
314 initially work for you. It may help to enable device hotplugging
315 support. As of this writing the exact hardware interface is
316 strongly in flux, so no good recommendation can be made.
317
e8625d46 318config CRASH_DUMP
3420b5da
BW
319 bool "Build a kdump crash kernel"
320 depends on PPC_MULTIPLATFORM && PPC64
e8625d46
HM
321 help
322 Build a kernel suitable for use as a kdump capture kernel.
323 The kernel will be linked at a different address than normal, and
324 so can only be used for Kdump.
325
326 Don't change this unless you know what you are doing.
327
242f271c
MA
328config PHYP_DUMP
329 bool "Hypervisor-assisted dump (EXPERIMENTAL)"
330 depends on PPC_PSERIES && EXPERIMENTAL
331 help
332 Hypervisor-assisted dump is meant to be a kdump replacement
333 offering robustness and speed not possible without system
334 hypervisor assistence.
335
336 If unsure, say "N"
337
14cf11af
PM
338config PPCBUG_NVRAM
339 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
340 default y if PPC_PREP
341
342config IRQ_ALL_CPUS
343 bool "Distribute interrupts on all CPUs by default"
344 depends on SMP && !MV64360
345 help
346 This option gives the kernel permission to distribute IRQs across
347 multiple CPUs. Saying N here will route all IRQs to the first
348 CPU. Generally saying Y is safe, although some problems have been
349 reported with SMP Power Macintoshes with this option enabled.
350
ffa27b6b
AW
351config NUMA
352 bool "NUMA support"
353 depends on PPC64
354 default y if SMP && PPC_PSERIES
355
c80d79d7
YG
356config NODES_SHIFT
357 int
358 default "4"
359 depends on NEED_MULTIPLE_NODES
360
14cf11af
PM
361config ARCH_SELECT_MEMORY_MODEL
362 def_bool y
363 depends on PPC64
364
365config ARCH_FLATMEM_ENABLE
9100b205
AW
366 def_bool y
367 depends on (PPC64 && !NUMA) || PPC32
14cf11af 368
45fb6cea 369config ARCH_SPARSEMEM_ENABLE
14cf11af 370 def_bool y
9100b205 371 depends on PPC64
d29eff7b 372 select SPARSEMEM_VMEMMAP_ENABLE
14cf11af 373
45fb6cea 374config ARCH_SPARSEMEM_DEFAULT
14cf11af 375 def_bool y
78bde53e 376 depends on (SMP && PPC_PSERIES) || PPC_PS3
14cf11af 377
c67c3cb4 378config ARCH_POPULATES_NODE_MAP
14cf11af 379 def_bool y
c67c3cb4
MG
380
381source "mm/Kconfig"
14cf11af 382
7e9191da
MK
383config ARCH_MEMORY_PROBE
384 def_bool y
385 depends on MEMORY_HOTPLUG
386
75167957
AW
387# Some NUMA nodes have memory ranges that span
388# other nodes. Even though a pfn is valid and
389# between a node's start and end pfns, it may not
390# reside on that node. See memmap_init_zone()
391# for details.
392config NODES_SPAN_OTHER_NODES
393 def_bool y
394 depends on NEED_MULTIPLE_NODES
395
16c2d476
BH
396config PPC_HAS_HASH_64K
397 bool
398 depends on PPC64
399 default n
400
3c726f8d
BH
401config PPC_64K_PAGES
402 bool "64k page size"
863c84b9 403 depends on PPC64
16c2d476 404 select PPC_HAS_HASH_64K
3c726f8d
BH
405 help
406 This option changes the kernel logical page size to 64k. On machines
98750261
KG
407 without processor support for 64k pages, the kernel will simulate
408 them by loading each individual 4k page on demand transparently,
409 while on hardware with such support, it will be used to map
410 normal application pages.
3c726f8d 411
53bcddb9
SR
412config FORCE_MAX_ZONEORDER
413 int "Maximum zone order"
414 default "9" if PPC_64K_PAGES
415 default "13" if PPC64 && !PPC_64K_PAGES
416 default "11"
417 help
418 The kernel memory allocator divides physically contiguous memory
419 blocks into "zones", where each zone is a power of two number of
420 pages. This option selects the largest power of two that the kernel
421 keeps in the memory allocator. If you need to allocate very large
422 blocks of physically contiguous memory, then you may need to
423 increase this value.
424
425 This config option is actually maximum order plus one. For example,
426 a value of 11 means that the largest free memory block is 2^10 pages.
427
428 The page size is not necessarily 4KB. For example, on 64-bit
429 systems, 64KB pages can be enabled via CONFIG_PPC_64K_PAGES. Keep
430 this in mind when choosing a value for this option.
431
fa28237c
PM
432config PPC_SUBPAGE_PROT
433 bool "Support setting protections for 4k subpages"
434 depends on PPC_64K_PAGES
435 help
436 This option adds support for a system call to allow user programs
437 to set access permissions (read/write, readonly, or no access)
438 on the 4k subpages of each 64k page.
439
14cf11af
PM
440config SCHED_SMT
441 bool "SMT (Hyperthreading) scheduler support"
442 depends on PPC64 && SMP
14cf11af
PM
443 help
444 SMT scheduler support improves the CPU scheduler's decision making
445 when dealing with POWER5 cpus at a cost of slightly increased
446 overhead in some places. If unsure say N here.
447
448config PROC_DEVICETREE
5f296755
PM
449 bool "Support for device tree in /proc"
450 depends on PROC_FS
14cf11af
PM
451 help
452 This option adds a device-tree directory under /proc which contains
453 an image of the device tree that the kernel copies from Open
5f296755 454 Firmware or other boot firmware. If unsure, say Y here.
14cf11af 455
14cf11af
PM
456config CMDLINE_BOOL
457 bool "Default bootloader kernel arguments"
14cf11af
PM
458
459config CMDLINE
460 string "Initial kernel command string"
461 depends on CMDLINE_BOOL
462 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
463 help
464 On some platforms, there is currently no way for the boot loader to
465 pass arguments to the kernel. For these platforms, you can supply
466 some command-line options at build time by entering them here. In
467 most cases you will need to specify the root device here.
468
c356aa45
GL
469config EXTRA_TARGETS
470 string "Additional default image types"
471 help
472 List additional targets to be built by the bootwrapper here (separated
473 by spaces). This is useful for targets that depend of device tree
474 files in the .dts directory.
475
476 Targets in this list will be build as part of the default build
477 target, or when the user does a 'make zImage' or a
478 'make zImage.initrd'.
479
480 If unsure, leave blank
481
14cf11af 482if !44x || BROKEN
b28f5081
JB
483config ARCH_WANTS_FREEZER_CONTROL
484 def_bool y
485 depends on ADB_PMU
486
14cf11af
PM
487source kernel/power/Kconfig
488endif
489
490config SECCOMP
491 bool "Enable seccomp to safely compute untrusted bytecode"
492 depends on PROC_FS
493 default y
494 help
495 This kernel feature is useful for number crunching applications
496 that may need to compute untrusted bytecode during their
497 execution. By using pipes or other transports made available to
498 the process as file descriptors supporting the read/write
499 syscalls, it's possible to isolate those applications in
500 their own address space using seccomp. Once seccomp is
501 enabled via /proc/<pid>/seccomp, it cannot be disabled
502 and the task is only allowed to execute a few safe syscalls
503 defined by each seccomp mode.
504
505 If unsure, say Y. Only embedded should say N here.
506
507endmenu
508
509config ISA_DMA_API
510 bool
373a6da1 511 default !PPC_ISERIES || PCI
14cf11af
PM
512
513menu "Bus options"
514
515config ISA
516 bool "Support for ISA-bus hardware"
517 depends on PPC_PREP || PPC_CHRP
f9bd170a 518 select PPC_I8259
14cf11af
PM
519 help
520 Find out whether you have ISA slots on your motherboard. ISA is the
521 name of a bus system, i.e. the way the CPU talks to the other stuff
522 inside your box. If you have an Apple machine, say N here; if you
523 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
524 you have an embedded board, consult your board documentation.
525
5ac6da66
CL
526config ZONE_DMA
527 bool
528 default y
529
14cf11af
PM
530config GENERIC_ISA_DMA
531 bool
532 depends on PPC64 || POWER4 || 6xx && !CPM2
533 default y
534
25635c71
PM
535config PPC_INDIRECT_PCI
536 bool
537 depends on PCI
63dafe57 538 default y if 40x || 44x
25635c71
PM
539 default n
540
14cf11af
PM
541config EISA
542 bool
543
544config SBUS
545 bool
546
08264cbc
KG
547config FSL_SOC
548 bool
549
55c44991
RZ
550config FSL_PCI
551 bool
552 select PPC_INDIRECT_PCI
553
2a706919
SR
554config 4xx_SOC
555 bool
556
acaa7aa3
AV
557config FSL_LBC
558 bool
559 help
560 Freescale Localbus support
561
83ff9dcf
AV
562config FSL_GTM
563 bool
564 depends on PPC_83xx || QUICC_ENGINE || CPM2
565 help
566 Freescale General-purpose Timers support
567
14cf11af
PM
568# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
569config MCA
570 bool
571
b500563b
JR
572# Platforms that what PCI turned unconditionally just do select PCI
573# in their config node. Platforms that want to choose at config
574# time should select PPC_PCI_CHOICE
575config PPC_PCI_CHOICE
576 bool
577
14cf11af 578config PCI
b500563b
JR
579 bool "PCI support" if PPC_PCI_CHOICE
580 default y if !40x && !CPM2 && !8xx && !PPC_83xx \
53158620 581 && !PPC_85xx && !PPC_86xx
f21f49ea 582 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx
14cf11af 583 default PCI_QSPAN if !4xx && !CPM2 && 8xx
df87ef55 584 select ARCH_SUPPORTS_MSI
14cf11af
PM
585 help
586 Find out whether your system includes a PCI bus. PCI is the name of
587 a bus system, i.e. the way the CPU talks to the other stuff inside
588 your box. If you say Y here, the kernel will include drivers and
589 infrastructure code to support PCI bus devices.
590
591config PCI_DOMAINS
36e23590
MW
592 def_bool PCI
593
594config PCI_SYSCALL
595 def_bool PCI
14cf11af 596
14cf11af
PM
597config PCI_QSPAN
598 bool "QSpan PCI"
599 depends on !4xx && !CPM2 && 8xx
f9bd170a 600 select PPC_I8259
14cf11af
PM
601 help
602 Say Y here if you have a system based on a Motorola 8xx-series
603 embedded processor with a QSPAN PCI interface, otherwise say N.
604
605config PCI_8260
606 bool
607 depends on PCI && 8260
25635c71 608 select PPC_INDIRECT_PCI
14cf11af
PM
609 default y
610
611config 8260_PCI9
4a3ecc62 612 bool "Enable workaround for MPC826x erratum PCI 9"
e00c5498 613 depends on PCI_8260 && !8272
14cf11af
PM
614 default y
615
616choice
4a3ecc62 617 prompt "IDMA channel for PCI 9 workaround"
14cf11af
PM
618 depends on 8260_PCI9
619
620config 8260_PCI9_IDMA1
621 bool "IDMA1"
622
623config 8260_PCI9_IDMA2
624 bool "IDMA2"
625
626config 8260_PCI9_IDMA3
627 bool "IDMA3"
628
629config 8260_PCI9_IDMA4
630 bool "IDMA4"
631
632endchoice
633
bb53bb3d
JM
634source "drivers/pci/pcie/Kconfig"
635
14cf11af
PM
636source "drivers/pci/Kconfig"
637
638source "drivers/pcmcia/Kconfig"
639
640source "drivers/pci/hotplug/Kconfig"
641
f1f389d5
ZW
642config HAS_RAPIDIO
643 bool
644 default n
645
646config RAPIDIO
647 bool "RapidIO support"
648 depends on HAS_RAPIDIO
649 help
650 If you say Y here, the kernel will include drivers and
651 infrastructure code to support RapidIO interconnect devices.
652
653source "drivers/rapidio/Kconfig"
654
14cf11af
PM
655endmenu
656
657menu "Advanced setup"
658 depends on PPC32
659
660config ADVANCED_OPTIONS
661 bool "Prompt for advanced kernel configuration options"
662 help
663 This option will enable prompting for a variety of advanced kernel
664 configuration options. These options can cause the kernel to not
665 work if they are set incorrectly, but can be used to optimize certain
666 aspects of kernel memory management.
667
668 Unless you know what you are doing, say N here.
669
670comment "Default settings for advanced configuration options are used"
671 depends on !ADVANCED_OPTIONS
672
14cf11af
PM
673config LOWMEM_SIZE_BOOL
674 bool "Set maximum low memory"
675 depends on ADVANCED_OPTIONS
676 help
677 This option allows you to set the maximum amount of memory which
678 will be used as "low memory", that is, memory which the kernel can
679 access directly, without having to set up a kernel virtual mapping.
680 This can be useful in optimizing the layout of kernel virtual
681 memory.
682
683 Say N here unless you know what you are doing.
684
685config LOWMEM_SIZE
686 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
687 default "0x30000000"
688
37dd2bad
KG
689config RELOCATABLE
690 bool "Build a relocatable kernel (EXPERIMENTAL)"
691 depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
692 help
693 This builds a kernel image that is capable of running at the
694 location the kernel is loaded at (some alignment restrictions may
695 exist).
696
697 One use is for the kexec on panic case where the recovery kernel
698 must live at a different physical address than the primary
699 kernel.
700
701 Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
702 it has been loaded at and the compile time physical addresses
703 CONFIG_PHYSICAL_START is ignored. However CONFIG_PHYSICAL_START
704 setting can still be useful to bootwrappers that need to know the
705 load location of the kernel (eg. u-boot/mkimage).
706
707config PAGE_OFFSET_BOOL
708 bool "Set custom page offset address"
709 depends on ADVANCED_OPTIONS
710 help
711 This option allows you to set the kernel virtual address at which
712 the kernel will map low memory. This can be useful in optimizing
713 the virtual memory layout of the system.
714
715 Say N here unless you know what you are doing.
716
717config PAGE_OFFSET
718 hex "Virtual address of memory base" if PAGE_OFFSET_BOOL
719 default "0xc0000000"
720
14cf11af
PM
721config KERNEL_START_BOOL
722 bool "Set custom kernel base address"
723 depends on ADVANCED_OPTIONS
724 help
725 This option allows you to set the kernel virtual address at which
37dd2bad
KG
726 the kernel will be loaded. Normally this should match PAGE_OFFSET
727 however there are times (like kdump) that one might not want them
728 to be the same.
14cf11af
PM
729
730 Say N here unless you know what you are doing.
731
732config KERNEL_START
733 hex "Virtual address of kernel base" if KERNEL_START_BOOL
37dd2bad
KG
734 default PAGE_OFFSET if PAGE_OFFSET_BOOL
735 default "0xc2000000" if CRASH_DUMP
14cf11af
PM
736 default "0xc0000000"
737
37dd2bad
KG
738config PHYSICAL_START_BOOL
739 bool "Set physical address where the kernel is loaded"
740 depends on ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
741 help
742 This gives the physical address where the kernel is loaded.
743
744 Say N here unless you know what you are doing.
745
746config PHYSICAL_START
747 hex "Physical address where the kernel is loaded" if PHYSICAL_START_BOOL
748 default "0x02000000" if PPC_STD_MMU && CRASH_DUMP
749 default "0x00000000"
750
751config PHYSICAL_ALIGN
752 hex
753 default "0x10000000" if FSL_BOOKE
754 help
755 This value puts the alignment restrictions on physical address
756 where kernel is loaded and run from. Kernel is compiled for an
757 address which meets above alignment restriction.
758
14cf11af
PM
759config TASK_SIZE_BOOL
760 bool "Set custom user task size"
761 depends on ADVANCED_OPTIONS
762 help
763 This option allows you to set the amount of virtual address space
764 allocated to user tasks. This can be useful in optimizing the
765 virtual memory layout of the system.
766
767 Say N here unless you know what you are doing.
768
769config TASK_SIZE
770 hex "Size of user task space" if TASK_SIZE_BOOL
4d9e5510
KG
771 default "0x80000000" if PPC_PREP || PPC_8xx
772 default "0xc0000000"
14cf11af
PM
773
774config CONSISTENT_START_BOOL
775 bool "Set custom consistent memory pool address"
776 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
777 help
778 This option allows you to set the base virtual address
4b3f686d 779 of the consistent memory pool. This pool of virtual
14cf11af
PM
780 memory is used to make consistent memory allocations.
781
782config CONSISTENT_START
783 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
ccf0d68e 784 default "0xfd000000" if (NOT_COHERENT_CACHE && 8xx)
14cf11af
PM
785 default "0xff100000" if NOT_COHERENT_CACHE
786
787config CONSISTENT_SIZE_BOOL
788 bool "Set custom consistent memory pool size"
789 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
790 help
4b3f686d 791 This option allows you to set the size of the
14cf11af
PM
792 consistent memory pool. This pool of virtual memory
793 is used to make consistent memory allocations.
794
795config CONSISTENT_SIZE
796 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
797 default "0x00200000" if NOT_COHERENT_CACHE
798
14cf11af
PM
799config PIN_TLB
800 bool "Pinned Kernel TLBs (860 ONLY)"
801 depends on ADVANCED_OPTIONS && 8xx
802endmenu
803
cabb5587 804if PPC64
37dd2bad
KG
805config PAGE_OFFSET
806 hex
807 default "0xc000000000000000"
cabb5587
SR
808config KERNEL_START
809 hex
37dd2bad 810 default "0xc000000002000000" if CRASH_DUMP
eeb2d218 811 default "0xc000000000000000"
37dd2bad
KG
812config PHYSICAL_START
813 hex
814 default "0x02000000" if CRASH_DUMP
815 default "0x00000000"
cabb5587
SR
816endif
817
14cf11af
PM
818source "net/Kconfig"
819
820source "drivers/Kconfig"
821
822source "fs/Kconfig"
823
824# XXX source "arch/ppc/8xx_io/Kconfig"
825
826# XXX source "arch/ppc/8260_io/Kconfig"
827
98658538
LY
828source "arch/powerpc/sysdev/qe_lib/Kconfig"
829
14cf11af
PM
830source "lib/Kconfig"
831
14cf11af
PM
832source "arch/powerpc/Kconfig.debug"
833
834source "security/Kconfig"
835
836config KEYS_COMPAT
837 bool
838 depends on COMPAT && KEYS
839 default y
840
841source "crypto/Kconfig"
6f668280
DP
842
843config PPC_CLOCK
844 bool
845 default n
9483a578 846 select HAVE_CLK
1088a209
SM
847
848config PPC_LIB_RHEAP
849 bool
850
bbf45ba5 851source "arch/powerpc/kvm/Kconfig"