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