blob: 7f2f126d1c2bbfad899be6ad37b04e8b8a2c78d3 [file] [log] [blame]
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001# 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
Arnd Bergmanna0ae9c72007-06-13 02:30:17 +10007source "arch/powerpc/platforms/Kconfig.cputype"
Johannes Berg17e638b2007-03-19 11:53:53 +01008
Paul Mackerras14cf11a2005-09-26 16:04:21 +10009config PPC32
10 bool
11 default y if !PPC64
12
13config 64BIT
14 bool
15 default y if PPC64
16
Stephen Rothwell2578bfa2007-09-21 10:16:20 +100017config WORD_SIZE
18 int
19 default 64 if PPC64
20 default 32 if !PPC64
21
Paul Mackerras14cf11a2005-09-26 16:04:21 +100022config PPC_MERGE
23 def_bool y
24
25config MMU
26 bool
27 default y
28
Tony Breedsaa3be5f2007-09-21 13:26:02 +100029config GENERIC_CMOS_UPDATE
30 def_bool y
31
Tony Breeds4a4cfe32007-09-22 07:35:52 +100032config GENERIC_TIME
33 def_bool y
34
35config GENERIC_TIME_VSYSCALL
36 def_bool y
37
Tony Breedsd831d0b2007-09-21 13:26:03 +100038config GENERIC_CLOCKEVENTS
39 def_bool y
40
Paul Mackerras14cf11a2005-09-26 16:04:21 +100041config GENERIC_HARDIRQS
42 bool
43 default y
44
travis@sgi.com988c3882008-01-30 23:27:58 +010045config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010046 def_bool PPC64
47
Ingo Molnar0d7012a2006-06-29 02:24:43 -070048config IRQ_PER_CPU
49 bool
50 default y
51
Paul Mackerras14cf11a2005-09-26 16:04:21 +100052config RWSEM_GENERIC_SPINLOCK
53 bool
54
55config RWSEM_XCHGADD_ALGORITHM
56 bool
57 default y
58
Nick Piggin95c354f2008-01-30 13:31:20 +010059config GENERIC_LOCKBREAK
60 bool
61 default y
62 depends on SMP && PREEMPT
63
David Howellsf0d1b0b2006-12-08 02:37:49 -080064config ARCH_HAS_ILOG2_U32
65 bool
David Howellsef55d532006-12-08 02:37:53 -080066 default y
David Howellsf0d1b0b2006-12-08 02:37:49 -080067
68config ARCH_HAS_ILOG2_U64
69 bool
David Howellsef55d532006-12-08 02:37:53 -080070 default y if 64BIT
David Howellsf0d1b0b2006-12-08 02:37:49 -080071
Akinobu Mitae779b2f2006-03-26 01:39:33 -080072config GENERIC_HWEIGHT
73 bool
74 default y
75
Paul Mackerras14cf11a2005-09-26 16:04:21 +100076config GENERIC_CALIBRATE_DELAY
77 bool
78 default y
79
Jon Mason0a9cb462006-05-19 15:35:32 -050080config GENERIC_FIND_NEXT_BIT
81 bool
82 default y
83
Anton Vorontsovb7ce3412008-04-11 23:06:36 +100084config GENERIC_GPIO
85 bool
86 help
87 Generic GPIO API support
88
Stephen Rothwellf057eac2007-07-15 23:40:05 -070089config ARCH_NO_VIRT_TO_BUS
90 def_bool PPC64
91
Paul Mackerras14cf11a2005-09-26 16:04:21 +100092config PPC
93 bool
94 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010095 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050096 select HAVE_OPROFILE
Mathieu Desnoyers3f550092008-02-02 15:10:35 -050097 select HAVE_KPROBES
Ananth N Mavinakayanahalli9edddaa2008-03-04 14:28:37 -080098 select HAVE_KRETPROBES
David S. Millerd9b2b2a2008-02-13 16:56:49 -080099 select HAVE_LMB
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000100
101config EARLY_PRINTK
102 bool
Benjamin Herrenschmidt51d30822005-11-23 17:57:25 +1100103 default y
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000104
105config COMPAT
106 bool
107 default y if PPC64
Roland McGrath01e31db2008-01-02 17:03:11 -0800108 select COMPAT_BINFMT_ELF
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000109
110config SYSVIPC_COMPAT
111 bool
112 depends on COMPAT && SYSVIPC
113 default y
114
115# All PPC32s use generic nvram driver through ppc_md
116config GENERIC_NVRAM
117 bool
118 default y if PPC32
119
120config SCHED_NO_NO_OMIT_FRAME_POINTER
121 bool
122 default y
123
124config ARCH_MAY_HAVE_PC_FDC
125 bool
Stephen Rothwellbed59272007-03-04 17:04:44 +1100126 default !PPC_PSERIES || PCI
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000127
Kumar Gala08264cb2006-01-10 21:43:56 -0600128config PPC_OF
129 def_bool y
130
Stephen Rothwell97e873e2007-05-01 16:26:07 +1000131config OF
132 def_bool y
133
Kumar Gala08264cb2006-01-10 21:43:56 -0600134config PPC_UDBG_16550
135 bool
136 default n
137
Kumar Gala08264cb2006-01-10 21:43:56 -0600138config GENERIC_TBSYNC
139 bool
140 default y if PPC32 && SMP
141 default n
142
Al Viroe65e1fc2006-09-12 03:04:40 -0400143config AUDIT_ARCH
144 bool
145 default y
146
Jeremy Fitzhardinge73c9cea2006-12-08 03:30:41 -0800147config GENERIC_BUG
148 bool
149 default y
150 depends on BUG
151
Johannes Bergb3028872007-03-20 05:18:02 +1100152config SYS_SUPPORTS_APM_EMULATION
Kumar Gala58da10b2007-05-23 09:51:46 -0500153 default y if PMAC_APM_EMU
Johannes Bergb3028872007-03-20 05:18:02 +1100154 bool
155
Kumar Galaf4fc4a52006-01-16 10:53:22 -0600156config DEFAULT_UIMAGE
157 bool
158 help
159 Used to allow a board to specify it wants a uImage built by default
160 default n
161
Scott Woodb09c1642008-01-17 16:31:40 -0600162config REDBOOT
163 bool
164
Johannes Berg801e4062007-12-08 02:12:39 +0100165config HIBERNATE_32
Johannes Berg543b9fd2007-05-03 22:31:38 +1000166 bool
Johannes Berg801e4062007-12-08 02:12:39 +0100167 depends on (PPC_PMAC && !SMP) || BROKEN
168 default y
169
170config HIBERNATE_64
171 bool
172 depends on BROKEN || (PPC_PMAC64 && EXPERIMENTAL)
173 default y
174
175config ARCH_HIBERNATION_POSSIBLE
176 bool
177 depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32)
Johannes Berg543b9fd2007-05-03 22:31:38 +1000178 default y
179
Johannes Bergf4cb5702007-12-08 02:14:00 +0100180config ARCH_SUSPEND_POSSIBLE
181 def_bool y
182 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200
183
Benjamin Herrenschmidt4c75a6f2006-11-11 17:24:53 +1100184config PPC_DCR_NATIVE
185 bool
186 default n
187
188config PPC_DCR_MMIO
189 bool
190 default n
191
192config PPC_DCR
193 bool
194 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
195 default y
196
Benjamin Herrenschmidt4c9d2802006-11-11 17:25:08 +1100197config PPC_OF_PLATFORM_PCI
198 bool
Stephen Rothwell373a6da2007-12-21 15:37:07 +1100199 depends on PCI
Benjamin Herrenschmidt4c9d2802006-11-11 17:25:08 +1100200 depends on PPC64 # not supported on 32 bits yet
201 default n
202
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000203source "init/Kconfig"
204
Benjamin Herrenschmidta2d2e1e2007-12-21 15:39:24 +1100205source "arch/powerpc/sysdev/Kconfig"
Kumar Gala4330f5d2007-03-16 09:32:17 -0500206source "arch/powerpc/platforms/Kconfig"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000207
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000208menu "Kernel options"
209
210config HIGHMEM
211 bool "High memory support"
212 depends on PPC32
213
Tony Breeds1ad74992007-09-21 13:26:03 +1000214source kernel/time/Kconfig
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000215source kernel/Kconfig.hz
216source kernel/Kconfig.preempt
217source "fs/Kconfig.binfmt"
218
Mel Gormanba72cb82007-11-28 16:21:13 -0800219config HUGETLB_PAGE_SIZE_VARIABLE
220 bool
221 depends on HUGETLB_PAGE
222 default y
223
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000224config MATH_EMULATION
225 bool "Math emulation"
Kumar Gala4d527192007-01-26 00:23:34 -0600226 depends on 4xx || 8xx || E200 || PPC_MPC832x || E500
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000227 ---help---
228 Some PowerPC chips designed for embedded applications do not have
229 a floating-point unit and therefore do not implement the
230 floating-point instructions in the PowerPC instruction set. If you
231 say Y here, the kernel will include code to emulate a floating-point
232 unit, which will allow programs that use floating-point
233 instructions to run.
234
Scott Wood5dd57a12007-09-18 15:29:35 -0500235config 8XX_MINIMAL_FPEMU
236 bool "Minimal math emulation for 8xx"
237 depends on 8xx && !MATH_EMULATION
238 help
239 Older arch/ppc kernels still emulated a few floating point
240 instructions such as load and store, even when full math
241 emulation is disabled. Say "Y" here if you want to preserve
242 this behavior.
243
244 It is recommended that you build a soft-float userspace instead.
245
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000246config IOMMU_VMERGE
Linas Vepstas768cc2d2007-07-18 02:09:35 +1000247 bool "Enable IOMMU virtual merging"
248 depends on PPC64
249 default y
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000250 help
251 Cause IO segments sent to a device for DMA to be merged virtually
252 by the IOMMU when they happen to have been allocated contiguously.
253 This doesn't add pressure to the IOMMU allocator. However, some
254 drivers don't support getting large merged segments coming back
Linas Vepstas768cc2d2007-07-18 02:09:35 +1000255 from *_map_sg().
256
257 Most drivers don't have this problem; it is safe to say Y here.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000258
FUJITA Tomonorifb3475e2008-02-04 22:28:08 -0800259config IOMMU_HELPER
260 def_bool PPC64
261
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000262config HOTPLUG_CPU
263 bool "Support for enabling/disabling CPUs"
264 depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
265 ---help---
266 Say Y here to be able to disable and re-enable individual
267 CPUs at runtime on SMP machines.
268
269 Say N if you are unsure.
270
Yasunori Gotocc576372006-06-29 02:24:27 -0700271config ARCH_ENABLE_MEMORY_HOTPLUG
272 def_bool y
273
Badari Pulavartya99824f2008-02-05 00:10:18 -0800274config ARCH_HAS_WALK_MEMORY
275 def_bool y
276
Badari Pulavarty14824712008-02-05 00:10:17 -0800277config ARCH_ENABLE_MEMORY_HOTREMOVE
278 def_bool y
279
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000280config KEXEC
281 bool "kexec system call (EXPERIMENTAL)"
Dale Farnsworthfd4ba7e2007-05-12 10:58:43 +1000282 depends on (PPC_PRPMC2800 || PPC_MULTIPLATFORM) && EXPERIMENTAL
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000283 help
284 kexec is a system call that implements the ability to shutdown your
285 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400286 but it is independent of the system firmware. And like a reboot
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000287 you can start any kernel with it, not just Linux.
288
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400289 The name comes from the similarity to the exec system call.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000290
291 It is an ongoing process to be certain the hardware in a machine
292 is properly shutdown, so do not be surprised if this code does not
293 initially work for you. It may help to enable device hotplugging
294 support. As of this writing the exact hardware interface is
295 strongly in flux, so no good recommendation can be made.
296
Haren Mynenie8625d462006-01-14 13:48:25 -0800297config CRASH_DUMP
Michael Ellermancd9c99d2006-03-10 15:01:08 +1100298 bool "Build a kdump crash kernel (EXPERIMENTAL)"
Haren Mynenie8625d462006-01-14 13:48:25 -0800299 depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
300 help
301 Build a kernel suitable for use as a kdump capture kernel.
302 The kernel will be linked at a different address than normal, and
303 so can only be used for Kdump.
304
305 Don't change this unless you know what you are doing.
306
Manish Ahuja242f2712008-03-22 10:50:50 +1100307config PHYP_DUMP
308 bool "Hypervisor-assisted dump (EXPERIMENTAL)"
309 depends on PPC_PSERIES && EXPERIMENTAL
310 help
311 Hypervisor-assisted dump is meant to be a kdump replacement
312 offering robustness and speed not possible without system
313 hypervisor assistence.
314
315 If unsure, say "N"
316
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000317config PPCBUG_NVRAM
318 bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
319 default y if PPC_PREP
320
321config IRQ_ALL_CPUS
322 bool "Distribute interrupts on all CPUs by default"
323 depends on SMP && !MV64360
324 help
325 This option gives the kernel permission to distribute IRQs across
326 multiple CPUs. Saying N here will route all IRQs to the first
327 CPU. Generally saying Y is safe, although some problems have been
328 reported with SMP Power Macintoshes with this option enabled.
329
Andy Whitcroftffa27b62005-10-28 17:46:58 -0700330config NUMA
331 bool "NUMA support"
332 depends on PPC64
333 default y if SMP && PPC_PSERIES
334
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700335config NODES_SHIFT
336 int
337 default "4"
338 depends on NEED_MULTIPLE_NODES
339
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000340config ARCH_SELECT_MEMORY_MODEL
341 def_bool y
342 depends on PPC64
343
344config ARCH_FLATMEM_ENABLE
Andy Whitcroft9100b202005-11-29 19:20:55 +0000345 def_bool y
346 depends on (PPC64 && !NUMA) || PPC32
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000347
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000348config ARCH_SPARSEMEM_ENABLE
349 def_bool y
Andy Whitcroft9100b202005-11-29 19:20:55 +0000350 depends on PPC64
Andy Whitcroftd29eff72007-10-16 01:24:17 -0700351 select SPARSEMEM_VMEMMAP_ENABLE
Anton Blanchard45fb6ce2005-11-11 14:22:35 +1100352
353config ARCH_SPARSEMEM_DEFAULT
354 def_bool y
Benjamin Herrenschmidt78bde532007-02-13 11:46:06 +1100355 depends on (SMP && PPC_PSERIES) || PPC_PS3
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000356
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700357config ARCH_POPULATES_NODE_MAP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000358 def_bool y
Mel Gormanc67c3cb2006-09-27 01:49:49 -0700359
360source "mm/Kconfig"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000361
Mike Kravetz7e9191d2005-11-07 09:39:48 -0800362config ARCH_MEMORY_PROBE
363 def_bool y
364 depends on MEMORY_HOTPLUG
365
Andy Whitcroft75167952006-10-21 10:24:14 -0700366# Some NUMA nodes have memory ranges that span
367# other nodes. Even though a pfn is valid and
368# between a node's start and end pfns, it may not
369# reside on that node. See memmap_init_zone()
370# for details.
371config NODES_SPAN_OTHER_NODES
372 def_bool y
373 depends on NEED_MULTIPLE_NODES
374
Benjamin Herrenschmidt16c2d472007-05-08 16:27:28 +1000375config PPC_HAS_HASH_64K
376 bool
377 depends on PPC64
378 default n
379
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100380config PPC_64K_PAGES
381 bool "64k page size"
Benjamin Herrenschmidt863c84b2005-11-07 00:57:58 -0800382 depends on PPC64
Benjamin Herrenschmidt16c2d472007-05-08 16:27:28 +1000383 select PPC_HAS_HASH_64K
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100384 help
385 This option changes the kernel logical page size to 64k. On machines
Kumar Gala98750262007-04-12 18:01:34 -0500386 without processor support for 64k pages, the kernel will simulate
387 them by loading each individual 4k page on demand transparently,
388 while on hardware with such support, it will be used to map
389 normal application pages.
Benjamin Herrenschmidt3c726f82005-11-07 11:06:55 +1100390
Stephen Rothwell53bcddb2008-04-11 11:11:56 +1000391config FORCE_MAX_ZONEORDER
392 int "Maximum zone order"
393 default "9" if PPC_64K_PAGES
394 default "13" if PPC64 && !PPC_64K_PAGES
395 default "11"
396 help
397 The kernel memory allocator divides physically contiguous memory
398 blocks into "zones", where each zone is a power of two number of
399 pages. This option selects the largest power of two that the kernel
400 keeps in the memory allocator. If you need to allocate very large
401 blocks of physically contiguous memory, then you may need to
402 increase this value.
403
404 This config option is actually maximum order plus one. For example,
405 a value of 11 means that the largest free memory block is 2^10 pages.
406
407 The page size is not necessarily 4KB. For example, on 64-bit
408 systems, 64KB pages can be enabled via CONFIG_PPC_64K_PAGES. Keep
409 this in mind when choosing a value for this option.
410
Paul Mackerrasfa282372008-01-24 08:35:13 +1100411config PPC_SUBPAGE_PROT
412 bool "Support setting protections for 4k subpages"
413 depends on PPC_64K_PAGES
414 help
415 This option adds support for a system call to allow user programs
416 to set access permissions (read/write, readonly, or no access)
417 on the 4k subpages of each 64k page.
418
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000419config SCHED_SMT
420 bool "SMT (Hyperthreading) scheduler support"
421 depends on PPC64 && SMP
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000422 help
423 SMT scheduler support improves the CPU scheduler's decision making
424 when dealing with POWER5 cpus at a cost of slightly increased
425 overhead in some places. If unsure say N here.
426
427config PROC_DEVICETREE
Paul Mackerras5f296752005-10-17 20:14:59 +1000428 bool "Support for device tree in /proc"
429 depends on PROC_FS
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000430 help
431 This option adds a device-tree directory under /proc which contains
432 an image of the device tree that the kernel copies from Open
Paul Mackerras5f296752005-10-17 20:14:59 +1000433 Firmware or other boot firmware. If unsure, say Y here.
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000434
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000435config CMDLINE_BOOL
436 bool "Default bootloader kernel arguments"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000437
438config CMDLINE
439 string "Initial kernel command string"
440 depends on CMDLINE_BOOL
441 default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
442 help
443 On some platforms, there is currently no way for the boot loader to
444 pass arguments to the kernel. For these platforms, you can supply
445 some command-line options at build time by entering them here. In
446 most cases you will need to specify the root device here.
447
448if !44x || BROKEN
Johannes Bergb28f5082008-01-15 23:17:00 -0500449config ARCH_WANTS_FREEZER_CONTROL
450 def_bool y
451 depends on ADB_PMU
452
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000453source kernel/power/Kconfig
454endif
455
456config SECCOMP
457 bool "Enable seccomp to safely compute untrusted bytecode"
458 depends on PROC_FS
459 default y
460 help
461 This kernel feature is useful for number crunching applications
462 that may need to compute untrusted bytecode during their
463 execution. By using pipes or other transports made available to
464 the process as file descriptors supporting the read/write
465 syscalls, it's possible to isolate those applications in
466 their own address space using seccomp. Once seccomp is
467 enabled via /proc/<pid>/seccomp, it cannot be disabled
468 and the task is only allowed to execute a few safe syscalls
469 defined by each seccomp mode.
470
471 If unsure, say Y. Only embedded should say N here.
472
473endmenu
474
475config ISA_DMA_API
476 bool
Stephen Rothwell373a6da2007-12-21 15:37:07 +1100477 default !PPC_ISERIES || PCI
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000478
479menu "Bus options"
480
481config ISA
482 bool "Support for ISA-bus hardware"
483 depends on PPC_PREP || PPC_CHRP
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000484 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000485 help
486 Find out whether you have ISA slots on your motherboard. ISA is the
487 name of a bus system, i.e. the way the CPU talks to the other stuff
488 inside your box. If you have an Apple machine, say N here; if you
489 have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
490 you have an embedded board, consult your board documentation.
491
Christoph Lameter5ac6da62007-02-10 01:43:14 -0800492config ZONE_DMA
493 bool
494 default y
495
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000496config GENERIC_ISA_DMA
497 bool
498 depends on PPC64 || POWER4 || 6xx && !CPM2
499 default y
500
Paul Mackerras25635c72005-10-26 16:36:55 +1000501config PPC_INDIRECT_PCI
502 bool
503 depends on PCI
Becky Bruce63dafe52006-01-14 16:57:39 -0600504 default y if 40x || 44x
Paul Mackerras25635c72005-10-26 16:36:55 +1000505 default n
506
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000507config EISA
508 bool
509
510config SBUS
511 bool
512
Kumar Gala08264cb2006-01-10 21:43:56 -0600513config FSL_SOC
514 bool
515
Roy Zang55c44992007-07-10 18:44:34 +0800516config FSL_PCI
517 bool
518 select PPC_INDIRECT_PCI
519
Stefan Roese2a706912008-03-26 22:39:50 +1100520config 4xx_SOC
521 bool
522
Anton Vorontsovacaa7aa2008-04-11 21:03:40 +0400523config FSL_LBC
524 bool
525 help
526 Freescale Localbus support
527
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000528# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
529config MCA
530 bool
531
532config PCI
Jon Loeliger53158622006-08-09 10:37:28 -0500533 bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
Stephen Rothwellbed59272007-03-04 17:04:44 +1100534 || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \
Sean MacLennanf9bdedb2008-01-22 04:55:29 +1100535 || PPC_PS3 || 44x
John Rigbye177edc2008-01-29 04:28:53 +1100536 default y if !40x && !CPM2 && !8xx && !PPC_MPC512x && !PPC_83xx \
Jon Loeliger53158622006-08-09 10:37:28 -0500537 && !PPC_85xx && !PPC_86xx
David Gibsonf21f49e2007-06-13 14:52:54 +1000538 default PCI_PERMEDIA if !4xx && !CPM2 && !8xx
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000539 default PCI_QSPAN if !4xx && !CPM2 && 8xx
Michael Ellermandf87ef52007-05-08 12:58:34 +1000540 select ARCH_SUPPORTS_MSI
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000541 help
542 Find out whether your system includes a PCI bus. PCI is the name of
543 a bus system, i.e. the way the CPU talks to the other stuff inside
544 your box. If you say Y here, the kernel will include drivers and
545 infrastructure code to support PCI bus devices.
546
547config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600548 def_bool PCI
549
550config PCI_SYSCALL
551 def_bool PCI
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000552
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000553config PCI_QSPAN
554 bool "QSpan PCI"
555 depends on !4xx && !CPM2 && 8xx
Paul Mackerrasf9bd1702005-10-26 16:47:42 +1000556 select PPC_I8259
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000557 help
558 Say Y here if you have a system based on a Motorola 8xx-series
559 embedded processor with a QSPAN PCI interface, otherwise say N.
560
561config PCI_8260
562 bool
563 depends on PCI && 8260
Paul Mackerras25635c72005-10-26 16:36:55 +1000564 select PPC_INDIRECT_PCI
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000565 default y
566
567config 8260_PCI9
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700568 bool "Enable workaround for MPC826x erratum PCI 9"
Scott Woode00c5492007-09-14 15:41:56 -0500569 depends on PCI_8260 && !8272
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000570 default y
571
572choice
Andrew Morton4a3ecc62006-06-01 20:36:04 -0700573 prompt "IDMA channel for PCI 9 workaround"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000574 depends on 8260_PCI9
575
576config 8260_PCI9_IDMA1
577 bool "IDMA1"
578
579config 8260_PCI9_IDMA2
580 bool "IDMA2"
581
582config 8260_PCI9_IDMA3
583 bool "IDMA3"
584
585config 8260_PCI9_IDMA4
586 bool "IDMA4"
587
588endchoice
589
Jake Moilanenbb53bb32006-06-07 16:05:46 -0500590source "drivers/pci/pcie/Kconfig"
591
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000592source "drivers/pci/Kconfig"
593
594source "drivers/pcmcia/Kconfig"
595
596source "drivers/pci/hotplug/Kconfig"
597
598endmenu
599
600menu "Advanced setup"
601 depends on PPC32
602
603config ADVANCED_OPTIONS
604 bool "Prompt for advanced kernel configuration options"
605 help
606 This option will enable prompting for a variety of advanced kernel
607 configuration options. These options can cause the kernel to not
608 work if they are set incorrectly, but can be used to optimize certain
609 aspects of kernel memory management.
610
611 Unless you know what you are doing, say N here.
612
613comment "Default settings for advanced configuration options are used"
614 depends on !ADVANCED_OPTIONS
615
616config HIGHMEM_START_BOOL
617 bool "Set high memory pool address"
618 depends on ADVANCED_OPTIONS && HIGHMEM
619 help
620 This option allows you to set the base address of the kernel virtual
621 area used to map high memory pages. This can be useful in
622 optimizing the layout of kernel virtual memory.
623
624 Say N here unless you know what you are doing.
625
626config HIGHMEM_START
627 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
628 default "0xfe000000"
629
630config LOWMEM_SIZE_BOOL
631 bool "Set maximum low memory"
632 depends on ADVANCED_OPTIONS
633 help
634 This option allows you to set the maximum amount of memory which
635 will be used as "low memory", that is, memory which the kernel can
636 access directly, without having to set up a kernel virtual mapping.
637 This can be useful in optimizing the layout of kernel virtual
638 memory.
639
640 Say N here unless you know what you are doing.
641
642config LOWMEM_SIZE
643 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
644 default "0x30000000"
645
646config KERNEL_START_BOOL
647 bool "Set custom kernel base address"
648 depends on ADVANCED_OPTIONS
649 help
650 This option allows you to set the kernel virtual address at which
651 the kernel will map low memory (the kernel image will be linked at
652 this address). This can be useful in optimizing the virtual memory
653 layout of the system.
654
655 Say N here unless you know what you are doing.
656
657config KERNEL_START
658 hex "Virtual address of kernel base" if KERNEL_START_BOOL
659 default "0xc0000000"
660
661config TASK_SIZE_BOOL
662 bool "Set custom user task size"
663 depends on ADVANCED_OPTIONS
664 help
665 This option allows you to set the amount of virtual address space
666 allocated to user tasks. This can be useful in optimizing the
667 virtual memory layout of the system.
668
669 Say N here unless you know what you are doing.
670
671config TASK_SIZE
672 hex "Size of user task space" if TASK_SIZE_BOOL
Kumar Gala4d9e55102007-10-11 13:40:21 -0500673 default "0x80000000" if PPC_PREP || PPC_8xx
674 default "0xc0000000"
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000675
676config CONSISTENT_START_BOOL
677 bool "Set custom consistent memory pool address"
678 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
679 help
680 This option allows you to set the base virtual address
Matt LaPlante4b3f6862006-10-03 22:21:02 +0200681 of the consistent memory pool. This pool of virtual
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000682 memory is used to make consistent memory allocations.
683
684config CONSISTENT_START
685 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
Scott Woodccf0d682007-07-16 11:28:18 -0500686 default "0xfd000000" if (NOT_COHERENT_CACHE && 8xx)
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000687 default "0xff100000" if NOT_COHERENT_CACHE
688
689config CONSISTENT_SIZE_BOOL
690 bool "Set custom consistent memory pool size"
691 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
692 help
Matt LaPlante4b3f6862006-10-03 22:21:02 +0200693 This option allows you to set the size of the
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000694 consistent memory pool. This pool of virtual memory
695 is used to make consistent memory allocations.
696
697config CONSISTENT_SIZE
698 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
699 default "0x00200000" if NOT_COHERENT_CACHE
700
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000701config PIN_TLB
702 bool "Pinned Kernel TLBs (860 ONLY)"
703 depends on ADVANCED_OPTIONS && 8xx
704endmenu
705
Stephen Rothwellcabb5582005-09-30 16:16:52 +1000706if PPC64
707config KERNEL_START
708 hex
Stephen Rothwelleeb2d212005-09-30 17:24:15 +1000709 default "0xc000000000000000"
Stephen Rothwellcabb5582005-09-30 16:16:52 +1000710endif
711
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000712source "net/Kconfig"
713
714source "drivers/Kconfig"
715
716source "fs/Kconfig"
717
718# XXX source "arch/ppc/8xx_io/Kconfig"
719
720# XXX source "arch/ppc/8260_io/Kconfig"
721
Li Yang98658532006-10-03 23:10:46 -0500722source "arch/powerpc/sysdev/qe_lib/Kconfig"
723
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000724source "lib/Kconfig"
725
Paul Mackerras14cf11a2005-09-26 16:04:21 +1000726source "arch/powerpc/Kconfig.debug"
727
728source "security/Kconfig"
729
730config KEYS_COMPAT
731 bool
732 depends on COMPAT && KEYS
733 default y
734
735source "crypto/Kconfig"
Domen Puncer6f668282007-09-21 00:00:11 +1000736
737config PPC_CLOCK
738 bool
739 default n
Sylvain Munaut1088a202007-09-16 20:53:25 +1000740
741config PPC_LIB_RHEAP
742 bool
743