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