]>
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 | ||
14cf11af PM |
52 | config RWSEM_GENERIC_SPINLOCK |
53 | bool | |
54 | ||
55 | config RWSEM_XCHGADD_ALGORITHM | |
56 | bool | |
57 | default y | |
58 | ||
95c354fe NP |
59 | config GENERIC_LOCKBREAK |
60 | bool | |
61 | default y | |
62 | depends on SMP && PREEMPT | |
63 | ||
f0d1b0b3 DH |
64 | config ARCH_HAS_ILOG2_U32 |
65 | bool | |
ef55d53c | 66 | default y |
f0d1b0b3 DH |
67 | |
68 | config ARCH_HAS_ILOG2_U64 | |
69 | bool | |
ef55d53c | 70 | default y if 64BIT |
f0d1b0b3 | 71 | |
e779b2f9 AM |
72 | config GENERIC_HWEIGHT |
73 | bool | |
74 | default y | |
75 | ||
14cf11af PM |
76 | config GENERIC_CALIBRATE_DELAY |
77 | bool | |
78 | default y | |
79 | ||
0a9cb46a JM |
80 | config GENERIC_FIND_NEXT_BIT |
81 | bool | |
82 | default y | |
83 | ||
b7ce3415 AV |
84 | config GENERIC_GPIO |
85 | bool | |
86 | help | |
87 | Generic GPIO API support | |
88 | ||
f057eac0 SR |
89 | config ARCH_NO_VIRT_TO_BUS |
90 | def_bool PPC64 | |
91 | ||
14cf11af PM |
92 | config PPC |
93 | bool | |
94 | default y | |
ec7748b5 | 95 | select HAVE_IDE |
42d4b839 | 96 | select HAVE_OPROFILE |
3f550096 | 97 | select HAVE_KPROBES |
9edddaa2 | 98 | select HAVE_KRETPROBES |
d9b2b2a2 | 99 | select HAVE_LMB |
14cf11af PM |
100 | |
101 | config EARLY_PRINTK | |
102 | bool | |
51d3082f | 103 | default y |
14cf11af PM |
104 | |
105 | config COMPAT | |
106 | bool | |
107 | default y if PPC64 | |
01e31dba | 108 | select COMPAT_BINFMT_ELF |
14cf11af PM |
109 | |
110 | config SYSVIPC_COMPAT | |
111 | bool | |
112 | depends on COMPAT && SYSVIPC | |
113 | default y | |
114 | ||
115 | # All PPC32s use generic nvram driver through ppc_md | |
116 | config GENERIC_NVRAM | |
117 | bool | |
118 | default y if PPC32 | |
119 | ||
120 | config SCHED_NO_NO_OMIT_FRAME_POINTER | |
121 | bool | |
122 | default y | |
123 | ||
124 | config ARCH_MAY_HAVE_PC_FDC | |
125 | bool | |
bed59275 | 126 | default !PPC_PSERIES || PCI |
14cf11af | 127 | |
08264cbc KG |
128 | config PPC_OF |
129 | def_bool y | |
130 | ||
97e873e5 SR |
131 | config OF |
132 | def_bool y | |
133 | ||
08264cbc KG |
134 | config PPC_UDBG_16550 |
135 | bool | |
136 | default n | |
137 | ||
08264cbc KG |
138 | config GENERIC_TBSYNC |
139 | bool | |
140 | default y if PPC32 && SMP | |
141 | default n | |
142 | ||
e65e1fc2 AV |
143 | config AUDIT_ARCH |
144 | bool | |
145 | default y | |
146 | ||
73c9ceab JF |
147 | config GENERIC_BUG |
148 | bool | |
149 | default y | |
150 | depends on BUG | |
151 | ||
b3028878 | 152 | config SYS_SUPPORTS_APM_EMULATION |
58da10bb | 153 | default y if PMAC_APM_EMU |
b3028878 JB |
154 | bool |
155 | ||
f4fc4a5b KG |
156 | config 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 | ||
b09c1644 SW |
162 | config REDBOOT |
163 | bool | |
164 | ||
801e4062 | 165 | config HIBERNATE_32 |
543b9fd3 | 166 | bool |
801e4062 JB |
167 | depends on (PPC_PMAC && !SMP) || BROKEN |
168 | default y | |
169 | ||
170 | config HIBERNATE_64 | |
171 | bool | |
172 | depends on BROKEN || (PPC_PMAC64 && EXPERIMENTAL) | |
173 | default y | |
174 | ||
175 | config ARCH_HIBERNATION_POSSIBLE | |
176 | bool | |
177 | depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32) | |
543b9fd3 JB |
178 | default y |
179 | ||
f4cb5700 JB |
180 | config ARCH_SUSPEND_POSSIBLE |
181 | def_bool y | |
182 | depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 | |
183 | ||
4c75a6f4 BH |
184 | config PPC_DCR_NATIVE |
185 | bool | |
186 | default n | |
187 | ||
188 | config PPC_DCR_MMIO | |
189 | bool | |
190 | default n | |
191 | ||
192 | config PPC_DCR | |
193 | bool | |
194 | depends on PPC_DCR_NATIVE || PPC_DCR_MMIO | |
195 | default y | |
196 | ||
4c9d2800 BH |
197 | config PPC_OF_PLATFORM_PCI |
198 | bool | |
373a6da1 | 199 | depends on PCI |
4c9d2800 BH |
200 | depends on PPC64 # not supported on 32 bits yet |
201 | default n | |
202 | ||
14cf11af PM |
203 | source "init/Kconfig" |
204 | ||
a2d2e1ec | 205 | source "arch/powerpc/sysdev/Kconfig" |
4330f5da | 206 | source "arch/powerpc/platforms/Kconfig" |
14cf11af | 207 | |
14cf11af PM |
208 | menu "Kernel options" |
209 | ||
210 | config HIGHMEM | |
211 | bool "High memory support" | |
212 | depends on PPC32 | |
213 | ||
1ad74998 | 214 | source kernel/time/Kconfig |
14cf11af PM |
215 | source kernel/Kconfig.hz |
216 | source kernel/Kconfig.preempt | |
217 | source "fs/Kconfig.binfmt" | |
218 | ||
ba72cb8c MG |
219 | config HUGETLB_PAGE_SIZE_VARIABLE |
220 | bool | |
221 | depends on HUGETLB_PAGE | |
222 | default y | |
223 | ||
14cf11af PM |
224 | config MATH_EMULATION |
225 | bool "Math emulation" | |
4d52719a | 226 | depends on 4xx || 8xx || E200 || PPC_MPC832x || E500 |
14cf11af PM |
227 | ---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 | ||
5dd57a13 SW |
235 | config 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 | ||
14cf11af | 246 | config IOMMU_VMERGE |
768cc2d3 LV |
247 | bool "Enable IOMMU virtual merging" |
248 | depends on PPC64 | |
249 | default y | |
14cf11af PM |
250 | 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 | |
768cc2d3 LV |
255 | from *_map_sg(). |
256 | ||
257 | Most drivers don't have this problem; it is safe to say Y here. | |
14cf11af | 258 | |
fb3475e9 FT |
259 | config IOMMU_HELPER |
260 | def_bool PPC64 | |
261 | ||
14cf11af PM |
262 | config 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 | ||
cc57637b YG |
271 | config ARCH_ENABLE_MEMORY_HOTPLUG |
272 | def_bool y | |
273 | ||
a99824f3 BP |
274 | config ARCH_HAS_WALK_MEMORY |
275 | def_bool y | |
276 | ||
1482471d BP |
277 | config ARCH_ENABLE_MEMORY_HOTREMOVE |
278 | def_bool y | |
279 | ||
14cf11af PM |
280 | config KEXEC |
281 | bool "kexec system call (EXPERIMENTAL)" | |
fd4ba7e2 | 282 | depends on (PPC_PRPMC2800 || PPC_MULTIPLATFORM) && EXPERIMENTAL |
14cf11af PM |
283 | 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 | |
1f1332f7 | 286 | but it is independent of the system firmware. And like a reboot |
14cf11af PM |
287 | you can start any kernel with it, not just Linux. |
288 | ||
1f1332f7 | 289 | The name comes from the similarity to the exec system call. |
14cf11af PM |
290 | |
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 | ||
e8625d46 | 297 | config CRASH_DUMP |
cd9c99d7 | 298 | bool "Build a kdump crash kernel (EXPERIMENTAL)" |
e8625d46 HM |
299 | 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 | ||
242f271c MA |
307 | config 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 | ||
14cf11af PM |
317 | config PPCBUG_NVRAM |
318 | bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC | |
319 | default y if PPC_PREP | |
320 | ||
321 | config 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 | ||
ffa27b6b AW |
330 | config NUMA |
331 | bool "NUMA support" | |
332 | depends on PPC64 | |
333 | default y if SMP && PPC_PSERIES | |
334 | ||
c80d79d7 YG |
335 | config NODES_SHIFT |
336 | int | |
337 | default "4" | |
338 | depends on NEED_MULTIPLE_NODES | |
339 | ||
14cf11af PM |
340 | config ARCH_SELECT_MEMORY_MODEL |
341 | def_bool y | |
342 | depends on PPC64 | |
343 | ||
344 | config ARCH_FLATMEM_ENABLE | |
9100b205 AW |
345 | def_bool y |
346 | depends on (PPC64 && !NUMA) || PPC32 | |
14cf11af | 347 | |
45fb6cea | 348 | config ARCH_SPARSEMEM_ENABLE |
14cf11af | 349 | def_bool y |
9100b205 | 350 | depends on PPC64 |
d29eff7b | 351 | select SPARSEMEM_VMEMMAP_ENABLE |
14cf11af | 352 | |
45fb6cea | 353 | config ARCH_SPARSEMEM_DEFAULT |
14cf11af | 354 | def_bool y |
78bde53e | 355 | depends on (SMP && PPC_PSERIES) || PPC_PS3 |
14cf11af | 356 | |
c67c3cb4 | 357 | config ARCH_POPULATES_NODE_MAP |
14cf11af | 358 | def_bool y |
c67c3cb4 MG |
359 | |
360 | source "mm/Kconfig" | |
14cf11af | 361 | |
7e9191da MK |
362 | config ARCH_MEMORY_PROBE |
363 | def_bool y | |
364 | depends on MEMORY_HOTPLUG | |
365 | ||
75167957 AW |
366 | # 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. | |
371 | config NODES_SPAN_OTHER_NODES | |
372 | def_bool y | |
373 | depends on NEED_MULTIPLE_NODES | |
374 | ||
16c2d476 BH |
375 | config PPC_HAS_HASH_64K |
376 | bool | |
377 | depends on PPC64 | |
378 | default n | |
379 | ||
3c726f8d BH |
380 | config PPC_64K_PAGES |
381 | bool "64k page size" | |
863c84b9 | 382 | depends on PPC64 |
16c2d476 | 383 | select PPC_HAS_HASH_64K |
3c726f8d BH |
384 | help |
385 | This option changes the kernel logical page size to 64k. On machines | |
98750261 KG |
386 | 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. | |
3c726f8d | 390 | |
53bcddb9 SR |
391 | config 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 | ||
fa28237c PM |
411 | config 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 | ||
14cf11af PM |
419 | config SCHED_SMT |
420 | bool "SMT (Hyperthreading) scheduler support" | |
421 | depends on PPC64 && SMP | |
14cf11af PM |
422 | 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 | ||
427 | config PROC_DEVICETREE | |
5f296755 PM |
428 | bool "Support for device tree in /proc" |
429 | depends on PROC_FS | |
14cf11af PM |
430 | 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 | |
5f296755 | 433 | Firmware or other boot firmware. If unsure, say Y here. |
14cf11af | 434 | |
14cf11af PM |
435 | config CMDLINE_BOOL |
436 | bool "Default bootloader kernel arguments" | |
14cf11af PM |
437 | |
438 | config 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 | ||
448 | if !44x || BROKEN | |
b28f5081 JB |
449 | config ARCH_WANTS_FREEZER_CONTROL |
450 | def_bool y | |
451 | depends on ADB_PMU | |
452 | ||
14cf11af PM |
453 | source kernel/power/Kconfig |
454 | endif | |
455 | ||
456 | config 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 | ||
473 | endmenu | |
474 | ||
475 | config ISA_DMA_API | |
476 | bool | |
373a6da1 | 477 | default !PPC_ISERIES || PCI |
14cf11af PM |
478 | |
479 | menu "Bus options" | |
480 | ||
481 | config ISA | |
482 | bool "Support for ISA-bus hardware" | |
483 | depends on PPC_PREP || PPC_CHRP | |
f9bd170a | 484 | select PPC_I8259 |
14cf11af PM |
485 | 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 | ||
5ac6da66 CL |
492 | config ZONE_DMA |
493 | bool | |
494 | default y | |
495 | ||
14cf11af PM |
496 | config GENERIC_ISA_DMA |
497 | bool | |
498 | depends on PPC64 || POWER4 || 6xx && !CPM2 | |
499 | default y | |
500 | ||
25635c71 PM |
501 | config PPC_INDIRECT_PCI |
502 | bool | |
503 | depends on PCI | |
63dafe57 | 504 | default y if 40x || 44x |
25635c71 PM |
505 | default n |
506 | ||
14cf11af PM |
507 | config EISA |
508 | bool | |
509 | ||
510 | config SBUS | |
511 | bool | |
512 | ||
08264cbc KG |
513 | config FSL_SOC |
514 | bool | |
515 | ||
55c44991 RZ |
516 | config FSL_PCI |
517 | bool | |
518 | select PPC_INDIRECT_PCI | |
519 | ||
2a706919 SR |
520 | config 4xx_SOC |
521 | bool | |
522 | ||
acaa7aa3 AV |
523 | config FSL_LBC |
524 | bool | |
525 | help | |
526 | Freescale Localbus support | |
527 | ||
14cf11af PM |
528 | # Yes MCA RS/6000s exist but Linux-PPC does not currently support any |
529 | config MCA | |
530 | bool | |
531 | ||
532 | config PCI | |
53158620 | 533 | bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ |
bed59275 | 534 | || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \ |
f9bdedb2 | 535 | || PPC_PS3 || 44x |
e177edcd | 536 | default y if !40x && !CPM2 && !8xx && !PPC_MPC512x && !PPC_83xx \ |
53158620 | 537 | && !PPC_85xx && !PPC_86xx |
f21f49ea | 538 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx |
14cf11af | 539 | default PCI_QSPAN if !4xx && !CPM2 && 8xx |
df87ef55 | 540 | select ARCH_SUPPORTS_MSI |
14cf11af PM |
541 | 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 | ||
547 | config PCI_DOMAINS | |
36e23590 MW |
548 | def_bool PCI |
549 | ||
550 | config PCI_SYSCALL | |
551 | def_bool PCI | |
14cf11af | 552 | |
14cf11af PM |
553 | config PCI_QSPAN |
554 | bool "QSpan PCI" | |
555 | depends on !4xx && !CPM2 && 8xx | |
f9bd170a | 556 | select PPC_I8259 |
14cf11af PM |
557 | 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 | ||
561 | config PCI_8260 | |
562 | bool | |
563 | depends on PCI && 8260 | |
25635c71 | 564 | select PPC_INDIRECT_PCI |
14cf11af PM |
565 | default y |
566 | ||
567 | config 8260_PCI9 | |
4a3ecc62 | 568 | bool "Enable workaround for MPC826x erratum PCI 9" |
e00c5498 | 569 | depends on PCI_8260 && !8272 |
14cf11af PM |
570 | default y |
571 | ||
572 | choice | |
4a3ecc62 | 573 | prompt "IDMA channel for PCI 9 workaround" |
14cf11af PM |
574 | depends on 8260_PCI9 |
575 | ||
576 | config 8260_PCI9_IDMA1 | |
577 | bool "IDMA1" | |
578 | ||
579 | config 8260_PCI9_IDMA2 | |
580 | bool "IDMA2" | |
581 | ||
582 | config 8260_PCI9_IDMA3 | |
583 | bool "IDMA3" | |
584 | ||
585 | config 8260_PCI9_IDMA4 | |
586 | bool "IDMA4" | |
587 | ||
588 | endchoice | |
589 | ||
bb53bb3d JM |
590 | source "drivers/pci/pcie/Kconfig" |
591 | ||
14cf11af PM |
592 | source "drivers/pci/Kconfig" |
593 | ||
594 | source "drivers/pcmcia/Kconfig" | |
595 | ||
596 | source "drivers/pci/hotplug/Kconfig" | |
597 | ||
598 | endmenu | |
599 | ||
600 | menu "Advanced setup" | |
601 | depends on PPC32 | |
602 | ||
603 | config 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 | ||
613 | comment "Default settings for advanced configuration options are used" | |
614 | depends on !ADVANCED_OPTIONS | |
615 | ||
616 | config 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 | ||
626 | config HIGHMEM_START | |
627 | hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL | |
628 | default "0xfe000000" | |
629 | ||
630 | config 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 | ||
642 | config LOWMEM_SIZE | |
643 | hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL | |
644 | default "0x30000000" | |
645 | ||
646 | config 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 | ||
657 | config KERNEL_START | |
658 | hex "Virtual address of kernel base" if KERNEL_START_BOOL | |
659 | default "0xc0000000" | |
660 | ||
661 | config 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 | ||
671 | config TASK_SIZE | |
672 | hex "Size of user task space" if TASK_SIZE_BOOL | |
4d9e5510 KG |
673 | default "0x80000000" if PPC_PREP || PPC_8xx |
674 | default "0xc0000000" | |
14cf11af PM |
675 | |
676 | config 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 | |
4b3f686d | 681 | of the consistent memory pool. This pool of virtual |
14cf11af PM |
682 | memory is used to make consistent memory allocations. |
683 | ||
684 | config CONSISTENT_START | |
685 | hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL | |
ccf0d68e | 686 | default "0xfd000000" if (NOT_COHERENT_CACHE && 8xx) |
14cf11af PM |
687 | default "0xff100000" if NOT_COHERENT_CACHE |
688 | ||
689 | config CONSISTENT_SIZE_BOOL | |
690 | bool "Set custom consistent memory pool size" | |
691 | depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE | |
692 | help | |
4b3f686d | 693 | This option allows you to set the size of the |
14cf11af PM |
694 | consistent memory pool. This pool of virtual memory |
695 | is used to make consistent memory allocations. | |
696 | ||
697 | config CONSISTENT_SIZE | |
698 | hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL | |
699 | default "0x00200000" if NOT_COHERENT_CACHE | |
700 | ||
14cf11af PM |
701 | config PIN_TLB |
702 | bool "Pinned Kernel TLBs (860 ONLY)" | |
703 | depends on ADVANCED_OPTIONS && 8xx | |
704 | endmenu | |
705 | ||
cabb5587 SR |
706 | if PPC64 |
707 | config KERNEL_START | |
708 | hex | |
eeb2d218 | 709 | default "0xc000000000000000" |
cabb5587 SR |
710 | endif |
711 | ||
14cf11af PM |
712 | source "net/Kconfig" |
713 | ||
714 | source "drivers/Kconfig" | |
715 | ||
716 | source "fs/Kconfig" | |
717 | ||
718 | # XXX source "arch/ppc/8xx_io/Kconfig" | |
719 | ||
720 | # XXX source "arch/ppc/8260_io/Kconfig" | |
721 | ||
98658538 LY |
722 | source "arch/powerpc/sysdev/qe_lib/Kconfig" |
723 | ||
14cf11af PM |
724 | source "lib/Kconfig" |
725 | ||
14cf11af PM |
726 | source "arch/powerpc/Kconfig.debug" |
727 | ||
728 | source "security/Kconfig" | |
729 | ||
730 | config KEYS_COMPAT | |
731 | bool | |
732 | depends on COMPAT && KEYS | |
733 | default y | |
734 | ||
735 | source "crypto/Kconfig" | |
6f668280 DP |
736 | |
737 | config PPC_CLOCK | |
738 | bool | |
739 | default n | |
1088a209 SM |
740 | |
741 | config PPC_LIB_RHEAP | |
742 | bool | |
743 |