xref: /linux/arch/mips/Kconfig (revision e2defae5a9b4f8d1acb058be212ef89c8763dc5b)
1config MIPS
2	bool
3	default y
4	# Horrible source of confusion.  Die, die, die ...
5	select EMBEDDED
6	select RTC_LIB
7
8mainmenu "Linux/MIPS Kernel Configuration"
9
10menu "Machine selection"
11
12config ZONE_DMA
13	bool
14
15choice
16	prompt "System type"
17	default SGI_IP22
18
19config MACH_ALCHEMY
20	bool "Alchemy processor based machines"
21
22config BASLER_EXCITE
23	bool "Basler eXcite smart camera"
24	select CEVT_R4K
25	select CSRC_R4K
26	select DMA_COHERENT
27	select HW_HAS_PCI
28	select IRQ_CPU
29	select IRQ_CPU_RM7K
30	select IRQ_CPU_RM9K
31	select MIPS_RM9122
32	select SYS_HAS_CPU_RM9000
33	select SYS_SUPPORTS_32BIT_KERNEL
34	select SYS_SUPPORTS_BIG_ENDIAN
35	select SYS_SUPPORTS_KGDB
36	help
37	  The eXcite is a smart camera platform manufactured by
38	  Basler Vision Technologies AG.
39
40config BASLER_EXCITE_PROTOTYPE
41	bool "Support for pre-release units"
42	depends on BASLER_EXCITE
43	default n
44	help
45	  Pre-series (prototype) units are different from later ones in
46	  some ways. Select this option if you have one of these. Please
47	  note that a kernel built with this option selected will not be
48	  able to run on normal units.
49
50config BCM47XX
51	bool "BCM47XX based boards"
52	select CEVT_R4K
53	select CSRC_R4K
54	select DMA_NONCOHERENT
55	select HW_HAS_PCI
56	select IRQ_CPU
57	select SYS_HAS_CPU_MIPS32_R1
58	select SYS_SUPPORTS_32BIT_KERNEL
59	select SYS_SUPPORTS_LITTLE_ENDIAN
60	select SSB
61	select SSB_DRIVER_MIPS
62	select SSB_DRIVER_EXTIF
63	select SSB_PCICORE_HOSTMODE if PCI
64	select GENERIC_GPIO
65	select SYS_HAS_EARLY_PRINTK
66	select CFE
67	help
68	 Support for BCM47XX based boards
69
70config MIPS_COBALT
71	bool "Cobalt Server"
72	select CEVT_R4K
73	select CSRC_R4K
74	select CEVT_GT641XX
75	select DMA_NONCOHERENT
76	select HW_HAS_PCI
77	select I8253
78	select I8259
79	select IRQ_CPU
80	select IRQ_GT641XX
81	select PCI_GT64XXX_PCI0
82	select SYS_HAS_CPU_NEVADA
83	select SYS_HAS_EARLY_PRINTK
84	select SYS_SUPPORTS_32BIT_KERNEL
85	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
86	select SYS_SUPPORTS_LITTLE_ENDIAN
87	select GENERIC_HARDIRQS_NO__DO_IRQ
88
89config MACH_DECSTATION
90	bool "DECstations"
91	select BOOT_ELF32
92	select CEVT_R4K
93	select CSRC_R4K
94	select CPU_DADDI_WORKAROUNDS if 64BIT
95	select CPU_R4000_WORKAROUNDS if 64BIT
96	select CPU_R4400_WORKAROUNDS if 64BIT
97	select DMA_NONCOHERENT
98	select NO_IOPORT
99	select IRQ_CPU
100	select SYS_HAS_CPU_R3000
101	select SYS_HAS_CPU_R4X00
102	select SYS_SUPPORTS_32BIT_KERNEL
103	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
104	select SYS_SUPPORTS_LITTLE_ENDIAN
105	select SYS_SUPPORTS_128HZ
106	select SYS_SUPPORTS_256HZ
107	select SYS_SUPPORTS_1024HZ
108	help
109	  This enables support for DEC's MIPS based workstations.  For details
110	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
111	  DECstation porting pages on <http://decstation.unix-ag.org/>.
112
113	  If you have one of the following DECstation Models you definitely
114	  want to choose R4xx0 for the CPU Type:
115
116		DECstation 5000/50
117		DECstation 5000/150
118		DECstation 5000/260
119		DECsystem 5900/260
120
121	  otherwise choose R3000.
122
123config MACH_JAZZ
124	bool "Jazz family of machines"
125	select ARC
126	select ARC32
127	select ARCH_MAY_HAVE_PC_FDC
128	select CEVT_R4K
129	select CSRC_R4K
130	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
131	select GENERIC_ISA_DMA
132	select IRQ_CPU
133	select I8253
134	select I8259
135	select ISA
136	select SYS_HAS_CPU_R4X00
137	select SYS_SUPPORTS_32BIT_KERNEL
138	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
139	select SYS_SUPPORTS_100HZ
140	select GENERIC_HARDIRQS_NO__DO_IRQ
141	help
142	 This a family of machines based on the MIPS R4030 chipset which was
143	 used by several vendors to build RISC/os and Windows NT workstations.
144	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
145	 Olivetti M700-10 workstations.
146
147config LASAT
148	bool "LASAT Networks platforms"
149	select CEVT_R4K
150	select CSRC_R4K
151	select DMA_NONCOHERENT
152	select SYS_HAS_EARLY_PRINTK
153	select HW_HAS_PCI
154	select IRQ_CPU
155	select PCI_GT64XXX_PCI0
156	select MIPS_NILE4
157	select R5000_CPU_SCACHE
158	select SYS_HAS_CPU_R5000
159	select SYS_SUPPORTS_32BIT_KERNEL
160	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
161	select SYS_SUPPORTS_LITTLE_ENDIAN
162	select GENERIC_HARDIRQS_NO__DO_IRQ
163
164config LEMOTE_FULONG
165	bool "Lemote Fulong mini-PC"
166	select ARCH_SPARSEMEM_ENABLE
167	select CEVT_R4K
168	select CSRC_R4K
169	select SYS_HAS_CPU_LOONGSON2
170	select DMA_NONCOHERENT
171	select BOOT_ELF32
172	select BOARD_SCACHE
173	select HAVE_STD_PC_SERIAL_PORT
174	select HW_HAS_PCI
175	select I8259
176	select ISA
177	select IRQ_CPU
178	select SYS_SUPPORTS_32BIT_KERNEL
179	select SYS_SUPPORTS_64BIT_KERNEL
180	select SYS_SUPPORTS_LITTLE_ENDIAN
181	select SYS_SUPPORTS_HIGHMEM
182	select SYS_HAS_EARLY_PRINTK
183	select GENERIC_HARDIRQS_NO__DO_IRQ
184	select GENERIC_ISA_DMA_SUPPORT_BROKEN
185	select CPU_HAS_WB
186	help
187	  Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
188	  an FPGA northbridge
189
190config MIPS_ATLAS
191	bool "MIPS Atlas board"
192	select BOOT_ELF32
193	select CEVT_R4K
194	select CSRC_R4K
195	select DMA_NONCOHERENT
196	select SYS_HAS_EARLY_PRINTK
197	select IRQ_CPU
198	select HW_HAS_PCI
199	select MIPS_BOARDS_GEN
200	select MIPS_BONITO64
201	select PCI_GT64XXX_PCI0
202	select MIPS_MSC
203	select RM7000_CPU_SCACHE
204	select SWAP_IO_SPACE
205	select SYS_HAS_CPU_MIPS32_R1
206	select SYS_HAS_CPU_MIPS32_R2
207	select SYS_HAS_CPU_MIPS64_R1
208	select SYS_HAS_CPU_NEVADA
209	select SYS_HAS_CPU_RM7000
210	select SYS_SUPPORTS_32BIT_KERNEL
211	select SYS_SUPPORTS_64BIT_KERNEL
212	select SYS_SUPPORTS_BIG_ENDIAN
213	select SYS_SUPPORTS_LITTLE_ENDIAN
214	select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
215	select SYS_SUPPORTS_SMARTMIPS
216	select GENERIC_HARDIRQS_NO__DO_IRQ
217	help
218	  This enables support for the MIPS Technologies Atlas evaluation
219	  board.
220
221config MIPS_MALTA
222	bool "MIPS Malta board"
223	select ARCH_MAY_HAVE_PC_FDC
224	select BOOT_ELF32
225	select CEVT_R4K
226	select CSRC_R4K
227	select DMA_NONCOHERENT
228	select GENERIC_ISA_DMA
229	select IRQ_CPU
230	select HW_HAS_PCI
231	select I8253
232	select I8259
233	select MIPS_BOARDS_GEN
234	select MIPS_BONITO64
235	select MIPS_CPU_SCACHE
236	select PCI_GT64XXX_PCI0
237	select MIPS_MSC
238	select SWAP_IO_SPACE
239	select SYS_HAS_CPU_MIPS32_R1
240	select SYS_HAS_CPU_MIPS32_R2
241	select SYS_HAS_CPU_MIPS64_R1
242	select SYS_HAS_CPU_NEVADA
243	select SYS_HAS_CPU_RM7000
244	select SYS_HAS_EARLY_PRINTK
245	select SYS_SUPPORTS_32BIT_KERNEL
246	select SYS_SUPPORTS_64BIT_KERNEL
247	select SYS_SUPPORTS_BIG_ENDIAN
248	select SYS_SUPPORTS_LITTLE_ENDIAN
249	select SYS_SUPPORTS_MULTITHREADING
250	select SYS_SUPPORTS_SMARTMIPS
251	help
252	  This enables support for the MIPS Technologies Malta evaluation
253	  board.
254
255config MIPS_SEAD
256	bool "MIPS SEAD board"
257	select CEVT_R4K
258	select CSRC_R4K
259	select IRQ_CPU
260	select DMA_NONCOHERENT
261	select SYS_HAS_EARLY_PRINTK
262	select MIPS_BOARDS_GEN
263	select SYS_HAS_CPU_MIPS32_R1
264	select SYS_HAS_CPU_MIPS32_R2
265	select SYS_HAS_CPU_MIPS64_R1
266	select SYS_SUPPORTS_32BIT_KERNEL
267	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
268	select SYS_SUPPORTS_BIG_ENDIAN
269	select SYS_SUPPORTS_LITTLE_ENDIAN
270	select SYS_SUPPORTS_SMARTMIPS
271	help
272	  This enables support for the MIPS Technologies SEAD evaluation
273	  board.
274
275config MIPS_SIM
276	bool 'MIPS simulator (MIPSsim)'
277	select CEVT_R4K
278	select CSRC_R4K
279	select DMA_NONCOHERENT
280	select SYS_HAS_EARLY_PRINTK
281	select IRQ_CPU
282	select BOOT_RAW
283	select SYS_HAS_CPU_MIPS32_R1
284	select SYS_HAS_CPU_MIPS32_R2
285	select SYS_HAS_EARLY_PRINTK
286	select SYS_SUPPORTS_32BIT_KERNEL
287	select SYS_SUPPORTS_BIG_ENDIAN
288	select SYS_SUPPORTS_MULTITHREADING
289	select SYS_SUPPORTS_LITTLE_ENDIAN
290	help
291	  This option enables support for MIPS Technologies MIPSsim software
292	  emulator.
293
294config MARKEINS
295	bool "NEC EMMA2RH Mark-eins"
296	select CEVT_R4K
297	select CSRC_R4K
298	select DMA_NONCOHERENT
299	select HW_HAS_PCI
300	select IRQ_CPU
301	select SWAP_IO_SPACE
302	select SYS_SUPPORTS_32BIT_KERNEL
303	select SYS_SUPPORTS_BIG_ENDIAN
304	select SYS_SUPPORTS_LITTLE_ENDIAN
305	select SYS_HAS_CPU_R5000
306	help
307	  This enables support for the R5432-based NEC Mark-eins
308	  boards with R5500 CPU.
309
310config MACH_VR41XX
311	bool "NEC VR4100 series based machines"
312	select CEVT_R4K
313	select CSRC_R4K
314	select SYS_HAS_CPU_VR41XX
315	select GENERIC_HARDIRQS_NO__DO_IRQ
316
317config PNX8550_JBS
318	bool "Philips PNX8550 based JBS board"
319	select PNX8550
320	select SYS_SUPPORTS_LITTLE_ENDIAN
321
322config PNX8550_STB810
323	bool "Philips PNX8550 based STB810 board"
324	select PNX8550
325	select SYS_SUPPORTS_LITTLE_ENDIAN
326
327config PMC_MSP
328	bool "PMC-Sierra MSP chipsets"
329	depends on EXPERIMENTAL
330	select DMA_NONCOHERENT
331	select SWAP_IO_SPACE
332	select NO_EXCEPT_FILL
333	select BOOT_RAW
334	select SYS_HAS_CPU_MIPS32_R1
335	select SYS_HAS_CPU_MIPS32_R2
336	select SYS_SUPPORTS_32BIT_KERNEL
337	select SYS_SUPPORTS_BIG_ENDIAN
338	select SYS_SUPPORTS_KGDB
339	select IRQ_CPU
340	select SERIAL_8250
341	select SERIAL_8250_CONSOLE
342	help
343	  This adds support for the PMC-Sierra family of Multi-Service
344	  Processor System-On-A-Chips.  These parts include a number
345	  of integrated peripherals, interfaces and DSPs in addition to
346	  a variety of MIPS cores.
347
348config PMC_YOSEMITE
349	bool "PMC-Sierra Yosemite eval board"
350	select CEVT_R4K
351	select CSRC_R4K
352	select DMA_COHERENT
353	select HW_HAS_PCI
354	select IRQ_CPU
355	select IRQ_CPU_RM7K
356	select IRQ_CPU_RM9K
357	select SWAP_IO_SPACE
358	select SYS_HAS_CPU_RM9000
359	select SYS_HAS_EARLY_PRINTK
360	select SYS_SUPPORTS_32BIT_KERNEL
361	select SYS_SUPPORTS_64BIT_KERNEL
362	select SYS_SUPPORTS_BIG_ENDIAN
363	select SYS_SUPPORTS_HIGHMEM
364	select SYS_SUPPORTS_KGDB
365	select SYS_SUPPORTS_SMP
366	help
367	  Yosemite is an evaluation board for the RM9000x2 processor
368	  manufactured by PMC-Sierra.
369
370config QEMU
371	bool "Qemu"
372	select CEVT_R4K
373	select CSRC_R4K
374	select DMA_COHERENT
375	select GENERIC_ISA_DMA
376	select HAVE_STD_PC_SERIAL_PORT
377	select I8253
378	select I8259
379	select IRQ_CPU
380	select ISA
381	select SWAP_IO_SPACE
382	select SYS_HAS_CPU_MIPS32_R1
383	select SYS_HAS_EARLY_PRINTK
384	select SYS_SUPPORTS_32BIT_KERNEL
385	select SYS_SUPPORTS_BIG_ENDIAN
386	select SYS_SUPPORTS_LITTLE_ENDIAN
387	select GENERIC_HARDIRQS_NO__DO_IRQ
388	select NR_CPUS_DEFAULT_1
389	select SYS_SUPPORTS_SMP
390	help
391	  Qemu is a software emulator which among other architectures also
392	  can simulate a MIPS32 4Kc system.  This patch adds support for the
393	  system architecture that currently is being simulated by Qemu.  It
394	  will eventually be removed again when Qemu has the capability to
395	  simulate actual MIPS hardware platforms.  More information on Qemu
396	  can be found at http://www.linux-mips.org/wiki/Qemu.
397
398config SGI_IP22
399	bool "SGI IP22 (Indy/Indigo2)"
400	select ARC
401	select ARC32
402	select BOOT_ELF32
403	select CEVT_R4K
404	select CSRC_R4K
405	select DEFAULT_SGI_PARTITION
406	select DMA_NONCOHERENT
407	select HW_HAS_EISA
408	select I8253
409	select I8259
410	select IP22_CPU_SCACHE
411	select IRQ_CPU
412	select GENERIC_ISA_DMA_SUPPORT_BROKEN
413	select SGI_HAS_DS1286
414	select SGI_HAS_I8042
415	select SGI_HAS_INDYDOG
416	select SGI_HAS_SEEQ
417	select SGI_HAS_WD93
418	select SGI_HAS_ZILOG
419	select SWAP_IO_SPACE
420	select SYS_HAS_CPU_R4X00
421	select SYS_HAS_CPU_R5000
422	select SYS_HAS_EARLY_PRINTK
423	select SYS_SUPPORTS_32BIT_KERNEL
424	select SYS_SUPPORTS_64BIT_KERNEL
425	select SYS_SUPPORTS_BIG_ENDIAN
426	help
427	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
428	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
429	  that runs on these, say Y here.
430
431config SGI_IP27
432	bool "SGI IP27 (Origin200/2000)"
433	select ARC
434	select ARC64
435	select BOOT_ELF64
436	select DEFAULT_SGI_PARTITION
437	select DMA_IP27
438	select SYS_HAS_EARLY_PRINTK
439	select HW_HAS_PCI
440	select NR_CPUS_DEFAULT_64
441	select SYS_HAS_CPU_R10000
442	select SYS_SUPPORTS_64BIT_KERNEL
443	select SYS_SUPPORTS_BIG_ENDIAN
444	select SYS_SUPPORTS_KGDB
445	select SYS_SUPPORTS_NUMA
446	select SYS_SUPPORTS_SMP
447	select GENERIC_HARDIRQS_NO__DO_IRQ
448	help
449	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
450	  workstations.  To compile a Linux kernel that runs on these, say Y
451	  here.
452
453config SGI_IP28
454	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
455	depends on EXPERIMENTAL
456	select ARC
457	select ARC64
458	select BOOT_ELF64
459	select CEVT_R4K
460	select CSRC_R4K
461	select DEFAULT_SGI_PARTITION
462	select DMA_NONCOHERENT
463	select GENERIC_ISA_DMA_SUPPORT_BROKEN
464	select IRQ_CPU
465	select HW_HAS_EISA
466	select I8253
467	select I8259
468	select SGI_HAS_DS1286
469	select SGI_HAS_I8042
470	select SGI_HAS_INDYDOG
471	select SGI_HAS_SEEQ
472	select SGI_HAS_WD93
473	select SGI_HAS_ZILOG
474	select SWAP_IO_SPACE
475	select SYS_HAS_CPU_R10000
476	select SYS_HAS_EARLY_PRINTK
477	select SYS_SUPPORTS_64BIT_KERNEL
478	select SYS_SUPPORTS_BIG_ENDIAN
479      help
480        This is the SGI Indigo2 with R10000 processor.  To compile a Linux
481        kernel that runs on these, say Y here.
482
483config SGI_IP32
484	bool "SGI IP32 (O2)"
485	select ARC
486	select ARC32
487	select BOOT_ELF32
488	select CEVT_R4K
489	select CSRC_R4K
490	select DMA_NONCOHERENT
491	select HW_HAS_PCI
492	select IRQ_CPU
493	select R5000_CPU_SCACHE
494	select RM7000_CPU_SCACHE
495	select SYS_HAS_CPU_R5000
496	select SYS_HAS_CPU_R10000 if BROKEN
497	select SYS_HAS_CPU_RM7000
498	select SYS_HAS_CPU_NEVADA
499	select SYS_SUPPORTS_64BIT_KERNEL
500	select SYS_SUPPORTS_BIG_ENDIAN
501	help
502	  If you want this kernel to run on SGI O2 workstation, say Y here.
503
504config SIBYTE_CRHINE
505	bool "Sibyte BCM91120C-CRhine"
506	depends on EXPERIMENTAL
507	select BOOT_ELF32
508	select DMA_COHERENT
509	select SIBYTE_BCM1120
510	select SWAP_IO_SPACE
511	select SYS_HAS_CPU_SB1
512	select SYS_SUPPORTS_BIG_ENDIAN
513	select SYS_SUPPORTS_LITTLE_ENDIAN
514
515config SIBYTE_CARMEL
516	bool "Sibyte BCM91120x-Carmel"
517	depends on EXPERIMENTAL
518	select BOOT_ELF32
519	select DMA_COHERENT
520	select SIBYTE_BCM1120
521	select SWAP_IO_SPACE
522	select SYS_HAS_CPU_SB1
523	select SYS_SUPPORTS_BIG_ENDIAN
524	select SYS_SUPPORTS_LITTLE_ENDIAN
525
526config SIBYTE_CRHONE
527	bool "Sibyte BCM91125C-CRhone"
528	depends on EXPERIMENTAL
529	select BOOT_ELF32
530	select DMA_COHERENT
531	select SIBYTE_BCM1125
532	select SWAP_IO_SPACE
533	select SYS_HAS_CPU_SB1
534	select SYS_SUPPORTS_BIG_ENDIAN
535	select SYS_SUPPORTS_HIGHMEM
536	select SYS_SUPPORTS_LITTLE_ENDIAN
537
538config SIBYTE_RHONE
539	bool "Sibyte BCM91125E-Rhone"
540	depends on EXPERIMENTAL
541	select BOOT_ELF32
542	select DMA_COHERENT
543	select SIBYTE_BCM1125H
544	select SWAP_IO_SPACE
545	select SYS_HAS_CPU_SB1
546	select SYS_SUPPORTS_BIG_ENDIAN
547	select SYS_SUPPORTS_LITTLE_ENDIAN
548
549config SIBYTE_SWARM
550	bool "Sibyte BCM91250A-SWARM"
551	select BOOT_ELF32
552	select DMA_COHERENT
553	select NR_CPUS_DEFAULT_2
554	select SIBYTE_SB1250
555	select SWAP_IO_SPACE
556	select SYS_HAS_CPU_SB1
557	select SYS_SUPPORTS_BIG_ENDIAN
558	select SYS_SUPPORTS_HIGHMEM
559	select SYS_SUPPORTS_KGDB
560	select SYS_SUPPORTS_LITTLE_ENDIAN
561	select ZONE_DMA32 if 64BIT
562
563config SIBYTE_LITTLESUR
564	bool "Sibyte BCM91250C2-LittleSur"
565	depends on EXPERIMENTAL
566	select BOOT_ELF32
567	select DMA_COHERENT
568	select NR_CPUS_DEFAULT_2
569	select SIBYTE_SB1250
570	select SWAP_IO_SPACE
571	select SYS_HAS_CPU_SB1
572	select SYS_SUPPORTS_BIG_ENDIAN
573	select SYS_SUPPORTS_HIGHMEM
574	select SYS_SUPPORTS_LITTLE_ENDIAN
575
576config SIBYTE_SENTOSA
577	bool "Sibyte BCM91250E-Sentosa"
578	depends on EXPERIMENTAL
579	select BOOT_ELF32
580	select DMA_COHERENT
581	select NR_CPUS_DEFAULT_2
582	select SIBYTE_SB1250
583	select SWAP_IO_SPACE
584	select SYS_HAS_CPU_SB1
585	select SYS_SUPPORTS_BIG_ENDIAN
586	select SYS_SUPPORTS_LITTLE_ENDIAN
587
588config SIBYTE_BIGSUR
589	bool "Sibyte BCM91480B-BigSur"
590	select BOOT_ELF32
591	select DMA_COHERENT
592	select NR_CPUS_DEFAULT_4
593	select SIBYTE_BCM1x80
594	select SWAP_IO_SPACE
595	select SYS_HAS_CPU_SB1
596	select SYS_SUPPORTS_BIG_ENDIAN
597	select SYS_SUPPORTS_HIGHMEM
598	select SYS_SUPPORTS_LITTLE_ENDIAN
599	select ZONE_DMA32 if 64BIT
600
601config SNI_RM
602	bool "SNI RM200/300/400"
603	select ARC if CPU_LITTLE_ENDIAN
604	select ARC32 if CPU_LITTLE_ENDIAN
605	select ARCH_MAY_HAVE_PC_FDC
606	select BOOT_ELF32
607	select CEVT_R4K
608	select CSRC_R4K
609	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
610	select DMA_NONCOHERENT
611	select GENERIC_ISA_DMA
612	select HW_HAS_EISA
613	select HW_HAS_PCI
614	select IRQ_CPU
615	select I8253
616	select I8259
617	select ISA
618	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
619	select SYS_HAS_CPU_R4X00
620	select SYS_HAS_CPU_R5000
621	select SYS_HAS_CPU_R10000
622	select R5000_CPU_SCACHE
623	select SYS_HAS_EARLY_PRINTK
624	select SYS_SUPPORTS_32BIT_KERNEL
625	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
626	select SYS_SUPPORTS_BIG_ENDIAN
627	select SYS_SUPPORTS_HIGHMEM
628	select SYS_SUPPORTS_LITTLE_ENDIAN
629	help
630	  The SNI RM200/300/400 are MIPS-based machines manufactured by
631	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
632	  Technology and now in turn merged with Fujitsu.  Say Y here to
633	  support this machine type.
634
635config TOSHIBA_JMR3927
636	bool "Toshiba JMR-TX3927 board"
637	select CEVT_TXX9
638	select DMA_NONCOHERENT
639	select HW_HAS_PCI
640	select MIPS_TX3927
641	select IRQ_TXX9
642	select SWAP_IO_SPACE
643	select SYS_HAS_CPU_TX39XX
644	select SYS_SUPPORTS_32BIT_KERNEL
645	select SYS_SUPPORTS_LITTLE_ENDIAN
646	select SYS_SUPPORTS_BIG_ENDIAN
647	select GENERIC_HARDIRQS_NO__DO_IRQ
648
649config TOSHIBA_RBTX4927
650	bool "Toshiba RBTX49[23]7 board"
651	select CEVT_R4K
652	select CSRC_R4K
653	select CEVT_TXX9
654	select DMA_NONCOHERENT
655	select HAS_TXX9_SERIAL
656	select HW_HAS_PCI
657	select IRQ_CPU
658	select IRQ_TXX9
659	select I8259 if TOSHIBA_FPCIB0
660	select SWAP_IO_SPACE
661	select SYS_HAS_CPU_TX49XX
662	select SYS_SUPPORTS_32BIT_KERNEL
663	select SYS_SUPPORTS_64BIT_KERNEL
664	select SYS_SUPPORTS_LITTLE_ENDIAN
665	select SYS_SUPPORTS_BIG_ENDIAN
666	select SYS_SUPPORTS_KGDB
667	select GENERIC_HARDIRQS_NO__DO_IRQ
668	help
669	  This Toshiba board is based on the TX4927 processor. Say Y here to
670	  support this machine type
671
672config TOSHIBA_RBTX4938
673	bool "Toshiba RBTX4938 board"
674	select CEVT_R4K
675	select CSRC_R4K
676	select CEVT_TXX9
677	select DMA_NONCOHERENT
678	select HAS_TXX9_SERIAL
679	select HW_HAS_PCI
680	select IRQ_CPU
681	select IRQ_TXX9
682	select SWAP_IO_SPACE
683	select SYS_HAS_CPU_TX49XX
684	select SYS_SUPPORTS_32BIT_KERNEL
685	select SYS_SUPPORTS_LITTLE_ENDIAN
686	select SYS_SUPPORTS_BIG_ENDIAN
687	select SYS_SUPPORTS_KGDB
688	select GENERIC_HARDIRQS_NO__DO_IRQ
689	select GENERIC_GPIO
690	help
691	  This Toshiba board is based on the TX4938 processor. Say Y here to
692	  support this machine type
693
694config WR_PPMC
695	bool "Wind River PPMC board"
696	select CEVT_R4K
697	select CSRC_R4K
698	select IRQ_CPU
699	select BOOT_ELF32
700	select DMA_NONCOHERENT
701	select HW_HAS_PCI
702	select PCI_GT64XXX_PCI0
703	select SWAP_IO_SPACE
704	select SYS_HAS_CPU_MIPS32_R1
705	select SYS_HAS_CPU_MIPS32_R2
706	select SYS_HAS_CPU_MIPS64_R1
707	select SYS_HAS_CPU_NEVADA
708	select SYS_HAS_CPU_RM7000
709	select SYS_SUPPORTS_32BIT_KERNEL
710	select SYS_SUPPORTS_64BIT_KERNEL
711	select SYS_SUPPORTS_BIG_ENDIAN
712	select SYS_SUPPORTS_LITTLE_ENDIAN
713	help
714	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
715	  board, which is based on GT64120 bridge chip.
716
717endchoice
718
719source "arch/mips/au1000/Kconfig"
720source "arch/mips/jazz/Kconfig"
721source "arch/mips/lasat/Kconfig"
722source "arch/mips/pmc-sierra/Kconfig"
723source "arch/mips/sgi-ip27/Kconfig"
724source "arch/mips/sibyte/Kconfig"
725source "arch/mips/tx4927/Kconfig"
726source "arch/mips/tx4938/Kconfig"
727source "arch/mips/vr41xx/Kconfig"
728
729endmenu
730
731config RWSEM_GENERIC_SPINLOCK
732	bool
733	default y
734
735config RWSEM_XCHGADD_ALGORITHM
736	bool
737
738config ARCH_HAS_ILOG2_U32
739	bool
740	default n
741
742config ARCH_HAS_ILOG2_U64
743	bool
744	default n
745
746config ARCH_SUPPORTS_OPROFILE
747	bool
748	default y if !MIPS_MT_SMTC
749
750config GENERIC_FIND_NEXT_BIT
751	bool
752	default y
753
754config GENERIC_HWEIGHT
755	bool
756	default y
757
758config GENERIC_CALIBRATE_DELAY
759	bool
760	default y
761
762config GENERIC_CLOCKEVENTS
763	bool
764	default y
765
766config GENERIC_TIME
767	bool
768	default y
769
770config GENERIC_CMOS_UPDATE
771	bool
772	default y
773
774config SCHED_NO_NO_OMIT_FRAME_POINTER
775	bool
776	default y
777
778config GENERIC_HARDIRQS_NO__DO_IRQ
779	bool
780	default n
781
782#
783# Select some configuration options automatically based on user selections.
784#
785config ARC
786	bool
787
788config ARCH_MAY_HAVE_PC_FDC
789	bool
790
791config BOOT_RAW
792	bool
793
794config CEVT_BCM1480
795	bool
796
797config CEVT_GT641XX
798	bool
799
800config CEVT_R4K
801	bool
802
803config CEVT_SB1250
804	bool
805
806config CEVT_TXX9
807	bool
808
809config CSRC_BCM1480
810	bool
811
812config CSRC_R4K
813	bool
814
815config CSRC_SB1250
816	bool
817
818config CFE
819	bool
820
821config DMA_COHERENT
822	bool
823
824config DMA_IP27
825	bool
826
827config DMA_NONCOHERENT
828	bool
829	select DMA_NEED_PCI_MAP_STATE
830
831config DMA_NEED_PCI_MAP_STATE
832	bool
833
834config EARLY_PRINTK
835	bool "Early printk" if EMBEDDED && DEBUG_KERNEL
836	depends on SYS_HAS_EARLY_PRINTK
837	default y
838	help
839	  This option enables special console drivers which allow the kernel
840	  to print messages very early in the bootup process.
841
842	  This is useful for kernel debugging when your machine crashes very
843	  early before the console code is initialized. For normal operation,
844	  it is not recommended because it looks ugly on some machines and
845	  doesn't cooperate with an X server. You should normally say N here,
846	  unless you want to debug such a crash.
847
848config SYS_HAS_EARLY_PRINTK
849	bool
850
851config HOTPLUG_CPU
852	bool
853	default n
854
855config I8259
856	bool
857
858config MIPS_BONITO64
859	bool
860
861config MIPS_MSC
862	bool
863
864config MIPS_NILE4
865	bool
866
867config MIPS_DISABLE_OBSOLETE_IDE
868	bool
869
870config NO_IOPORT
871	def_bool n
872
873config GENERIC_ISA_DMA
874	bool
875	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
876
877config GENERIC_ISA_DMA_SUPPORT_BROKEN
878	bool
879	select GENERIC_ISA_DMA
880
881config GENERIC_GPIO
882	bool
883
884#
885# Endianess selection.  Sufficiently obscure so many users don't know what to
886# answer,so we try hard to limit the available choices.  Also the use of a
887# choice statement should be more obvious to the user.
888#
889choice
890	prompt "Endianess selection"
891	help
892	  Some MIPS machines can be configured for either little or big endian
893	  byte order. These modes require different kernels and a different
894	  Linux distribution.  In general there is one preferred byteorder for a
895	  particular system but some systems are just as commonly used in the
896	  one or the other endianness.
897
898config CPU_BIG_ENDIAN
899	bool "Big endian"
900	depends on SYS_SUPPORTS_BIG_ENDIAN
901
902config CPU_LITTLE_ENDIAN
903	bool "Little endian"
904	depends on SYS_SUPPORTS_LITTLE_ENDIAN
905	help
906
907endchoice
908
909config SYS_SUPPORTS_APM_EMULATION
910	bool
911
912config SYS_SUPPORTS_BIG_ENDIAN
913	bool
914
915config SYS_SUPPORTS_LITTLE_ENDIAN
916	bool
917
918config IRQ_CPU
919	bool
920
921config IRQ_CPU_RM7K
922	bool
923
924config IRQ_CPU_RM9K
925	bool
926
927config IRQ_MSP_SLP
928	bool
929
930config IRQ_MSP_CIC
931	bool
932
933config IRQ_TXX9
934	bool
935
936config IRQ_GT641XX
937	bool
938
939config MIPS_BOARDS_GEN
940	bool
941
942config PCI_GT64XXX_PCI0
943	bool
944
945config NO_EXCEPT_FILL
946	bool
947
948config MIPS_TX3927
949	bool
950	select HAS_TXX9_SERIAL
951
952config MIPS_RM9122
953	bool
954	select SERIAL_RM9000
955
956config PNX8550
957	bool
958	select SOC_PNX8550
959
960config SOC_PNX8550
961	bool
962	select DMA_NONCOHERENT
963	select HW_HAS_PCI
964	select SYS_HAS_CPU_MIPS32_R1
965	select SYS_HAS_EARLY_PRINTK
966	select SYS_SUPPORTS_32BIT_KERNEL
967	select GENERIC_HARDIRQS_NO__DO_IRQ
968	select SYS_SUPPORTS_KGDB
969	select GENERIC_GPIO
970
971config SWAP_IO_SPACE
972	bool
973
974config EMMA2RH
975	bool
976	depends on MARKEINS
977	default y
978
979config SERIAL_RM9000
980	bool
981
982config SGI_HAS_DS1286
983	bool
984
985config SGI_HAS_INDYDOG
986	bool
987
988config SGI_HAS_SEEQ
989	bool
990
991config SGI_HAS_WD93
992	bool
993
994config SGI_HAS_ZILOG
995	bool
996
997config SGI_HAS_I8042
998	bool
999
1000config DEFAULT_SGI_PARTITION
1001	bool
1002
1003config ARC32
1004	bool
1005
1006config BOOT_ELF32
1007	bool
1008
1009config MIPS_L1_CACHE_SHIFT
1010	int
1011	default "4" if MACH_DECSTATION
1012	default "7" if SGI_IP27 || SGI_IP28 || SNI_RM
1013	default "4" if PMC_MSP4200_EVAL
1014	default "5"
1015
1016config HAVE_STD_PC_SERIAL_PORT
1017	bool
1018
1019config ARC_CONSOLE
1020	bool "ARC console support"
1021	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
1022
1023config ARC_MEMORY
1024	bool
1025	depends on MACH_JAZZ || SNI_RM || SGI_IP32
1026	default y
1027
1028config ARC_PROMLIB
1029	bool
1030	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1031	default y
1032
1033config ARC64
1034	bool
1035
1036config BOOT_ELF64
1037	bool
1038
1039menu "CPU selection"
1040
1041choice
1042	prompt "CPU type"
1043	default CPU_R4X00
1044
1045config CPU_LOONGSON2
1046	bool "Loongson 2"
1047	depends on SYS_HAS_CPU_LOONGSON2
1048	select CPU_SUPPORTS_32BIT_KERNEL
1049	select CPU_SUPPORTS_64BIT_KERNEL
1050	select CPU_SUPPORTS_HIGHMEM
1051	help
1052	  The Loongson 2E processor implements the MIPS III instruction set
1053	  with many extensions.
1054
1055config CPU_MIPS32_R1
1056	bool "MIPS32 Release 1"
1057	depends on SYS_HAS_CPU_MIPS32_R1
1058	select CPU_HAS_LLSC
1059	select CPU_HAS_PREFETCH
1060	select CPU_SUPPORTS_32BIT_KERNEL
1061	select CPU_SUPPORTS_HIGHMEM
1062	help
1063	  Choose this option to build a kernel for release 1 or later of the
1064	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
1065	  MIPS processor are based on a MIPS32 processor.  If you know the
1066	  specific type of processor in your system, choose those that one
1067	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1068	  Release 2 of the MIPS32 architecture is available since several
1069	  years so chances are you even have a MIPS32 Release 2 processor
1070	  in which case you should choose CPU_MIPS32_R2 instead for better
1071	  performance.
1072
1073config CPU_MIPS32_R2
1074	bool "MIPS32 Release 2"
1075	depends on SYS_HAS_CPU_MIPS32_R2
1076	select CPU_HAS_LLSC
1077	select CPU_HAS_PREFETCH
1078	select CPU_SUPPORTS_32BIT_KERNEL
1079	select CPU_SUPPORTS_HIGHMEM
1080	help
1081	  Choose this option to build a kernel for release 2 or later of the
1082	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
1083	  MIPS processor are based on a MIPS32 processor.  If you know the
1084	  specific type of processor in your system, choose those that one
1085	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1086
1087config CPU_MIPS64_R1
1088	bool "MIPS64 Release 1"
1089	depends on SYS_HAS_CPU_MIPS64_R1
1090	select CPU_HAS_LLSC
1091	select CPU_HAS_PREFETCH
1092	select CPU_SUPPORTS_32BIT_KERNEL
1093	select CPU_SUPPORTS_64BIT_KERNEL
1094	select CPU_SUPPORTS_HIGHMEM
1095	help
1096	  Choose this option to build a kernel for release 1 or later of the
1097	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
1098	  MIPS processor are based on a MIPS64 processor.  If you know the
1099	  specific type of processor in your system, choose those that one
1100	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1101	  Release 2 of the MIPS64 architecture is available since several
1102	  years so chances are you even have a MIPS64 Release 2 processor
1103	  in which case you should choose CPU_MIPS64_R2 instead for better
1104	  performance.
1105
1106config CPU_MIPS64_R2
1107	bool "MIPS64 Release 2"
1108	depends on SYS_HAS_CPU_MIPS64_R2
1109	select CPU_HAS_LLSC
1110	select CPU_HAS_PREFETCH
1111	select CPU_SUPPORTS_32BIT_KERNEL
1112	select CPU_SUPPORTS_64BIT_KERNEL
1113	select CPU_SUPPORTS_HIGHMEM
1114	help
1115	  Choose this option to build a kernel for release 2 or later of the
1116	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
1117	  MIPS processor are based on a MIPS64 processor.  If you know the
1118	  specific type of processor in your system, choose those that one
1119	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1120
1121config CPU_R3000
1122	bool "R3000"
1123	depends on SYS_HAS_CPU_R3000
1124	select CPU_HAS_WB
1125	select CPU_SUPPORTS_32BIT_KERNEL
1126	select CPU_SUPPORTS_HIGHMEM
1127	help
1128	  Please make sure to pick the right CPU type. Linux/MIPS is not
1129	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1130	  *not* work on R4000 machines and vice versa.  However, since most
1131	  of the supported machines have an R4000 (or similar) CPU, R4x00
1132	  might be a safe bet.  If the resulting kernel does not work,
1133	  try to recompile with R3000.
1134
1135config CPU_TX39XX
1136	bool "R39XX"
1137	depends on SYS_HAS_CPU_TX39XX
1138	select CPU_SUPPORTS_32BIT_KERNEL
1139
1140config CPU_VR41XX
1141	bool "R41xx"
1142	depends on SYS_HAS_CPU_VR41XX
1143	select CPU_SUPPORTS_32BIT_KERNEL
1144	select CPU_SUPPORTS_64BIT_KERNEL
1145	help
1146	  The options selects support for the NEC VR4100 series of processors.
1147	  Only choose this option if you have one of these processors as a
1148	  kernel built with this option will not run on any other type of
1149	  processor or vice versa.
1150
1151config CPU_R4300
1152	bool "R4300"
1153	depends on SYS_HAS_CPU_R4300
1154	select CPU_HAS_LLSC
1155	select CPU_SUPPORTS_32BIT_KERNEL
1156	select CPU_SUPPORTS_64BIT_KERNEL
1157	help
1158	  MIPS Technologies R4300-series processors.
1159
1160config CPU_R4X00
1161	bool "R4x00"
1162	depends on SYS_HAS_CPU_R4X00
1163	select CPU_HAS_LLSC
1164	select CPU_SUPPORTS_32BIT_KERNEL
1165	select CPU_SUPPORTS_64BIT_KERNEL
1166	help
1167	  MIPS Technologies R4000-series processors other than 4300, including
1168	  the R4000, R4400, R4600, and 4700.
1169
1170config CPU_TX49XX
1171	bool "R49XX"
1172	depends on SYS_HAS_CPU_TX49XX
1173	select CPU_HAS_LLSC
1174	select CPU_HAS_PREFETCH
1175	select CPU_SUPPORTS_32BIT_KERNEL
1176	select CPU_SUPPORTS_64BIT_KERNEL
1177
1178config CPU_R5000
1179	bool "R5000"
1180	depends on SYS_HAS_CPU_R5000
1181	select CPU_HAS_LLSC
1182	select CPU_SUPPORTS_32BIT_KERNEL
1183	select CPU_SUPPORTS_64BIT_KERNEL
1184	help
1185	  MIPS Technologies R5000-series processors other than the Nevada.
1186
1187config CPU_R5432
1188	bool "R5432"
1189	depends on SYS_HAS_CPU_R5432
1190	select CPU_HAS_LLSC
1191	select CPU_SUPPORTS_32BIT_KERNEL
1192	select CPU_SUPPORTS_64BIT_KERNEL
1193
1194config CPU_R6000
1195	bool "R6000"
1196	depends on EXPERIMENTAL
1197	select CPU_HAS_LLSC
1198	depends on SYS_HAS_CPU_R6000
1199	select CPU_SUPPORTS_32BIT_KERNEL
1200	help
1201	  MIPS Technologies R6000 and R6000A series processors.  Note these
1202	  processors are extremely rare and the support for them is incomplete.
1203
1204config CPU_NEVADA
1205	bool "RM52xx"
1206	depends on SYS_HAS_CPU_NEVADA
1207	select CPU_HAS_LLSC
1208	select CPU_SUPPORTS_32BIT_KERNEL
1209	select CPU_SUPPORTS_64BIT_KERNEL
1210	help
1211	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1212
1213config CPU_R8000
1214	bool "R8000"
1215	depends on EXPERIMENTAL
1216	depends on SYS_HAS_CPU_R8000
1217	select CPU_HAS_LLSC
1218	select CPU_HAS_PREFETCH
1219	select CPU_SUPPORTS_64BIT_KERNEL
1220	help
1221	  MIPS Technologies R8000 processors.  Note these processors are
1222	  uncommon and the support for them is incomplete.
1223
1224config CPU_R10000
1225	bool "R10000"
1226	depends on SYS_HAS_CPU_R10000
1227	select CPU_HAS_LLSC
1228	select CPU_HAS_PREFETCH
1229	select CPU_SUPPORTS_32BIT_KERNEL
1230	select CPU_SUPPORTS_64BIT_KERNEL
1231	select CPU_SUPPORTS_HIGHMEM
1232	help
1233	  MIPS Technologies R10000-series processors.
1234
1235config CPU_RM7000
1236	bool "RM7000"
1237	depends on SYS_HAS_CPU_RM7000
1238	select CPU_HAS_LLSC
1239	select CPU_HAS_PREFETCH
1240	select CPU_SUPPORTS_32BIT_KERNEL
1241	select CPU_SUPPORTS_64BIT_KERNEL
1242	select CPU_SUPPORTS_HIGHMEM
1243
1244config CPU_RM9000
1245	bool "RM9000"
1246	depends on SYS_HAS_CPU_RM9000
1247	select CPU_HAS_LLSC
1248	select CPU_HAS_PREFETCH
1249	select CPU_SUPPORTS_32BIT_KERNEL
1250	select CPU_SUPPORTS_64BIT_KERNEL
1251	select CPU_SUPPORTS_HIGHMEM
1252	select WEAK_ORDERING
1253
1254config CPU_SB1
1255	bool "SB1"
1256	depends on SYS_HAS_CPU_SB1
1257	select CPU_HAS_LLSC
1258	select CPU_SUPPORTS_32BIT_KERNEL
1259	select CPU_SUPPORTS_64BIT_KERNEL
1260	select CPU_SUPPORTS_HIGHMEM
1261	select WEAK_ORDERING
1262
1263endchoice
1264
1265config SYS_HAS_CPU_LOONGSON2
1266	bool
1267
1268config SYS_HAS_CPU_MIPS32_R1
1269	bool
1270
1271config SYS_HAS_CPU_MIPS32_R2
1272	bool
1273
1274config SYS_HAS_CPU_MIPS64_R1
1275	bool
1276
1277config SYS_HAS_CPU_MIPS64_R2
1278	bool
1279
1280config SYS_HAS_CPU_R3000
1281	bool
1282
1283config SYS_HAS_CPU_TX39XX
1284	bool
1285
1286config SYS_HAS_CPU_VR41XX
1287	bool
1288
1289config SYS_HAS_CPU_R4300
1290	bool
1291
1292config SYS_HAS_CPU_R4X00
1293	bool
1294
1295config SYS_HAS_CPU_TX49XX
1296	bool
1297
1298config SYS_HAS_CPU_R5000
1299	bool
1300
1301config SYS_HAS_CPU_R5432
1302	bool
1303
1304config SYS_HAS_CPU_R6000
1305	bool
1306
1307config SYS_HAS_CPU_NEVADA
1308	bool
1309
1310config SYS_HAS_CPU_R8000
1311	bool
1312
1313config SYS_HAS_CPU_R10000
1314	bool
1315
1316config SYS_HAS_CPU_RM7000
1317	bool
1318
1319config SYS_HAS_CPU_RM9000
1320	bool
1321
1322config SYS_HAS_CPU_SB1
1323	bool
1324
1325#
1326# CPU may reorder R->R, R->W, W->R, W->W
1327# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1328#
1329config WEAK_ORDERING
1330	bool
1331
1332#
1333# CPU may reorder reads and writes beyond LL/SC
1334# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1335#
1336config WEAK_REORDERING_BEYOND_LLSC
1337	bool
1338endmenu
1339
1340#
1341# These two indicate any level of the MIPS32 and MIPS64 architecture
1342#
1343config CPU_MIPS32
1344	bool
1345	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1346
1347config CPU_MIPS64
1348	bool
1349	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1350
1351#
1352# These two indicate the revision of the architecture, either Release 1 or Release 2
1353#
1354config CPU_MIPSR1
1355	bool
1356	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1357
1358config CPU_MIPSR2
1359	bool
1360	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1361
1362config SYS_SUPPORTS_32BIT_KERNEL
1363	bool
1364config SYS_SUPPORTS_64BIT_KERNEL
1365	bool
1366config CPU_SUPPORTS_32BIT_KERNEL
1367	bool
1368config CPU_SUPPORTS_64BIT_KERNEL
1369	bool
1370
1371menu "Kernel type"
1372
1373choice
1374
1375	prompt "Kernel code model"
1376	help
1377	  You should only select this option if you have a workload that
1378	  actually benefits from 64-bit processing or if your machine has
1379	  large memory.  You will only be presented a single option in this
1380	  menu if your system does not support both 32-bit and 64-bit kernels.
1381
1382config 32BIT
1383	bool "32-bit kernel"
1384	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1385	select TRAD_SIGNALS
1386	help
1387	  Select this option if you want to build a 32-bit kernel.
1388config 64BIT
1389	bool "64-bit kernel"
1390	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1391	help
1392	  Select this option if you want to build a 64-bit kernel.
1393
1394endchoice
1395
1396choice
1397	prompt "Kernel page size"
1398	default PAGE_SIZE_4KB
1399
1400config PAGE_SIZE_4KB
1401	bool "4kB"
1402	help
1403	 This option select the standard 4kB Linux page size.  On some
1404	 R3000-family processors this is the only available page size.  Using
1405	 4kB page size will minimize memory consumption and is therefore
1406	 recommended for low memory systems.
1407
1408config PAGE_SIZE_8KB
1409	bool "8kB"
1410	depends on EXPERIMENTAL && CPU_R8000
1411	help
1412	  Using 8kB page size will result in higher performance kernel at
1413	  the price of higher memory consumption.  This option is available
1414	  only on the R8000 processor.  Not that at the time of this writing
1415	  this option is still high experimental; there are also issues with
1416	  compatibility of user applications.
1417
1418config PAGE_SIZE_16KB
1419	bool "16kB"
1420	depends on !CPU_R3000 && !CPU_TX39XX
1421	help
1422	  Using 16kB page size will result in higher performance kernel at
1423	  the price of higher memory consumption.  This option is available on
1424	  all non-R3000 family processors.  Note that you will need a suitable
1425	  Linux distribution to support this.
1426
1427config PAGE_SIZE_64KB
1428	bool "64kB"
1429	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1430	help
1431	  Using 64kB page size will result in higher performance kernel at
1432	  the price of higher memory consumption.  This option is available on
1433	  all non-R3000 family processor.  Not that at the time of this
1434	  writing this option is still high experimental.
1435
1436endchoice
1437
1438config BOARD_SCACHE
1439	bool
1440
1441config IP22_CPU_SCACHE
1442	bool
1443	select BOARD_SCACHE
1444
1445#
1446# Support for a MIPS32 / MIPS64 style S-caches
1447#
1448config MIPS_CPU_SCACHE
1449	bool
1450	select BOARD_SCACHE
1451
1452config R5000_CPU_SCACHE
1453	bool
1454	select BOARD_SCACHE
1455
1456config RM7000_CPU_SCACHE
1457	bool
1458	select BOARD_SCACHE
1459
1460config SIBYTE_DMA_PAGEOPS
1461	bool "Use DMA to clear/copy pages"
1462	depends on CPU_SB1
1463	help
1464	  Instead of using the CPU to zero and copy pages, use a Data Mover
1465	  channel.  These DMA channels are otherwise unused by the standard
1466	  SiByte Linux port.  Seems to give a small performance benefit.
1467
1468config CPU_HAS_PREFETCH
1469	bool
1470
1471choice
1472	prompt "MIPS MT options"
1473
1474config MIPS_MT_DISABLED
1475	bool "Disable multithreading support."
1476	help
1477	  Use this option if your workload can't take advantage of
1478	  MIPS hardware multithreading support.  On systems that don't have
1479	  the option of an MT-enabled processor this option will be the only
1480	  option in this menu.
1481
1482config MIPS_MT_SMP
1483	bool "Use 1 TC on each available VPE for SMP"
1484	depends on SYS_SUPPORTS_MULTITHREADING
1485	select CPU_MIPSR2_IRQ_VI
1486	select CPU_MIPSR2_IRQ_EI
1487	select MIPS_MT
1488	select NR_CPUS_DEFAULT_2
1489	select SMP
1490	select SYS_SUPPORTS_SCHED_SMT if SMP
1491	select SYS_SUPPORTS_SMP
1492	select SMP_UP
1493	help
1494	  This is a kernel model which is also known a VSMP or lately
1495	  has been marketesed into SMVP.
1496
1497config MIPS_MT_SMTC
1498	bool "SMTC: Use all TCs on all VPEs for SMP"
1499	depends on CPU_MIPS32_R2
1500	#depends on CPU_MIPS64_R2		# once there is hardware ...
1501	depends on SYS_SUPPORTS_MULTITHREADING
1502	select GENERIC_CLOCKEVENTS_BROADCAST
1503	select CPU_MIPSR2_IRQ_VI
1504	select CPU_MIPSR2_IRQ_EI
1505	select MIPS_MT
1506	select NR_CPUS_DEFAULT_8
1507	select SMP
1508	select SYS_SUPPORTS_SMP
1509	select SMP_UP
1510	help
1511	  This is a kernel model which is known a SMTC or lately has been
1512	  marketesed into SMVP.
1513
1514endchoice
1515
1516config MIPS_MT
1517	bool
1518
1519config SCHED_SMT
1520	bool "SMT (multithreading) scheduler support"
1521	depends on SYS_SUPPORTS_SCHED_SMT
1522	default n
1523	help
1524	  SMT scheduler support improves the CPU scheduler's decision making
1525	  when dealing with MIPS MT enabled cores at a cost of slightly
1526	  increased overhead in some places. If unsure say N here.
1527
1528config SYS_SUPPORTS_SCHED_SMT
1529	bool
1530
1531
1532config SYS_SUPPORTS_MULTITHREADING
1533	bool
1534
1535config MIPS_MT_FPAFF
1536	bool "Dynamic FPU affinity for FP-intensive threads"
1537	default y
1538	depends on MIPS_MT_SMP || MIPS_MT_SMTC
1539
1540config MIPS_VPE_LOADER
1541	bool "VPE loader support."
1542	depends on SYS_SUPPORTS_MULTITHREADING
1543	select CPU_MIPSR2_IRQ_VI
1544	select CPU_MIPSR2_IRQ_EI
1545	select MIPS_MT
1546	help
1547	  Includes a loader for loading an elf relocatable object
1548	  onto another VPE and running it.
1549
1550config MIPS_MT_SMTC_INSTANT_REPLAY
1551	bool "Low-latency Dispatch of Deferred SMTC IPIs"
1552	depends on MIPS_MT_SMTC && !PREEMPT
1553	default y
1554	help
1555	  SMTC pseudo-interrupts between TCs are deferred and queued
1556	  if the target TC is interrupt-inhibited (IXMT). In the first
1557	  SMTC prototypes, these queued IPIs were serviced on return
1558	  to user mode, or on entry into the kernel idle loop. The
1559	  INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1560	  processing, which adds runtime overhead (hence the option to turn
1561	  it off), but ensures that IPIs are handled promptly even under
1562	  heavy I/O interrupt load.
1563
1564config MIPS_MT_SMTC_IM_BACKSTOP
1565	bool "Use per-TC register bits as backstop for inhibited IM bits"
1566	depends on MIPS_MT_SMTC
1567	default y
1568	help
1569	  To support multiple TC microthreads acting as "CPUs" within
1570	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
1571	  during interrupt handling. To support legacy drivers and interrupt
1572	  controller management code, SMTC has a "backstop" to track and
1573	  if necessary restore the interrupt mask. This has some performance
1574	  impact on interrupt service overhead. Disable it only if you know
1575	  what you are doing.
1576
1577config MIPS_MT_SMTC_IRQAFF
1578	bool "Support IRQ affinity API"
1579	depends on MIPS_MT_SMTC
1580	default n
1581	help
1582	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1583	  for SMTC Linux kernel. Requires platform support, of which
1584	  an example can be found in the MIPS kernel i8259 and Malta
1585	  platform code.  It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1586	  be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1587	  interrupt dispatch, and should be used only if you know what
1588	  you are doing.
1589
1590config MIPS_VPE_LOADER_TOM
1591	bool "Load VPE program into memory hidden from linux"
1592	depends on MIPS_VPE_LOADER
1593	default y
1594	help
1595	  The loader can use memory that is present but has been hidden from
1596	  Linux using the kernel command line option "mem=xxMB". It's up to
1597	  you to ensure the amount you put in the option and the space your
1598	  program requires is less or equal to the amount physically present.
1599
1600# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1601config MIPS_VPE_APSP_API
1602	bool "Enable support for AP/SP API (RTLX)"
1603	depends on MIPS_VPE_LOADER
1604	help
1605
1606config MIPS_APSP_KSPD
1607	bool "Enable KSPD"
1608	depends on MIPS_VPE_APSP_API
1609	default y
1610	help
1611	  KSPD is a kernel daemon that accepts syscall requests from the SP
1612	  side, actions them and returns the results. It also handles the
1613	  "exit" syscall notifying other kernel modules the SP program is
1614	  exiting.  You probably want to say yes here.
1615
1616config SB1_PASS_1_WORKAROUNDS
1617	bool
1618	depends on CPU_SB1_PASS_1
1619	default y
1620
1621config SB1_PASS_2_WORKAROUNDS
1622	bool
1623	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1624	default y
1625
1626config SB1_PASS_2_1_WORKAROUNDS
1627	bool
1628	depends on CPU_SB1 && CPU_SB1_PASS_2
1629	default y
1630
1631config 64BIT_PHYS_ADDR
1632	bool
1633
1634config CPU_HAS_LLSC
1635	bool
1636
1637config CPU_HAS_SMARTMIPS
1638	depends on SYS_SUPPORTS_SMARTMIPS
1639	bool "Support for the SmartMIPS ASE"
1640	help
1641	  SmartMIPS is a extension of the MIPS32 architecture aimed at
1642	  increased security at both hardware and software level for
1643	  smartcards.  Enabling this option will allow proper use of the
1644	  SmartMIPS instructions by Linux applications.  However a kernel with
1645	  this option will not work on a MIPS core without SmartMIPS core.  If
1646	  you don't know you probably don't have SmartMIPS and should say N
1647	  here.
1648
1649config CPU_HAS_WB
1650	bool
1651
1652#
1653# Vectored interrupt mode is an R2 feature
1654#
1655config CPU_MIPSR2_IRQ_VI
1656	bool
1657
1658#
1659# Extended interrupt mode is an R2 feature
1660#
1661config CPU_MIPSR2_IRQ_EI
1662	bool
1663
1664config CPU_HAS_SYNC
1665	bool
1666	depends on !CPU_R3000
1667	default y
1668
1669config GENERIC_CLOCKEVENTS_BROADCAST
1670	bool
1671
1672#
1673# CPU non-features
1674#
1675config CPU_DADDI_WORKAROUNDS
1676	bool
1677
1678config CPU_R4000_WORKAROUNDS
1679	bool
1680	select CPU_R4400_WORKAROUNDS
1681
1682config CPU_R4400_WORKAROUNDS
1683	bool
1684
1685#
1686# Use the generic interrupt handling code in kernel/irq/:
1687#
1688config GENERIC_HARDIRQS
1689	bool
1690	default y
1691
1692config GENERIC_IRQ_PROBE
1693	bool
1694	default y
1695
1696config IRQ_PER_CPU
1697	bool
1698
1699#
1700# - Highmem only makes sense for the 32-bit kernel.
1701# - The current highmem code will only work properly on physically indexed
1702#   caches such as R3000, SB1, R7000 or those that look like they're virtually
1703#   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
1704#   moment we protect the user and offer the highmem option only on machines
1705#   where it's known to be safe.  This will not offer highmem on a few systems
1706#   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1707#   indexed CPUs but we're playing safe.
1708# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1709#   know they might have memory configurations that could make use of highmem
1710#   support.
1711#
1712config HIGHMEM
1713	bool "High Memory Support"
1714	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1715
1716config CPU_SUPPORTS_HIGHMEM
1717	bool
1718
1719config SYS_SUPPORTS_HIGHMEM
1720	bool
1721
1722config SYS_SUPPORTS_SMARTMIPS
1723	bool
1724
1725config ARCH_FLATMEM_ENABLE
1726	def_bool y
1727	depends on !NUMA
1728
1729config ARCH_DISCONTIGMEM_ENABLE
1730	bool
1731	default y if SGI_IP27
1732	help
1733	  Say Y to support efficient handling of discontiguous physical memory,
1734	  for architectures which are either NUMA (Non-Uniform Memory Access)
1735	  or have huge holes in the physical address space for other reasons.
1736	  See <file:Documentation/vm/numa> for more.
1737
1738config ARCH_POPULATES_NODE_MAP
1739	def_bool y
1740
1741config ARCH_SPARSEMEM_ENABLE
1742	bool
1743	select SPARSEMEM_STATIC
1744
1745config NUMA
1746	bool "NUMA Support"
1747	depends on SYS_SUPPORTS_NUMA
1748	help
1749	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1750	  Access).  This option improves performance on systems with more
1751	  than two nodes; on two node systems it is generally better to
1752	  leave it disabled; on single node systems disable this option
1753	  disabled.
1754
1755config SYS_SUPPORTS_NUMA
1756	bool
1757
1758config NODES_SHIFT
1759	int
1760	default "6"
1761	depends on NEED_MULTIPLE_NODES
1762
1763source "mm/Kconfig"
1764
1765config SMP
1766	bool "Multi-Processing support"
1767	depends on SYS_SUPPORTS_SMP
1768	select IRQ_PER_CPU
1769	help
1770	  This enables support for systems with more than one CPU. If you have
1771	  a system with only one CPU, like most personal computers, say N. If
1772	  you have a system with more than one CPU, say Y.
1773
1774	  If you say N here, the kernel will run on single and multiprocessor
1775	  machines, but will use only one CPU of a multiprocessor machine. If
1776	  you say Y here, the kernel will run on many, but not all,
1777	  singleprocessor machines. On a singleprocessor machine, the kernel
1778	  will run faster if you say N here.
1779
1780	  People using multiprocessor machines who say Y here should also say
1781	  Y to "Enhanced Real Time Clock Support", below.
1782
1783	  See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1784	  available at <http://www.tldp.org/docs.html#howto>.
1785
1786	  If you don't know what to do here, say N.
1787
1788config SMP_UP
1789	bool
1790
1791config SYS_SUPPORTS_SMP
1792	bool
1793
1794config NR_CPUS_DEFAULT_1
1795	bool
1796
1797config NR_CPUS_DEFAULT_2
1798	bool
1799
1800config NR_CPUS_DEFAULT_4
1801	bool
1802
1803config NR_CPUS_DEFAULT_8
1804	bool
1805
1806config NR_CPUS_DEFAULT_16
1807	bool
1808
1809config NR_CPUS_DEFAULT_32
1810	bool
1811
1812config NR_CPUS_DEFAULT_64
1813	bool
1814
1815config NR_CPUS
1816	int "Maximum number of CPUs (2-64)"
1817	range 1 64 if NR_CPUS_DEFAULT_1
1818	depends on SMP
1819	default "1" if NR_CPUS_DEFAULT_1
1820	default "2" if NR_CPUS_DEFAULT_2
1821	default "4" if NR_CPUS_DEFAULT_4
1822	default "8" if NR_CPUS_DEFAULT_8
1823	default "16" if NR_CPUS_DEFAULT_16
1824	default "32" if NR_CPUS_DEFAULT_32
1825	default "64" if NR_CPUS_DEFAULT_64
1826	help
1827	  This allows you to specify the maximum number of CPUs which this
1828	  kernel will support.  The maximum supported value is 32 for 32-bit
1829	  kernel and 64 for 64-bit kernels; the minimum value which makes
1830	  sense is 1 for Qemu (useful only for kernel debugging purposes)
1831	  and 2 for all others.
1832
1833	  This is purely to save memory - each supported CPU adds
1834	  approximately eight kilobytes to the kernel image.  For best
1835	  performance should round up your number of processors to the next
1836	  power of two.
1837
1838source "kernel/time/Kconfig"
1839
1840#
1841# Timer Interrupt Frequency Configuration
1842#
1843
1844choice
1845	prompt "Timer frequency"
1846	default HZ_250
1847	help
1848	 Allows the configuration of the timer frequency.
1849
1850	config HZ_48
1851		bool "48 HZ" if SYS_SUPPORTS_48HZ
1852
1853	config HZ_100
1854		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1855
1856	config HZ_128
1857		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1858
1859	config HZ_250
1860		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1861
1862	config HZ_256
1863		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1864
1865	config HZ_1000
1866		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1867
1868	config HZ_1024
1869		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1870
1871endchoice
1872
1873config SYS_SUPPORTS_48HZ
1874	bool
1875
1876config SYS_SUPPORTS_100HZ
1877	bool
1878
1879config SYS_SUPPORTS_128HZ
1880	bool
1881
1882config SYS_SUPPORTS_250HZ
1883	bool
1884
1885config SYS_SUPPORTS_256HZ
1886	bool
1887
1888config SYS_SUPPORTS_1000HZ
1889	bool
1890
1891config SYS_SUPPORTS_1024HZ
1892	bool
1893
1894config SYS_SUPPORTS_ARBIT_HZ
1895	bool
1896	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1897		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1898		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1899		     !SYS_SUPPORTS_1024HZ
1900
1901config HZ
1902	int
1903	default 48 if HZ_48
1904	default 100 if HZ_100
1905	default 128 if HZ_128
1906	default 250 if HZ_250
1907	default 256 if HZ_256
1908	default 1000 if HZ_1000
1909	default 1024 if HZ_1024
1910
1911source "kernel/Kconfig.preempt"
1912
1913config MIPS_INSANE_LARGE
1914	bool "Support for large 64-bit configurations"
1915	depends on CPU_R10000 && 64BIT
1916	help
1917	  MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1918	  previous 64-bit processors which only supported 40 bit / 1TB. If you
1919	  need processes of more than 1TB virtual address space, say Y here.
1920	  This will result in additional memory usage, so it is not
1921	  recommended for normal users.
1922
1923config KEXEC
1924	bool "Kexec system call (EXPERIMENTAL)"
1925	depends on EXPERIMENTAL
1926	help
1927	  kexec is a system call that implements the ability to shutdown your
1928	  current kernel, and to start another kernel.  It is like a reboot
1929	  but it is independent of the system firmware.   And like a reboot
1930	  you can start any kernel with it, not just Linux.
1931
1932	  The name comes from the similarity to the exec system call.
1933
1934	  It is an ongoing process to be certain the hardware in a machine
1935	  is properly shutdown, so do not be surprised if this code does not
1936	  initially work for you.  It may help to enable device hotplugging
1937	  support.  As of this writing the exact hardware interface is
1938	  strongly in flux, so no good recommendation can be made.
1939
1940config SECCOMP
1941	bool "Enable seccomp to safely compute untrusted bytecode"
1942	depends on PROC_FS
1943	default y
1944	help
1945	  This kernel feature is useful for number crunching applications
1946	  that may need to compute untrusted bytecode during their
1947	  execution. By using pipes or other transports made available to
1948	  the process as file descriptors supporting the read/write
1949	  syscalls, it's possible to isolate those applications in
1950	  their own address space using seccomp. Once seccomp is
1951	  enabled via /proc/<pid>/seccomp, it cannot be disabled
1952	  and the task is only allowed to execute a few safe syscalls
1953	  defined by each seccomp mode.
1954
1955	  If unsure, say Y. Only embedded should say N here.
1956
1957endmenu
1958
1959config RWSEM_GENERIC_SPINLOCK
1960	bool
1961	default y
1962
1963config LOCKDEP_SUPPORT
1964	bool
1965	default y
1966
1967config STACKTRACE_SUPPORT
1968	bool
1969	default y
1970
1971source "init/Kconfig"
1972
1973menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1974
1975config HW_HAS_EISA
1976	bool
1977config HW_HAS_PCI
1978	bool
1979
1980config PCI
1981	bool "Support for PCI controller"
1982	depends on HW_HAS_PCI
1983	select PCI_DOMAINS
1984	help
1985	  Find out whether you have a PCI motherboard. PCI is the name of a
1986	  bus system, i.e. the way the CPU talks to the other stuff inside
1987	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1988	  say Y, otherwise N.
1989
1990	  The PCI-HOWTO, available from
1991	  <http://www.tldp.org/docs.html#howto>, contains valuable
1992	  information about which PCI hardware does work under Linux and which
1993	  doesn't.
1994
1995config PCI_DOMAINS
1996	bool
1997
1998source "drivers/pci/Kconfig"
1999
2000#
2001# ISA support is now enabled via select.  Too many systems still have the one
2002# or other ISA chip on the board that users don't know about so don't expect
2003# users to choose the right thing ...
2004#
2005config ISA
2006	bool
2007
2008config EISA
2009	bool "EISA support"
2010	depends on HW_HAS_EISA
2011	select ISA
2012	select GENERIC_ISA_DMA
2013	---help---
2014	  The Extended Industry Standard Architecture (EISA) bus was
2015	  developed as an open alternative to the IBM MicroChannel bus.
2016
2017	  The EISA bus provided some of the features of the IBM MicroChannel
2018	  bus while maintaining backward compatibility with cards made for
2019	  the older ISA bus.  The EISA bus saw limited use between 1988 and
2020	  1995 when it was made obsolete by the PCI bus.
2021
2022	  Say Y here if you are building a kernel for an EISA-based machine.
2023
2024	  Otherwise, say N.
2025
2026source "drivers/eisa/Kconfig"
2027
2028config TC
2029	bool "TURBOchannel support"
2030	depends on MACH_DECSTATION
2031	help
2032	  TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2033	  processors.  Documentation on writing device drivers for TurboChannel
2034	  is available at:
2035	  <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
2036
2037#config ACCESSBUS
2038#	bool "Access.Bus support"
2039#	depends on TC
2040
2041config MMU
2042	bool
2043	default y
2044
2045config I8253
2046	bool
2047
2048config ZONE_DMA32
2049	bool
2050
2051source "drivers/pcmcia/Kconfig"
2052
2053source "drivers/pci/hotplug/Kconfig"
2054
2055endmenu
2056
2057menu "Executable file formats"
2058
2059source "fs/Kconfig.binfmt"
2060
2061config TRAD_SIGNALS
2062	bool
2063
2064config BINFMT_IRIX
2065	bool "Include IRIX binary compatibility"
2066	depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
2067
2068config MIPS32_COMPAT
2069	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2070	depends on 64BIT
2071	help
2072	  Select this option if you want Linux/MIPS 32-bit binary
2073	  compatibility. Since all software available for Linux/MIPS is
2074	  currently 32-bit you should say Y here.
2075
2076config COMPAT
2077	bool
2078	depends on MIPS32_COMPAT
2079	default y
2080
2081config SYSVIPC_COMPAT
2082	bool
2083	depends on COMPAT && SYSVIPC
2084	default y
2085
2086config MIPS32_O32
2087	bool "Kernel support for o32 binaries"
2088	depends on MIPS32_COMPAT
2089	help
2090	  Select this option if you want to run o32 binaries.  These are pure
2091	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
2092	  existing binaries are in this format.
2093
2094	  If unsure, say Y.
2095
2096config MIPS32_N32
2097	bool "Kernel support for n32 binaries"
2098	depends on MIPS32_COMPAT
2099	help
2100	  Select this option if you want to run n32 binaries.  These are
2101	  64-bit binaries using 32-bit quantities for addressing and certain
2102	  data that would normally be 64-bit.  They are used in special
2103	  cases.
2104
2105	  If unsure, say N.
2106
2107config BINFMT_ELF32
2108	bool
2109	default y if MIPS32_O32 || MIPS32_N32
2110
2111endmenu
2112
2113menu "Power management options"
2114
2115source "kernel/power/Kconfig"
2116
2117endmenu
2118
2119source "net/Kconfig"
2120
2121source "drivers/Kconfig"
2122
2123source "fs/Kconfig"
2124
2125source "kernel/Kconfig.instrumentation"
2126
2127source "arch/mips/Kconfig.debug"
2128
2129source "security/Kconfig"
2130
2131source "crypto/Kconfig"
2132
2133source "lib/Kconfig"
2134