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