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