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