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