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