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