source: src/linux/universal/linux-4.4/arch/mips/Kconfig @ 31884

Last change on this file since 31884 was 31884, checked in by brainslayer, 3 months ago

update kernels

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