]>
Commit | Line | Data |
---|---|---|
1 | config MIPS | |
2 | bool | |
3 | default y | |
4 | # Horrible source of confusion. Die, die, die ... | |
5 | select EMBEDDED | |
6 | select RTC_LIB | |
7 | ||
8 | mainmenu "Linux/MIPS Kernel Configuration" | |
9 | ||
10 | menu "Machine selection" | |
11 | ||
12 | config ZONE_DMA | |
13 | bool | |
14 | ||
15 | choice | |
16 | prompt "System type" | |
17 | default SGI_IP22 | |
18 | ||
19 | config MACH_ALCHEMY | |
20 | bool "Alchemy processor based machines" | |
21 | ||
22 | config BASLER_EXCITE | |
23 | bool "Basler eXcite smart camera" | |
24 | select CEVT_R4K | |
25 | select CSRC_R4K | |
26 | select DMA_COHERENT | |
27 | select HW_HAS_PCI | |
28 | select IRQ_CPU | |
29 | select IRQ_CPU_RM7K | |
30 | select IRQ_CPU_RM9K | |
31 | select MIPS_RM9122 | |
32 | select SYS_HAS_CPU_RM9000 | |
33 | select SYS_SUPPORTS_32BIT_KERNEL | |
34 | select SYS_SUPPORTS_BIG_ENDIAN | |
35 | select SYS_SUPPORTS_KGDB | |
36 | help | |
37 | The eXcite is a smart camera platform manufactured by | |
38 | Basler Vision Technologies AG. | |
39 | ||
40 | config BASLER_EXCITE_PROTOTYPE | |
41 | bool "Support for pre-release units" | |
42 | depends on BASLER_EXCITE | |
43 | default n | |
44 | help | |
45 | Pre-series (prototype) units are different from later ones in | |
46 | some ways. Select this option if you have one of these. Please | |
47 | note that a kernel built with this option selected will not be | |
48 | able to run on normal units. | |
49 | ||
50 | config BCM47XX | |
51 | bool "BCM47XX based boards" | |
52 | select CEVT_R4K | |
53 | select CSRC_R4K | |
54 | select DMA_NONCOHERENT | |
55 | select HW_HAS_PCI | |
56 | select IRQ_CPU | |
57 | select SYS_HAS_CPU_MIPS32_R1 | |
58 | select SYS_SUPPORTS_32BIT_KERNEL | |
59 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
60 | select SSB | |
61 | select SSB_DRIVER_MIPS | |
62 | select GENERIC_GPIO | |
63 | select SYS_HAS_EARLY_PRINTK | |
64 | select CFE | |
65 | help | |
66 | Support for BCM47XX based boards | |
67 | ||
68 | config MIPS_COBALT | |
69 | bool "Cobalt Server" | |
70 | select CEVT_R4K | |
71 | select CSRC_R4K | |
72 | select CEVT_GT641XX | |
73 | select DMA_NONCOHERENT | |
74 | select HW_HAS_PCI | |
75 | select I8253 | |
76 | select I8259 | |
77 | select IRQ_CPU | |
78 | select IRQ_GT641XX | |
79 | select PCI_GT64XXX_PCI0 | |
80 | select SYS_HAS_CPU_NEVADA | |
81 | select SYS_HAS_EARLY_PRINTK | |
82 | select SYS_SUPPORTS_32BIT_KERNEL | |
83 | select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL | |
84 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
85 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
86 | ||
87 | config MACH_DECSTATION | |
88 | bool "DECstations" | |
89 | select BOOT_ELF32 | |
90 | select CEVT_R4K | |
91 | select CSRC_R4K | |
92 | select DMA_NONCOHERENT | |
93 | select NO_IOPORT | |
94 | select IRQ_CPU | |
95 | select SYS_HAS_CPU_R3000 | |
96 | select SYS_HAS_CPU_R4X00 | |
97 | select SYS_SUPPORTS_32BIT_KERNEL | |
98 | select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL | |
99 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
100 | select SYS_SUPPORTS_128HZ | |
101 | select SYS_SUPPORTS_256HZ | |
102 | select SYS_SUPPORTS_1024HZ | |
103 | help | |
104 | This enables support for DEC's MIPS based workstations. For details | |
105 | see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the | |
106 | DECstation porting pages on <http://decstation.unix-ag.org/>. | |
107 | ||
108 | If you have one of the following DECstation Models you definitely | |
109 | want to choose R4xx0 for the CPU Type: | |
110 | ||
111 | DECstation 5000/50 | |
112 | DECstation 5000/150 | |
113 | DECstation 5000/260 | |
114 | DECsystem 5900/260 | |
115 | ||
116 | otherwise choose R3000. | |
117 | ||
118 | config MACH_JAZZ | |
119 | bool "Jazz family of machines" | |
120 | select ARC | |
121 | select ARC32 | |
122 | select ARCH_MAY_HAVE_PC_FDC | |
123 | select CEVT_R4K | |
124 | select CSRC_R4K | |
125 | select GENERIC_ISA_DMA | |
126 | select IRQ_CPU | |
127 | select I8253 | |
128 | select I8259 | |
129 | select ISA | |
130 | select PCSPEAKER | |
131 | select SYS_HAS_CPU_R4X00 | |
132 | select SYS_SUPPORTS_32BIT_KERNEL | |
133 | select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL | |
134 | select SYS_SUPPORTS_100HZ | |
135 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
136 | help | |
137 | This a family of machines based on the MIPS R4030 chipset which was | |
138 | used by several vendors to build RISC/os and Windows NT workstations. | |
139 | Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and | |
140 | Olivetti M700-10 workstations. | |
141 | ||
142 | config LASAT | |
143 | bool "LASAT Networks platforms" | |
144 | select CEVT_R4K | |
145 | select CSRC_R4K | |
146 | select DMA_NONCOHERENT | |
147 | select SYS_HAS_EARLY_PRINTK | |
148 | select HW_HAS_PCI | |
149 | select IRQ_CPU | |
150 | select PCI_GT64XXX_PCI0 | |
151 | select MIPS_NILE4 | |
152 | select R5000_CPU_SCACHE | |
153 | select SYS_HAS_CPU_R5000 | |
154 | select SYS_SUPPORTS_32BIT_KERNEL | |
155 | select SYS_SUPPORTS_64BIT_KERNEL if BROKEN | |
156 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
157 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
158 | ||
159 | config LEMOTE_FULONG | |
160 | bool "Lemote Fulong mini-PC" | |
161 | select ARCH_SPARSEMEM_ENABLE | |
162 | select CEVT_R4K | |
163 | select CSRC_R4K | |
164 | select SYS_HAS_CPU_LOONGSON2 | |
165 | select DMA_NONCOHERENT | |
166 | select BOOT_ELF32 | |
167 | select BOARD_SCACHE | |
168 | select HAVE_STD_PC_SERIAL_PORT | |
169 | select HW_HAS_PCI | |
170 | select I8259 | |
171 | select ISA | |
172 | select IRQ_CPU | |
173 | select SYS_SUPPORTS_32BIT_KERNEL | |
174 | select SYS_SUPPORTS_64BIT_KERNEL | |
175 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
176 | select SYS_SUPPORTS_HIGHMEM | |
177 | select SYS_HAS_EARLY_PRINTK | |
178 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
179 | select GENERIC_ISA_DMA_SUPPORT_BROKEN | |
180 | select CPU_HAS_WB | |
181 | help | |
182 | Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and | |
183 | an FPGA northbridge | |
184 | ||
185 | config MIPS_ATLAS | |
186 | bool "MIPS Atlas board" | |
187 | select BOOT_ELF32 | |
188 | select CEVT_R4K | |
189 | select CSRC_R4K | |
190 | select DMA_NONCOHERENT | |
191 | select SYS_HAS_EARLY_PRINTK | |
192 | select IRQ_CPU | |
193 | select HW_HAS_PCI | |
194 | select MIPS_BOARDS_GEN | |
195 | select MIPS_BONITO64 | |
196 | select PCI_GT64XXX_PCI0 | |
197 | select MIPS_MSC | |
198 | select RM7000_CPU_SCACHE | |
199 | select SWAP_IO_SPACE | |
200 | select SYS_HAS_CPU_MIPS32_R1 | |
201 | select SYS_HAS_CPU_MIPS32_R2 | |
202 | select SYS_HAS_CPU_MIPS64_R1 | |
203 | select SYS_HAS_CPU_NEVADA | |
204 | select SYS_HAS_CPU_RM7000 | |
205 | select SYS_SUPPORTS_32BIT_KERNEL | |
206 | select SYS_SUPPORTS_64BIT_KERNEL | |
207 | select SYS_SUPPORTS_BIG_ENDIAN | |
208 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
209 | select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL | |
210 | select SYS_SUPPORTS_SMARTMIPS | |
211 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
212 | help | |
213 | This enables support for the MIPS Technologies Atlas evaluation | |
214 | board. | |
215 | ||
216 | config MIPS_MALTA | |
217 | bool "MIPS Malta board" | |
218 | select ARCH_MAY_HAVE_PC_FDC | |
219 | select BOOT_ELF32 | |
220 | select CEVT_R4K | |
221 | select CSRC_R4K | |
222 | select DMA_NONCOHERENT | |
223 | select GENERIC_ISA_DMA | |
224 | select IRQ_CPU | |
225 | select HW_HAS_PCI | |
226 | select I8253 | |
227 | select I8259 | |
228 | select MIPS_BOARDS_GEN | |
229 | select MIPS_BONITO64 | |
230 | select MIPS_CPU_SCACHE | |
231 | select PCI_GT64XXX_PCI0 | |
232 | select MIPS_MSC | |
233 | select SWAP_IO_SPACE | |
234 | select SYS_HAS_CPU_MIPS32_R1 | |
235 | select SYS_HAS_CPU_MIPS32_R2 | |
236 | select SYS_HAS_CPU_MIPS64_R1 | |
237 | select SYS_HAS_CPU_NEVADA | |
238 | select SYS_HAS_CPU_RM7000 | |
239 | select SYS_HAS_EARLY_PRINTK | |
240 | select SYS_SUPPORTS_32BIT_KERNEL | |
241 | select SYS_SUPPORTS_64BIT_KERNEL | |
242 | select SYS_SUPPORTS_BIG_ENDIAN | |
243 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
244 | select SYS_SUPPORTS_MULTITHREADING | |
245 | select SYS_SUPPORTS_SMARTMIPS | |
246 | help | |
247 | This enables support for the MIPS Technologies Malta evaluation | |
248 | board. | |
249 | ||
250 | config MIPS_SEAD | |
251 | bool "MIPS SEAD board" | |
252 | select CEVT_R4K | |
253 | select CSRC_R4K | |
254 | select IRQ_CPU | |
255 | select DMA_NONCOHERENT | |
256 | select SYS_HAS_EARLY_PRINTK | |
257 | select MIPS_BOARDS_GEN | |
258 | select SYS_HAS_CPU_MIPS32_R1 | |
259 | select SYS_HAS_CPU_MIPS32_R2 | |
260 | select SYS_HAS_CPU_MIPS64_R1 | |
261 | select SYS_SUPPORTS_32BIT_KERNEL | |
262 | select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL | |
263 | select SYS_SUPPORTS_BIG_ENDIAN | |
264 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
265 | select SYS_SUPPORTS_SMARTMIPS | |
266 | help | |
267 | This enables support for the MIPS Technologies SEAD evaluation | |
268 | board. | |
269 | ||
270 | config MIPS_SIM | |
271 | bool 'MIPS simulator (MIPSsim)' | |
272 | select CEVT_R4K | |
273 | select CSRC_R4K | |
274 | select DMA_NONCOHERENT | |
275 | select SYS_HAS_EARLY_PRINTK | |
276 | select IRQ_CPU | |
277 | select BOOT_RAW | |
278 | select SYS_HAS_CPU_MIPS32_R1 | |
279 | select SYS_HAS_CPU_MIPS32_R2 | |
280 | select SYS_HAS_EARLY_PRINTK | |
281 | select SYS_SUPPORTS_32BIT_KERNEL | |
282 | select SYS_SUPPORTS_BIG_ENDIAN | |
283 | select SYS_SUPPORTS_MULTITHREADING | |
284 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
285 | help | |
286 | This option enables support for MIPS Technologies MIPSsim software | |
287 | emulator. | |
288 | ||
289 | config MARKEINS | |
290 | bool "NEC EMMA2RH Mark-eins" | |
291 | select CEVT_R4K | |
292 | select CSRC_R4K | |
293 | select DMA_NONCOHERENT | |
294 | select HW_HAS_PCI | |
295 | select IRQ_CPU | |
296 | select SWAP_IO_SPACE | |
297 | select SYS_SUPPORTS_32BIT_KERNEL | |
298 | select SYS_SUPPORTS_BIG_ENDIAN | |
299 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
300 | select SYS_HAS_CPU_R5000 | |
301 | help | |
302 | This enables support for the R5432-based NEC Mark-eins | |
303 | boards with R5500 CPU. | |
304 | ||
305 | config MACH_VR41XX | |
306 | bool "NEC VR4100 series based machines" | |
307 | select CEVT_R4K | |
308 | select CSRC_R4K | |
309 | select SYS_HAS_CPU_VR41XX | |
310 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
311 | ||
312 | config PNX8550_JBS | |
313 | bool "Philips PNX8550 based JBS board" | |
314 | select PNX8550 | |
315 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
316 | ||
317 | config PNX8550_STB810 | |
318 | bool "Philips PNX8550 based STB810 board" | |
319 | select PNX8550 | |
320 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
321 | ||
322 | config PMC_MSP | |
323 | bool "PMC-Sierra MSP chipsets" | |
324 | depends on EXPERIMENTAL | |
325 | select DMA_NONCOHERENT | |
326 | select SWAP_IO_SPACE | |
327 | select NO_EXCEPT_FILL | |
328 | select BOOT_RAW | |
329 | select SYS_HAS_CPU_MIPS32_R1 | |
330 | select SYS_HAS_CPU_MIPS32_R2 | |
331 | select SYS_SUPPORTS_32BIT_KERNEL | |
332 | select SYS_SUPPORTS_BIG_ENDIAN | |
333 | select SYS_SUPPORTS_KGDB | |
334 | select IRQ_CPU | |
335 | select SERIAL_8250 | |
336 | select SERIAL_8250_CONSOLE | |
337 | help | |
338 | This adds support for the PMC-Sierra family of Multi-Service | |
339 | Processor System-On-A-Chips. These parts include a number | |
340 | of integrated peripherals, interfaces and DSPs in addition to | |
341 | a variety of MIPS cores. | |
342 | ||
343 | config PMC_YOSEMITE | |
344 | bool "PMC-Sierra Yosemite eval board" | |
345 | select CEVT_R4K | |
346 | select CSRC_R4K | |
347 | select DMA_COHERENT | |
348 | select HW_HAS_PCI | |
349 | select IRQ_CPU | |
350 | select IRQ_CPU_RM7K | |
351 | select IRQ_CPU_RM9K | |
352 | select SWAP_IO_SPACE | |
353 | select SYS_HAS_CPU_RM9000 | |
354 | select SYS_HAS_EARLY_PRINTK | |
355 | select SYS_SUPPORTS_32BIT_KERNEL | |
356 | select SYS_SUPPORTS_64BIT_KERNEL | |
357 | select SYS_SUPPORTS_BIG_ENDIAN | |
358 | select SYS_SUPPORTS_HIGHMEM | |
359 | select SYS_SUPPORTS_KGDB | |
360 | select SYS_SUPPORTS_SMP | |
361 | help | |
362 | Yosemite is an evaluation board for the RM9000x2 processor | |
363 | manufactured by PMC-Sierra. | |
364 | ||
365 | config QEMU | |
366 | bool "Qemu" | |
367 | select CEVT_R4K | |
368 | select CSRC_R4K | |
369 | select DMA_COHERENT | |
370 | select GENERIC_ISA_DMA | |
371 | select HAVE_STD_PC_SERIAL_PORT | |
372 | select I8253 | |
373 | select I8259 | |
374 | select IRQ_CPU | |
375 | select ISA | |
376 | select PCSPEAKER | |
377 | select SWAP_IO_SPACE | |
378 | select SYS_HAS_CPU_MIPS32_R1 | |
379 | select SYS_HAS_EARLY_PRINTK | |
380 | select SYS_SUPPORTS_32BIT_KERNEL | |
381 | select SYS_SUPPORTS_BIG_ENDIAN | |
382 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
383 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
384 | select NR_CPUS_DEFAULT_1 | |
385 | select SYS_SUPPORTS_SMP | |
386 | help | |
387 | Qemu is a software emulator which among other architectures also | |
388 | can simulate a MIPS32 4Kc system. This patch adds support for the | |
389 | system architecture that currently is being simulated by Qemu. It | |
390 | will eventually be removed again when Qemu has the capability to | |
391 | simulate actual MIPS hardware platforms. More information on Qemu | |
392 | can be found at http://www.linux-mips.org/wiki/Qemu. | |
393 | ||
394 | config SGI_IP22 | |
395 | bool "SGI IP22 (Indy/Indigo2)" | |
396 | select ARC | |
397 | select ARC32 | |
398 | select BOOT_ELF32 | |
399 | select CEVT_R4K | |
400 | select CSRC_R4K | |
401 | select DMA_NONCOHERENT | |
402 | select HW_HAS_EISA | |
403 | select I8253 | |
404 | select I8259 | |
405 | select IP22_CPU_SCACHE | |
406 | select IRQ_CPU | |
407 | select GENERIC_ISA_DMA_SUPPORT_BROKEN | |
408 | select SWAP_IO_SPACE | |
409 | select SYS_HAS_CPU_R4X00 | |
410 | select SYS_HAS_CPU_R5000 | |
411 | select SYS_HAS_EARLY_PRINTK | |
412 | select SYS_SUPPORTS_32BIT_KERNEL | |
413 | select SYS_SUPPORTS_64BIT_KERNEL | |
414 | select SYS_SUPPORTS_BIG_ENDIAN | |
415 | help | |
416 | This are the SGI Indy, Challenge S and Indigo2, as well as certain | |
417 | OEM variants like the Tandem CMN B006S. To compile a Linux kernel | |
418 | that runs on these, say Y here. | |
419 | ||
420 | config SGI_IP27 | |
421 | bool "SGI IP27 (Origin200/2000)" | |
422 | select ARC | |
423 | select ARC64 | |
424 | select BOOT_ELF64 | |
425 | select DMA_IP27 | |
426 | select SYS_HAS_EARLY_PRINTK | |
427 | select HW_HAS_PCI | |
428 | select NR_CPUS_DEFAULT_64 | |
429 | select SYS_HAS_CPU_R10000 | |
430 | select SYS_SUPPORTS_64BIT_KERNEL | |
431 | select SYS_SUPPORTS_BIG_ENDIAN | |
432 | select SYS_SUPPORTS_KGDB | |
433 | select SYS_SUPPORTS_NUMA | |
434 | select SYS_SUPPORTS_SMP | |
435 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
436 | help | |
437 | This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics | |
438 | workstations. To compile a Linux kernel that runs on these, say Y | |
439 | here. | |
440 | ||
441 | config SGI_IP32 | |
442 | bool "SGI IP32 (O2)" | |
443 | select ARC | |
444 | select ARC32 | |
445 | select BOOT_ELF32 | |
446 | select CEVT_R4K | |
447 | select CSRC_R4K | |
448 | select DMA_NONCOHERENT | |
449 | select HW_HAS_PCI | |
450 | select IRQ_CPU | |
451 | select R5000_CPU_SCACHE | |
452 | select RM7000_CPU_SCACHE | |
453 | select SYS_HAS_CPU_R5000 | |
454 | select SYS_HAS_CPU_R10000 if BROKEN | |
455 | select SYS_HAS_CPU_RM7000 | |
456 | select SYS_HAS_CPU_NEVADA | |
457 | select SYS_SUPPORTS_64BIT_KERNEL | |
458 | select SYS_SUPPORTS_BIG_ENDIAN | |
459 | help | |
460 | If you want this kernel to run on SGI O2 workstation, say Y here. | |
461 | ||
462 | config SIBYTE_CRHINE | |
463 | bool "Sibyte BCM91120C-CRhine" | |
464 | depends on EXPERIMENTAL | |
465 | select BOOT_ELF32 | |
466 | select DMA_COHERENT | |
467 | select SIBYTE_BCM1120 | |
468 | select SWAP_IO_SPACE | |
469 | select SYS_HAS_CPU_SB1 | |
470 | select SYS_SUPPORTS_BIG_ENDIAN | |
471 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
472 | ||
473 | config SIBYTE_CARMEL | |
474 | bool "Sibyte BCM91120x-Carmel" | |
475 | depends on EXPERIMENTAL | |
476 | select BOOT_ELF32 | |
477 | select DMA_COHERENT | |
478 | select SIBYTE_BCM1120 | |
479 | select SWAP_IO_SPACE | |
480 | select SYS_HAS_CPU_SB1 | |
481 | select SYS_SUPPORTS_BIG_ENDIAN | |
482 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
483 | ||
484 | config SIBYTE_CRHONE | |
485 | bool "Sibyte BCM91125C-CRhone" | |
486 | depends on EXPERIMENTAL | |
487 | select BOOT_ELF32 | |
488 | select DMA_COHERENT | |
489 | select SIBYTE_BCM1125 | |
490 | select SWAP_IO_SPACE | |
491 | select SYS_HAS_CPU_SB1 | |
492 | select SYS_SUPPORTS_BIG_ENDIAN | |
493 | select SYS_SUPPORTS_HIGHMEM | |
494 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
495 | ||
496 | config SIBYTE_RHONE | |
497 | bool "Sibyte BCM91125E-Rhone" | |
498 | depends on EXPERIMENTAL | |
499 | select BOOT_ELF32 | |
500 | select DMA_COHERENT | |
501 | select SIBYTE_BCM1125H | |
502 | select SWAP_IO_SPACE | |
503 | select SYS_HAS_CPU_SB1 | |
504 | select SYS_SUPPORTS_BIG_ENDIAN | |
505 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
506 | ||
507 | config SIBYTE_SWARM | |
508 | bool "Sibyte BCM91250A-SWARM" | |
509 | select BOOT_ELF32 | |
510 | select DMA_COHERENT | |
511 | select NR_CPUS_DEFAULT_2 | |
512 | select SIBYTE_SB1250 | |
513 | select SWAP_IO_SPACE | |
514 | select SYS_HAS_CPU_SB1 | |
515 | select SYS_SUPPORTS_BIG_ENDIAN | |
516 | select SYS_SUPPORTS_HIGHMEM | |
517 | select SYS_SUPPORTS_KGDB | |
518 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
519 | select ZONE_DMA32 if 64BIT | |
520 | ||
521 | config SIBYTE_LITTLESUR | |
522 | bool "Sibyte BCM91250C2-LittleSur" | |
523 | depends on EXPERIMENTAL | |
524 | select BOOT_ELF32 | |
525 | select DMA_COHERENT | |
526 | select NR_CPUS_DEFAULT_2 | |
527 | select SIBYTE_SB1250 | |
528 | select SWAP_IO_SPACE | |
529 | select SYS_HAS_CPU_SB1 | |
530 | select SYS_SUPPORTS_BIG_ENDIAN | |
531 | select SYS_SUPPORTS_HIGHMEM | |
532 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
533 | ||
534 | config SIBYTE_SENTOSA | |
535 | bool "Sibyte BCM91250E-Sentosa" | |
536 | depends on EXPERIMENTAL | |
537 | select BOOT_ELF32 | |
538 | select DMA_COHERENT | |
539 | select NR_CPUS_DEFAULT_2 | |
540 | select SIBYTE_SB1250 | |
541 | select SWAP_IO_SPACE | |
542 | select SYS_HAS_CPU_SB1 | |
543 | select SYS_SUPPORTS_BIG_ENDIAN | |
544 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
545 | ||
546 | config SIBYTE_PTSWARM | |
547 | bool "Sibyte BCM91250PT-PTSWARM" | |
548 | depends on EXPERIMENTAL | |
549 | select BOOT_ELF32 | |
550 | select DMA_COHERENT | |
551 | select NR_CPUS_DEFAULT_2 | |
552 | select SIBYTE_SB1250 | |
553 | select SWAP_IO_SPACE | |
554 | select SYS_HAS_CPU_SB1 | |
555 | select SYS_SUPPORTS_BIG_ENDIAN | |
556 | select SYS_SUPPORTS_HIGHMEM | |
557 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
558 | ||
559 | config SIBYTE_BIGSUR | |
560 | bool "Sibyte BCM91480B-BigSur" | |
561 | select BOOT_ELF32 | |
562 | select DMA_COHERENT | |
563 | select NR_CPUS_DEFAULT_4 | |
564 | select SIBYTE_BCM1x80 | |
565 | select SWAP_IO_SPACE | |
566 | select SYS_HAS_CPU_SB1 | |
567 | select SYS_SUPPORTS_BIG_ENDIAN | |
568 | select SYS_SUPPORTS_HIGHMEM | |
569 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
570 | select ZONE_DMA32 if 64BIT | |
571 | ||
572 | config SNI_RM | |
573 | bool "SNI RM200/300/400" | |
574 | select ARC if CPU_LITTLE_ENDIAN | |
575 | select ARC32 if CPU_LITTLE_ENDIAN | |
576 | select ARCH_MAY_HAVE_PC_FDC | |
577 | select BOOT_ELF32 | |
578 | select CEVT_R4K | |
579 | select CSRC_R4K | |
580 | select DMA_NONCOHERENT | |
581 | select GENERIC_ISA_DMA | |
582 | select HW_HAS_EISA | |
583 | select HW_HAS_PCI | |
584 | select IRQ_CPU | |
585 | select I8253 | |
586 | select I8259 | |
587 | select ISA | |
588 | select PCSPEAKER | |
589 | select SWAP_IO_SPACE if CPU_BIG_ENDIAN | |
590 | select SYS_HAS_CPU_R4X00 | |
591 | select SYS_HAS_CPU_R5000 | |
592 | select SYS_HAS_CPU_R10000 | |
593 | select R5000_CPU_SCACHE | |
594 | select SYS_HAS_EARLY_PRINTK | |
595 | select SYS_SUPPORTS_32BIT_KERNEL | |
596 | select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL | |
597 | select SYS_SUPPORTS_BIG_ENDIAN | |
598 | select SYS_SUPPORTS_HIGHMEM | |
599 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
600 | help | |
601 | The SNI RM200/300/400 are MIPS-based machines manufactured by | |
602 | Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid | |
603 | Technology and now in turn merged with Fujitsu. Say Y here to | |
604 | support this machine type. | |
605 | ||
606 | config TOSHIBA_JMR3927 | |
607 | bool "Toshiba JMR-TX3927 board" | |
608 | select CEVT_TXX9 | |
609 | select DMA_NONCOHERENT | |
610 | select HW_HAS_PCI | |
611 | select MIPS_TX3927 | |
612 | select IRQ_TXX9 | |
613 | select SWAP_IO_SPACE | |
614 | select SYS_HAS_CPU_TX39XX | |
615 | select SYS_SUPPORTS_32BIT_KERNEL | |
616 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
617 | select SYS_SUPPORTS_BIG_ENDIAN | |
618 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
619 | ||
620 | config TOSHIBA_RBTX4927 | |
621 | bool "Toshiba RBTX49[23]7 board" | |
622 | select CEVT_R4K | |
623 | select CSRC_R4K | |
624 | select CEVT_TXX9 | |
625 | select DMA_NONCOHERENT | |
626 | select HAS_TXX9_SERIAL | |
627 | select HW_HAS_PCI | |
628 | select IRQ_CPU | |
629 | select IRQ_TXX9 | |
630 | select I8259 if TOSHIBA_FPCIB0 | |
631 | select SWAP_IO_SPACE | |
632 | select SYS_HAS_CPU_TX49XX | |
633 | select SYS_SUPPORTS_32BIT_KERNEL | |
634 | select SYS_SUPPORTS_64BIT_KERNEL | |
635 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
636 | select SYS_SUPPORTS_BIG_ENDIAN | |
637 | select SYS_SUPPORTS_KGDB | |
638 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
639 | help | |
640 | This Toshiba board is based on the TX4927 processor. Say Y here to | |
641 | support this machine type | |
642 | ||
643 | config TOSHIBA_RBTX4938 | |
644 | bool "Toshiba RBTX4938 board" | |
645 | select CEVT_R4K | |
646 | select CSRC_R4K | |
647 | select CEVT_TXX9 | |
648 | select DMA_NONCOHERENT | |
649 | select HAS_TXX9_SERIAL | |
650 | select HW_HAS_PCI | |
651 | select IRQ_CPU | |
652 | select IRQ_TXX9 | |
653 | select SWAP_IO_SPACE | |
654 | select SYS_HAS_CPU_TX49XX | |
655 | select SYS_SUPPORTS_32BIT_KERNEL | |
656 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
657 | select SYS_SUPPORTS_BIG_ENDIAN | |
658 | select SYS_SUPPORTS_KGDB | |
659 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
660 | select GENERIC_GPIO | |
661 | help | |
662 | This Toshiba board is based on the TX4938 processor. Say Y here to | |
663 | support this machine type | |
664 | ||
665 | config WR_PPMC | |
666 | bool "Wind River PPMC board" | |
667 | select CEVT_R4K | |
668 | select CSRC_R4K | |
669 | select IRQ_CPU | |
670 | select BOOT_ELF32 | |
671 | select DMA_NONCOHERENT | |
672 | select HW_HAS_PCI | |
673 | select PCI_GT64XXX_PCI0 | |
674 | select SWAP_IO_SPACE | |
675 | select SYS_HAS_CPU_MIPS32_R1 | |
676 | select SYS_HAS_CPU_MIPS32_R2 | |
677 | select SYS_HAS_CPU_MIPS64_R1 | |
678 | select SYS_HAS_CPU_NEVADA | |
679 | select SYS_HAS_CPU_RM7000 | |
680 | select SYS_SUPPORTS_32BIT_KERNEL | |
681 | select SYS_SUPPORTS_64BIT_KERNEL | |
682 | select SYS_SUPPORTS_BIG_ENDIAN | |
683 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
684 | help | |
685 | This enables support for the Wind River MIPS32 4KC PPMC evaluation | |
686 | board, which is based on GT64120 bridge chip. | |
687 | ||
688 | endchoice | |
689 | ||
690 | source "arch/mips/au1000/Kconfig" | |
691 | source "arch/mips/jazz/Kconfig" | |
692 | source "arch/mips/lasat/Kconfig" | |
693 | source "arch/mips/pmc-sierra/Kconfig" | |
694 | source "arch/mips/sgi-ip27/Kconfig" | |
695 | source "arch/mips/sibyte/Kconfig" | |
696 | source "arch/mips/tx4927/Kconfig" | |
697 | source "arch/mips/tx4938/Kconfig" | |
698 | source "arch/mips/vr41xx/Kconfig" | |
699 | ||
700 | endmenu | |
701 | ||
702 | config RWSEM_GENERIC_SPINLOCK | |
703 | bool | |
704 | default y | |
705 | ||
706 | config RWSEM_XCHGADD_ALGORITHM | |
707 | bool | |
708 | ||
709 | config ARCH_HAS_ILOG2_U32 | |
710 | bool | |
711 | default n | |
712 | ||
713 | config ARCH_HAS_ILOG2_U64 | |
714 | bool | |
715 | default n | |
716 | ||
717 | config ARCH_SUPPORTS_OPROFILE | |
718 | bool | |
719 | default y if !MIPS_MT_SMTC | |
720 | ||
721 | config GENERIC_FIND_NEXT_BIT | |
722 | bool | |
723 | default y | |
724 | ||
725 | config GENERIC_HWEIGHT | |
726 | bool | |
727 | default y | |
728 | ||
729 | config GENERIC_CALIBRATE_DELAY | |
730 | bool | |
731 | default y | |
732 | ||
733 | config GENERIC_CLOCKEVENTS | |
734 | bool | |
735 | default y | |
736 | ||
737 | config GENERIC_TIME | |
738 | bool | |
739 | default y | |
740 | ||
741 | config GENERIC_CMOS_UPDATE | |
742 | bool | |
743 | default y | |
744 | ||
745 | config SCHED_NO_NO_OMIT_FRAME_POINTER | |
746 | bool | |
747 | default y | |
748 | ||
749 | config GENERIC_HARDIRQS_NO__DO_IRQ | |
750 | bool | |
751 | default n | |
752 | ||
753 | # | |
754 | # Select some configuration options automatically based on user selections. | |
755 | # | |
756 | config ARC | |
757 | bool | |
758 | ||
759 | config ARCH_MAY_HAVE_PC_FDC | |
760 | bool | |
761 | ||
762 | config BOOT_RAW | |
763 | bool | |
764 | ||
765 | config CEVT_BCM1480 | |
766 | bool | |
767 | ||
768 | config CEVT_GT641XX | |
769 | bool | |
770 | ||
771 | config CEVT_R4K | |
772 | bool | |
773 | ||
774 | config CEVT_SB1250 | |
775 | bool | |
776 | ||
777 | config CEVT_TXX9 | |
778 | bool | |
779 | ||
780 | config CSRC_BCM1480 | |
781 | bool | |
782 | ||
783 | config CSRC_R4K | |
784 | bool | |
785 | ||
786 | config CSRC_SB1250 | |
787 | bool | |
788 | ||
789 | config CFE | |
790 | bool | |
791 | ||
792 | config DMA_COHERENT | |
793 | bool | |
794 | ||
795 | config DMA_IP27 | |
796 | bool | |
797 | ||
798 | config DMA_IP32 | |
799 | bool | |
800 | select DMA_NEED_PCI_MAP_STATE | |
801 | ||
802 | config DMA_NONCOHERENT | |
803 | bool | |
804 | select DMA_NEED_PCI_MAP_STATE | |
805 | ||
806 | config DMA_NEED_PCI_MAP_STATE | |
807 | bool | |
808 | ||
809 | config EARLY_PRINTK | |
810 | bool "Early printk" if EMBEDDED && DEBUG_KERNEL | |
811 | depends on SYS_HAS_EARLY_PRINTK | |
812 | default y | |
813 | help | |
814 | This option enables special console drivers which allow the kernel | |
815 | to print messages very early in the bootup process. | |
816 | ||
817 | This is useful for kernel debugging when your machine crashes very | |
818 | early before the console code is initialized. For normal operation, | |
819 | it is not recommended because it looks ugly on some machines and | |
820 | doesn't cooperate with an X server. You should normally say N here, | |
821 | unless you want to debug such a crash. | |
822 | ||
823 | config SYS_HAS_EARLY_PRINTK | |
824 | bool | |
825 | ||
826 | config HOTPLUG_CPU | |
827 | bool | |
828 | default n | |
829 | ||
830 | config I8259 | |
831 | bool | |
832 | ||
833 | config MIPS_BONITO64 | |
834 | bool | |
835 | ||
836 | config MIPS_MSC | |
837 | bool | |
838 | ||
839 | config MIPS_NILE4 | |
840 | bool | |
841 | ||
842 | config MIPS_DISABLE_OBSOLETE_IDE | |
843 | bool | |
844 | ||
845 | config NO_IOPORT | |
846 | def_bool n | |
847 | ||
848 | config GENERIC_ISA_DMA | |
849 | bool | |
850 | select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n | |
851 | ||
852 | config GENERIC_ISA_DMA_SUPPORT_BROKEN | |
853 | bool | |
854 | select GENERIC_ISA_DMA | |
855 | ||
856 | config GENERIC_GPIO | |
857 | bool | |
858 | ||
859 | # | |
860 | # Endianess selection. Sufficiently obscure so many users don't know what to | |
861 | # answer,so we try hard to limit the available choices. Also the use of a | |
862 | # choice statement should be more obvious to the user. | |
863 | # | |
864 | choice | |
865 | prompt "Endianess selection" | |
866 | help | |
867 | Some MIPS machines can be configured for either little or big endian | |
868 | byte order. These modes require different kernels and a different | |
869 | Linux distribution. In general there is one preferred byteorder for a | |
870 | particular system but some systems are just as commonly used in the | |
871 | one or the other endianness. | |
872 | ||
873 | config CPU_BIG_ENDIAN | |
874 | bool "Big endian" | |
875 | depends on SYS_SUPPORTS_BIG_ENDIAN | |
876 | ||
877 | config CPU_LITTLE_ENDIAN | |
878 | bool "Little endian" | |
879 | depends on SYS_SUPPORTS_LITTLE_ENDIAN | |
880 | help | |
881 | ||
882 | endchoice | |
883 | ||
884 | config SYS_SUPPORTS_APM_EMULATION | |
885 | bool | |
886 | ||
887 | config SYS_SUPPORTS_BIG_ENDIAN | |
888 | bool | |
889 | ||
890 | config SYS_SUPPORTS_LITTLE_ENDIAN | |
891 | bool | |
892 | ||
893 | config IRQ_CPU | |
894 | bool | |
895 | ||
896 | config IRQ_CPU_RM7K | |
897 | bool | |
898 | ||
899 | config IRQ_CPU_RM9K | |
900 | bool | |
901 | ||
902 | config IRQ_MSP_SLP | |
903 | bool | |
904 | ||
905 | config IRQ_MSP_CIC | |
906 | bool | |
907 | ||
908 | config IRQ_TXX9 | |
909 | bool | |
910 | ||
911 | config IRQ_GT641XX | |
912 | bool | |
913 | ||
914 | config MIPS_BOARDS_GEN | |
915 | bool | |
916 | ||
917 | config PCI_GT64XXX_PCI0 | |
918 | bool | |
919 | ||
920 | config NO_EXCEPT_FILL | |
921 | bool | |
922 | ||
923 | config MIPS_TX3927 | |
924 | bool | |
925 | select HAS_TXX9_SERIAL | |
926 | ||
927 | config MIPS_RM9122 | |
928 | bool | |
929 | select SERIAL_RM9000 | |
930 | ||
931 | config PNX8550 | |
932 | bool | |
933 | select SOC_PNX8550 | |
934 | ||
935 | config SOC_PNX8550 | |
936 | bool | |
937 | select DMA_NONCOHERENT | |
938 | select HW_HAS_PCI | |
939 | select SYS_HAS_CPU_MIPS32_R1 | |
940 | select SYS_HAS_EARLY_PRINTK | |
941 | select SYS_SUPPORTS_32BIT_KERNEL | |
942 | select GENERIC_HARDIRQS_NO__DO_IRQ | |
943 | select SYS_SUPPORTS_KGDB | |
944 | select GENERIC_GPIO | |
945 | ||
946 | config SWAP_IO_SPACE | |
947 | bool | |
948 | ||
949 | config EMMA2RH | |
950 | bool | |
951 | depends on MARKEINS | |
952 | default y | |
953 | ||
954 | config SERIAL_RM9000 | |
955 | bool | |
956 | ||
957 | config ARC32 | |
958 | bool | |
959 | ||
960 | config BOOT_ELF32 | |
961 | bool | |
962 | ||
963 | config MIPS_L1_CACHE_SHIFT | |
964 | int | |
965 | default "4" if MACH_DECSTATION | |
966 | default "7" if SGI_IP27 || SNI_RM | |
967 | default "4" if PMC_MSP4200_EVAL | |
968 | default "5" | |
969 | ||
970 | config HAVE_STD_PC_SERIAL_PORT | |
971 | bool | |
972 | ||
973 | config ARC_CONSOLE | |
974 | bool "ARC console support" | |
975 | depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN) | |
976 | ||
977 | config ARC_MEMORY | |
978 | bool | |
979 | depends on MACH_JAZZ || SNI_RM || SGI_IP32 | |
980 | default y | |
981 | ||
982 | config ARC_PROMLIB | |
983 | bool | |
984 | depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32 | |
985 | default y | |
986 | ||
987 | config ARC64 | |
988 | bool | |
989 | ||
990 | config BOOT_ELF64 | |
991 | bool | |
992 | ||
993 | menu "CPU selection" | |
994 | ||
995 | source "kernel/time/Kconfig" | |
996 | ||
997 | choice | |
998 | prompt "CPU type" | |
999 | default CPU_R4X00 | |
1000 | ||
1001 | config CPU_LOONGSON2 | |
1002 | bool "Loongson 2" | |
1003 | depends on SYS_HAS_CPU_LOONGSON2 | |
1004 | select CPU_SUPPORTS_32BIT_KERNEL | |
1005 | select CPU_SUPPORTS_64BIT_KERNEL | |
1006 | select CPU_SUPPORTS_HIGHMEM | |
1007 | help | |
1008 | The Loongson 2E processor implements the MIPS III instruction set | |
1009 | with many extensions. | |
1010 | ||
1011 | config CPU_MIPS32_R1 | |
1012 | bool "MIPS32 Release 1" | |
1013 | depends on SYS_HAS_CPU_MIPS32_R1 | |
1014 | select CPU_HAS_LLSC | |
1015 | select CPU_HAS_PREFETCH | |
1016 | select CPU_SUPPORTS_32BIT_KERNEL | |
1017 | select CPU_SUPPORTS_HIGHMEM | |
1018 | help | |
1019 | Choose this option to build a kernel for release 1 or later of the | |
1020 | MIPS32 architecture. Most modern embedded systems with a 32-bit | |
1021 | MIPS processor are based on a MIPS32 processor. If you know the | |
1022 | specific type of processor in your system, choose those that one | |
1023 | otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. | |
1024 | Release 2 of the MIPS32 architecture is available since several | |
1025 | years so chances are you even have a MIPS32 Release 2 processor | |
1026 | in which case you should choose CPU_MIPS32_R2 instead for better | |
1027 | performance. | |
1028 | ||
1029 | config CPU_MIPS32_R2 | |
1030 | bool "MIPS32 Release 2" | |
1031 | depends on SYS_HAS_CPU_MIPS32_R2 | |
1032 | select CPU_HAS_LLSC | |
1033 | select CPU_HAS_PREFETCH | |
1034 | select CPU_SUPPORTS_32BIT_KERNEL | |
1035 | select CPU_SUPPORTS_HIGHMEM | |
1036 | help | |
1037 | Choose this option to build a kernel for release 2 or later of the | |
1038 | MIPS32 architecture. Most modern embedded systems with a 32-bit | |
1039 | MIPS processor are based on a MIPS32 processor. If you know the | |
1040 | specific type of processor in your system, choose those that one | |
1041 | otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. | |
1042 | ||
1043 | config CPU_MIPS64_R1 | |
1044 | bool "MIPS64 Release 1" | |
1045 | depends on SYS_HAS_CPU_MIPS64_R1 | |
1046 | select CPU_HAS_LLSC | |
1047 | select CPU_HAS_PREFETCH | |
1048 | select CPU_SUPPORTS_32BIT_KERNEL | |
1049 | select CPU_SUPPORTS_64BIT_KERNEL | |
1050 | select CPU_SUPPORTS_HIGHMEM | |
1051 | help | |
1052 | Choose this option to build a kernel for release 1 or later of the | |
1053 | MIPS64 architecture. Many modern embedded systems with a 64-bit | |
1054 | MIPS processor are based on a MIPS64 processor. If you know the | |
1055 | specific type of processor in your system, choose those that one | |
1056 | otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. | |
1057 | Release 2 of the MIPS64 architecture is available since several | |
1058 | years so chances are you even have a MIPS64 Release 2 processor | |
1059 | in which case you should choose CPU_MIPS64_R2 instead for better | |
1060 | performance. | |
1061 | ||
1062 | config CPU_MIPS64_R2 | |
1063 | bool "MIPS64 Release 2" | |
1064 | depends on SYS_HAS_CPU_MIPS64_R2 | |
1065 | select CPU_HAS_LLSC | |
1066 | select CPU_HAS_PREFETCH | |
1067 | select CPU_SUPPORTS_32BIT_KERNEL | |
1068 | select CPU_SUPPORTS_64BIT_KERNEL | |
1069 | select CPU_SUPPORTS_HIGHMEM | |
1070 | help | |
1071 | Choose this option to build a kernel for release 2 or later of the | |
1072 | MIPS64 architecture. Many modern embedded systems with a 64-bit | |
1073 | MIPS processor are based on a MIPS64 processor. If you know the | |
1074 | specific type of processor in your system, choose those that one | |
1075 | otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. | |
1076 | ||
1077 | config CPU_R3000 | |
1078 | bool "R3000" | |
1079 | depends on SYS_HAS_CPU_R3000 | |
1080 | select CPU_HAS_WB | |
1081 | select CPU_SUPPORTS_32BIT_KERNEL | |
1082 | select CPU_SUPPORTS_HIGHMEM | |
1083 | help | |
1084 | Please make sure to pick the right CPU type. Linux/MIPS is not | |
1085 | designed to be generic, i.e. Kernels compiled for R3000 CPUs will | |
1086 | *not* work on R4000 machines and vice versa. However, since most | |
1087 | of the supported machines have an R4000 (or similar) CPU, R4x00 | |
1088 | might be a safe bet. If the resulting kernel does not work, | |
1089 | try to recompile with R3000. | |
1090 | ||
1091 | config CPU_TX39XX | |
1092 | bool "R39XX" | |
1093 | depends on SYS_HAS_CPU_TX39XX | |
1094 | select CPU_SUPPORTS_32BIT_KERNEL | |
1095 | ||
1096 | config CPU_VR41XX | |
1097 | bool "R41xx" | |
1098 | depends on SYS_HAS_CPU_VR41XX | |
1099 | select CPU_SUPPORTS_32BIT_KERNEL | |
1100 | select CPU_SUPPORTS_64BIT_KERNEL | |
1101 | help | |
1102 | The options selects support for the NEC VR4100 series of processors. | |
1103 | Only choose this option if you have one of these processors as a | |
1104 | kernel built with this option will not run on any other type of | |
1105 | processor or vice versa. | |
1106 | ||
1107 | config CPU_R4300 | |
1108 | bool "R4300" | |
1109 | depends on SYS_HAS_CPU_R4300 | |
1110 | select CPU_HAS_LLSC | |
1111 | select CPU_SUPPORTS_32BIT_KERNEL | |
1112 | select CPU_SUPPORTS_64BIT_KERNEL | |
1113 | help | |
1114 | MIPS Technologies R4300-series processors. | |
1115 | ||
1116 | config CPU_R4X00 | |
1117 | bool "R4x00" | |
1118 | depends on SYS_HAS_CPU_R4X00 | |
1119 | select CPU_HAS_LLSC | |
1120 | select CPU_SUPPORTS_32BIT_KERNEL | |
1121 | select CPU_SUPPORTS_64BIT_KERNEL | |
1122 | help | |
1123 | MIPS Technologies R4000-series processors other than 4300, including | |
1124 | the R4000, R4400, R4600, and 4700. | |
1125 | ||
1126 | config CPU_TX49XX | |
1127 | bool "R49XX" | |
1128 | depends on SYS_HAS_CPU_TX49XX | |
1129 | select CPU_HAS_LLSC | |
1130 | select CPU_HAS_PREFETCH | |
1131 | select CPU_SUPPORTS_32BIT_KERNEL | |
1132 | select CPU_SUPPORTS_64BIT_KERNEL | |
1133 | ||
1134 | config CPU_R5000 | |
1135 | bool "R5000" | |
1136 | depends on SYS_HAS_CPU_R5000 | |
1137 | select CPU_HAS_LLSC | |
1138 | select CPU_SUPPORTS_32BIT_KERNEL | |
1139 | select CPU_SUPPORTS_64BIT_KERNEL | |
1140 | help | |
1141 | MIPS Technologies R5000-series processors other than the Nevada. | |
1142 | ||
1143 | config CPU_R5432 | |
1144 | bool "R5432" | |
1145 | depends on SYS_HAS_CPU_R5432 | |
1146 | select CPU_HAS_LLSC | |
1147 | select CPU_SUPPORTS_32BIT_KERNEL | |
1148 | select CPU_SUPPORTS_64BIT_KERNEL | |
1149 | ||
1150 | config CPU_R6000 | |
1151 | bool "R6000" | |
1152 | depends on EXPERIMENTAL | |
1153 | select CPU_HAS_LLSC | |
1154 | depends on SYS_HAS_CPU_R6000 | |
1155 | select CPU_SUPPORTS_32BIT_KERNEL | |
1156 | help | |
1157 | MIPS Technologies R6000 and R6000A series processors. Note these | |
1158 | processors are extremely rare and the support for them is incomplete. | |
1159 | ||
1160 | config CPU_NEVADA | |
1161 | bool "RM52xx" | |
1162 | depends on SYS_HAS_CPU_NEVADA | |
1163 | select CPU_HAS_LLSC | |
1164 | select CPU_SUPPORTS_32BIT_KERNEL | |
1165 | select CPU_SUPPORTS_64BIT_KERNEL | |
1166 | help | |
1167 | QED / PMC-Sierra RM52xx-series ("Nevada") processors. | |
1168 | ||
1169 | config CPU_R8000 | |
1170 | bool "R8000" | |
1171 | depends on EXPERIMENTAL | |
1172 | depends on SYS_HAS_CPU_R8000 | |
1173 | select CPU_HAS_LLSC | |
1174 | select CPU_HAS_PREFETCH | |
1175 | select CPU_SUPPORTS_64BIT_KERNEL | |
1176 | help | |
1177 | MIPS Technologies R8000 processors. Note these processors are | |
1178 | uncommon and the support for them is incomplete. | |
1179 | ||
1180 | config CPU_R10000 | |
1181 | bool "R10000" | |
1182 | depends on SYS_HAS_CPU_R10000 | |
1183 | select CPU_HAS_LLSC | |
1184 | select CPU_HAS_PREFETCH | |
1185 | select CPU_SUPPORTS_32BIT_KERNEL | |
1186 | select CPU_SUPPORTS_64BIT_KERNEL | |
1187 | select CPU_SUPPORTS_HIGHMEM | |
1188 | help | |
1189 | MIPS Technologies R10000-series processors. | |
1190 | ||
1191 | config CPU_RM7000 | |
1192 | bool "RM7000" | |
1193 | depends on SYS_HAS_CPU_RM7000 | |
1194 | select CPU_HAS_LLSC | |
1195 | select CPU_HAS_PREFETCH | |
1196 | select CPU_SUPPORTS_32BIT_KERNEL | |
1197 | select CPU_SUPPORTS_64BIT_KERNEL | |
1198 | select CPU_SUPPORTS_HIGHMEM | |
1199 | ||
1200 | config CPU_RM9000 | |
1201 | bool "RM9000" | |
1202 | depends on SYS_HAS_CPU_RM9000 | |
1203 | select CPU_HAS_LLSC | |
1204 | select CPU_HAS_PREFETCH | |
1205 | select CPU_SUPPORTS_32BIT_KERNEL | |
1206 | select CPU_SUPPORTS_64BIT_KERNEL | |
1207 | select CPU_SUPPORTS_HIGHMEM | |
1208 | select WEAK_ORDERING | |
1209 | ||
1210 | config CPU_SB1 | |
1211 | bool "SB1" | |
1212 | depends on SYS_HAS_CPU_SB1 | |
1213 | select CPU_HAS_LLSC | |
1214 | select CPU_SUPPORTS_32BIT_KERNEL | |
1215 | select CPU_SUPPORTS_64BIT_KERNEL | |
1216 | select CPU_SUPPORTS_HIGHMEM | |
1217 | select WEAK_ORDERING | |
1218 | ||
1219 | endchoice | |
1220 | ||
1221 | config SYS_HAS_CPU_LOONGSON2 | |
1222 | bool | |
1223 | ||
1224 | config SYS_HAS_CPU_MIPS32_R1 | |
1225 | bool | |
1226 | ||
1227 | config SYS_HAS_CPU_MIPS32_R2 | |
1228 | bool | |
1229 | ||
1230 | config SYS_HAS_CPU_MIPS64_R1 | |
1231 | bool | |
1232 | ||
1233 | config SYS_HAS_CPU_MIPS64_R2 | |
1234 | bool | |
1235 | ||
1236 | config SYS_HAS_CPU_R3000 | |
1237 | bool | |
1238 | ||
1239 | config SYS_HAS_CPU_TX39XX | |
1240 | bool | |
1241 | ||
1242 | config SYS_HAS_CPU_VR41XX | |
1243 | bool | |
1244 | ||
1245 | config SYS_HAS_CPU_R4300 | |
1246 | bool | |
1247 | ||
1248 | config SYS_HAS_CPU_R4X00 | |
1249 | bool | |
1250 | ||
1251 | config SYS_HAS_CPU_TX49XX | |
1252 | bool | |
1253 | ||
1254 | config SYS_HAS_CPU_R5000 | |
1255 | bool | |
1256 | ||
1257 | config SYS_HAS_CPU_R5432 | |
1258 | bool | |
1259 | ||
1260 | config SYS_HAS_CPU_R6000 | |
1261 | bool | |
1262 | ||
1263 | config SYS_HAS_CPU_NEVADA | |
1264 | bool | |
1265 | ||
1266 | config SYS_HAS_CPU_R8000 | |
1267 | bool | |
1268 | ||
1269 | config SYS_HAS_CPU_R10000 | |
1270 | bool | |
1271 | ||
1272 | config SYS_HAS_CPU_RM7000 | |
1273 | bool | |
1274 | ||
1275 | config SYS_HAS_CPU_RM9000 | |
1276 | bool | |
1277 | ||
1278 | config SYS_HAS_CPU_SB1 | |
1279 | bool | |
1280 | ||
1281 | # | |
1282 | # CPU may reorder R->R, R->W, W->R, W->W | |
1283 | # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC | |
1284 | # | |
1285 | config WEAK_ORDERING | |
1286 | bool | |
1287 | ||
1288 | # | |
1289 | # CPU may reorder reads and writes beyond LL/SC | |
1290 | # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC | |
1291 | # | |
1292 | config WEAK_REORDERING_BEYOND_LLSC | |
1293 | bool | |
1294 | endmenu | |
1295 | ||
1296 | # | |
1297 | # These two indicate any level of the MIPS32 and MIPS64 architecture | |
1298 | # | |
1299 | config CPU_MIPS32 | |
1300 | bool | |
1301 | default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 | |
1302 | ||
1303 | config CPU_MIPS64 | |
1304 | bool | |
1305 | default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 | |
1306 | ||
1307 | # | |
1308 | # These two indicate the revision of the architecture, either Release 1 or Release 2 | |
1309 | # | |
1310 | config CPU_MIPSR1 | |
1311 | bool | |
1312 | default y if CPU_MIPS32_R1 || CPU_MIPS64_R1 | |
1313 | ||
1314 | config CPU_MIPSR2 | |
1315 | bool | |
1316 | default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 | |
1317 | ||
1318 | config SYS_SUPPORTS_32BIT_KERNEL | |
1319 | bool | |
1320 | config SYS_SUPPORTS_64BIT_KERNEL | |
1321 | bool | |
1322 | config CPU_SUPPORTS_32BIT_KERNEL | |
1323 | bool | |
1324 | config CPU_SUPPORTS_64BIT_KERNEL | |
1325 | bool | |
1326 | ||
1327 | menu "Kernel type" | |
1328 | ||
1329 | choice | |
1330 | ||
1331 | prompt "Kernel code model" | |
1332 | help | |
1333 | You should only select this option if you have a workload that | |
1334 | actually benefits from 64-bit processing or if your machine has | |
1335 | large memory. You will only be presented a single option in this | |
1336 | menu if your system does not support both 32-bit and 64-bit kernels. | |
1337 | ||
1338 | config 32BIT | |
1339 | bool "32-bit kernel" | |
1340 | depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL | |
1341 | select TRAD_SIGNALS | |
1342 | help | |
1343 | Select this option if you want to build a 32-bit kernel. | |
1344 | config 64BIT | |
1345 | bool "64-bit kernel" | |
1346 | depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL | |
1347 | help | |
1348 | Select this option if you want to build a 64-bit kernel. | |
1349 | ||
1350 | endchoice | |
1351 | ||
1352 | choice | |
1353 | prompt "Kernel page size" | |
1354 | default PAGE_SIZE_4KB | |
1355 | ||
1356 | config PAGE_SIZE_4KB | |
1357 | bool "4kB" | |
1358 | help | |
1359 | This option select the standard 4kB Linux page size. On some | |
1360 | R3000-family processors this is the only available page size. Using | |
1361 | 4kB page size will minimize memory consumption and is therefore | |
1362 | recommended for low memory systems. | |
1363 | ||
1364 | config PAGE_SIZE_8KB | |
1365 | bool "8kB" | |
1366 | depends on EXPERIMENTAL && CPU_R8000 | |
1367 | help | |
1368 | Using 8kB page size will result in higher performance kernel at | |
1369 | the price of higher memory consumption. This option is available | |
1370 | only on the R8000 processor. Not that at the time of this writing | |
1371 | this option is still high experimental; there are also issues with | |
1372 | compatibility of user applications. | |
1373 | ||
1374 | config PAGE_SIZE_16KB | |
1375 | bool "16kB" | |
1376 | depends on !CPU_R3000 && !CPU_TX39XX | |
1377 | help | |
1378 | Using 16kB page size will result in higher performance kernel at | |
1379 | the price of higher memory consumption. This option is available on | |
1380 | all non-R3000 family processors. Note that you will need a suitable | |
1381 | Linux distribution to support this. | |
1382 | ||
1383 | config PAGE_SIZE_64KB | |
1384 | bool "64kB" | |
1385 | depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX | |
1386 | help | |
1387 | Using 64kB page size will result in higher performance kernel at | |
1388 | the price of higher memory consumption. This option is available on | |
1389 | all non-R3000 family processor. Not that at the time of this | |
1390 | writing this option is still high experimental. | |
1391 | ||
1392 | endchoice | |
1393 | ||
1394 | config BOARD_SCACHE | |
1395 | bool | |
1396 | ||
1397 | config IP22_CPU_SCACHE | |
1398 | bool | |
1399 | select BOARD_SCACHE | |
1400 | ||
1401 | # | |
1402 | # Support for a MIPS32 / MIPS64 style S-caches | |
1403 | # | |
1404 | config MIPS_CPU_SCACHE | |
1405 | bool | |
1406 | select BOARD_SCACHE | |
1407 | ||
1408 | config R5000_CPU_SCACHE | |
1409 | bool | |
1410 | select BOARD_SCACHE | |
1411 | ||
1412 | config RM7000_CPU_SCACHE | |
1413 | bool | |
1414 | select BOARD_SCACHE | |
1415 | ||
1416 | config SIBYTE_DMA_PAGEOPS | |
1417 | bool "Use DMA to clear/copy pages" | |
1418 | depends on CPU_SB1 | |
1419 | help | |
1420 | Instead of using the CPU to zero and copy pages, use a Data Mover | |
1421 | channel. These DMA channels are otherwise unused by the standard | |
1422 | SiByte Linux port. Seems to give a small performance benefit. | |
1423 | ||
1424 | config CPU_HAS_PREFETCH | |
1425 | bool | |
1426 | ||
1427 | choice | |
1428 | prompt "MIPS MT options" | |
1429 | ||
1430 | config MIPS_MT_DISABLED | |
1431 | bool "Disable multithreading support." | |
1432 | help | |
1433 | Use this option if your workload can't take advantage of | |
1434 | MIPS hardware multithreading support. On systems that don't have | |
1435 | the option of an MT-enabled processor this option will be the only | |
1436 | option in this menu. | |
1437 | ||
1438 | config MIPS_MT_SMP | |
1439 | bool "Use 1 TC on each available VPE for SMP" | |
1440 | depends on SYS_SUPPORTS_MULTITHREADING | |
1441 | select CPU_MIPSR2_IRQ_VI | |
1442 | select CPU_MIPSR2_IRQ_EI | |
1443 | select MIPS_MT | |
1444 | select NR_CPUS_DEFAULT_2 | |
1445 | select SMP | |
1446 | select SYS_SUPPORTS_SMP | |
1447 | help | |
1448 | This is a kernel model which is also known a VSMP or lately | |
1449 | has been marketesed into SMVP. | |
1450 | ||
1451 | config MIPS_MT_SMTC | |
1452 | bool "SMTC: Use all TCs on all VPEs for SMP" | |
1453 | depends on CPU_MIPS32_R2 | |
1454 | #depends on CPU_MIPS64_R2 # once there is hardware ... | |
1455 | depends on SYS_SUPPORTS_MULTITHREADING | |
1456 | select GENERIC_CLOCKEVENTS_BROADCAST | |
1457 | select CPU_MIPSR2_IRQ_VI | |
1458 | select CPU_MIPSR2_IRQ_EI | |
1459 | select MIPS_MT | |
1460 | select NR_CPUS_DEFAULT_8 | |
1461 | select SMP | |
1462 | select SYS_SUPPORTS_SMP | |
1463 | help | |
1464 | This is a kernel model which is known a SMTC or lately has been | |
1465 | marketesed into SMVP. | |
1466 | ||
1467 | endchoice | |
1468 | ||
1469 | config MIPS_MT | |
1470 | bool | |
1471 | ||
1472 | config SYS_SUPPORTS_MULTITHREADING | |
1473 | bool | |
1474 | ||
1475 | config MIPS_MT_FPAFF | |
1476 | bool "Dynamic FPU affinity for FP-intensive threads" | |
1477 | default y | |
1478 | depends on MIPS_MT_SMP || MIPS_MT_SMTC | |
1479 | ||
1480 | config MIPS_VPE_LOADER | |
1481 | bool "VPE loader support." | |
1482 | depends on SYS_SUPPORTS_MULTITHREADING | |
1483 | select CPU_MIPSR2_IRQ_VI | |
1484 | select CPU_MIPSR2_IRQ_EI | |
1485 | select MIPS_MT | |
1486 | help | |
1487 | Includes a loader for loading an elf relocatable object | |
1488 | onto another VPE and running it. | |
1489 | ||
1490 | config MIPS_MT_SMTC_INSTANT_REPLAY | |
1491 | bool "Low-latency Dispatch of Deferred SMTC IPIs" | |
1492 | depends on MIPS_MT_SMTC && !PREEMPT | |
1493 | default y | |
1494 | help | |
1495 | SMTC pseudo-interrupts between TCs are deferred and queued | |
1496 | if the target TC is interrupt-inhibited (IXMT). In the first | |
1497 | SMTC prototypes, these queued IPIs were serviced on return | |
1498 | to user mode, or on entry into the kernel idle loop. The | |
1499 | INSTANT_REPLAY option dispatches them as part of local_irq_restore() | |
1500 | processing, which adds runtime overhead (hence the option to turn | |
1501 | it off), but ensures that IPIs are handled promptly even under | |
1502 | heavy I/O interrupt load. | |
1503 | ||
1504 | config MIPS_MT_SMTC_IM_BACKSTOP | |
1505 | bool "Use per-TC register bits as backstop for inhibited IM bits" | |
1506 | depends on MIPS_MT_SMTC | |
1507 | default y | |
1508 | help | |
1509 | To support multiple TC microthreads acting as "CPUs" within | |
1510 | a VPE, VPE-wide interrupt mask bits must be specially manipulated | |
1511 | during interrupt handling. To support legacy drivers and interrupt | |
1512 | controller management code, SMTC has a "backstop" to track and | |
1513 | if necessary restore the interrupt mask. This has some performance | |
1514 | impact on interrupt service overhead. Disable it only if you know | |
1515 | what you are doing. | |
1516 | ||
1517 | config MIPS_MT_SMTC_IRQAFF | |
1518 | bool "Support IRQ affinity API" | |
1519 | depends on MIPS_MT_SMTC | |
1520 | default n | |
1521 | help | |
1522 | Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.) | |
1523 | for SMTC Linux kernel. Requires platform support, of which | |
1524 | an example can be found in the MIPS kernel i8259 and Malta | |
1525 | platform code. It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY | |
1526 | be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to | |
1527 | interrupt dispatch, and should be used only if you know what | |
1528 | you are doing. | |
1529 | ||
1530 | config MIPS_VPE_LOADER_TOM | |
1531 | bool "Load VPE program into memory hidden from linux" | |
1532 | depends on MIPS_VPE_LOADER | |
1533 | default y | |
1534 | help | |
1535 | The loader can use memory that is present but has been hidden from | |
1536 | Linux using the kernel command line option "mem=xxMB". It's up to | |
1537 | you to ensure the amount you put in the option and the space your | |
1538 | program requires is less or equal to the amount physically present. | |
1539 | ||
1540 | # this should possibly be in drivers/char, but it is rather cpu related. Hmmm | |
1541 | config MIPS_VPE_APSP_API | |
1542 | bool "Enable support for AP/SP API (RTLX)" | |
1543 | depends on MIPS_VPE_LOADER | |
1544 | help | |
1545 | ||
1546 | config MIPS_APSP_KSPD | |
1547 | bool "Enable KSPD" | |
1548 | depends on MIPS_VPE_APSP_API | |
1549 | default y | |
1550 | help | |
1551 | KSPD is a kernel daemon that accepts syscall requests from the SP | |
1552 | side, actions them and returns the results. It also handles the | |
1553 | "exit" syscall notifying other kernel modules the SP program is | |
1554 | exiting. You probably want to say yes here. | |
1555 | ||
1556 | config SB1_PASS_1_WORKAROUNDS | |
1557 | bool | |
1558 | depends on CPU_SB1_PASS_1 | |
1559 | default y | |
1560 | ||
1561 | config SB1_PASS_2_WORKAROUNDS | |
1562 | bool | |
1563 | depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2) | |
1564 | default y | |
1565 | ||
1566 | config SB1_PASS_2_1_WORKAROUNDS | |
1567 | bool | |
1568 | depends on CPU_SB1 && CPU_SB1_PASS_2 | |
1569 | default y | |
1570 | ||
1571 | config 64BIT_PHYS_ADDR | |
1572 | bool | |
1573 | ||
1574 | config CPU_HAS_LLSC | |
1575 | bool | |
1576 | ||
1577 | config CPU_HAS_SMARTMIPS | |
1578 | depends on SYS_SUPPORTS_SMARTMIPS | |
1579 | bool "Support for the SmartMIPS ASE" | |
1580 | help | |
1581 | SmartMIPS is a extension of the MIPS32 architecture aimed at | |
1582 | increased security at both hardware and software level for | |
1583 | smartcards. Enabling this option will allow proper use of the | |
1584 | SmartMIPS instructions by Linux applications. However a kernel with | |
1585 | this option will not work on a MIPS core without SmartMIPS core. If | |
1586 | you don't know you probably don't have SmartMIPS and should say N | |
1587 | here. | |
1588 | ||
1589 | config CPU_HAS_WB | |
1590 | bool | |
1591 | ||
1592 | config 64BIT_CONTEXT | |
1593 | bool "Save 64bit integer registers" | |
1594 | depends on 32BIT && CPU_LOONGSON2 | |
1595 | help | |
1596 | Loongson2 CPU is 64bit , when used in 32BIT mode, its integer | |
1597 | registers can still be accessed as 64bit, mainly for multimedia | |
1598 | instructions. We must have all 64bit save/restored to make sure | |
1599 | those instructions to get correct result. | |
1600 | ||
1601 | # | |
1602 | # Vectored interrupt mode is an R2 feature | |
1603 | # | |
1604 | config CPU_MIPSR2_IRQ_VI | |
1605 | bool | |
1606 | ||
1607 | # | |
1608 | # Extended interrupt mode is an R2 feature | |
1609 | # | |
1610 | config CPU_MIPSR2_IRQ_EI | |
1611 | bool | |
1612 | ||
1613 | config CPU_HAS_SYNC | |
1614 | bool | |
1615 | depends on !CPU_R3000 | |
1616 | default y | |
1617 | ||
1618 | config GENERIC_CLOCKEVENTS_BROADCAST | |
1619 | bool | |
1620 | ||
1621 | # | |
1622 | # Use the generic interrupt handling code in kernel/irq/: | |
1623 | # | |
1624 | config GENERIC_HARDIRQS | |
1625 | bool | |
1626 | default y | |
1627 | ||
1628 | config GENERIC_IRQ_PROBE | |
1629 | bool | |
1630 | default y | |
1631 | ||
1632 | config IRQ_PER_CPU | |
1633 | bool | |
1634 | ||
1635 | # | |
1636 | # - Highmem only makes sense for the 32-bit kernel. | |
1637 | # - The current highmem code will only work properly on physically indexed | |
1638 | # caches such as R3000, SB1, R7000 or those that look like they're virtually | |
1639 | # indexed such as R4000/R4400 SC and MC versions or R10000. So for the | |
1640 | # moment we protect the user and offer the highmem option only on machines | |
1641 | # where it's known to be safe. This will not offer highmem on a few systems | |
1642 | # such as MIPS32 and MIPS64 CPUs which may have virtual and physically | |
1643 | # indexed CPUs but we're playing safe. | |
1644 | # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we | |
1645 | # know they might have memory configurations that could make use of highmem | |
1646 | # support. | |
1647 | # | |
1648 | config HIGHMEM | |
1649 | bool "High Memory Support" | |
1650 | depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM | |
1651 | ||
1652 | config CPU_SUPPORTS_HIGHMEM | |
1653 | bool | |
1654 | ||
1655 | config SYS_SUPPORTS_HIGHMEM | |
1656 | bool | |
1657 | ||
1658 | config SYS_SUPPORTS_SMARTMIPS | |
1659 | bool | |
1660 | ||
1661 | config ARCH_FLATMEM_ENABLE | |
1662 | def_bool y | |
1663 | depends on !NUMA | |
1664 | ||
1665 | config ARCH_DISCONTIGMEM_ENABLE | |
1666 | bool | |
1667 | default y if SGI_IP27 | |
1668 | help | |
1669 | Say Y to support efficient handling of discontiguous physical memory, | |
1670 | for architectures which are either NUMA (Non-Uniform Memory Access) | |
1671 | or have huge holes in the physical address space for other reasons. | |
1672 | See <file:Documentation/vm/numa> for more. | |
1673 | ||
1674 | config ARCH_POPULATES_NODE_MAP | |
1675 | def_bool y | |
1676 | ||
1677 | config ARCH_SPARSEMEM_ENABLE | |
1678 | bool | |
1679 | select SPARSEMEM_STATIC | |
1680 | ||
1681 | config NUMA | |
1682 | bool "NUMA Support" | |
1683 | depends on SYS_SUPPORTS_NUMA | |
1684 | help | |
1685 | Say Y to compile the kernel to support NUMA (Non-Uniform Memory | |
1686 | Access). This option improves performance on systems with more | |
1687 | than two nodes; on two node systems it is generally better to | |
1688 | leave it disabled; on single node systems disable this option | |
1689 | disabled. | |
1690 | ||
1691 | config SYS_SUPPORTS_NUMA | |
1692 | bool | |
1693 | ||
1694 | config NODES_SHIFT | |
1695 | int | |
1696 | default "6" | |
1697 | depends on NEED_MULTIPLE_NODES | |
1698 | ||
1699 | source "mm/Kconfig" | |
1700 | ||
1701 | config SMP | |
1702 | bool "Multi-Processing support" | |
1703 | depends on SYS_SUPPORTS_SMP | |
1704 | select IRQ_PER_CPU | |
1705 | help | |
1706 | This enables support for systems with more than one CPU. If you have | |
1707 | a system with only one CPU, like most personal computers, say N. If | |
1708 | you have a system with more than one CPU, say Y. | |
1709 | ||
1710 | If you say N here, the kernel will run on single and multiprocessor | |
1711 | machines, but will use only one CPU of a multiprocessor machine. If | |
1712 | you say Y here, the kernel will run on many, but not all, | |
1713 | singleprocessor machines. On a singleprocessor machine, the kernel | |
1714 | will run faster if you say N here. | |
1715 | ||
1716 | People using multiprocessor machines who say Y here should also say | |
1717 | Y to "Enhanced Real Time Clock Support", below. | |
1718 | ||
1719 | See also the <file:Documentation/smp.txt> and the SMP-HOWTO | |
1720 | available at <http://www.tldp.org/docs.html#howto>. | |
1721 | ||
1722 | If you don't know what to do here, say N. | |
1723 | ||
1724 | config SYS_SUPPORTS_SMP | |
1725 | bool | |
1726 | ||
1727 | config NR_CPUS_DEFAULT_1 | |
1728 | bool | |
1729 | ||
1730 | config NR_CPUS_DEFAULT_2 | |
1731 | bool | |
1732 | ||
1733 | config NR_CPUS_DEFAULT_4 | |
1734 | bool | |
1735 | ||
1736 | config NR_CPUS_DEFAULT_8 | |
1737 | bool | |
1738 | ||
1739 | config NR_CPUS_DEFAULT_16 | |
1740 | bool | |
1741 | ||
1742 | config NR_CPUS_DEFAULT_32 | |
1743 | bool | |
1744 | ||
1745 | config NR_CPUS_DEFAULT_64 | |
1746 | bool | |
1747 | ||
1748 | config NR_CPUS | |
1749 | int "Maximum number of CPUs (2-64)" | |
1750 | range 1 64 if NR_CPUS_DEFAULT_1 | |
1751 | depends on SMP | |
1752 | default "1" if NR_CPUS_DEFAULT_1 | |
1753 | default "2" if NR_CPUS_DEFAULT_2 | |
1754 | default "4" if NR_CPUS_DEFAULT_4 | |
1755 | default "8" if NR_CPUS_DEFAULT_8 | |
1756 | default "16" if NR_CPUS_DEFAULT_16 | |
1757 | default "32" if NR_CPUS_DEFAULT_32 | |
1758 | default "64" if NR_CPUS_DEFAULT_64 | |
1759 | help | |
1760 | This allows you to specify the maximum number of CPUs which this | |
1761 | kernel will support. The maximum supported value is 32 for 32-bit | |
1762 | kernel and 64 for 64-bit kernels; the minimum value which makes | |
1763 | sense is 1 for Qemu (useful only for kernel debugging purposes) | |
1764 | and 2 for all others. | |
1765 | ||
1766 | This is purely to save memory - each supported CPU adds | |
1767 | approximately eight kilobytes to the kernel image. For best | |
1768 | performance should round up your number of processors to the next | |
1769 | power of two. | |
1770 | ||
1771 | # | |
1772 | # Timer Interrupt Frequency Configuration | |
1773 | # | |
1774 | ||
1775 | choice | |
1776 | prompt "Timer frequency" | |
1777 | default HZ_250 | |
1778 | help | |
1779 | Allows the configuration of the timer frequency. | |
1780 | ||
1781 | config HZ_48 | |
1782 | bool "48 HZ" if SYS_SUPPORTS_48HZ | |
1783 | ||
1784 | config HZ_100 | |
1785 | bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ | |
1786 | ||
1787 | config HZ_128 | |
1788 | bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ | |
1789 | ||
1790 | config HZ_250 | |
1791 | bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ | |
1792 | ||
1793 | config HZ_256 | |
1794 | bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ | |
1795 | ||
1796 | config HZ_1000 | |
1797 | bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ | |
1798 | ||
1799 | config HZ_1024 | |
1800 | bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ | |
1801 | ||
1802 | endchoice | |
1803 | ||
1804 | config SYS_SUPPORTS_48HZ | |
1805 | bool | |
1806 | ||
1807 | config SYS_SUPPORTS_100HZ | |
1808 | bool | |
1809 | ||
1810 | config SYS_SUPPORTS_128HZ | |
1811 | bool | |
1812 | ||
1813 | config SYS_SUPPORTS_250HZ | |
1814 | bool | |
1815 | ||
1816 | config SYS_SUPPORTS_256HZ | |
1817 | bool | |
1818 | ||
1819 | config SYS_SUPPORTS_1000HZ | |
1820 | bool | |
1821 | ||
1822 | config SYS_SUPPORTS_1024HZ | |
1823 | bool | |
1824 | ||
1825 | config SYS_SUPPORTS_ARBIT_HZ | |
1826 | bool | |
1827 | default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \ | |
1828 | !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \ | |
1829 | !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \ | |
1830 | !SYS_SUPPORTS_1024HZ | |
1831 | ||
1832 | config HZ | |
1833 | int | |
1834 | default 48 if HZ_48 | |
1835 | default 100 if HZ_100 | |
1836 | default 128 if HZ_128 | |
1837 | default 250 if HZ_250 | |
1838 | default 256 if HZ_256 | |
1839 | default 1000 if HZ_1000 | |
1840 | default 1024 if HZ_1024 | |
1841 | ||
1842 | source "kernel/Kconfig.preempt" | |
1843 | ||
1844 | config MIPS_INSANE_LARGE | |
1845 | bool "Support for large 64-bit configurations" | |
1846 | depends on CPU_R10000 && 64BIT | |
1847 | help | |
1848 | MIPS R10000 does support a 44 bit / 16TB address space as opposed to | |
1849 | previous 64-bit processors which only supported 40 bit / 1TB. If you | |
1850 | need processes of more than 1TB virtual address space, say Y here. | |
1851 | This will result in additional memory usage, so it is not | |
1852 | recommended for normal users. | |
1853 | ||
1854 | config KEXEC | |
1855 | bool "Kexec system call (EXPERIMENTAL)" | |
1856 | depends on EXPERIMENTAL | |
1857 | help | |
1858 | kexec is a system call that implements the ability to shutdown your | |
1859 | current kernel, and to start another kernel. It is like a reboot | |
1860 | but it is independent of the system firmware. And like a reboot | |
1861 | you can start any kernel with it, not just Linux. | |
1862 | ||
1863 | The name comes from the similarity to the exec system call. | |
1864 | ||
1865 | It is an ongoing process to be certain the hardware in a machine | |
1866 | is properly shutdown, so do not be surprised if this code does not | |
1867 | initially work for you. It may help to enable device hotplugging | |
1868 | support. As of this writing the exact hardware interface is | |
1869 | strongly in flux, so no good recommendation can be made. | |
1870 | ||
1871 | config SECCOMP | |
1872 | bool "Enable seccomp to safely compute untrusted bytecode" | |
1873 | depends on PROC_FS | |
1874 | default y | |
1875 | help | |
1876 | This kernel feature is useful for number crunching applications | |
1877 | that may need to compute untrusted bytecode during their | |
1878 | execution. By using pipes or other transports made available to | |
1879 | the process as file descriptors supporting the read/write | |
1880 | syscalls, it's possible to isolate those applications in | |
1881 | their own address space using seccomp. Once seccomp is | |
1882 | enabled via /proc/<pid>/seccomp, it cannot be disabled | |
1883 | and the task is only allowed to execute a few safe syscalls | |
1884 | defined by each seccomp mode. | |
1885 | ||
1886 | If unsure, say Y. Only embedded should say N here. | |
1887 | ||
1888 | endmenu | |
1889 | ||
1890 | config RWSEM_GENERIC_SPINLOCK | |
1891 | bool | |
1892 | default y | |
1893 | ||
1894 | config LOCKDEP_SUPPORT | |
1895 | bool | |
1896 | default y | |
1897 | ||
1898 | config STACKTRACE_SUPPORT | |
1899 | bool | |
1900 | default y | |
1901 | ||
1902 | source "init/Kconfig" | |
1903 | ||
1904 | menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" | |
1905 | ||
1906 | config HW_HAS_EISA | |
1907 | bool | |
1908 | config HW_HAS_PCI | |
1909 | bool | |
1910 | ||
1911 | config PCI | |
1912 | bool "Support for PCI controller" | |
1913 | depends on HW_HAS_PCI | |
1914 | select PCI_DOMAINS | |
1915 | help | |
1916 | Find out whether you have a PCI motherboard. PCI is the name of a | |
1917 | bus system, i.e. the way the CPU talks to the other stuff inside | |
1918 | your box. Other bus systems are ISA, EISA, or VESA. If you have PCI, | |
1919 | say Y, otherwise N. | |
1920 | ||
1921 | The PCI-HOWTO, available from | |
1922 | <http://www.tldp.org/docs.html#howto>, contains valuable | |
1923 | information about which PCI hardware does work under Linux and which | |
1924 | doesn't. | |
1925 | ||
1926 | config PCI_DOMAINS | |
1927 | bool | |
1928 | ||
1929 | source "drivers/pci/Kconfig" | |
1930 | ||
1931 | # | |
1932 | # ISA support is now enabled via select. Too many systems still have the one | |
1933 | # or other ISA chip on the board that users don't know about so don't expect | |
1934 | # users to choose the right thing ... | |
1935 | # | |
1936 | config ISA | |
1937 | bool | |
1938 | ||
1939 | config EISA | |
1940 | bool "EISA support" | |
1941 | depends on HW_HAS_EISA | |
1942 | select ISA | |
1943 | select GENERIC_ISA_DMA | |
1944 | ---help--- | |
1945 | The Extended Industry Standard Architecture (EISA) bus was | |
1946 | developed as an open alternative to the IBM MicroChannel bus. | |
1947 | ||
1948 | The EISA bus provided some of the features of the IBM MicroChannel | |
1949 | bus while maintaining backward compatibility with cards made for | |
1950 | the older ISA bus. The EISA bus saw limited use between 1988 and | |
1951 | 1995 when it was made obsolete by the PCI bus. | |
1952 | ||
1953 | Say Y here if you are building a kernel for an EISA-based machine. | |
1954 | ||
1955 | Otherwise, say N. | |
1956 | ||
1957 | source "drivers/eisa/Kconfig" | |
1958 | ||
1959 | config TC | |
1960 | bool "TURBOchannel support" | |
1961 | depends on MACH_DECSTATION | |
1962 | help | |
1963 | TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS | |
1964 | processors. Documentation on writing device drivers for TurboChannel | |
1965 | is available at: | |
1966 | <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>. | |
1967 | ||
1968 | #config ACCESSBUS | |
1969 | # bool "Access.Bus support" | |
1970 | # depends on TC | |
1971 | ||
1972 | config MMU | |
1973 | bool | |
1974 | default y | |
1975 | ||
1976 | config I8253 | |
1977 | bool | |
1978 | ||
1979 | config PCSPEAKER | |
1980 | bool | |
1981 | ||
1982 | config ZONE_DMA32 | |
1983 | bool | |
1984 | ||
1985 | source "drivers/pcmcia/Kconfig" | |
1986 | ||
1987 | source "drivers/pci/hotplug/Kconfig" | |
1988 | ||
1989 | endmenu | |
1990 | ||
1991 | menu "Executable file formats" | |
1992 | ||
1993 | source "fs/Kconfig.binfmt" | |
1994 | ||
1995 | config TRAD_SIGNALS | |
1996 | bool | |
1997 | ||
1998 | config BINFMT_IRIX | |
1999 | bool "Include IRIX binary compatibility" | |
2000 | depends on CPU_BIG_ENDIAN && 32BIT && BROKEN | |
2001 | ||
2002 | config MIPS32_COMPAT | |
2003 | bool "Kernel support for Linux/MIPS 32-bit binary compatibility" | |
2004 | depends on 64BIT | |
2005 | help | |
2006 | Select this option if you want Linux/MIPS 32-bit binary | |
2007 | compatibility. Since all software available for Linux/MIPS is | |
2008 | currently 32-bit you should say Y here. | |
2009 | ||
2010 | config COMPAT | |
2011 | bool | |
2012 | depends on MIPS32_COMPAT | |
2013 | default y | |
2014 | ||
2015 | config SYSVIPC_COMPAT | |
2016 | bool | |
2017 | depends on COMPAT && SYSVIPC | |
2018 | default y | |
2019 | ||
2020 | config MIPS32_O32 | |
2021 | bool "Kernel support for o32 binaries" | |
2022 | depends on MIPS32_COMPAT | |
2023 | help | |
2024 | Select this option if you want to run o32 binaries. These are pure | |
2025 | 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of | |
2026 | existing binaries are in this format. | |
2027 | ||
2028 | If unsure, say Y. | |
2029 | ||
2030 | config MIPS32_N32 | |
2031 | bool "Kernel support for n32 binaries" | |
2032 | depends on MIPS32_COMPAT | |
2033 | help | |
2034 | Select this option if you want to run n32 binaries. These are | |
2035 | 64-bit binaries using 32-bit quantities for addressing and certain | |
2036 | data that would normally be 64-bit. They are used in special | |
2037 | cases. | |
2038 | ||
2039 | If unsure, say N. | |
2040 | ||
2041 | config BINFMT_ELF32 | |
2042 | bool | |
2043 | default y if MIPS32_O32 || MIPS32_N32 | |
2044 | ||
2045 | endmenu | |
2046 | ||
2047 | menu "Power management options" | |
2048 | ||
2049 | source "kernel/power/Kconfig" | |
2050 | ||
2051 | endmenu | |
2052 | ||
2053 | source "net/Kconfig" | |
2054 | ||
2055 | source "drivers/Kconfig" | |
2056 | ||
2057 | source "fs/Kconfig" | |
2058 | ||
2059 | source "kernel/Kconfig.instrumentation" | |
2060 | ||
2061 | source "arch/mips/Kconfig.debug" | |
2062 | ||
2063 | source "security/Kconfig" | |
2064 | ||
2065 | source "crypto/Kconfig" | |
2066 | ||
2067 | source "lib/Kconfig" |