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