]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/mips/Kconfig
MIPS: Lantiq: Platform specific CLK fixup
[mirror_ubuntu-eoan-kernel.git] / arch / mips / Kconfig
CommitLineData
1da177e4
LT
1config MIPS
2 bool
3 default y
f8ac0425 4 select HAVE_GENERIC_DMA_COHERENT
ec7748b5 5 select HAVE_IDE
42d4b839 6 select HAVE_OPROFILE
91f01737 7 select HAVE_IRQ_WORK
7f788d2d
DZ
8 select HAVE_PERF_EVENTS
9 select PERF_USE_VMALLOC
88547001 10 select HAVE_ARCH_KGDB
7563bbf8 11 select ARCH_HAVE_CUSTOM_GPIO_H
d2bb0762 12 select HAVE_FUNCTION_TRACER
69a7d1b3 13 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
538f1952
WZ
14 select HAVE_DYNAMIC_FTRACE
15 select HAVE_FTRACE_MCOUNT_RECORD
64575f91 16 select HAVE_C_RECORDMCOUNT
29c5d346 17 select HAVE_FUNCTION_GRAPH_TRACER
c1bf207d
DD
18 select HAVE_KPROBES
19 select HAVE_KRETPROBES
e26d196c 20 select ARCH_BINFMT_ELF_RANDOMIZE_PIE
21a41faa 21 select RTC_LIB if !MACH_LOONGSON
2b78920d 22 select GENERIC_ATOMIC64 if !64BIT
7463449b 23 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
48e1fd5a
DD
24 select HAVE_DMA_ATTRS
25 select HAVE_DMA_API_DEBUG
3bd27e32
DD
26 select HAVE_GENERIC_HARDIRQS
27 select GENERIC_IRQ_PROBE
f8396c17 28 select GENERIC_IRQ_SHOW
94bb0c1a 29 select HAVE_ARCH_JUMP_LABEL
c1d7e01d 30 select ARCH_WANT_IPC_PARSE_VERSION
0f462e3c 31 select IRQ_FORCED_THREADING
9d15ffc8
TH
32 select HAVE_MEMBLOCK
33 select HAVE_MEMBLOCK_NODE_MAP
34 select ARCH_DISCARD_MEMBLOCK
360014a3 35 select GENERIC_SMP_IDLE_THREAD
4b054495 36 select BUILDTIME_EXTABLE_SORT
cde1794b
AMG
37 select GENERIC_CLOCKEVENTS
38 select GENERIC_CMOS_UPDATE
1da177e4 39
1da177e4
LT
40menu "Machine selection"
41
5ac6da66
CL
42config ZONE_DMA
43 bool
5ac6da66 44
5e83d430
RB
45choice
46 prompt "System type"
47 default SGI_IP22
1da177e4 48
42a4f17d 49config MIPS_ALCHEMY
c3543e25 50 bool "Alchemy processor based machines"
42a4f17d
ML
51 select 64BIT_PHYS_ADDR
52 select CEVT_R4K_LIB
53 select CSRC_R4K_LIB
54 select IRQ_CPU
55 select SYS_HAS_CPU_MIPS32_R1
56 select SYS_SUPPORTS_32BIT_KERNEL
57 select SYS_SUPPORTS_APM_EMULATION
58 select GENERIC_GPIO
59 select ARCH_WANT_OPTIONAL_GPIOLIB
1b93b3c3 60 select SYS_SUPPORTS_ZBOOT
37663860
ML
61 select USB_ARCH_HAS_OHCI
62 select USB_ARCH_HAS_EHCI
1da177e4 63
7ca5dc14
FF
64config AR7
65 bool "Texas Instruments AR7"
66 select BOOT_ELF32
67 select DMA_NONCOHERENT
68 select CEVT_R4K
69 select CSRC_R4K
70 select IRQ_CPU
71 select NO_EXCEPT_FILL
72 select SWAP_IO_SPACE
73 select SYS_HAS_CPU_MIPS32_R1
74 select SYS_HAS_EARLY_PRINTK
75 select SYS_SUPPORTS_32BIT_KERNEL
76 select SYS_SUPPORTS_LITTLE_ENDIAN
1b93b3c3 77 select SYS_SUPPORTS_ZBOOT_UART16550
5f3c9098 78 select ARCH_REQUIRE_GPIOLIB
7ca5dc14
FF
79 select VLYNQ
80 help
81 Support for the Texas Instruments AR7 System-on-a-Chip
82 family: TNETD7100, 7200 and 7300.
83
d4a67d9d
GJ
84config ATH79
85 bool "Atheros AR71XX/AR724X/AR913X based boards"
6eae43c5 86 select ARCH_REQUIRE_GPIOLIB
d4a67d9d
GJ
87 select BOOT_RAW
88 select CEVT_R4K
89 select CSRC_R4K
90 select DMA_NONCOHERENT
91 select IRQ_CPU
0aabf1a4 92 select MIPS_MACHINE
d4a67d9d
GJ
93 select SYS_HAS_CPU_MIPS32_R2
94 select SYS_HAS_EARLY_PRINTK
95 select SYS_SUPPORTS_32BIT_KERNEL
96 select SYS_SUPPORTS_BIG_ENDIAN
97 help
98 Support for the Atheros AR71XX/AR724X/AR913X SoCs.
99
1c0c13eb 100config BCM47XX
c619366e 101 bool "Broadcom BCM47XX based boards"
42f77542 102 select CEVT_R4K
940f6b48 103 select CSRC_R4K
1c0c13eb
AJ
104 select DMA_NONCOHERENT
105 select HW_HAS_PCI
106 select IRQ_CPU
1c0c13eb
AJ
107 select SYS_SUPPORTS_32BIT_KERNEL
108 select SYS_SUPPORTS_LITTLE_ENDIAN
1c0c13eb 109 select GENERIC_GPIO
25e5fb97
AJ
110 select SYS_HAS_EARLY_PRINTK
111 select CFE
1c0c13eb
AJ
112 help
113 Support for BCM47XX based boards
114
e7300d04
MB
115config BCM63XX
116 bool "Broadcom BCM63XX based boards"
117 select CEVT_R4K
118 select CSRC_R4K
119 select DMA_NONCOHERENT
120 select IRQ_CPU
121 select SYS_HAS_CPU_MIPS32_R1
122 select SYS_SUPPORTS_32BIT_KERNEL
123 select SYS_SUPPORTS_BIG_ENDIAN
124 select SYS_HAS_EARLY_PRINTK
125 select SWAP_IO_SPACE
126 select ARCH_REQUIRE_GPIOLIB
127 help
128 Support for BCM63XX based boards
129
1da177e4 130config MIPS_COBALT
3fa986fa 131 bool "Cobalt Server"
42f77542 132 select CEVT_R4K
940f6b48 133 select CSRC_R4K
1097c6ac 134 select CEVT_GT641XX
1da177e4
LT
135 select DMA_NONCOHERENT
136 select HW_HAS_PCI
d865bea4 137 select I8253
1da177e4
LT
138 select I8259
139 select IRQ_CPU
d5ab1a69 140 select IRQ_GT641XX
252161ec 141 select PCI_GT64XXX_PCI0
e25bfc92 142 select PCI
7cf8053b 143 select SYS_HAS_CPU_NEVADA
0a22e0d4 144 select SYS_HAS_EARLY_PRINTK
ed5ba2fb 145 select SYS_SUPPORTS_32BIT_KERNEL
0e8774b6 146 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 147 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4
LT
148
149config MACH_DECSTATION
3fa986fa 150 bool "DECstations"
1da177e4 151 select BOOT_ELF32
6457d9fc 152 select CEVT_DS1287
42f77542 153 select CEVT_R4K
4247417d 154 select CSRC_IOASIC
940f6b48 155 select CSRC_R4K
20d60d99
MR
156 select CPU_DADDI_WORKAROUNDS if 64BIT
157 select CPU_R4000_WORKAROUNDS if 64BIT
158 select CPU_R4400_WORKAROUNDS if 64BIT
1da177e4 159 select DMA_NONCOHERENT
d388d685 160 select NO_IOPORT
1da177e4 161 select IRQ_CPU
7cf8053b
RB
162 select SYS_HAS_CPU_R3000
163 select SYS_HAS_CPU_R4X00
ed5ba2fb
YY
164 select SYS_SUPPORTS_32BIT_KERNEL
165 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5e83d430 166 select SYS_SUPPORTS_LITTLE_ENDIAN
1723b4a3
AN
167 select SYS_SUPPORTS_128HZ
168 select SYS_SUPPORTS_256HZ
169 select SYS_SUPPORTS_1024HZ
5e83d430 170 help
1da177e4
LT
171 This enables support for DEC's MIPS based workstations. For details
172 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
173 DECstation porting pages on <http://decstation.unix-ag.org/>.
174
175 If you have one of the following DECstation Models you definitely
176 want to choose R4xx0 for the CPU Type:
177
9308816c
RB
178 DECstation 5000/50
179 DECstation 5000/150
180 DECstation 5000/260
181 DECsystem 5900/260
1da177e4
LT
182
183 otherwise choose R3000.
184
5e83d430 185config MACH_JAZZ
3fa986fa 186 bool "Jazz family of machines"
5e83d430
RB
187 select ARC
188 select ARC32
189 select ARCH_MAY_HAVE_PC_FDC
42f77542 190 select CEVT_R4K
940f6b48 191 select CSRC_R4K
e2defae5 192 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5e83d430 193 select GENERIC_ISA_DMA
8a118c38 194 select HAVE_PCSPKR_PLATFORM
ea202c63 195 select IRQ_CPU
d865bea4 196 select I8253
5e83d430
RB
197 select I8259
198 select ISA
7cf8053b 199 select SYS_HAS_CPU_R4X00
5e83d430
RB
200 select SYS_SUPPORTS_32BIT_KERNEL
201 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1723b4a3 202 select SYS_SUPPORTS_100HZ
1da177e4 203 help
5e83d430
RB
204 This a family of machines based on the MIPS R4030 chipset which was
205 used by several vendors to build RISC/os and Windows NT workstations.
692105b8 206 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
5e83d430
RB
207 Olivetti M700-10 workstations.
208
5ebabe59
LPC
209config MACH_JZ4740
210 bool "Ingenic JZ4740 based machines"
211 select SYS_HAS_CPU_MIPS32_R1
212 select SYS_SUPPORTS_32BIT_KERNEL
213 select SYS_SUPPORTS_LITTLE_ENDIAN
f9c9affc 214 select SYS_SUPPORTS_ZBOOT_UART16550
5ebabe59
LPC
215 select DMA_NONCOHERENT
216 select IRQ_CPU
217 select GENERIC_GPIO
218 select ARCH_REQUIRE_GPIOLIB
219 select SYS_HAS_EARLY_PRINTK
220 select HAVE_PWM
ab5330eb 221 select HAVE_CLK
83bc7692 222 select GENERIC_IRQ_CHIP
5ebabe59 223
171bb2f1
JC
224config LANTIQ
225 bool "Lantiq based platforms"
226 select DMA_NONCOHERENT
227 select IRQ_CPU
228 select CEVT_R4K
229 select CSRC_R4K
230 select SYS_HAS_CPU_MIPS32_R1
231 select SYS_HAS_CPU_MIPS32_R2
232 select SYS_SUPPORTS_BIG_ENDIAN
233 select SYS_SUPPORTS_32BIT_KERNEL
234 select SYS_SUPPORTS_MULTITHREADING
235 select SYS_HAS_EARLY_PRINTK
236 select ARCH_REQUIRE_GPIOLIB
237 select SWAP_IO_SPACE
238 select BOOT_RAW
287e3f3f
JC
239 select HAVE_MACH_CLKDEV
240 select CLKDEV_LOOKUP
a0392222 241 select USE_OF
171bb2f1 242
1f21d2bd
BM
243config LASAT
244 bool "LASAT Networks platforms"
42f77542 245 select CEVT_R4K
940f6b48 246 select CSRC_R4K
1f21d2bd
BM
247 select DMA_NONCOHERENT
248 select SYS_HAS_EARLY_PRINTK
249 select HW_HAS_PCI
a5ccfe5c 250 select IRQ_CPU
1f21d2bd
BM
251 select PCI_GT64XXX_PCI0
252 select MIPS_NILE4
253 select R5000_CPU_SCACHE
254 select SYS_HAS_CPU_R5000
255 select SYS_SUPPORTS_32BIT_KERNEL
256 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
257 select SYS_SUPPORTS_LITTLE_ENDIAN
1f21d2bd 258
85749d24
WZ
259config MACH_LOONGSON
260 bool "Loongson family of machines"
c7e8c668 261 select SYS_SUPPORTS_ZBOOT
ade299d8 262 help
85749d24
WZ
263 This enables the support of Loongson family of machines.
264
265 Loongson is a family of general-purpose MIPS-compatible CPUs.
266 developed at Institute of Computing Technology (ICT),
267 Chinese Academy of Sciences (CAS) in the People's Republic
268 of China. The chief architect is Professor Weiwu Hu.
ade299d8 269
ca585cf9
KC
270config MACH_LOONGSON1
271 bool "Loongson 1 family of machines"
272 select SYS_SUPPORTS_ZBOOT
273 help
274 This enables support for the Loongson 1 based machines.
275
276 Loongson 1 is a family of 32-bit MIPS-compatible SoCs developed by
277 the ICT (Institute of Computing Technology) and the Chinese Academy
278 of Sciences.
279
1da177e4 280config MIPS_MALTA
3fa986fa 281 bool "MIPS Malta board"
61ed242d 282 select ARCH_MAY_HAVE_PC_FDC
1da177e4 283 select BOOT_ELF32
fa71c960 284 select BOOT_RAW
42f77542 285 select CEVT_R4K
940f6b48 286 select CSRC_R4K
1da177e4
LT
287 select DMA_NONCOHERENT
288 select GENERIC_ISA_DMA
8a118c38 289 select HAVE_PCSPKR_PLATFORM
aa414dff 290 select IRQ_CPU
39b8d525 291 select IRQ_GIC
1da177e4 292 select HW_HAS_PCI
d865bea4 293 select I8253
1da177e4 294 select I8259
5e83d430
RB
295 select MIPS_BOARDS_GEN
296 select MIPS_BONITO64
9318c51a 297 select MIPS_CPU_SCACHE
252161ec 298 select PCI_GT64XXX_PCI0
5e83d430 299 select MIPS_MSC
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
5d9fbed1 304 select SYS_HAS_CPU_MIPS64_R2
7cf8053b
RB
305 select SYS_HAS_CPU_NEVADA
306 select SYS_HAS_CPU_RM7000
36a88530 307 select SYS_HAS_EARLY_PRINTK
ed5ba2fb
YY
308 select SYS_SUPPORTS_32BIT_KERNEL
309 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430
RB
310 select SYS_SUPPORTS_BIG_ENDIAN
311 select SYS_SUPPORTS_LITTLE_ENDIAN
0365070f 312 select SYS_SUPPORTS_MIPS_CMP
f41ae0b2 313 select SYS_SUPPORTS_MULTITHREADING
9693a853 314 select SYS_SUPPORTS_SMARTMIPS
1b93b3c3 315 select SYS_SUPPORTS_ZBOOT
1da177e4 316 help
f638d197 317 This enables support for the MIPS Technologies Malta evaluation
1da177e4
LT
318 board.
319
5e83d430 320config MIPS_SIM
3fa986fa 321 bool 'MIPS simulator (MIPSsim)'
42f77542 322 select CEVT_R4K
940f6b48 323 select CSRC_R4K
1da177e4 324 select DMA_NONCOHERENT
36a88530 325 select SYS_HAS_EARLY_PRINTK
1da177e4 326 select IRQ_CPU
9267a30d 327 select BOOT_RAW
7cf8053b
RB
328 select SYS_HAS_CPU_MIPS32_R1
329 select SYS_HAS_CPU_MIPS32_R2
36a88530 330 select SYS_HAS_EARLY_PRINTK
ed5ba2fb 331 select SYS_SUPPORTS_32BIT_KERNEL
5e83d430 332 select SYS_SUPPORTS_BIG_ENDIAN
f6e2373a 333 select SYS_SUPPORTS_MULTITHREADING
5e83d430 334 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 335 help
5e83d430
RB
336 This option enables support for MIPS Technologies MIPSsim software
337 emulator.
1da177e4 338
a83860c2
RB
339config NEC_MARKEINS
340 bool "NEC EMMA2RH Mark-eins board"
341 select SOC_EMMA2RH
342 select HW_HAS_PCI
343 help
344 This enables support for the NEC Electronics Mark-eins boards.
ade299d8 345
5e83d430 346config MACH_VR41XX
74142d65 347 bool "NEC VR4100 series based machines"
42f77542 348 select CEVT_R4K
940f6b48 349 select CSRC_R4K
7cf8053b 350 select SYS_HAS_CPU_VR41XX
27fdd325 351 select ARCH_REQUIRE_GPIOLIB
5e83d430 352
edb6310a
DL
353config NXP_STB220
354 bool "NXP STB220 board"
355 select SOC_PNX833X
356 help
357 Support for NXP Semiconductors STB220 Development Board.
358
359config NXP_STB225
360 bool "NXP 225 board"
361 select SOC_PNX833X
362 select SOC_PNX8335
363 help
364 Support for NXP Semiconductors STB225 Development Board.
365
ade299d8 366config PNX8550_JBS
a92b0588 367 bool "NXP PNX8550 based JBS board"
ade299d8
YY
368 select PNX8550
369 select SYS_SUPPORTS_LITTLE_ENDIAN
370
371config PNX8550_STB810
a92b0588 372 bool "NXP PNX8550 based STB810 board"
ade299d8
YY
373 select PNX8550
374 select SYS_SUPPORTS_LITTLE_ENDIAN
375
9267a30d
MSJ
376config PMC_MSP
377 bool "PMC-Sierra MSP chipsets"
378 depends on EXPERIMENTAL
39d30c13
A
379 select CEVT_R4K
380 select CSRC_R4K
9267a30d
MSJ
381 select DMA_NONCOHERENT
382 select SWAP_IO_SPACE
383 select NO_EXCEPT_FILL
384 select BOOT_RAW
385 select SYS_HAS_CPU_MIPS32_R1
386 select SYS_HAS_CPU_MIPS32_R2
387 select SYS_SUPPORTS_32BIT_KERNEL
388 select SYS_SUPPORTS_BIG_ENDIAN
9267a30d
MSJ
389 select IRQ_CPU
390 select SERIAL_8250
391 select SERIAL_8250_CONSOLE
392 help
393 This adds support for the PMC-Sierra family of Multi-Service
394 Processor System-On-A-Chips. These parts include a number
395 of integrated peripherals, interfaces and DSPs in addition to
396 a variety of MIPS cores.
397
5e83d430 398config PMC_YOSEMITE
3fa986fa 399 bool "PMC-Sierra Yosemite eval board"
42f77542 400 select CEVT_R4K
940f6b48 401 select CSRC_R4K
5e83d430
RB
402 select DMA_COHERENT
403 select HW_HAS_PCI
404 select IRQ_CPU
405 select IRQ_CPU_RM7K
406 select IRQ_CPU_RM9K
407 select SWAP_IO_SPACE
7cf8053b 408 select SYS_HAS_CPU_RM9000
36a88530 409 select SYS_HAS_EARLY_PRINTK
5e83d430
RB
410 select SYS_SUPPORTS_32BIT_KERNEL
411 select SYS_SUPPORTS_64BIT_KERNEL
412 select SYS_SUPPORTS_BIG_ENDIAN
413 select SYS_SUPPORTS_HIGHMEM
e73ea273 414 select SYS_SUPPORTS_SMP
5e83d430
RB
415 help
416 Yosemite is an evaluation board for the RM9000x2 processor
417 manufactured by PMC-Sierra.
1da177e4 418
a3a0f8c8
DV
419config POWERTV
420 bool "Cisco PowerTV"
421 select BOOT_ELF32
422 select CEVT_R4K
423 select CPU_MIPSR2_IRQ_VI
424 select CPU_MIPSR2_IRQ_EI
425 select CSRC_POWERTV
426 select DMA_NONCOHERENT
427 select HW_HAS_PCI
428 select SYS_HAS_EARLY_PRINTK
429 select SYS_HAS_CPU_MIPS32_R2
430 select SYS_SUPPORTS_32BIT_KERNEL
431 select SYS_SUPPORTS_BIG_ENDIAN
432 select SYS_SUPPORTS_HIGHMEM
433 select USB_OHCI_LITTLE_ENDIAN
434 help
435 This enables support for the Cisco PowerTV Platform.
436
1da177e4 437config SGI_IP22
3fa986fa 438 bool "SGI IP22 (Indy/Indigo2)"
1da177e4
LT
439 select ARC
440 select ARC32
441 select BOOT_ELF32
42f77542 442 select CEVT_R4K
940f6b48 443 select CSRC_R4K
e2defae5 444 select DEFAULT_SGI_PARTITION
1da177e4 445 select DMA_NONCOHERENT
5e83d430 446 select HW_HAS_EISA
d865bea4 447 select I8253
68de4803 448 select I8259
1da177e4
LT
449 select IP22_CPU_SCACHE
450 select IRQ_CPU
aa414dff 451 select GENERIC_ISA_DMA_SUPPORT_BROKEN
e2defae5
TB
452 select SGI_HAS_I8042
453 select SGI_HAS_INDYDOG
36e5c21d 454 select SGI_HAS_HAL2
e2defae5
TB
455 select SGI_HAS_SEEQ
456 select SGI_HAS_WD93
457 select SGI_HAS_ZILOG
1da177e4 458 select SWAP_IO_SPACE
7cf8053b
RB
459 select SYS_HAS_CPU_R4X00
460 select SYS_HAS_CPU_R5000
2b5e63f6
MM
461 #
462 # Disable EARLY_PRINTK for now since it leads to overwritten prom
463 # memory during early boot on some machines.
464 #
465 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
466 # for a more details discussion
467 #
468 # select SYS_HAS_EARLY_PRINTK
ed5ba2fb
YY
469 select SYS_SUPPORTS_32BIT_KERNEL
470 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 471 select SYS_SUPPORTS_BIG_ENDIAN
1da177e4
LT
472 help
473 This are the SGI Indy, Challenge S and Indigo2, as well as certain
474 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
475 that runs on these, say Y here.
476
477config SGI_IP27
3fa986fa 478 bool "SGI IP27 (Origin200/2000)"
1da177e4
LT
479 select ARC
480 select ARC64
5e83d430 481 select BOOT_ELF64
e2defae5 482 select DEFAULT_SGI_PARTITION
634286f1 483 select DMA_COHERENT
36a88530 484 select SYS_HAS_EARLY_PRINTK
1da177e4 485 select HW_HAS_PCI
130e2fb7 486 select NR_CPUS_DEFAULT_64
7cf8053b 487 select SYS_HAS_CPU_R10000
ed5ba2fb 488 select SYS_SUPPORTS_64BIT_KERNEL
5e83d430 489 select SYS_SUPPORTS_BIG_ENDIAN
d8cb4e11 490 select SYS_SUPPORTS_NUMA
1a5c5de1 491 select SYS_SUPPORTS_SMP
1da177e4
LT
492 help
493 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
494 workstations. To compile a Linux kernel that runs on these, say Y
495 here.
496
e2defae5
TB
497config SGI_IP28
498 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
499 depends on EXPERIMENTAL
500 select ARC
501 select ARC64
502 select BOOT_ELF64
503 select CEVT_R4K
504 select CSRC_R4K
505 select DEFAULT_SGI_PARTITION
506 select DMA_NONCOHERENT
507 select GENERIC_ISA_DMA_SUPPORT_BROKEN
508 select IRQ_CPU
509 select HW_HAS_EISA
510 select I8253
511 select I8259
e2defae5
TB
512 select SGI_HAS_I8042
513 select SGI_HAS_INDYDOG
5b438c44 514 select SGI_HAS_HAL2
e2defae5
TB
515 select SGI_HAS_SEEQ
516 select SGI_HAS_WD93
517 select SGI_HAS_ZILOG
518 select SWAP_IO_SPACE
519 select SYS_HAS_CPU_R10000
2b5e63f6
MM
520 #
521 # Disable EARLY_PRINTK for now since it leads to overwritten prom
522 # memory during early boot on some machines.
523 #
524 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
525 # for a more details discussion
526 #
527 # select SYS_HAS_EARLY_PRINTK
e2defae5
TB
528 select SYS_SUPPORTS_64BIT_KERNEL
529 select SYS_SUPPORTS_BIG_ENDIAN
530 help
531 This is the SGI Indigo2 with R10000 processor. To compile a Linux
532 kernel that runs on these, say Y here.
533
1da177e4 534config SGI_IP32
cfd2afc0 535 bool "SGI IP32 (O2)"
1da177e4
LT
536 select ARC
537 select ARC32
538 select BOOT_ELF32
42f77542 539 select CEVT_R4K
940f6b48 540 select CSRC_R4K
1da177e4
LT
541 select DMA_NONCOHERENT
542 select HW_HAS_PCI
dd67b155 543 select IRQ_CPU
1da177e4
LT
544 select R5000_CPU_SCACHE
545 select RM7000_CPU_SCACHE
7cf8053b
RB
546 select SYS_HAS_CPU_R5000
547 select SYS_HAS_CPU_R10000 if BROKEN
548 select SYS_HAS_CPU_RM7000
dd2f18fe 549 select SYS_HAS_CPU_NEVADA
ed5ba2fb 550 select SYS_SUPPORTS_64BIT_KERNEL
23fbee9d 551 select SYS_SUPPORTS_BIG_ENDIAN
23fbee9d 552 help
5e83d430 553 If you want this kernel to run on SGI O2 workstation, say Y here.
1da177e4 554
ade299d8
YY
555config SIBYTE_CRHINE
556 bool "Sibyte BCM91120C-CRhine"
557 depends on EXPERIMENTAL
9a6dcea1
AI
558 select BOOT_ELF32
559 select DMA_COHERENT
ade299d8 560 select SIBYTE_BCM1120
9a6dcea1 561 select SWAP_IO_SPACE
7cf8053b 562 select SYS_HAS_CPU_SB1
9a6dcea1
AI
563 select SYS_SUPPORTS_BIG_ENDIAN
564 select SYS_SUPPORTS_LITTLE_ENDIAN
565
ade299d8
YY
566config SIBYTE_CARMEL
567 bool "Sibyte BCM91120x-Carmel"
568 depends on EXPERIMENTAL
5e83d430 569 select BOOT_ELF32
1da177e4 570 select DMA_COHERENT
ade299d8 571 select SIBYTE_BCM1120
5e83d430 572 select SWAP_IO_SPACE
7cf8053b 573 select SYS_HAS_CPU_SB1
81731f79 574 select SYS_SUPPORTS_BIG_ENDIAN
5e83d430 575 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 576
ade299d8
YY
577config SIBYTE_CRHONE
578 bool "Sibyte BCM91125C-CRhone"
5e83d430
RB
579 depends on EXPERIMENTAL
580 select BOOT_ELF32
581 select DMA_COHERENT
ade299d8 582 select SIBYTE_BCM1125
5e83d430 583 select SWAP_IO_SPACE
7cf8053b 584 select SYS_HAS_CPU_SB1
5e83d430 585 select SYS_SUPPORTS_BIG_ENDIAN
ade299d8 586 select SYS_SUPPORTS_HIGHMEM
5e83d430 587 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 588
5e83d430 589config SIBYTE_RHONE
3fa986fa 590 bool "Sibyte BCM91125E-Rhone"
5e83d430
RB
591 depends on EXPERIMENTAL
592 select BOOT_ELF32
593 select DMA_COHERENT
594 select SIBYTE_BCM1125H
595 select SWAP_IO_SPACE
7cf8053b 596 select SYS_HAS_CPU_SB1
5e83d430
RB
597 select SYS_SUPPORTS_BIG_ENDIAN
598 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 599
ade299d8
YY
600config SIBYTE_SWARM
601 bool "Sibyte BCM91250A-SWARM"
5e83d430 602 select BOOT_ELF32
26a940e2 603 select DMA_COHERENT
fcf3ca4c 604 select HAVE_PATA_PLATFORM
ade299d8
YY
605 select NR_CPUS_DEFAULT_2
606 select SIBYTE_SB1250
5e83d430 607 select SWAP_IO_SPACE
7cf8053b 608 select SYS_HAS_CPU_SB1
5e83d430 609 select SYS_SUPPORTS_BIG_ENDIAN
ade299d8 610 select SYS_SUPPORTS_HIGHMEM
e3ad1c23 611 select SYS_SUPPORTS_LITTLE_ENDIAN
cce335ae 612 select ZONE_DMA32 if 64BIT
e3ad1c23 613
ade299d8
YY
614config SIBYTE_LITTLESUR
615 bool "Sibyte BCM91250C2-LittleSur"
5e83d430
RB
616 depends on EXPERIMENTAL
617 select BOOT_ELF32
618 select DMA_COHERENT
fcf3ca4c 619 select HAVE_PATA_PLATFORM
130e2fb7 620 select NR_CPUS_DEFAULT_2
5e83d430
RB
621 select SIBYTE_SB1250
622 select SWAP_IO_SPACE
7cf8053b 623 select SYS_HAS_CPU_SB1
5e83d430
RB
624 select SYS_SUPPORTS_BIG_ENDIAN
625 select SYS_SUPPORTS_HIGHMEM
626 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 627
ade299d8
YY
628config SIBYTE_SENTOSA
629 bool "Sibyte BCM91250E-Sentosa"
5e83d430
RB
630 depends on EXPERIMENTAL
631 select BOOT_ELF32
632 select DMA_COHERENT
130e2fb7 633 select NR_CPUS_DEFAULT_2
5e83d430
RB
634 select SIBYTE_SB1250
635 select SWAP_IO_SPACE
7cf8053b 636 select SYS_HAS_CPU_SB1
5e83d430 637 select SYS_SUPPORTS_BIG_ENDIAN
5e83d430 638 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 639
ade299d8
YY
640config SIBYTE_BIGSUR
641 bool "Sibyte BCM91480B-BigSur"
5e83d430
RB
642 select BOOT_ELF32
643 select DMA_COHERENT
ade299d8 644 select NR_CPUS_DEFAULT_4
ade299d8 645 select SIBYTE_BCM1x80
5e83d430 646 select SWAP_IO_SPACE
7cf8053b 647 select SYS_HAS_CPU_SB1
5e83d430 648 select SYS_SUPPORTS_BIG_ENDIAN
651194f8 649 select SYS_SUPPORTS_HIGHMEM
5e83d430 650 select SYS_SUPPORTS_LITTLE_ENDIAN
cce335ae 651 select ZONE_DMA32 if 64BIT
1da177e4 652
14b36af4
TB
653config SNI_RM
654 bool "SNI RM200/300/400"
4a0312fc
TB
655 select ARC if CPU_LITTLE_ENDIAN
656 select ARC32 if CPU_LITTLE_ENDIAN
231a35d3 657 select SNIPROM if CPU_BIG_ENDIAN
61ed242d 658 select ARCH_MAY_HAVE_PC_FDC
1da177e4 659 select BOOT_ELF32
42f77542 660 select CEVT_R4K
940f6b48 661 select CSRC_R4K
e2defae5 662 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1da177e4
LT
663 select DMA_NONCOHERENT
664 select GENERIC_ISA_DMA
8a118c38 665 select HAVE_PCSPKR_PLATFORM
5e83d430 666 select HW_HAS_EISA
1da177e4 667 select HW_HAS_PCI
c066a32a 668 select IRQ_CPU
d865bea4 669 select I8253
1da177e4
LT
670 select I8259
671 select ISA
4a0312fc 672 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
7cf8053b 673 select SYS_HAS_CPU_R4X00
4a0312fc 674 select SYS_HAS_CPU_R5000
c066a32a 675 select SYS_HAS_CPU_R10000
4a0312fc 676 select R5000_CPU_SCACHE
36a88530 677 select SYS_HAS_EARLY_PRINTK
ed5ba2fb
YY
678 select SYS_SUPPORTS_32BIT_KERNEL
679 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
4a0312fc 680 select SYS_SUPPORTS_BIG_ENDIAN
797798c1 681 select SYS_SUPPORTS_HIGHMEM
5e83d430 682 select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4 683 help
14b36af4
TB
684 The SNI RM200/300/400 are MIPS-based machines manufactured by
685 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
1da177e4
LT
686 Technology and now in turn merged with Fujitsu. Say Y here to
687 support this machine type.
688
edcaf1a6
AN
689config MACH_TX39XX
690 bool "Toshiba TX39 series based machines"
5e83d430 691
edcaf1a6
AN
692config MACH_TX49XX
693 bool "Toshiba TX49 series based machines"
5e83d430 694
73b4390f
RB
695config MIKROTIK_RB532
696 bool "Mikrotik RB532 boards"
697 select CEVT_R4K
698 select CSRC_R4K
699 select DMA_NONCOHERENT
73b4390f
RB
700 select HW_HAS_PCI
701 select IRQ_CPU
702 select SYS_HAS_CPU_MIPS32_R1
703 select SYS_SUPPORTS_32BIT_KERNEL
704 select SYS_SUPPORTS_LITTLE_ENDIAN
705 select SWAP_IO_SPACE
706 select BOOT_RAW
d888e25b 707 select ARCH_REQUIRE_GPIOLIB
73b4390f
RB
708 help
709 Support the Mikrotik(tm) RouterBoard 532 series,
710 based on the IDT RC32434 SoC.
711
ade299d8
YY
712config WR_PPMC
713 bool "Wind River PPMC board"
42f77542 714 select CEVT_R4K
940f6b48 715 select CSRC_R4K
ade299d8
YY
716 select IRQ_CPU
717 select BOOT_ELF32
718 select DMA_NONCOHERENT
719 select HW_HAS_PCI
720 select PCI_GT64XXX_PCI0
721 select SWAP_IO_SPACE
722 select SYS_HAS_CPU_MIPS32_R1
723 select SYS_HAS_CPU_MIPS32_R2
724 select SYS_HAS_CPU_MIPS64_R1
725 select SYS_HAS_CPU_NEVADA
726 select SYS_HAS_CPU_RM7000
727 select SYS_SUPPORTS_32BIT_KERNEL
728 select SYS_SUPPORTS_64BIT_KERNEL
729 select SYS_SUPPORTS_BIG_ENDIAN
730 select SYS_SUPPORTS_LITTLE_ENDIAN
731 help
732 This enables support for the Wind River MIPS32 4KC PPMC evaluation
733 board, which is based on GT64120 bridge chip.
734
a86c7f72 735config CAVIUM_OCTEON_SIMULATOR
c9d89d97 736 bool "Cavium Networks Octeon Simulator"
a86c7f72
DD
737 select CEVT_R4K
738 select 64BIT_PHYS_ADDR
739 select DMA_COHERENT
740 select SYS_SUPPORTS_64BIT_KERNEL
741 select SYS_SUPPORTS_BIG_ENDIAN
773cb77d 742 select SYS_SUPPORTS_HOTPLUG_CPU
5e683389 743 select SYS_HAS_CPU_CAVIUM_OCTEON
465aaed0 744 select HOLES_IN_ZONE
a86c7f72
DD
745 help
746 The Octeon simulator is software performance model of the Cavium
747 Octeon Processor. It supports simulating Octeon processors on x86
748 hardware.
749
750config CAVIUM_OCTEON_REFERENCE_BOARD
c9d89d97 751 bool "Cavium Networks Octeon reference board"
a86c7f72
DD
752 select CEVT_R4K
753 select 64BIT_PHYS_ADDR
754 select DMA_COHERENT
755 select SYS_SUPPORTS_64BIT_KERNEL
756 select SYS_SUPPORTS_BIG_ENDIAN
773cb77d 757 select SYS_SUPPORTS_HOTPLUG_CPU
a86c7f72 758 select SYS_HAS_EARLY_PRINTK
5e683389 759 select SYS_HAS_CPU_CAVIUM_OCTEON
a86c7f72 760 select SWAP_IO_SPACE
e8635b48
DD
761 select HW_HAS_PCI
762 select ARCH_SUPPORTS_MSI
f00e001e 763 select ZONE_DMA32
340fbb8b
DD
764 select USB_ARCH_HAS_OHCI
765 select USB_ARCH_HAS_EHCI
465aaed0 766 select HOLES_IN_ZONE
a86c7f72
DD
767 help
768 This option supports all of the Octeon reference boards from Cavium
769 Networks. It builds a kernel that dynamically determines the Octeon
770 CPU type and supports all known board reference implementations.
771 Some of the supported boards are:
772 EBT3000
773 EBH3000
774 EBH3100
775 Thunder
776 Kodama
777 Hikari
778 Say Y here for most Octeon reference boards.
779
7f058e85
J
780config NLM_XLR_BOARD
781 bool "Netlogic XLR/XLS based systems"
782 depends on EXPERIMENTAL
783 select BOOT_ELF32
784 select NLM_COMMON
7f058e85
J
785 select SYS_HAS_CPU_XLR
786 select SYS_SUPPORTS_SMP
787 select HW_HAS_PCI
788 select SWAP_IO_SPACE
789 select SYS_SUPPORTS_32BIT_KERNEL
790 select SYS_SUPPORTS_64BIT_KERNEL
791 select 64BIT_PHYS_ADDR
792 select SYS_SUPPORTS_BIG_ENDIAN
793 select SYS_SUPPORTS_HIGHMEM
794 select DMA_COHERENT
795 select NR_CPUS_DEFAULT_32
796 select CEVT_R4K
797 select CSRC_R4K
798 select IRQ_CPU
f32671a8 799 select ARCH_SUPPORTS_MSI
7f058e85
J
800 select ZONE_DMA if 64BIT
801 select SYNC_R4K
802 select SYS_HAS_EARLY_PRINTK
f35574a3
J
803 select USB_ARCH_HAS_OHCI if USB_SUPPORT
804 select USB_ARCH_HAS_EHCI if USB_SUPPORT
7f058e85
J
805 help
806 Support for systems based on Netlogic XLR and XLS processors.
807 Say Y here if you have a XLR or XLS based board.
808
1c773ea4
J
809config NLM_XLP_BOARD
810 bool "Netlogic XLP based systems"
811 depends on EXPERIMENTAL
812 select BOOT_ELF32
813 select NLM_COMMON
814 select SYS_HAS_CPU_XLP
815 select SYS_SUPPORTS_SMP
816 select HW_HAS_PCI
1c773ea4
J
817 select SYS_SUPPORTS_32BIT_KERNEL
818 select SYS_SUPPORTS_64BIT_KERNEL
819 select 64BIT_PHYS_ADDR
820 select SYS_SUPPORTS_BIG_ENDIAN
821 select SYS_SUPPORTS_LITTLE_ENDIAN
822 select SYS_SUPPORTS_HIGHMEM
823 select DMA_COHERENT
824 select NR_CPUS_DEFAULT_32
825 select CEVT_R4K
826 select CSRC_R4K
827 select IRQ_CPU
828 select ZONE_DMA if 64BIT
829 select SYNC_R4K
830 select SYS_HAS_EARLY_PRINTK
831 help
832 This board is based on Netlogic XLP Processor.
833 Say Y here if you have a XLP based board.
834
5e83d430 835endchoice
1da177e4 836
e8c7c482 837source "arch/mips/alchemy/Kconfig"
d4a67d9d 838source "arch/mips/ath79/Kconfig"
a656ffcb 839source "arch/mips/bcm47xx/Kconfig"
e7300d04 840source "arch/mips/bcm63xx/Kconfig"
5e83d430 841source "arch/mips/jazz/Kconfig"
5ebabe59 842source "arch/mips/jz4740/Kconfig"
8ec6d935 843source "arch/mips/lantiq/Kconfig"
1f21d2bd 844source "arch/mips/lasat/Kconfig"
5e83d430 845source "arch/mips/pmc-sierra/Kconfig"
a3a0f8c8 846source "arch/mips/powertv/Kconfig"
29c48699 847source "arch/mips/sgi-ip27/Kconfig"
38b18f72 848source "arch/mips/sibyte/Kconfig"
22b1d707 849source "arch/mips/txx9/Kconfig"
5e83d430 850source "arch/mips/vr41xx/Kconfig"
a86c7f72 851source "arch/mips/cavium-octeon/Kconfig"
85749d24 852source "arch/mips/loongson/Kconfig"
ca585cf9 853source "arch/mips/loongson1/Kconfig"
7f058e85 854source "arch/mips/netlogic/Kconfig"
38b18f72 855
5e83d430
RB
856endmenu
857
1da177e4
LT
858config RWSEM_GENERIC_SPINLOCK
859 bool
860 default y
861
862config RWSEM_XCHGADD_ALGORITHM
863 bool
864
f0d1b0b3
DH
865config ARCH_HAS_ILOG2_U32
866 bool
867 default n
868
869config ARCH_HAS_ILOG2_U64
870 bool
871 default n
872
3c9ee7ef
AM
873config GENERIC_HWEIGHT
874 bool
875 default y
876
1da177e4
LT
877config GENERIC_CALIBRATE_DELAY
878 bool
879 default y
880
ae1e9130 881config SCHED_OMIT_FRAME_POINTER
1cc89038
AN
882 bool
883 default y
884
1da177e4
LT
885#
886# Select some configuration options automatically based on user selections.
887#
888config ARC
889 bool
1da177e4 890
61ed242d
RB
891config ARCH_MAY_HAVE_PC_FDC
892 bool
893
9267a30d
MSJ
894config BOOT_RAW
895 bool
896
217dd11e
RB
897config CEVT_BCM1480
898 bool
899
6457d9fc
YY
900config CEVT_DS1287
901 bool
902
1097c6ac
YY
903config CEVT_GT641XX
904 bool
905
779e7d41
ML
906config CEVT_R4K_LIB
907 bool
908
42f77542 909config CEVT_R4K
779e7d41 910 select CEVT_R4K_LIB
42f77542
RB
911 bool
912
217dd11e
RB
913config CEVT_SB1250
914 bool
915
229f773e
AN
916config CEVT_TXX9
917 bool
918
217dd11e
RB
919config CSRC_BCM1480
920 bool
921
4247417d
YY
922config CSRC_IOASIC
923 bool
924
a3a0f8c8
DV
925config CSRC_POWERTV
926 bool
927
779e7d41
ML
928config CSRC_R4K_LIB
929 bool
930
940f6b48 931config CSRC_R4K
779e7d41 932 select CSRC_R4K_LIB
940f6b48
RB
933 bool
934
217dd11e
RB
935config CSRC_SB1250
936 bool
937
a9aec7fe
AN
938config GPIO_TXX9
939 select GENERIC_GPIO
7444a72e 940 select ARCH_REQUIRE_GPIOLIB
a9aec7fe
AN
941 bool
942
df78b5c8
AJ
943config CFE
944 bool
945
4bafad92
FT
946config ARCH_DMA_ADDR_T_64BIT
947 def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
948
4ce588cd 949config DMA_COHERENT
1da177e4
LT
950 bool
951
4ce588cd
RB
952config DMA_NONCOHERENT
953 bool
e1e02b32 954 select NEED_DMA_MAP_STATE
4ce588cd 955
e1e02b32 956config NEED_DMA_MAP_STATE
1da177e4
LT
957 bool
958
36a88530 959config SYS_HAS_EARLY_PRINTK
1da177e4 960 bool
1da177e4 961
dbb74540 962config HOTPLUG_CPU
1b2bc75c
RB
963 bool "Support for hot-pluggable CPUs"
964 depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
965 help
966 Say Y here to allow turning CPUs off and on. CPUs can be
967 controlled through /sys/devices/system/cpu.
968 (Note: power management support will enable this option
969 automatically on SMP systems. )
970 Say N if you want to disable CPU hotplug.
971
972config SYS_SUPPORTS_HOTPLUG_CPU
dbb74540 973 bool
dbb74540 974
1da177e4
LT
975config I8259
976 bool
1da177e4 977
1da177e4
LT
978config MIPS_BONITO64
979 bool
1da177e4
LT
980
981config MIPS_MSC
982 bool
1da177e4 983
1f21d2bd
BM
984config MIPS_NILE4
985 bool
986
1da177e4
LT
987config MIPS_DISABLE_OBSOLETE_IDE
988 bool
989
39b8d525
RB
990config SYNC_R4K
991 bool
992
487d70d0
GJ
993config MIPS_MACHINE
994 def_bool n
995
d388d685
MR
996config NO_IOPORT
997 def_bool n
998
8313da30
RB
999config GENERIC_ISA_DMA
1000 bool
1001 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
a35bee8a 1002 select ISA_DMA_API
8313da30 1003
aa414dff
RB
1004config GENERIC_ISA_DMA_SUPPORT_BROKEN
1005 bool
8313da30 1006 select GENERIC_ISA_DMA
aa414dff 1007
a35bee8a
NK
1008config ISA_DMA_API
1009 bool
1010
09663335
YY
1011config GENERIC_GPIO
1012 bool
1013
465aaed0
DD
1014config HOLES_IN_ZONE
1015 bool
1016
5e83d430 1017#
6b2aac42 1018# Endianness selection. Sufficiently obscure so many users don't know what to
5e83d430
RB
1019# answer,so we try hard to limit the available choices. Also the use of a
1020# choice statement should be more obvious to the user.
1021#
1022choice
6b2aac42 1023 prompt "Endianness selection"
1da177e4
LT
1024 help
1025 Some MIPS machines can be configured for either little or big endian
5e83d430 1026 byte order. These modes require different kernels and a different
3cb2fccc 1027 Linux distribution. In general there is one preferred byteorder for a
5e83d430 1028 particular system but some systems are just as commonly used in the
3dde6ad8 1029 one or the other endianness.
5e83d430
RB
1030
1031config CPU_BIG_ENDIAN
1032 bool "Big endian"
1033 depends on SYS_SUPPORTS_BIG_ENDIAN
1034
1035config CPU_LITTLE_ENDIAN
1036 bool "Little endian"
1037 depends on SYS_SUPPORTS_LITTLE_ENDIAN
1038 help
1039
1040endchoice
1041
22b0763a
DD
1042config EXPORT_UASM
1043 bool
1044
2116245e
RB
1045config SYS_SUPPORTS_APM_EMULATION
1046 bool
1047
5e83d430
RB
1048config SYS_SUPPORTS_BIG_ENDIAN
1049 bool
1050
1051config SYS_SUPPORTS_LITTLE_ENDIAN
1052 bool
1da177e4 1053
9cffd154
DD
1054config SYS_SUPPORTS_HUGETLBFS
1055 bool
1056 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
1057 default y
1058
1da177e4
LT
1059config IRQ_CPU
1060 bool
1061
1062config IRQ_CPU_RM7K
1063 bool
1064
5e83d430
RB
1065config IRQ_CPU_RM9K
1066 bool
1067
9267a30d
MSJ
1068config IRQ_MSP_SLP
1069 bool
1070
1071config IRQ_MSP_CIC
1072 bool
1073
8420fd00
AN
1074config IRQ_TXX9
1075 bool
1076
d5ab1a69
YY
1077config IRQ_GT641XX
1078 bool
1079
39b8d525
RB
1080config IRQ_GIC
1081 bool
1082
1da177e4
LT
1083config MIPS_BOARDS_GEN
1084 bool
1da177e4 1085
252161ec 1086config PCI_GT64XXX_PCI0
1da177e4 1087 bool
1da177e4 1088
9267a30d
MSJ
1089config NO_EXCEPT_FILL
1090 bool
1091
663c3d90 1092config MIPS_RM9122
1093 bool
1094 select SERIAL_RM9000
663c3d90 1095
a83860c2
RB
1096config SOC_EMMA2RH
1097 bool
1098 select CEVT_R4K
1099 select CSRC_R4K
1100 select DMA_NONCOHERENT
1101 select IRQ_CPU
1102 select SWAP_IO_SPACE
1103 select SYS_HAS_CPU_R5500
1104 select SYS_SUPPORTS_32BIT_KERNEL
1105 select SYS_SUPPORTS_64BIT_KERNEL
1106 select SYS_SUPPORTS_BIG_ENDIAN
1107
edb6310a
DL
1108config SOC_PNX833X
1109 bool
1110 select CEVT_R4K
1111 select CSRC_R4K
1112 select IRQ_CPU
1113 select DMA_NONCOHERENT
1114 select SYS_HAS_CPU_MIPS32_R2
1115 select SYS_SUPPORTS_32BIT_KERNEL
1116 select SYS_SUPPORTS_LITTLE_ENDIAN
1117 select SYS_SUPPORTS_BIG_ENDIAN
edb6310a
DL
1118 select GENERIC_GPIO
1119 select CPU_MIPSR2_IRQ_VI
1120
1121config SOC_PNX8335
1122 bool
1123 select SOC_PNX833X
1124
bdf21b18
PP
1125config PNX8550
1126 bool
1127 select SOC_PNX8550
1128
1129config SOC_PNX8550
1130 bool
bdf21b18
PP
1131 select DMA_NONCOHERENT
1132 select HW_HAS_PCI
b8c2a77c 1133 select SYS_HAS_CPU_MIPS32_R1
36a88530 1134 select SYS_HAS_EARLY_PRINTK
7cf8053b 1135 select SYS_SUPPORTS_32BIT_KERNEL
4ead1681 1136 select GENERIC_GPIO
bdf21b18 1137
1da177e4
LT
1138config SWAP_IO_SPACE
1139 bool
1140
663c3d90 1141config SERIAL_RM9000
1142 bool
1143
e2defae5
TB
1144config SGI_HAS_INDYDOG
1145 bool
1146
5b438c44
TB
1147config SGI_HAS_HAL2
1148 bool
1149
e2defae5
TB
1150config SGI_HAS_SEEQ
1151 bool
1152
1153config SGI_HAS_WD93
1154 bool
1155
1156config SGI_HAS_ZILOG
1157 bool
1158
1159config SGI_HAS_I8042
1160 bool
1161
1162config DEFAULT_SGI_PARTITION
1163 bool
1164
5e83d430
RB
1165config ARC32
1166 bool
1167
231a35d3
TB
1168config SNIPROM
1169 bool
1170
1da177e4
LT
1171config BOOT_ELF32
1172 bool
1da177e4
LT
1173
1174config MIPS_L1_CACHE_SHIFT
1175 int
c7088755 1176 default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
0db2b74e 1177 default "6" if MIPS_CPU_SCACHE
a86c7f72 1178 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
1da177e4
LT
1179 default "5"
1180
1da177e4
LT
1181config HAVE_STD_PC_SERIAL_PORT
1182 bool
1183
1da177e4
LT
1184config ARC_CONSOLE
1185 bool "ARC console support"
e2defae5 1186 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
1da177e4
LT
1187
1188config ARC_MEMORY
1189 bool
14b36af4 1190 depends on MACH_JAZZ || SNI_RM || SGI_IP32
1da177e4
LT
1191 default y
1192
1193config ARC_PROMLIB
1194 bool
e2defae5 1195 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1da177e4
LT
1196 default y
1197
1198config ARC64
1199 bool
1da177e4
LT
1200
1201config BOOT_ELF64
1202 bool
1da177e4 1203
1da177e4
LT
1204menu "CPU selection"
1205
1206choice
1207 prompt "CPU type"
1208 default CPU_R4X00
1209
3702bba5
WZ
1210config CPU_LOONGSON2E
1211 bool "Loongson 2E"
1212 depends on SYS_HAS_CPU_LOONGSON2E
1213 select CPU_LOONGSON2
2a21c730
FZ
1214 help
1215 The Loongson 2E processor implements the MIPS III instruction set
1216 with many extensions.
1217
25985edc 1218 It has an internal FPGA northbridge, which is compatible to
6f7a251a
WZ
1219 bonito64.
1220
1221config CPU_LOONGSON2F
1222 bool "Loongson 2F"
1223 depends on SYS_HAS_CPU_LOONGSON2F
1224 select CPU_LOONGSON2
c197da91
AP
1225 select GENERIC_GPIO
1226 select ARCH_REQUIRE_GPIOLIB
6f7a251a
WZ
1227 help
1228 The Loongson 2F processor implements the MIPS III instruction set
1229 with many extensions.
1230
1231 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1232 have a similar programming interface with FPGA northbridge used in
1233 Loongson2E.
1234
ca585cf9
KC
1235config CPU_LOONGSON1B
1236 bool "Loongson 1B"
1237 depends on SYS_HAS_CPU_LOONGSON1B
1238 select CPU_LOONGSON1
1239 help
1240 The Loongson 1B is a 32-bit SoC, which implements the MIPS32
1241 release 2 instruction set.
1242
6e760c8d
RB
1243config CPU_MIPS32_R1
1244 bool "MIPS32 Release 1"
7cf8053b 1245 depends on SYS_HAS_CPU_MIPS32_R1
6e760c8d 1246 select CPU_HAS_PREFETCH
797798c1 1247 select CPU_SUPPORTS_32BIT_KERNEL
ec28f306 1248 select CPU_SUPPORTS_HIGHMEM
1e5f1caa 1249 help
5e83d430 1250 Choose this option to build a kernel for release 1 or later of the
1e5f1caa
RB
1251 MIPS32 architecture. Most modern embedded systems with a 32-bit
1252 MIPS processor are based on a MIPS32 processor. If you know the
1253 specific type of processor in your system, choose those that one
1254 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1255 Release 2 of the MIPS32 architecture is available since several
1256 years so chances are you even have a MIPS32 Release 2 processor
1257 in which case you should choose CPU_MIPS32_R2 instead for better
1258 performance.
1259
1260config CPU_MIPS32_R2
1261 bool "MIPS32 Release 2"
7cf8053b 1262 depends on SYS_HAS_CPU_MIPS32_R2
1e5f1caa 1263 select CPU_HAS_PREFETCH
797798c1 1264 select CPU_SUPPORTS_32BIT_KERNEL
ec28f306 1265 select CPU_SUPPORTS_HIGHMEM
6e760c8d 1266 help
5e83d430 1267 Choose this option to build a kernel for release 2 or later of the
6e760c8d
RB
1268 MIPS32 architecture. Most modern embedded systems with a 32-bit
1269 MIPS processor are based on a MIPS32 processor. If you know the
1270 specific type of processor in your system, choose those that one
1271 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1272
1273config CPU_MIPS64_R1
1274 bool "MIPS64 Release 1"
7cf8053b 1275 depends on SYS_HAS_CPU_MIPS64_R1
797798c1 1276 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1277 select CPU_SUPPORTS_32BIT_KERNEL
1278 select CPU_SUPPORTS_64BIT_KERNEL
ec28f306 1279 select CPU_SUPPORTS_HIGHMEM
9cffd154 1280 select CPU_SUPPORTS_HUGEPAGES
6e760c8d
RB
1281 help
1282 Choose this option to build a kernel for release 1 or later of the
1283 MIPS64 architecture. Many modern embedded systems with a 64-bit
1284 MIPS processor are based on a MIPS64 processor. If you know the
1285 specific type of processor in your system, choose those that one
1286 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1e5f1caa
RB
1287 Release 2 of the MIPS64 architecture is available since several
1288 years so chances are you even have a MIPS64 Release 2 processor
1289 in which case you should choose CPU_MIPS64_R2 instead for better
1290 performance.
1291
1292config CPU_MIPS64_R2
1293 bool "MIPS64 Release 2"
7cf8053b 1294 depends on SYS_HAS_CPU_MIPS64_R2
797798c1 1295 select CPU_HAS_PREFETCH
1e5f1caa
RB
1296 select CPU_SUPPORTS_32BIT_KERNEL
1297 select CPU_SUPPORTS_64BIT_KERNEL
ec28f306 1298 select CPU_SUPPORTS_HIGHMEM
9cffd154 1299 select CPU_SUPPORTS_HUGEPAGES
1e5f1caa
RB
1300 help
1301 Choose this option to build a kernel for release 2 or later of the
1302 MIPS64 architecture. Many modern embedded systems with a 64-bit
1303 MIPS processor are based on a MIPS64 processor. If you know the
1304 specific type of processor in your system, choose those that one
1305 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1da177e4
LT
1306
1307config CPU_R3000
1308 bool "R3000"
7cf8053b 1309 depends on SYS_HAS_CPU_R3000
f7062ddb 1310 select CPU_HAS_WB
ed5ba2fb 1311 select CPU_SUPPORTS_32BIT_KERNEL
797798c1 1312 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1313 help
1314 Please make sure to pick the right CPU type. Linux/MIPS is not
1315 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1316 *not* work on R4000 machines and vice versa. However, since most
1317 of the supported machines have an R4000 (or similar) CPU, R4x00
1318 might be a safe bet. If the resulting kernel does not work,
1319 try to recompile with R3000.
1320
1321config CPU_TX39XX
1322 bool "R39XX"
7cf8053b 1323 depends on SYS_HAS_CPU_TX39XX
ed5ba2fb 1324 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1325
1326config CPU_VR41XX
1327 bool "R41xx"
7cf8053b 1328 depends on SYS_HAS_CPU_VR41XX
ed5ba2fb
YY
1329 select CPU_SUPPORTS_32BIT_KERNEL
1330 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4 1331 help
5e83d430 1332 The options selects support for the NEC VR4100 series of processors.
1da177e4
LT
1333 Only choose this option if you have one of these processors as a
1334 kernel built with this option will not run on any other type of
1335 processor or vice versa.
1336
1337config CPU_R4300
1338 bool "R4300"
7cf8053b 1339 depends on SYS_HAS_CPU_R4300
ed5ba2fb
YY
1340 select CPU_SUPPORTS_32BIT_KERNEL
1341 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1342 help
1343 MIPS Technologies R4300-series processors.
1344
1345config CPU_R4X00
1346 bool "R4x00"
7cf8053b 1347 depends on SYS_HAS_CPU_R4X00
ed5ba2fb
YY
1348 select CPU_SUPPORTS_32BIT_KERNEL
1349 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1350 help
1351 MIPS Technologies R4000-series processors other than 4300, including
1352 the R4000, R4400, R4600, and 4700.
1353
1354config CPU_TX49XX
1355 bool "R49XX"
7cf8053b 1356 depends on SYS_HAS_CPU_TX49XX
de862b48 1357 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1358 select CPU_SUPPORTS_32BIT_KERNEL
1359 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1360
1361config CPU_R5000
1362 bool "R5000"
7cf8053b 1363 depends on SYS_HAS_CPU_R5000
ed5ba2fb
YY
1364 select CPU_SUPPORTS_32BIT_KERNEL
1365 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1366 help
1367 MIPS Technologies R5000-series processors other than the Nevada.
1368
1369config CPU_R5432
1370 bool "R5432"
7cf8053b 1371 depends on SYS_HAS_CPU_R5432
5e83d430
RB
1372 select CPU_SUPPORTS_32BIT_KERNEL
1373 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4 1374
542c1020
SK
1375config CPU_R5500
1376 bool "R5500"
1377 depends on SYS_HAS_CPU_R5500
542c1020
SK
1378 select CPU_SUPPORTS_32BIT_KERNEL
1379 select CPU_SUPPORTS_64BIT_KERNEL
9cffd154 1380 select CPU_SUPPORTS_HUGEPAGES
542c1020
SK
1381 help
1382 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1383 instruction set.
1384
1da177e4
LT
1385config CPU_R6000
1386 bool "R6000"
ed5ba2fb 1387 depends on EXPERIMENTAL
7cf8053b 1388 depends on SYS_HAS_CPU_R6000
ed5ba2fb 1389 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1390 help
1391 MIPS Technologies R6000 and R6000A series processors. Note these
c09b47d8 1392 processors are extremely rare and the support for them is incomplete.
1da177e4
LT
1393
1394config CPU_NEVADA
1395 bool "RM52xx"
7cf8053b 1396 depends on SYS_HAS_CPU_NEVADA
ed5ba2fb
YY
1397 select CPU_SUPPORTS_32BIT_KERNEL
1398 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1399 help
1400 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1401
1402config CPU_R8000
1403 bool "R8000"
ed5ba2fb 1404 depends on EXPERIMENTAL
7cf8053b 1405 depends on SYS_HAS_CPU_R8000
5e83d430 1406 select CPU_HAS_PREFETCH
ed5ba2fb 1407 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1408 help
1409 MIPS Technologies R8000 processors. Note these processors are
1410 uncommon and the support for them is incomplete.
1411
1412config CPU_R10000
1413 bool "R10000"
7cf8053b 1414 depends on SYS_HAS_CPU_R10000
5e83d430 1415 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1416 select CPU_SUPPORTS_32BIT_KERNEL
1417 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1418 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1419 help
1420 MIPS Technologies R10000-series processors.
1421
1422config CPU_RM7000
1423 bool "RM7000"
7cf8053b 1424 depends on SYS_HAS_CPU_RM7000
5e83d430 1425 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1426 select CPU_SUPPORTS_32BIT_KERNEL
1427 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1428 select CPU_SUPPORTS_HIGHMEM
1da177e4
LT
1429
1430config CPU_RM9000
1431 bool "RM9000"
7cf8053b 1432 depends on SYS_HAS_CPU_RM9000
5e83d430 1433 select CPU_HAS_PREFETCH
ed5ba2fb
YY
1434 select CPU_SUPPORTS_32BIT_KERNEL
1435 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1436 select CPU_SUPPORTS_HIGHMEM
0004a9df 1437 select WEAK_ORDERING
1da177e4
LT
1438
1439config CPU_SB1
1440 bool "SB1"
7cf8053b 1441 depends on SYS_HAS_CPU_SB1
ed5ba2fb
YY
1442 select CPU_SUPPORTS_32BIT_KERNEL
1443 select CPU_SUPPORTS_64BIT_KERNEL
797798c1 1444 select CPU_SUPPORTS_HIGHMEM
0004a9df 1445 select WEAK_ORDERING
1da177e4 1446
a86c7f72
DD
1447config CPU_CAVIUM_OCTEON
1448 bool "Cavium Octeon processor"
5e683389 1449 depends on SYS_HAS_CPU_CAVIUM_OCTEON
7ee91de4 1450 select ARCH_SPARSEMEM_ENABLE
a86c7f72
DD
1451 select CPU_HAS_PREFETCH
1452 select CPU_SUPPORTS_64BIT_KERNEL
1453 select SYS_SUPPORTS_SMP
1454 select NR_CPUS_DEFAULT_16
1455 select WEAK_ORDERING
a86c7f72 1456 select CPU_SUPPORTS_HIGHMEM
9cffd154 1457 select CPU_SUPPORTS_HUGEPAGES
7ed18152
DD
1458 select LIBFDT
1459 select USE_OF
a86c7f72
DD
1460 help
1461 The Cavium Octeon processor is a highly integrated chip containing
1462 many ethernet hardware widgets for networking tasks. The processor
1463 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1464 Full details can be found at http://www.caviumnetworks.com.
1465
c1c0c461
KC
1466config CPU_BMIPS3300
1467 bool "BMIPS3300"
1468 depends on SYS_HAS_CPU_BMIPS3300
1bbb6c1b 1469 select CPU_BMIPS
c1c0c461
KC
1470 help
1471 Broadcom BMIPS3300 processors.
1472
1473config CPU_BMIPS4350
1474 bool "BMIPS4350"
1475 depends on SYS_HAS_CPU_BMIPS4350
1bbb6c1b 1476 select CPU_BMIPS
c1c0c461
KC
1477 select SYS_SUPPORTS_SMP
1478 select SYS_SUPPORTS_HOTPLUG_CPU
c1c0c461
KC
1479 help
1480 Broadcom BMIPS4350 ("VIPER") processors.
1481
1482config CPU_BMIPS4380
1483 bool "BMIPS4380"
1484 depends on SYS_HAS_CPU_BMIPS4380
1bbb6c1b 1485 select CPU_BMIPS
c1c0c461
KC
1486 select SYS_SUPPORTS_SMP
1487 select SYS_SUPPORTS_HOTPLUG_CPU
c1c0c461
KC
1488 help
1489 Broadcom BMIPS4380 processors.
1490
1491config CPU_BMIPS5000
1492 bool "BMIPS5000"
1493 depends on SYS_HAS_CPU_BMIPS5000
1bbb6c1b 1494 select CPU_BMIPS
c1c0c461 1495 select CPU_SUPPORTS_HIGHMEM
1bbb6c1b 1496 select MIPS_CPU_SCACHE
c1c0c461
KC
1497 select SYS_SUPPORTS_SMP
1498 select SYS_SUPPORTS_HOTPLUG_CPU
c1c0c461
KC
1499 help
1500 Broadcom BMIPS5000 processors.
1501
7f058e85
J
1502config CPU_XLR
1503 bool "Netlogic XLR SoC"
1504 depends on SYS_HAS_CPU_XLR
1505 select CPU_SUPPORTS_32BIT_KERNEL
1506 select CPU_SUPPORTS_64BIT_KERNEL
1507 select CPU_SUPPORTS_HIGHMEM
1508 select WEAK_ORDERING
1509 select WEAK_REORDERING_BEYOND_LLSC
1510 select CPU_SUPPORTS_HUGEPAGES
1511 help
1512 Netlogic Microsystems XLR/XLS processors.
1c773ea4
J
1513
1514config CPU_XLP
1515 bool "Netlogic XLP SoC"
1516 depends on SYS_HAS_CPU_XLP
1517 select CPU_SUPPORTS_32BIT_KERNEL
1518 select CPU_SUPPORTS_64BIT_KERNEL
1519 select CPU_SUPPORTS_HIGHMEM
1520 select CPU_HAS_LLSC
1521 select WEAK_ORDERING
1522 select WEAK_REORDERING_BEYOND_LLSC
1523 select CPU_HAS_PREFETCH
1524 help
1525 Netlogic Microsystems XLP processors.
1da177e4
LT
1526endchoice
1527
622844bf
WZ
1528if CPU_LOONGSON2F
1529config CPU_NOP_WORKAROUNDS
1530 bool
1531
1532config CPU_JUMP_WORKAROUNDS
1533 bool
1534
1535config CPU_LOONGSON2F_WORKAROUNDS
1536 bool "Loongson 2F Workarounds"
1537 default y
1538 select CPU_NOP_WORKAROUNDS
1539 select CPU_JUMP_WORKAROUNDS
1540 help
1541 Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1542 require workarounds. Without workarounds the system may hang
1543 unexpectedly. For more information please refer to the gas
1544 -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1545
1546 Loongson 2F03 and later have fixed these issues and no workarounds
1547 are needed. The workarounds have no significant side effect on them
1548 but may decrease the performance of the system so this option should
1549 be disabled unless the kernel is intended to be run on 2F01 or 2F02
1550 systems.
1551
1552 If unsure, please say Y.
1553endif # CPU_LOONGSON2F
1554
1b93b3c3
WZ
1555config SYS_SUPPORTS_ZBOOT
1556 bool
1557 select HAVE_KERNEL_GZIP
1558 select HAVE_KERNEL_BZIP2
1559 select HAVE_KERNEL_LZMA
fe1d45e0 1560 select HAVE_KERNEL_LZO
1b93b3c3
WZ
1561
1562config SYS_SUPPORTS_ZBOOT_UART16550
1563 bool
1564 select SYS_SUPPORTS_ZBOOT
1565
3702bba5
WZ
1566config CPU_LOONGSON2
1567 bool
1568 select CPU_SUPPORTS_32BIT_KERNEL
1569 select CPU_SUPPORTS_64BIT_KERNEL
1570 select CPU_SUPPORTS_HIGHMEM
1571
ca585cf9
KC
1572config CPU_LOONGSON1
1573 bool
1574 select CPU_MIPS32
1575 select CPU_MIPSR2
1576 select CPU_HAS_PREFETCH
1577 select CPU_SUPPORTS_32BIT_KERNEL
1578 select CPU_SUPPORTS_HIGHMEM
1579
1bbb6c1b
KC
1580config CPU_BMIPS
1581 bool
1582 select CPU_MIPS32
1583 select CPU_SUPPORTS_32BIT_KERNEL
1584 select DMA_NONCOHERENT
1585 select IRQ_CPU
1586 select SWAP_IO_SPACE
1587 select WEAK_ORDERING
1588
3702bba5 1589config SYS_HAS_CPU_LOONGSON2E
2a21c730
FZ
1590 bool
1591
6f7a251a
WZ
1592config SYS_HAS_CPU_LOONGSON2F
1593 bool
55045ff5
WZ
1594 select CPU_SUPPORTS_CPUFREQ
1595 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
22f1fdfd 1596 select CPU_SUPPORTS_UNCACHED_ACCELERATED
6f7a251a 1597
ca585cf9
KC
1598config SYS_HAS_CPU_LOONGSON1B
1599 bool
1600
7cf8053b
RB
1601config SYS_HAS_CPU_MIPS32_R1
1602 bool
1603
1604config SYS_HAS_CPU_MIPS32_R2
1605 bool
1606
1607config SYS_HAS_CPU_MIPS64_R1
1608 bool
1609
1610config SYS_HAS_CPU_MIPS64_R2
1611 bool
1612
1613config SYS_HAS_CPU_R3000
1614 bool
1615
1616config SYS_HAS_CPU_TX39XX
1617 bool
1618
1619config SYS_HAS_CPU_VR41XX
1620 bool
1621
1622config SYS_HAS_CPU_R4300
1623 bool
1624
1625config SYS_HAS_CPU_R4X00
1626 bool
1627
1628config SYS_HAS_CPU_TX49XX
1629 bool
1630
1631config SYS_HAS_CPU_R5000
1632 bool
1633
1634config SYS_HAS_CPU_R5432
1635 bool
1636
542c1020
SK
1637config SYS_HAS_CPU_R5500
1638 bool
1639
7cf8053b
RB
1640config SYS_HAS_CPU_R6000
1641 bool
1642
1643config SYS_HAS_CPU_NEVADA
1644 bool
1645
1646config SYS_HAS_CPU_R8000
1647 bool
1648
1649config SYS_HAS_CPU_R10000
1650 bool
1651
1652config SYS_HAS_CPU_RM7000
1653 bool
1654
1655config SYS_HAS_CPU_RM9000
1656 bool
1657
1658config SYS_HAS_CPU_SB1
1659 bool
1660
5e683389
DD
1661config SYS_HAS_CPU_CAVIUM_OCTEON
1662 bool
1663
c1c0c461
KC
1664config SYS_HAS_CPU_BMIPS3300
1665 bool
1666
1667config SYS_HAS_CPU_BMIPS4350
1668 bool
1669
1670config SYS_HAS_CPU_BMIPS4380
1671 bool
1672
1673config SYS_HAS_CPU_BMIPS5000
1674 bool
1675
7f058e85
J
1676config SYS_HAS_CPU_XLR
1677 bool
1678
1c773ea4
J
1679config SYS_HAS_CPU_XLP
1680 bool
1681
17099b11
RB
1682#
1683# CPU may reorder R->R, R->W, W->R, W->W
1684# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1685#
0004a9df
RB
1686config WEAK_ORDERING
1687 bool
17099b11
RB
1688
1689#
1690# CPU may reorder reads and writes beyond LL/SC
1691# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1692#
1693config WEAK_REORDERING_BEYOND_LLSC
1694 bool
5e83d430
RB
1695endmenu
1696
1697#
c09b47d8 1698# These two indicate any level of the MIPS32 and MIPS64 architecture
5e83d430
RB
1699#
1700config CPU_MIPS32
1701 bool
1702 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1703
1704config CPU_MIPS64
1705 bool
1706 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1707
1708#
c09b47d8 1709# These two indicate the revision of the architecture, either Release 1 or Release 2
5e83d430
RB
1710#
1711config CPU_MIPSR1
1712 bool
1713 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1714
1715config CPU_MIPSR2
1716 bool
a86c7f72 1717 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
5e83d430
RB
1718
1719config SYS_SUPPORTS_32BIT_KERNEL
1720 bool
1721config SYS_SUPPORTS_64BIT_KERNEL
1722 bool
1723config CPU_SUPPORTS_32BIT_KERNEL
1724 bool
1725config CPU_SUPPORTS_64BIT_KERNEL
1726 bool
55045ff5
WZ
1727config CPU_SUPPORTS_CPUFREQ
1728 bool
1729config CPU_SUPPORTS_ADDRWINCFG
1730 bool
9cffd154
DD
1731config CPU_SUPPORTS_HUGEPAGES
1732 bool
22f1fdfd
WZ
1733config CPU_SUPPORTS_UNCACHED_ACCELERATED
1734 bool
82622284
DD
1735config MIPS_PGD_C0_CONTEXT
1736 bool
1737 default y if 64BIT && CPU_MIPSR2
5e83d430 1738
8192c9ea
DD
1739#
1740# Set to y for ptrace access to watch registers.
1741#
1742config HARDWARE_WATCHPOINTS
1743 bool
f839490a 1744 default y if CPU_MIPSR1 || CPU_MIPSR2
8192c9ea 1745
5e83d430
RB
1746menu "Kernel type"
1747
1748choice
1749
1750 prompt "Kernel code model"
1751 help
1752 You should only select this option if you have a workload that
1753 actually benefits from 64-bit processing or if your machine has
1754 large memory. You will only be presented a single option in this
1755 menu if your system does not support both 32-bit and 64-bit kernels.
1756
1757config 32BIT
1758 bool "32-bit kernel"
1759 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1760 select TRAD_SIGNALS
1761 help
1762 Select this option if you want to build a 32-bit kernel.
1763config 64BIT
1764 bool "64-bit kernel"
1765 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
dbda6ac0 1766 select HAVE_SYSCALL_WRAPPERS
5e83d430
RB
1767 help
1768 Select this option if you want to build a 64-bit kernel.
1769
1770endchoice
1771
1da177e4
LT
1772choice
1773 prompt "Kernel page size"
1774 default PAGE_SIZE_4KB
1775
1776config PAGE_SIZE_4KB
1777 bool "4kB"
315fe625 1778 depends on !CPU_LOONGSON2
1da177e4
LT
1779 help
1780 This option select the standard 4kB Linux page size. On some
1781 R3000-family processors this is the only available page size. Using
1782 4kB page size will minimize memory consumption and is therefore
1783 recommended for low memory systems.
1784
1785config PAGE_SIZE_8KB
1786 bool "8kB"
c52399be 1787 depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
1da177e4
LT
1788 help
1789 Using 8kB page size will result in higher performance kernel at
1790 the price of higher memory consumption. This option is available
c52399be
RB
1791 only on R8000 and cnMIPS processors. Note that you will need a
1792 suitable Linux distribution to support this.
1da177e4
LT
1793
1794config PAGE_SIZE_16KB
1795 bool "16kB"
714bfad6 1796 depends on !CPU_R3000 && !CPU_TX39XX
1da177e4
LT
1797 help
1798 Using 16kB page size will result in higher performance kernel at
1799 the price of higher memory consumption. This option is available on
714bfad6
RB
1800 all non-R3000 family processors. Note that you will need a suitable
1801 Linux distribution to support this.
1da177e4 1802
c52399be
RB
1803config PAGE_SIZE_32KB
1804 bool "32kB"
1805 depends on CPU_CAVIUM_OCTEON
1806 help
1807 Using 32kB page size will result in higher performance kernel at
1808 the price of higher memory consumption. This option is available
1809 only on cnMIPS cores. Note that you will need a suitable Linux
1810 distribution to support this.
1811
1da177e4
LT
1812config PAGE_SIZE_64KB
1813 bool "64kB"
1814 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1815 help
1816 Using 64kB page size will result in higher performance kernel at
1817 the price of higher memory consumption. This option is available on
1818 all non-R3000 family processor. Not that at the time of this
714bfad6 1819 writing this option is still high experimental.
1da177e4
LT
1820
1821endchoice
1822
c9bace7c
DD
1823config FORCE_MAX_ZONEORDER
1824 int "Maximum zone order"
85f993b8
DD
1825 range 14 64 if HUGETLB_PAGE && PAGE_SIZE_64KB
1826 default "14" if HUGETLB_PAGE && PAGE_SIZE_64KB
1827 range 13 64 if HUGETLB_PAGE && PAGE_SIZE_32KB
1828 default "13" if HUGETLB_PAGE && PAGE_SIZE_32KB
1829 range 12 64 if HUGETLB_PAGE && PAGE_SIZE_16KB
1830 default "12" if HUGETLB_PAGE && PAGE_SIZE_16KB
c9bace7c
DD
1831 range 11 64
1832 default "11"
1833 help
1834 The kernel memory allocator divides physically contiguous memory
1835 blocks into "zones", where each zone is a power of two number of
1836 pages. This option selects the largest power of two that the kernel
1837 keeps in the memory allocator. If you need to allocate very large
1838 blocks of physically contiguous memory, then you may need to
1839 increase this value.
1840
1841 This config option is actually maximum order plus one. For example,
1842 a value of 11 means that the largest free memory block is 2^10 pages.
1843
1844 The page size is not necessarily 4KB. Keep this in mind
1845 when choosing a value for this option.
1846
1da177e4
LT
1847config BOARD_SCACHE
1848 bool
1849
1850config IP22_CPU_SCACHE
1851 bool
1852 select BOARD_SCACHE
1853
9318c51a
CD
1854#
1855# Support for a MIPS32 / MIPS64 style S-caches
1856#
1857config MIPS_CPU_SCACHE
1858 bool
1859 select BOARD_SCACHE
1860
1da177e4
LT
1861config R5000_CPU_SCACHE
1862 bool
1863 select BOARD_SCACHE
1864
1865config RM7000_CPU_SCACHE
1866 bool
1867 select BOARD_SCACHE
1868
1869config SIBYTE_DMA_PAGEOPS
1870 bool "Use DMA to clear/copy pages"
1871 depends on CPU_SB1
1872 help
1873 Instead of using the CPU to zero and copy pages, use a Data Mover
1874 channel. These DMA channels are otherwise unused by the standard
1875 SiByte Linux port. Seems to give a small performance benefit.
1876
1877config CPU_HAS_PREFETCH
c8094b53 1878 bool
1da177e4 1879
340ee4b9
RB
1880choice
1881 prompt "MIPS MT options"
f41ae0b2
RB
1882
1883config MIPS_MT_DISABLED
1884 bool "Disable multithreading support."
1885 help
1886 Use this option if your workload can't take advantage of
1887 MIPS hardware multithreading support. On systems that don't have
1888 the option of an MT-enabled processor this option will be the only
1889 option in this menu.
340ee4b9 1890
59d6ab86
RB
1891config MIPS_MT_SMP
1892 bool "Use 1 TC on each available VPE for SMP"
f41ae0b2 1893 depends on SYS_SUPPORTS_MULTITHREADING
f7062ddb 1894 select CPU_MIPSR2_IRQ_VI
d725cf38 1895 select CPU_MIPSR2_IRQ_EI
f41ae0b2 1896 select MIPS_MT
f510aa3b 1897 select NR_CPUS_DEFAULT_2
41c594ab 1898 select SMP
0ab7aefc 1899 select SYS_SUPPORTS_SCHED_SMT if SMP
73b76c78 1900 select SYS_SUPPORTS_SMP
87353d8a 1901 select SMP_UP
f41ae0b2 1902 help
25f12b33
RB
1903 This is a kernel model which is known a VSMP but lately has been
1904 marketesed into SMVP.
1905 Virtual SMP uses the processor's VPEs to implement virtual
1906 processors. In currently available configuration of the 34K processor
1907 this allows for a dual processor. Both processors will share the same
1908 primary caches; each will obtain the half of the TLB for it's own
1909 exclusive use. For a layman this model can be described as similar to
1910 what Intel calls Hyperthreading.
1911
1912 For further information see http://www.linux-mips.org/wiki/34K#VSMP
41c594ab 1913
59d6ab86
RB
1914config MIPS_MT_SMTC
1915 bool "SMTC: Use all TCs on all VPEs for SMP"
1916 depends on CPU_MIPS32_R2
1917 #depends on CPU_MIPS64_R2 # once there is hardware ...
f41ae0b2
RB
1918 depends on SYS_SUPPORTS_MULTITHREADING
1919 select CPU_MIPSR2_IRQ_VI
d725cf38 1920 select CPU_MIPSR2_IRQ_EI
f41ae0b2 1921 select MIPS_MT
130e2fb7 1922 select NR_CPUS_DEFAULT_8
340ee4b9 1923 select SMP
73b76c78 1924 select SYS_SUPPORTS_SMP
87353d8a 1925 select SMP_UP
f41ae0b2 1926 help
59d6ab86
RB
1927 This is a kernel model which is known a SMTC or lately has been
1928 marketesed into SMVP.
25f12b33
RB
1929 is presenting the available TC's of the core as processors to Linux.
1930 On currently available 34K processors this means a Linux system will
1931 see up to 5 processors. The implementation of the SMTC kernel differs
1932 significantly from VSMP and cannot efficiently coexist in the same
1933 kernel binary so the choice between VSMP and SMTC is a compile time
1934 decision.
1935
1936 For further information see http://www.linux-mips.org/wiki/34K#SMTC
340ee4b9 1937
340ee4b9
RB
1938endchoice
1939
f41ae0b2
RB
1940config MIPS_MT
1941 bool
1942
0ab7aefc
RB
1943config SCHED_SMT
1944 bool "SMT (multithreading) scheduler support"
1945 depends on SYS_SUPPORTS_SCHED_SMT
1946 default n
1947 help
1948 SMT scheduler support improves the CPU scheduler's decision making
1949 when dealing with MIPS MT enabled cores at a cost of slightly
1950 increased overhead in some places. If unsure say N here.
1951
1952config SYS_SUPPORTS_SCHED_SMT
1953 bool
1954
1955
f41ae0b2
RB
1956config SYS_SUPPORTS_MULTITHREADING
1957 bool
1958
f088fc84
RB
1959config MIPS_MT_FPAFF
1960 bool "Dynamic FPU affinity for FP-intensive threads"
f088fc84 1961 default y
07cc0c9e
RB
1962 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1963
1964config MIPS_VPE_LOADER
1965 bool "VPE loader support."
1966 depends on SYS_SUPPORTS_MULTITHREADING
1967 select CPU_MIPSR2_IRQ_VI
1968 select CPU_MIPSR2_IRQ_EI
07cc0c9e
RB
1969 select MIPS_MT
1970 help
1971 Includes a loader for loading an elf relocatable object
1972 onto another VPE and running it.
f088fc84 1973
0db34215
KK
1974config MIPS_MT_SMTC_IM_BACKSTOP
1975 bool "Use per-TC register bits as backstop for inhibited IM bits"
1976 depends on MIPS_MT_SMTC
8531a35e 1977 default n
0db34215
KK
1978 help
1979 To support multiple TC microthreads acting as "CPUs" within
1980 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1981 during interrupt handling. To support legacy drivers and interrupt
1982 controller management code, SMTC has a "backstop" to track and
1983 if necessary restore the interrupt mask. This has some performance
8531a35e 1984 impact on interrupt service overhead.
0db34215 1985
f571eff0
KK
1986config MIPS_MT_SMTC_IRQAFF
1987 bool "Support IRQ affinity API"
1988 depends on MIPS_MT_SMTC
1989 default n
1990 help
1991 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1992 for SMTC Linux kernel. Requires platform support, of which
1993 an example can be found in the MIPS kernel i8259 and Malta
8531a35e
KK
1994 platform code. Adds some overhead to interrupt dispatch, and
1995 should be used only if you know what you are doing.
f571eff0 1996
e01402b1
RB
1997config MIPS_VPE_LOADER_TOM
1998 bool "Load VPE program into memory hidden from linux"
1999 depends on MIPS_VPE_LOADER
2000 default y
2001 help
2002 The loader can use memory that is present but has been hidden from
2003 Linux using the kernel command line option "mem=xxMB". It's up to
2004 you to ensure the amount you put in the option and the space your
2005 program requires is less or equal to the amount physically present.
2006
2007# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
2008config MIPS_VPE_APSP_API
5e83d430
RB
2009 bool "Enable support for AP/SP API (RTLX)"
2010 depends on MIPS_VPE_LOADER
2011 help
e01402b1 2012
2600990e
RB
2013config MIPS_APSP_KSPD
2014 bool "Enable KSPD"
2015 depends on MIPS_VPE_APSP_API
2016 default y
2017 help
2018 KSPD is a kernel daemon that accepts syscall requests from the SP
2019 side, actions them and returns the results. It also handles the
2020 "exit" syscall notifying other kernel modules the SP program is
2021 exiting. You probably want to say yes here.
2022
4a16ff4c
RB
2023config MIPS_CMP
2024 bool "MIPS CMP framework support"
2025 depends on SYS_SUPPORTS_MIPS_CMP
eb9b5141 2026 select SYNC_R4K
4a16ff4c
RB
2027 select SYS_SUPPORTS_SMP
2028 select SYS_SUPPORTS_SCHED_SMT if SMP
2029 select WEAK_ORDERING
2030 default n
2031 help
2032 This is a placeholder option for the GCMP work. It will need to
2033 be handled differently...
2034
1da177e4
LT
2035config SB1_PASS_1_WORKAROUNDS
2036 bool
2037 depends on CPU_SB1_PASS_1
2038 default y
2039
2040config SB1_PASS_2_WORKAROUNDS
2041 bool
2042 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
2043 default y
2044
2045config SB1_PASS_2_1_WORKAROUNDS
2046 bool
2047 depends on CPU_SB1 && CPU_SB1_PASS_2
2048 default y
2049
2050config 64BIT_PHYS_ADDR
d806cb2b 2051 bool
1da177e4 2052
60ec6571 2053config ARCH_PHYS_ADDR_T_64BIT
2054 def_bool 64BIT_PHYS_ADDR
2055
9693a853
FBH
2056config CPU_HAS_SMARTMIPS
2057 depends on SYS_SUPPORTS_SMARTMIPS
2058 bool "Support for the SmartMIPS ASE"
2059 help
2060 SmartMIPS is a extension of the MIPS32 architecture aimed at
2061 increased security at both hardware and software level for
2062 smartcards. Enabling this option will allow proper use of the
2063 SmartMIPS instructions by Linux applications. However a kernel with
2064 this option will not work on a MIPS core without SmartMIPS core. If
2065 you don't know you probably don't have SmartMIPS and should say N
2066 here.
2067
1da177e4 2068config CPU_HAS_WB
f7062ddb 2069 bool
e01402b1 2070
df0ac8a4
KC
2071config XKS01
2072 bool
2073
f41ae0b2
RB
2074#
2075# Vectored interrupt mode is an R2 feature
2076#
e01402b1 2077config CPU_MIPSR2_IRQ_VI
f41ae0b2 2078 bool
e01402b1 2079
f41ae0b2
RB
2080#
2081# Extended interrupt mode is an R2 feature
2082#
e01402b1 2083config CPU_MIPSR2_IRQ_EI
f41ae0b2 2084 bool
e01402b1 2085
1da177e4
LT
2086config CPU_HAS_SYNC
2087 bool
2088 depends on !CPU_R3000
2089 default y
2090
20d60d99
MR
2091#
2092# CPU non-features
2093#
2094config CPU_DADDI_WORKAROUNDS
2095 bool
2096
2097config CPU_R4000_WORKAROUNDS
2098 bool
2099 select CPU_R4400_WORKAROUNDS
2100
2101config CPU_R4400_WORKAROUNDS
2102 bool
2103
1da177e4
LT
2104#
2105# - Highmem only makes sense for the 32-bit kernel.
2106# - The current highmem code will only work properly on physically indexed
2107# caches such as R3000, SB1, R7000 or those that look like they're virtually
2108# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
2109# moment we protect the user and offer the highmem option only on machines
2110# where it's known to be safe. This will not offer highmem on a few systems
2111# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
2112# indexed CPUs but we're playing safe.
797798c1
RB
2113# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2114# know they might have memory configurations that could make use of highmem
2115# support.
1da177e4
LT
2116#
2117config HIGHMEM
2118 bool "High Memory Support"
797798c1
RB
2119 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
2120
2121config CPU_SUPPORTS_HIGHMEM
2122 bool
2123
2124config SYS_SUPPORTS_HIGHMEM
2125 bool
1da177e4 2126
9693a853
FBH
2127config SYS_SUPPORTS_SMARTMIPS
2128 bool
2129
b4819b59
YY
2130config ARCH_FLATMEM_ENABLE
2131 def_bool y
f133f22d 2132 depends on !NUMA && !CPU_LOONGSON2
b4819b59 2133
d8cb4e11
RB
2134config ARCH_DISCONTIGMEM_ENABLE
2135 bool
2136 default y if SGI_IP27
2137 help
3dde6ad8 2138 Say Y to support efficient handling of discontiguous physical memory,
d8cb4e11
RB
2139 for architectures which are either NUMA (Non-Uniform Memory Access)
2140 or have huge holes in the physical address space for other reasons.
2141 See <file:Documentation/vm/numa> for more.
2142
31473747
AN
2143config ARCH_SPARSEMEM_ENABLE
2144 bool
7de58fab 2145 select SPARSEMEM_STATIC
31473747 2146
d8cb4e11
RB
2147config NUMA
2148 bool "NUMA Support"
2149 depends on SYS_SUPPORTS_NUMA
2150 help
2151 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2152 Access). This option improves performance on systems with more
2153 than two nodes; on two node systems it is generally better to
2154 leave it disabled; on single node systems disable this option
2155 disabled.
2156
2157config SYS_SUPPORTS_NUMA
2158 bool
2159
c80d79d7
YG
2160config NODES_SHIFT
2161 int
2162 default "6"
2163 depends on NEED_MULTIPLE_NODES
2164
14f70012
DZ
2165config HW_PERF_EVENTS
2166 bool "Enable hardware performance counter support for perf events"
939991cf 2167 depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON)
14f70012
DZ
2168 default y
2169 help
2170 Enable hardware performance counter support for perf events. If
2171 disabled, perf events will use software events only.
2172
b4819b59
YY
2173source "mm/Kconfig"
2174
1da177e4
LT
2175config SMP
2176 bool "Multi-Processing support"
e73ea273 2177 depends on SYS_SUPPORTS_SMP
b4b30a5a 2178 select IRQ_PER_CPU
2f304c0a 2179 select USE_GENERIC_SMP_HELPERS
e73ea273 2180 help
1da177e4
LT
2181 This enables support for systems with more than one CPU. If you have
2182 a system with only one CPU, like most personal computers, say N. If
2183 you have a system with more than one CPU, say Y.
2184
2185 If you say N here, the kernel will run on single and multiprocessor
2186 machines, but will use only one CPU of a multiprocessor machine. If
2187 you say Y here, the kernel will run on many, but not all,
2188 singleprocessor machines. On a singleprocessor machine, the kernel
2189 will run faster if you say N here.
2190
2191 People using multiprocessor machines who say Y here should also say
2192 Y to "Enhanced Real Time Clock Support", below.
2193
03502faa
AB
2194 See also the SMP-HOWTO available at
2195 <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
2196
2197 If you don't know what to do here, say N.
2198
87353d8a
RB
2199config SMP_UP
2200 bool
2201
4a16ff4c
RB
2202config SYS_SUPPORTS_MIPS_CMP
2203 bool
2204
e73ea273
RB
2205config SYS_SUPPORTS_SMP
2206 bool
2207
72ede9b1
AN
2208config NR_CPUS_DEFAULT_1
2209 bool
2210
130e2fb7
RB
2211config NR_CPUS_DEFAULT_2
2212 bool
2213
2214config NR_CPUS_DEFAULT_4
2215 bool
2216
2217config NR_CPUS_DEFAULT_8
2218 bool
2219
2220config NR_CPUS_DEFAULT_16
2221 bool
2222
2223config NR_CPUS_DEFAULT_32
2224 bool
2225
2226config NR_CPUS_DEFAULT_64
2227 bool
2228
1da177e4
LT
2229config NR_CPUS
2230 int "Maximum number of CPUs (2-64)"
72ede9b1 2231 range 1 64 if NR_CPUS_DEFAULT_1
1da177e4 2232 depends on SMP
72ede9b1 2233 default "1" if NR_CPUS_DEFAULT_1
130e2fb7
RB
2234 default "2" if NR_CPUS_DEFAULT_2
2235 default "4" if NR_CPUS_DEFAULT_4
2236 default "8" if NR_CPUS_DEFAULT_8
2237 default "16" if NR_CPUS_DEFAULT_16
2238 default "32" if NR_CPUS_DEFAULT_32
2239 default "64" if NR_CPUS_DEFAULT_64
1da177e4
LT
2240 help
2241 This allows you to specify the maximum number of CPUs which this
2242 kernel will support. The maximum supported value is 32 for 32-bit
2243 kernel and 64 for 64-bit kernels; the minimum value which makes
72ede9b1
AN
2244 sense is 1 for Qemu (useful only for kernel debugging purposes)
2245 and 2 for all others.
1da177e4
LT
2246
2247 This is purely to save memory - each supported CPU adds
72ede9b1
AN
2248 approximately eight kilobytes to the kernel image. For best
2249 performance should round up your number of processors to the next
2250 power of two.
1da177e4 2251
1723b4a3
AN
2252#
2253# Timer Interrupt Frequency Configuration
2254#
2255
2256choice
2257 prompt "Timer frequency"
2258 default HZ_250
2259 help
2260 Allows the configuration of the timer frequency.
2261
2262 config HZ_48
0f873585 2263 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
1723b4a3
AN
2264
2265 config HZ_100
2266 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
2267
2268 config HZ_128
2269 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
2270
2271 config HZ_250
2272 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
2273
2274 config HZ_256
2275 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
2276
2277 config HZ_1000
2278 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
2279
2280 config HZ_1024
2281 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
2282
2283endchoice
2284
2285config SYS_SUPPORTS_48HZ
2286 bool
2287
2288config SYS_SUPPORTS_100HZ
2289 bool
2290
2291config SYS_SUPPORTS_128HZ
2292 bool
2293
2294config SYS_SUPPORTS_250HZ
2295 bool
2296
2297config SYS_SUPPORTS_256HZ
2298 bool
2299
2300config SYS_SUPPORTS_1000HZ
2301 bool
2302
2303config SYS_SUPPORTS_1024HZ
2304 bool
2305
2306config SYS_SUPPORTS_ARBIT_HZ
2307 bool
2308 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
2309 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
2310 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
2311 !SYS_SUPPORTS_1024HZ
2312
2313config HZ
2314 int
2315 default 48 if HZ_48
2316 default 100 if HZ_100
2317 default 128 if HZ_128
2318 default 250 if HZ_250
2319 default 256 if HZ_256
2320 default 1000 if HZ_1000
2321 default 1024 if HZ_1024
2322
e80de850 2323source "kernel/Kconfig.preempt"
1da177e4 2324
ea6e942b
AN
2325config KEXEC
2326 bool "Kexec system call (EXPERIMENTAL)"
2327 depends on EXPERIMENTAL
2328 help
2329 kexec is a system call that implements the ability to shutdown your
2330 current kernel, and to start another kernel. It is like a reboot
3dde6ad8 2331 but it is independent of the system firmware. And like a reboot
ea6e942b
AN
2332 you can start any kernel with it, not just Linux.
2333
01dd2fbf 2334 The name comes from the similarity to the exec system call.
ea6e942b
AN
2335
2336 It is an ongoing process to be certain the hardware in a machine
2337 is properly shutdown, so do not be surprised if this code does not
2338 initially work for you. It may help to enable device hotplugging
2339 support. As of this writing the exact hardware interface is
2340 strongly in flux, so no good recommendation can be made.
2341
2342config SECCOMP
2343 bool "Enable seccomp to safely compute untrusted bytecode"
293c5bd1 2344 depends on PROC_FS
ea6e942b
AN
2345 default y
2346 help
2347 This kernel feature is useful for number crunching applications
2348 that may need to compute untrusted bytecode during their
2349 execution. By using pipes or other transports made available to
2350 the process as file descriptors supporting the read/write
2351 syscalls, it's possible to isolate those applications in
2352 their own address space using seccomp. Once seccomp is
2353 enabled via /proc/<pid>/seccomp, it cannot be disabled
2354 and the task is only allowed to execute a few safe syscalls
2355 defined by each seccomp mode.
2356
2357 If unsure, say Y. Only embedded should say N here.
2358
f2ffa5ab
DD
2359config USE_OF
2360 bool "Flattened Device Tree support"
2361 select OF
e6ce1324 2362 select OF_EARLY_FLATTREE
abd2363f 2363 select IRQ_DOMAIN
f2ffa5ab
DD
2364 help
2365 Include support for flattened device tree machine descriptions.
2366
5e83d430
RB
2367endmenu
2368
1df0f0ff
AN
2369config LOCKDEP_SUPPORT
2370 bool
2371 default y
2372
2373config STACKTRACE_SUPPORT
2374 bool
2375 default y
2376
b6c3539b
RB
2377source "init/Kconfig"
2378
dc52ddc0
MH
2379source "kernel/Kconfig.freezer"
2380
1da177e4
LT
2381menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2382
5e83d430
RB
2383config HW_HAS_EISA
2384 bool
1da177e4
LT
2385config HW_HAS_PCI
2386 bool
2387
2388config PCI
2389 bool "Support for PCI controller"
2390 depends on HW_HAS_PCI
abb4ae46 2391 select PCI_DOMAINS
eab90291 2392 select GENERIC_PCI_IOMAP
0f3b3956 2393 select NO_GENERIC_PCI_IOPORT_MAP
1da177e4
LT
2394 help
2395 Find out whether you have a PCI motherboard. PCI is the name of a
2396 bus system, i.e. the way the CPU talks to the other stuff inside
2397 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2398 say Y, otherwise N.
2399
1da177e4
LT
2400config PCI_DOMAINS
2401 bool
1da177e4
LT
2402
2403source "drivers/pci/Kconfig"
2404
3f787ca4
JG
2405source "drivers/pci/pcie/Kconfig"
2406
1da177e4
LT
2407#
2408# ISA support is now enabled via select. Too many systems still have the one
2409# or other ISA chip on the board that users don't know about so don't expect
2410# users to choose the right thing ...
2411#
2412config ISA
2413 bool
2414
2415config EISA
2416 bool "EISA support"
5e83d430 2417 depends on HW_HAS_EISA
1da177e4 2418 select ISA
aa414dff 2419 select GENERIC_ISA_DMA
1da177e4
LT
2420 ---help---
2421 The Extended Industry Standard Architecture (EISA) bus was
2422 developed as an open alternative to the IBM MicroChannel bus.
2423
2424 The EISA bus provided some of the features of the IBM MicroChannel
2425 bus while maintaining backward compatibility with cards made for
2426 the older ISA bus. The EISA bus saw limited use between 1988 and
2427 1995 when it was made obsolete by the PCI bus.
2428
2429 Say Y here if you are building a kernel for an EISA-based machine.
2430
2431 Otherwise, say N.
2432
2433source "drivers/eisa/Kconfig"
2434
2435config TC
2436 bool "TURBOchannel support"
2437 depends on MACH_DECSTATION
2438 help
50a23e6e
JM
2439 TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2440 processors. TURBOchannel programming specifications are available
2441 at:
2442 <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
2443 and:
2444 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
2445 Linux driver support status is documented at:
2446 <http://www.linux-mips.org/wiki/DECstation>
1da177e4 2447
1da177e4
LT
2448config MMU
2449 bool
2450 default y
2451
d865bea4
RB
2452config I8253
2453 bool
798778b8 2454 select CLKSRC_I8253
2d02612f 2455 select CLKEVT_I8253
9726b43a 2456 select MIPS_EXTERNAL_TIMER
d865bea4 2457
cce335ae
RB
2458config ZONE_DMA32
2459 bool
2460
1da177e4
LT
2461source "drivers/pcmcia/Kconfig"
2462
2463source "drivers/pci/hotplug/Kconfig"
2464
388b78ad
AB
2465config RAPIDIO
2466 bool "RapidIO support"
2467 depends on PCI
2468 default n
2469 help
2470 If you say Y here, the kernel will include drivers and
2471 infrastructure code to support RapidIO interconnect devices.
2472
2473source "drivers/rapidio/Kconfig"
2474
1da177e4
LT
2475endmenu
2476
2477menu "Executable file formats"
2478
2479source "fs/Kconfig.binfmt"
2480
2481config TRAD_SIGNALS
2482 bool
1da177e4 2483
1da177e4
LT
2484config MIPS32_COMPAT
2485 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
875d43e7 2486 depends on 64BIT
1da177e4
LT
2487 help
2488 Select this option if you want Linux/MIPS 32-bit binary
2489 compatibility. Since all software available for Linux/MIPS is
2490 currently 32-bit you should say Y here.
2491
2492config COMPAT
2493 bool
2494 depends on MIPS32_COMPAT
48b25c43 2495 select ARCH_WANT_OLD_COMPAT_IPC
1da177e4
LT
2496 default y
2497
05e43966
AN
2498config SYSVIPC_COMPAT
2499 bool
2500 depends on COMPAT && SYSVIPC
2501 default y
2502
1da177e4
LT
2503config MIPS32_O32
2504 bool "Kernel support for o32 binaries"
2505 depends on MIPS32_COMPAT
2506 help
2507 Select this option if you want to run o32 binaries. These are pure
2508 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2509 existing binaries are in this format.
2510
2511 If unsure, say Y.
2512
2513config MIPS32_N32
2514 bool "Kernel support for n32 binaries"
2515 depends on MIPS32_COMPAT
2516 help
2517 Select this option if you want to run n32 binaries. These are
2518 64-bit binaries using 32-bit quantities for addressing and certain
2519 data that would normally be 64-bit. They are used in special
2520 cases.
2521
2522 If unsure, say N.
2523
2524config BINFMT_ELF32
2525 bool
2526 default y if MIPS32_O32 || MIPS32_N32
2527
2116245e
RB
2528endmenu
2529
2530menu "Power management options"
2531
363c55ca
WZ
2532config ARCH_HIBERNATION_POSSIBLE
2533 def_bool y
3f5b3e17 2534 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
363c55ca 2535
f4cb5700
JB
2536config ARCH_SUSPEND_POSSIBLE
2537 def_bool y
3f5b3e17 2538 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
f4cb5700 2539
2116245e 2540source "kernel/power/Kconfig"
952fa954 2541
1da177e4
LT
2542endmenu
2543
9726b43a
WZ
2544source "arch/mips/kernel/cpufreq/Kconfig"
2545
d5950b43
SR
2546source "net/Kconfig"
2547
1da177e4
LT
2548source "drivers/Kconfig"
2549
2550source "fs/Kconfig"
2551
2552source "arch/mips/Kconfig.debug"
2553
2554source "security/Kconfig"
2555
2556source "crypto/Kconfig"
2557
2558source "lib/Kconfig"