Blame view

arch/mips/Kconfig 59.4 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
  config MIPS
  	bool
  	default y
f8ac04255   Yoichi Yuasa   MIPS: Add DMA dec...
4
  	select HAVE_GENERIC_DMA_COHERENT
ec7748b59   Sam Ravnborg   ide: introduce HA...
5
  	select HAVE_IDE
42d4b839c   Mathieu Desnoyers   Add HAVE_OPROFILE
6
  	select HAVE_OPROFILE
91f017372   Deng-Cheng Zhu   MIPS, Perf-events...
7
  	select HAVE_IRQ_WORK
7f788d2d5   Deng-Cheng Zhu   MIPS: add support...
8
9
  	select HAVE_PERF_EVENTS
  	select PERF_USE_VMALLOC
885470011   Jason Wessel   [MIPS] kgdb: add ...
10
  	select HAVE_ARCH_KGDB
d2bb07629   Wu Zhangjin   MIPS: Tracing: Ad...
11
  	select HAVE_FUNCTION_TRACER
69a7d1b3e   Wu Zhangjin   MIPS: Tracing: En...
12
  	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
538f19526   Wu Zhangjin   MIPS: Tracing: Ad...
13
14
  	select HAVE_DYNAMIC_FTRACE
  	select HAVE_FTRACE_MCOUNT_RECORD
64575f918   Wu Zhangjin   ftrace/MIPS: Enab...
15
  	select HAVE_C_RECORDMCOUNT
29c5d3462   Wu Zhangjin   MIPS: Tracing: Ad...
16
  	select HAVE_FUNCTION_GRAPH_TRACER
c1bf207d6   David Daney   MIPS: kprobe: Add...
17
18
  	select HAVE_KPROBES
  	select HAVE_KRETPROBES
e26d196cc   David Daney   MIPS: randomize P...
19
  	select ARCH_BINFMT_ELF_RANDOMIZE_PIE
21a41faa4   Wu Zhangjin   MIPS: Lemote 2f: ...
20
  	select RTC_LIB if !MACH_LOONGSON
2b78920d1   Deng-Cheng Zhu   MIPS: Use generic...
21
  	select GENERIC_ATOMIC64 if !64BIT
48e1fd5a8   David Daney   MIPS: Convert DMA...
22
23
  	select HAVE_DMA_ATTRS
  	select HAVE_DMA_API_DEBUG
3bd27e329   David Daney   MIPS: Rework GENE...
24
25
  	select HAVE_GENERIC_HARDIRQS
  	select GENERIC_IRQ_PROBE
f8396c170   Thomas Gleixner   MIPS: Use generic...
26
  	select GENERIC_IRQ_SHOW
94bb0c1ab   David Daney   MIPS: jump label:...
27
  	select HAVE_ARCH_JUMP_LABEL
0f462e3c1   Thomas Gleixner   MIPS: Allow force...
28
  	select IRQ_FORCED_THREADING
9d15ffc82   Tejun Heo   mips: Use HAVE_ME...
29
30
31
  	select HAVE_MEMBLOCK
  	select HAVE_MEMBLOCK_NODE_MAP
  	select ARCH_DISCARD_MEMBLOCK
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
32

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
33
  menu "Machine selection"
5ac6da669   Christoph Lameter   [PATCH] Set CONFI...
34
35
  config ZONE_DMA
  	bool
5ac6da669   Christoph Lameter   [PATCH] Set CONFI...
36

5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
37
38
39
  choice
  	prompt "System type"
  	default SGI_IP22
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
40

42a4f17dc   Manuel Lauss   MIPS: Alchemy: re...
41
  config MIPS_ALCHEMY
c3543e253   Yoichi Yuasa   [MIPS] Separate A...
42
  	bool "Alchemy processor based machines"
42a4f17dc   Manuel Lauss   MIPS: Alchemy: re...
43
44
45
46
47
48
49
50
51
  	select 64BIT_PHYS_ADDR
  	select CEVT_R4K_LIB
  	select CSRC_R4K_LIB
  	select IRQ_CPU
  	select SYS_HAS_CPU_MIPS32_R1
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_APM_EMULATION
  	select GENERIC_GPIO
  	select ARCH_WANT_OPTIONAL_GPIOLIB
1b93b3c3e   Wu Zhangjin   MIPS: Add support...
52
  	select SYS_SUPPORTS_ZBOOT
376638603   Manuel Lauss   MIPS: Alchemy: re...
53
54
  	select USB_ARCH_HAS_OHCI
  	select USB_ARCH_HAS_EHCI
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
55

7ca5dc145   Florian Fainelli   MIPS: Add support...
56
57
58
59
60
61
62
63
64
65
66
67
68
  config AR7
  	bool "Texas Instruments AR7"
  	select BOOT_ELF32
  	select DMA_NONCOHERENT
  	select CEVT_R4K
  	select CSRC_R4K
  	select IRQ_CPU
  	select NO_EXCEPT_FILL
  	select SWAP_IO_SPACE
  	select SYS_HAS_CPU_MIPS32_R1
  	select SYS_HAS_EARLY_PRINTK
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1b93b3c3e   Wu Zhangjin   MIPS: Add support...
69
  	select SYS_SUPPORTS_ZBOOT_UART16550
5f3c90988   Florian Fainelli   MIPS: AR7: Implem...
70
  	select ARCH_REQUIRE_GPIOLIB
7ca5dc145   Florian Fainelli   MIPS: Add support...
71
72
73
74
  	select VLYNQ
  	help
  	  Support for the Texas Instruments AR7 System-on-a-Chip
  	  family: TNETD7100, 7200 and 7300.
d4a67d9dc   Gabor Juhos   MIPS: Add initial...
75
76
  config ATH79
  	bool "Atheros AR71XX/AR724X/AR913X based boards"
6eae43c57   Gabor Juhos   MIPS: ath79: add ...
77
  	select ARCH_REQUIRE_GPIOLIB
d4a67d9dc   Gabor Juhos   MIPS: Add initial...
78
79
80
81
82
  	select BOOT_RAW
  	select CEVT_R4K
  	select CSRC_R4K
  	select DMA_NONCOHERENT
  	select IRQ_CPU
0aabf1a4d   Gabor Juhos   MIPS: ath79: util...
83
  	select MIPS_MACHINE
d4a67d9dc   Gabor Juhos   MIPS: Add initial...
84
85
86
87
88
89
  	select SYS_HAS_CPU_MIPS32_R2
  	select SYS_HAS_EARLY_PRINTK
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
  	help
  	  Support for the Atheros AR71XX/AR724X/AR913X SoCs.
1c0c13eb9   Aurelien Jarno   [MIPS] Add suppor...
90
  config BCM47XX
c619366e3   Florian Fainelli   MIPS: Kconfig: Ma...
91
  	bool "Broadcom BCM47XX based boards"
42f77542f   Ralf Baechle   [MIPS] time: Move...
92
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
93
  	select CSRC_R4K
1c0c13eb9   Aurelien Jarno   [MIPS] Add suppor...
94
95
96
  	select DMA_NONCOHERENT
  	select HW_HAS_PCI
  	select IRQ_CPU
1c0c13eb9   Aurelien Jarno   [MIPS] Add suppor...
97
98
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1c0c13eb9   Aurelien Jarno   [MIPS] Add suppor...
99
  	select GENERIC_GPIO
25e5fb974   Aurelien Jarno   [MIPS] Add CFE su...
100
101
  	select SYS_HAS_EARLY_PRINTK
  	select CFE
1c0c13eb9   Aurelien Jarno   [MIPS] Add suppor...
102
103
  	help
  	 Support for BCM47XX based boards
e7300d04b   Maxime Bizon   MIPS: BCM63xx: Ad...
104
105
106
107
108
109
110
111
112
113
114
115
116
117
  config BCM63XX
  	bool "Broadcom BCM63XX based boards"
  	select CEVT_R4K
  	select CSRC_R4K
  	select DMA_NONCOHERENT
  	select IRQ_CPU
  	select SYS_HAS_CPU_MIPS32_R1
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_HAS_EARLY_PRINTK
  	select SWAP_IO_SPACE
  	select ARCH_REQUIRE_GPIOLIB
  	help
  	 Support for BCM63XX based boards
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
118
  config MIPS_COBALT
3fa986faa   Martin Michlmayr   [MIPS] Create con...
119
  	bool "Cobalt Server"
42f77542f   Ralf Baechle   [MIPS] time: Move...
120
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
121
  	select CSRC_R4K
1097c6ac3   Yoichi Yuasa   [MIPS] time: Add ...
122
  	select CEVT_GT641XX
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
123
124
  	select DMA_NONCOHERENT
  	select HW_HAS_PCI
d865bea4d   Ralf Baechle   [MIPS] i8253 PIT ...
125
  	select I8253
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
126
127
  	select I8259
  	select IRQ_CPU
d5ab1a691   Yoichi Yuasa   [MIPS] Add GT641x...
128
  	select IRQ_GT641XX
252161ecc   Yoichi Yuasa   [MIPS] merge GT64...
129
  	select PCI_GT64XXX_PCI0
e25bfc924   Yoichi Yuasa   MIPS: Cobalt: PCI...
130
  	select PCI
7cf8053b8   Ralf Baechle   More foolproofing...
131
  	select SYS_HAS_CPU_NEVADA
0a22e0d43   Yoichi Yuasa   [MIPS] Cobalt: Fi...
132
  	select SYS_HAS_EARLY_PRINTK
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
133
  	select SYS_SUPPORTS_32BIT_KERNEL
0e8774b62   Florian Fainelli   [MIPS] Cobalt 64-...
134
  	select SYS_SUPPORTS_64BIT_KERNEL
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
135
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
136
137
  
  config MACH_DECSTATION
3fa986faa   Martin Michlmayr   [MIPS] Create con...
138
  	bool "DECstations"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
139
  	select BOOT_ELF32
6457d9fc3   Yoichi Yuasa   [MIPS] DS1287: Ad...
140
  	select CEVT_DS1287
42f77542f   Ralf Baechle   [MIPS] time: Move...
141
  	select CEVT_R4K
4247417d8   Yoichi Yuasa   [MIPS] add DECsta...
142
  	select CSRC_IOASIC
940f6b48a   Ralf Baechle   [MIPS] Only build...
143
  	select CSRC_R4K
20d60d997   Maciej W. Rozycki   [MIPS] R4000/R440...
144
145
146
  	select CPU_DADDI_WORKAROUNDS if 64BIT
  	select CPU_R4000_WORKAROUNDS if 64BIT
  	select CPU_R4400_WORKAROUNDS if 64BIT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
147
  	select DMA_NONCOHERENT
d388d6853   Maciej W. Rozycki   [MIPS] No I/O por...
148
  	select NO_IOPORT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
149
  	select IRQ_CPU
7cf8053b8   Ralf Baechle   More foolproofing...
150
151
  	select SYS_HAS_CPU_R3000
  	select SYS_HAS_CPU_R4X00
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
152
153
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
154
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1723b4a34   Atsushi Nemoto   [MIPS] Make timer...
155
156
157
  	select SYS_SUPPORTS_128HZ
  	select SYS_SUPPORTS_256HZ
  	select SYS_SUPPORTS_1024HZ
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
158
  	help
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
159
160
161
162
163
164
  	  This enables support for DEC's MIPS based workstations.  For details
  	  see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
  	  DECstation porting pages on <http://decstation.unix-ag.org/>.
  
  	  If you have one of the following DECstation Models you definitely
  	  want to choose R4xx0 for the CPU Type:
9308816c9   Ralf Baechle   [MIPS] Kconfig: w...
165
166
167
168
  		DECstation 5000/50
  		DECstation 5000/150
  		DECstation 5000/260
  		DECsystem 5900/260
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
169
170
  
  	  otherwise choose R3000.
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
171
  config MACH_JAZZ
3fa986faa   Martin Michlmayr   [MIPS] Create con...
172
  	bool "Jazz family of machines"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
173
174
175
  	select ARC
  	select ARC32
  	select ARCH_MAY_HAVE_PC_FDC
42f77542f   Ralf Baechle   [MIPS] time: Move...
176
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
177
  	select CSRC_R4K
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
178
  	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
179
  	select GENERIC_ISA_DMA
8a118c387   Ralf Baechle   pcpskr: MIPS: Mak...
180
  	select HAVE_PCSPKR_PLATFORM
ea202c632   Thomas Bogendoerfer   [MIPS] JAZZ fixes
181
  	select IRQ_CPU
d865bea4d   Ralf Baechle   [MIPS] i8253 PIT ...
182
  	select I8253
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
183
184
  	select I8259
  	select ISA
7cf8053b8   Ralf Baechle   More foolproofing...
185
  	select SYS_HAS_CPU_R4X00
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
186
187
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1723b4a34   Atsushi Nemoto   [MIPS] Make timer...
188
  	select SYS_SUPPORTS_100HZ
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
189
  	help
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
190
191
  	 This a family of machines based on the MIPS R4030 chipset which was
  	 used by several vendors to build RISC/os and Windows NT workstations.
692105b8a   Matt LaPlante   trivial: fix typo...
192
  	 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
193
  	 Olivetti M700-10 workstations.
5ebabe598   Lars-Peter Clausen   MIPS: JZ4740: Add...
194
195
196
197
198
199
200
201
202
203
204
  config MACH_JZ4740
  	bool "Ingenic JZ4740 based machines"
  	select SYS_HAS_CPU_MIPS32_R1
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_LITTLE_ENDIAN
  	select DMA_NONCOHERENT
  	select IRQ_CPU
  	select GENERIC_GPIO
  	select ARCH_REQUIRE_GPIOLIB
  	select SYS_HAS_EARLY_PRINTK
  	select HAVE_PWM
ab5330eb2   Maurus Cuelenaere   MIPS: Jz4740: Add...
205
  	select HAVE_CLK
83bc76920   Lars-Peter Clausen   MIPS: JZ4740: Use...
206
  	select GENERIC_IRQ_CHIP
5ebabe598   Lars-Peter Clausen   MIPS: JZ4740: Add...
207

171bb2f19   John Crispin   MIPS: Lantiq: Add...
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
  config LANTIQ
  	bool "Lantiq based platforms"
  	select DMA_NONCOHERENT
  	select IRQ_CPU
  	select CEVT_R4K
  	select CSRC_R4K
  	select SYS_HAS_CPU_MIPS32_R1
  	select SYS_HAS_CPU_MIPS32_R2
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_MULTITHREADING
  	select SYS_HAS_EARLY_PRINTK
  	select ARCH_REQUIRE_GPIOLIB
  	select SWAP_IO_SPACE
  	select BOOT_RAW
  	select HAVE_CLK
a053ac170   John Crispin   MIPS: Lantiq: Add...
224
  	select MIPS_MACHINE
171bb2f19   John Crispin   MIPS: Lantiq: Add...
225

1f21d2bde   Brian Murphy   [MIPS] Add back s...
226
227
  config LASAT
  	bool "LASAT Networks platforms"
42f77542f   Ralf Baechle   [MIPS] time: Move...
228
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
229
  	select CSRC_R4K
1f21d2bde   Brian Murphy   [MIPS] Add back s...
230
231
232
  	select DMA_NONCOHERENT
  	select SYS_HAS_EARLY_PRINTK
  	select HW_HAS_PCI
a5ccfe5c1   Ralf Baechle   [MIPS] Lasat: Fix...
233
  	select IRQ_CPU
1f21d2bde   Brian Murphy   [MIPS] Add back s...
234
235
236
237
238
239
240
  	select PCI_GT64XXX_PCI0
  	select MIPS_NILE4
  	select R5000_CPU_SCACHE
  	select SYS_HAS_CPU_R5000
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1f21d2bde   Brian Murphy   [MIPS] Add back s...
241

85749d24b   Wu Zhangjin   MIPS: Loongson: S...
242
243
  config MACH_LOONGSON
  	bool "Loongson family of machines"
c7e8c668b   Wu Zhangjin   MIPS: Loongson: R...
244
  	select SYS_SUPPORTS_ZBOOT
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
245
  	help
85749d24b   Wu Zhangjin   MIPS: Loongson: S...
246
247
248
249
250
251
  	  This enables the support of Loongson family of machines.
  
  	  Loongson is a family of general-purpose MIPS-compatible CPUs.
  	  developed at Institute of Computing Technology (ICT),
  	  Chinese Academy of Sciences (CAS) in the People's Republic
  	  of China. The chief architect is Professor Weiwu Hu.
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
252

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
253
  config MIPS_MALTA
3fa986faa   Martin Michlmayr   [MIPS] Create con...
254
  	bool "MIPS Malta board"
61ed242d7   Ralf Baechle   Use ARCH_MAY_HAVE...
255
  	select ARCH_MAY_HAVE_PC_FDC
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
256
  	select BOOT_ELF32
fa71c9600   Ralf Baechle   [MIPS] Altas, Mal...
257
  	select BOOT_RAW
42f77542f   Ralf Baechle   [MIPS] time: Move...
258
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
259
  	select CSRC_R4K
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
260
261
  	select DMA_NONCOHERENT
  	select GENERIC_ISA_DMA
8a118c387   Ralf Baechle   pcpskr: MIPS: Mak...
262
  	select HAVE_PCSPKR_PLATFORM
aa414dff4   Ralf Baechle   [MIPS] Remove dup...
263
  	select IRQ_CPU
39b8d5254   Ralf Baechle   [MIPS] Add suppor...
264
  	select IRQ_GIC
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
265
  	select HW_HAS_PCI
d865bea4d   Ralf Baechle   [MIPS] i8253 PIT ...
266
  	select I8253
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
267
  	select I8259
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
268
269
  	select MIPS_BOARDS_GEN
  	select MIPS_BONITO64
9318c51ac   Chris Dearman   [MIPS] MIPS32/MIP...
270
  	select MIPS_CPU_SCACHE
252161ecc   Yoichi Yuasa   [MIPS] merge GT64...
271
  	select PCI_GT64XXX_PCI0
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
272
  	select MIPS_MSC
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
273
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
274
275
276
277
278
  	select SYS_HAS_CPU_MIPS32_R1
  	select SYS_HAS_CPU_MIPS32_R2
  	select SYS_HAS_CPU_MIPS64_R1
  	select SYS_HAS_CPU_NEVADA
  	select SYS_HAS_CPU_RM7000
36a885306   Ralf Baechle   [MIPS] Fix and cl...
279
  	select SYS_HAS_EARLY_PRINTK
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
280
281
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
282
283
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_LITTLE_ENDIAN
0365070f0   Tim Anderson   MIPS: CMP: activa...
284
  	select SYS_SUPPORTS_MIPS_CMP
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
285
  	select SYS_SUPPORTS_MULTITHREADING
9693a8537   Franck Bui-Huu   [MIPS] Add basic ...
286
  	select SYS_SUPPORTS_SMARTMIPS
1b93b3c3e   Wu Zhangjin   MIPS: Add support...
287
  	select SYS_SUPPORTS_ZBOOT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
288
  	help
f638d1971   Maciej W. Rozycki   Update descriptio...
289
  	  This enables support for the MIPS Technologies Malta evaluation
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
290
  	  board.
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
291
  config MIPS_SIM
3fa986faa   Martin Michlmayr   [MIPS] Create con...
292
  	bool 'MIPS simulator (MIPSsim)'
42f77542f   Ralf Baechle   [MIPS] time: Move...
293
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
294
  	select CSRC_R4K
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
295
  	select DMA_NONCOHERENT
36a885306   Ralf Baechle   [MIPS] Fix and cl...
296
  	select SYS_HAS_EARLY_PRINTK
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
297
  	select IRQ_CPU
9267a30d1   Marc St-Jean   [MIPS] PMC MSP71x...
298
  	select BOOT_RAW
7cf8053b8   Ralf Baechle   More foolproofing...
299
300
  	select SYS_HAS_CPU_MIPS32_R1
  	select SYS_HAS_CPU_MIPS32_R2
36a885306   Ralf Baechle   [MIPS] Fix and cl...
301
  	select SYS_HAS_EARLY_PRINTK
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
302
  	select SYS_SUPPORTS_32BIT_KERNEL
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
303
  	select SYS_SUPPORTS_BIG_ENDIAN
f6e2373ad   Ralf Baechle   [MIPS] MIPSsim: M...
304
  	select SYS_SUPPORTS_MULTITHREADING
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
305
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
306
  	help
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
307
308
  	  This option enables support for MIPS Technologies MIPSsim software
  	  emulator.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
309

a83860c2d   Ralf Baechle   MIPS: Mark Eins: ...
310
311
312
313
314
315
  config NEC_MARKEINS
  	bool "NEC EMMA2RH Mark-eins board"
  	select SOC_EMMA2RH
  	select HW_HAS_PCI
  	help
  	  This enables support for the NEC Electronics Mark-eins boards.
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
316

5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
317
  config MACH_VR41XX
74142d65b   Yoichi Yuasa   [MIPS] rename VR4...
318
  	bool "NEC VR4100 series based machines"
42f77542f   Ralf Baechle   [MIPS] time: Move...
319
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
320
  	select CSRC_R4K
7cf8053b8   Ralf Baechle   More foolproofing...
321
  	select SYS_HAS_CPU_VR41XX
27fdd325d   Yoichi Yuasa   MIPS: Update VR41...
322
  	select ARCH_REQUIRE_GPIOLIB
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
323

edb6310aa   Daniel Laird   MIPS: Add support...
324
325
326
327
328
329
330
331
332
333
334
335
  config NXP_STB220
  	bool "NXP STB220 board"
  	select SOC_PNX833X
  	help
  	 Support for NXP Semiconductors STB220 Development Board.
  
  config NXP_STB225
  	bool "NXP 225 board"
  	select SOC_PNX833X
  	select SOC_PNX8335
  	help
  	 Support for NXP Semiconductors STB225 Development Board.
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
336
  config PNX8550_JBS
a92b05880   Daniel Laird   [MIPS] Move arch/...
337
  	bool "NXP PNX8550 based JBS board"
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
338
339
340
341
  	select PNX8550
  	select SYS_SUPPORTS_LITTLE_ENDIAN
  
  config PNX8550_STB810
a92b05880   Daniel Laird   [MIPS] Move arch/...
342
  	bool "NXP PNX8550 based STB810 board"
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
343
344
  	select PNX8550
  	select SYS_SUPPORTS_LITTLE_ENDIAN
9267a30d1   Marc St-Jean   [MIPS] PMC MSP71x...
345
346
347
  config PMC_MSP
  	bool "PMC-Sierra MSP chipsets"
  	depends on EXPERIMENTAL
39d30c137   Anoop P A   MIPS: Select R4K ...
348
349
  	select CEVT_R4K
  	select CSRC_R4K
9267a30d1   Marc St-Jean   [MIPS] PMC MSP71x...
350
351
352
353
354
355
356
357
  	select DMA_NONCOHERENT
  	select SWAP_IO_SPACE
  	select NO_EXCEPT_FILL
  	select BOOT_RAW
  	select SYS_HAS_CPU_MIPS32_R1
  	select SYS_HAS_CPU_MIPS32_R2
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
9267a30d1   Marc St-Jean   [MIPS] PMC MSP71x...
358
359
360
361
362
363
364
365
  	select IRQ_CPU
  	select SERIAL_8250
  	select SERIAL_8250_CONSOLE
  	help
  	  This adds support for the PMC-Sierra family of Multi-Service
  	  Processor System-On-A-Chips.  These parts include a number
  	  of integrated peripherals, interfaces and DSPs in addition to
  	  a variety of MIPS cores.
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
366
  config PMC_YOSEMITE
3fa986faa   Martin Michlmayr   [MIPS] Create con...
367
  	bool "PMC-Sierra Yosemite eval board"
42f77542f   Ralf Baechle   [MIPS] time: Move...
368
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
369
  	select CSRC_R4K
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
370
371
372
373
374
375
  	select DMA_COHERENT
  	select HW_HAS_PCI
  	select IRQ_CPU
  	select IRQ_CPU_RM7K
  	select IRQ_CPU_RM9K
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
376
  	select SYS_HAS_CPU_RM9000
36a885306   Ralf Baechle   [MIPS] Fix and cl...
377
  	select SYS_HAS_EARLY_PRINTK
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
378
379
380
381
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_HIGHMEM
e73ea273e   Ralf Baechle   [MIPS] Fix build ...
382
  	select SYS_SUPPORTS_SMP
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
383
384
385
  	help
  	  Yosemite is an evaluation board for the RM9000x2 processor
  	  manufactured by PMC-Sierra.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
386

a3a0f8c8e   David VomLehn   MIPS: PowerTV: Ba...
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
  config POWERTV
  	bool "Cisco PowerTV"
  	select BOOT_ELF32
  	select CEVT_R4K
  	select CPU_MIPSR2_IRQ_VI
  	select CPU_MIPSR2_IRQ_EI
  	select CSRC_POWERTV
  	select DMA_NONCOHERENT
  	select HW_HAS_PCI
  	select SYS_HAS_EARLY_PRINTK
  	select SYS_HAS_CPU_MIPS32_R2
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_HIGHMEM
  	select USB_OHCI_LITTLE_ENDIAN
  	help
  	  This enables support for the Cisco PowerTV Platform.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
404
  config SGI_IP22
3fa986faa   Martin Michlmayr   [MIPS] Create con...
405
  	bool "SGI IP22 (Indy/Indigo2)"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
406
407
408
  	select ARC
  	select ARC32
  	select BOOT_ELF32
42f77542f   Ralf Baechle   [MIPS] time: Move...
409
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
410
  	select CSRC_R4K
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
411
  	select DEFAULT_SGI_PARTITION
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
412
  	select DMA_NONCOHERENT
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
413
  	select HW_HAS_EISA
d865bea4d   Ralf Baechle   [MIPS] i8253 PIT ...
414
  	select I8253
68de48037   Thomas Bogendoerfer   [MIPS] IP22: Fix ...
415
  	select I8259
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
416
417
  	select IP22_CPU_SCACHE
  	select IRQ_CPU
aa414dff4   Ralf Baechle   [MIPS] Remove dup...
418
  	select GENERIC_ISA_DMA_SUPPORT_BROKEN
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
419
420
  	select SGI_HAS_I8042
  	select SGI_HAS_INDYDOG
36e5c21de   Thomas Bogendoerfer   [MIPS] IP22, IP28...
421
  	select SGI_HAS_HAL2
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
422
423
424
  	select SGI_HAS_SEEQ
  	select SGI_HAS_WD93
  	select SGI_HAS_ZILOG
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
425
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
426
427
  	select SYS_HAS_CPU_R4X00
  	select SYS_HAS_CPU_R5000
2b5e63f6b   Martin Michlmayr   MIPS: IP22/IP28 D...
428
429
430
431
432
433
434
435
  	#
  	# Disable EARLY_PRINTK for now since it leads to overwritten prom
  	# memory during early boot on some machines.
  	#
  	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  	# for a more details discussion
  	#
  	# select SYS_HAS_EARLY_PRINTK
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
436
437
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
438
  	select SYS_SUPPORTS_BIG_ENDIAN
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
439
440
441
442
443
444
  	help
  	  This are the SGI Indy, Challenge S and Indigo2, as well as certain
  	  OEM variants like the Tandem CMN B006S. To compile a Linux kernel
  	  that runs on these, say Y here.
  
  config SGI_IP27
3fa986faa   Martin Michlmayr   [MIPS] Create con...
445
  	bool "SGI IP27 (Origin200/2000)"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
446
447
  	select ARC
  	select ARC64
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
448
  	select BOOT_ELF64
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
449
  	select DEFAULT_SGI_PARTITION
634286f12   Ralf Baechle   MIPS: IP27: Switc...
450
  	select DMA_COHERENT
36a885306   Ralf Baechle   [MIPS] Fix and cl...
451
  	select SYS_HAS_EARLY_PRINTK
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
452
  	select HW_HAS_PCI
130e2fb78   Ralf Baechle   [MIPS] Kconfig: P...
453
  	select NR_CPUS_DEFAULT_64
7cf8053b8   Ralf Baechle   More foolproofing...
454
  	select SYS_HAS_CPU_R10000
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
455
  	select SYS_SUPPORTS_64BIT_KERNEL
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
456
  	select SYS_SUPPORTS_BIG_ENDIAN
d8cb4e119   Ralf Baechle   [MIPS] Cleanup AR...
457
  	select SYS_SUPPORTS_NUMA
1a5c5de1b   Ralf Baechle   [MIPS] IP27: Allo...
458
  	select SYS_SUPPORTS_SMP
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
459
460
461
462
  	help
  	  This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
  	  workstations.  To compile a Linux kernel that runs on these, say Y
  	  here.
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
  config SGI_IP28
  	bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
  	depends on EXPERIMENTAL
  	select ARC
  	select ARC64
  	select BOOT_ELF64
  	select CEVT_R4K
  	select CSRC_R4K
  	select DEFAULT_SGI_PARTITION
  	select DMA_NONCOHERENT
  	select GENERIC_ISA_DMA_SUPPORT_BROKEN
  	select IRQ_CPU
  	select HW_HAS_EISA
  	select I8253
  	select I8259
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
478
479
  	select SGI_HAS_I8042
  	select SGI_HAS_INDYDOG
5b438c440   Thomas Bogendoerfer   [MIPS] IP22/28: A...
480
  	select SGI_HAS_HAL2
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
481
482
483
484
485
  	select SGI_HAS_SEEQ
  	select SGI_HAS_WD93
  	select SGI_HAS_ZILOG
  	select SWAP_IO_SPACE
  	select SYS_HAS_CPU_R10000
2b5e63f6b   Martin Michlmayr   MIPS: IP22/IP28 D...
486
487
488
489
490
491
492
493
  	#
  	# Disable EARLY_PRINTK for now since it leads to overwritten prom
  	# memory during early boot on some machines.
  	#
  	# See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
  	# for a more details discussion
  	#
  	# select SYS_HAS_EARLY_PRINTK
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
494
495
496
497
498
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
        help
          This is the SGI Indigo2 with R10000 processor.  To compile a Linux
          kernel that runs on these, say Y here.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
499
  config SGI_IP32
cfd2afc0f   Ralf Baechle   [MIPS] IP32: Remo...
500
  	bool "SGI IP32 (O2)"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
501
502
503
  	select ARC
  	select ARC32
  	select BOOT_ELF32
42f77542f   Ralf Baechle   [MIPS] time: Move...
504
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
505
  	select CSRC_R4K
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
506
507
  	select DMA_NONCOHERENT
  	select HW_HAS_PCI
dd67b1556   Ralf Baechle   [MIPS] IP32: Fix ...
508
  	select IRQ_CPU
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
509
510
  	select R5000_CPU_SCACHE
  	select RM7000_CPU_SCACHE
7cf8053b8   Ralf Baechle   More foolproofing...
511
512
513
  	select SYS_HAS_CPU_R5000
  	select SYS_HAS_CPU_R10000 if BROKEN
  	select SYS_HAS_CPU_RM7000
dd2f18fe5   Ralf Baechle   [MIPS] Nevada sup...
514
  	select SYS_HAS_CPU_NEVADA
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
515
  	select SYS_SUPPORTS_64BIT_KERNEL
23fbee9dd   Ralf Baechle   Support for Toshi...
516
  	select SYS_SUPPORTS_BIG_ENDIAN
23fbee9dd   Ralf Baechle   Support for Toshi...
517
  	help
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
518
  	  If you want this kernel to run on SGI O2 workstation, say Y here.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
519

ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
520
521
522
  config SIBYTE_CRHINE
  	bool "Sibyte BCM91120C-CRhine"
  	depends on EXPERIMENTAL
9a6dcea10   Andrew Isaacson   Support for BigSu...
523
524
  	select BOOT_ELF32
  	select DMA_COHERENT
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
525
  	select SIBYTE_BCM1120
9a6dcea10   Andrew Isaacson   Support for BigSu...
526
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
527
  	select SYS_HAS_CPU_SB1
9a6dcea10   Andrew Isaacson   Support for BigSu...
528
529
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_LITTLE_ENDIAN
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
530
531
532
  config SIBYTE_CARMEL
  	bool "Sibyte BCM91120x-Carmel"
  	depends on EXPERIMENTAL
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
533
  	select BOOT_ELF32
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
534
  	select DMA_COHERENT
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
535
  	select SIBYTE_BCM1120
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
536
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
537
  	select SYS_HAS_CPU_SB1
81731f799   Steven J. Hill   The DbAu1500 boar...
538
  	select SYS_SUPPORTS_BIG_ENDIAN
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
539
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
540

ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
541
542
  config SIBYTE_CRHONE
  	bool "Sibyte BCM91125C-CRhone"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
543
544
545
  	depends on EXPERIMENTAL
  	select BOOT_ELF32
  	select DMA_COHERENT
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
546
  	select SIBYTE_BCM1125
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
547
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
548
  	select SYS_HAS_CPU_SB1
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
549
  	select SYS_SUPPORTS_BIG_ENDIAN
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
550
  	select SYS_SUPPORTS_HIGHMEM
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
551
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
552

5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
553
  config SIBYTE_RHONE
3fa986faa   Martin Michlmayr   [MIPS] Create con...
554
  	bool "Sibyte BCM91125E-Rhone"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
555
556
557
558
559
  	depends on EXPERIMENTAL
  	select BOOT_ELF32
  	select DMA_COHERENT
  	select SIBYTE_BCM1125H
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
560
  	select SYS_HAS_CPU_SB1
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
561
562
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
563

ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
564
565
  config SIBYTE_SWARM
  	bool "Sibyte BCM91250A-SWARM"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
566
  	select BOOT_ELF32
26a940e21   Pete Popov   Cleaned up AMD Au...
567
  	select DMA_COHERENT
fcf3ca4c3   Sebastian Andrzej Siewior   MIPS: Swarm, Litt...
568
  	select HAVE_PATA_PLATFORM
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
569
570
  	select NR_CPUS_DEFAULT_2
  	select SIBYTE_SB1250
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
571
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
572
  	select SYS_HAS_CPU_SB1
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
573
  	select SYS_SUPPORTS_BIG_ENDIAN
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
574
  	select SYS_SUPPORTS_HIGHMEM
e3ad1c23b   Pete Popov   Base Au1200 2.6 s...
575
  	select SYS_SUPPORTS_LITTLE_ENDIAN
cce335ae4   Ralf Baechle   [MIPS] 64-bit Sib...
576
  	select ZONE_DMA32 if 64BIT
e3ad1c23b   Pete Popov   Base Au1200 2.6 s...
577

ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
578
579
  config SIBYTE_LITTLESUR
  	bool "Sibyte BCM91250C2-LittleSur"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
580
581
582
  	depends on EXPERIMENTAL
  	select BOOT_ELF32
  	select DMA_COHERENT
fcf3ca4c3   Sebastian Andrzej Siewior   MIPS: Swarm, Litt...
583
  	select HAVE_PATA_PLATFORM
130e2fb78   Ralf Baechle   [MIPS] Kconfig: P...
584
  	select NR_CPUS_DEFAULT_2
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
585
586
  	select SIBYTE_SB1250
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
587
  	select SYS_HAS_CPU_SB1
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
588
589
590
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_HIGHMEM
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
591

ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
592
593
  config SIBYTE_SENTOSA
  	bool "Sibyte BCM91250E-Sentosa"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
594
595
596
  	depends on EXPERIMENTAL
  	select BOOT_ELF32
  	select DMA_COHERENT
130e2fb78   Ralf Baechle   [MIPS] Kconfig: P...
597
  	select NR_CPUS_DEFAULT_2
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
598
599
  	select SIBYTE_SB1250
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
600
  	select SYS_HAS_CPU_SB1
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
601
  	select SYS_SUPPORTS_BIG_ENDIAN
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
602
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
603

ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
604
605
  config SIBYTE_BIGSUR
  	bool "Sibyte BCM91480B-BigSur"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
606
607
  	select BOOT_ELF32
  	select DMA_COHERENT
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
608
  	select NR_CPUS_DEFAULT_4
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
609
  	select SIBYTE_BCM1x80
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
610
  	select SWAP_IO_SPACE
7cf8053b8   Ralf Baechle   More foolproofing...
611
  	select SYS_HAS_CPU_SB1
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
612
  	select SYS_SUPPORTS_BIG_ENDIAN
651194f82   Ralf Baechle   [MIPS] Bigsur sup...
613
  	select SYS_SUPPORTS_HIGHMEM
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
614
  	select SYS_SUPPORTS_LITTLE_ENDIAN
cce335ae4   Ralf Baechle   [MIPS] 64-bit Sib...
615
  	select ZONE_DMA32 if 64BIT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
616

14b36af46   Thomas Bogendoerfer   [MIPS] Rename SNI...
617
618
  config SNI_RM
  	bool "SNI RM200/300/400"
4a0312fca   Thomas Bogendoerfer   [MIPS] Support SN...
619
620
  	select ARC if CPU_LITTLE_ENDIAN
  	select ARC32 if CPU_LITTLE_ENDIAN
231a35d37   Thomas Bogendoerfer   [MIPS] RM: Collec...
621
  	select SNIPROM if CPU_BIG_ENDIAN
61ed242d7   Ralf Baechle   Use ARCH_MAY_HAVE...
622
  	select ARCH_MAY_HAVE_PC_FDC
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
623
  	select BOOT_ELF32
42f77542f   Ralf Baechle   [MIPS] time: Move...
624
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
625
  	select CSRC_R4K
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
626
  	select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
627
628
  	select DMA_NONCOHERENT
  	select GENERIC_ISA_DMA
8a118c387   Ralf Baechle   pcpskr: MIPS: Mak...
629
  	select HAVE_PCSPKR_PLATFORM
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
630
  	select HW_HAS_EISA
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
631
  	select HW_HAS_PCI
c066a32a8   Thomas Bogendoerfer   [MIPS] Support fo...
632
  	select IRQ_CPU
d865bea4d   Ralf Baechle   [MIPS] i8253 PIT ...
633
  	select I8253
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
634
635
  	select I8259
  	select ISA
4a0312fca   Thomas Bogendoerfer   [MIPS] Support SN...
636
  	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
7cf8053b8   Ralf Baechle   More foolproofing...
637
  	select SYS_HAS_CPU_R4X00
4a0312fca   Thomas Bogendoerfer   [MIPS] Support SN...
638
  	select SYS_HAS_CPU_R5000
c066a32a8   Thomas Bogendoerfer   [MIPS] Support fo...
639
  	select SYS_HAS_CPU_R10000
4a0312fca   Thomas Bogendoerfer   [MIPS] Support SN...
640
  	select R5000_CPU_SCACHE
36a885306   Ralf Baechle   [MIPS] Fix and cl...
641
  	select SYS_HAS_EARLY_PRINTK
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
642
643
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
4a0312fca   Thomas Bogendoerfer   [MIPS] Support SN...
644
  	select SYS_SUPPORTS_BIG_ENDIAN
797798c1b   Ralf Baechle   A little more Kco...
645
  	select SYS_SUPPORTS_HIGHMEM
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
646
  	select SYS_SUPPORTS_LITTLE_ENDIAN
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
647
  	help
14b36af46   Thomas Bogendoerfer   [MIPS] Rename SNI...
648
649
  	  The SNI RM200/300/400 are MIPS-based machines manufactured by
  	  Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
650
651
  	  Technology and now in turn merged with Fujitsu.  Say Y here to
  	  support this machine type.
edcaf1a6a   Atsushi Nemoto   [MIPS] TXx9: Make...
652
653
  config MACH_TX39XX
  	bool "Toshiba TX39 series based machines"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
654

edcaf1a6a   Atsushi Nemoto   [MIPS] TXx9: Make...
655
656
  config MACH_TX49XX
  	bool "Toshiba TX49 series based machines"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
657

73b4390fb   Ralf Baechle   [MIPS] Routerboar...
658
659
660
661
662
  config MIKROTIK_RB532
  	bool "Mikrotik RB532 boards"
  	select CEVT_R4K
  	select CSRC_R4K
  	select DMA_NONCOHERENT
73b4390fb   Ralf Baechle   [MIPS] Routerboar...
663
664
665
666
667
668
669
  	select HW_HAS_PCI
  	select IRQ_CPU
  	select SYS_HAS_CPU_MIPS32_R1
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_LITTLE_ENDIAN
  	select SWAP_IO_SPACE
  	select BOOT_RAW
d888e25b8   Florian Fainelli   MIPS: RB532: Conv...
670
  	select ARCH_REQUIRE_GPIOLIB
73b4390fb   Ralf Baechle   [MIPS] Routerboar...
671
672
673
  	help
  	  Support the Mikrotik(tm) RouterBoard 532 series,
  	  based on the IDT RC32434 SoC.
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
674
675
  config WR_PPMC
  	bool "Wind River PPMC board"
42f77542f   Ralf Baechle   [MIPS] time: Move...
676
  	select CEVT_R4K
940f6b48a   Ralf Baechle   [MIPS] Only build...
677
  	select CSRC_R4K
ade299d89   Yoichi Yuasa   [MIPS] Sort syste...
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
  	select IRQ_CPU
  	select BOOT_ELF32
  	select DMA_NONCOHERENT
  	select HW_HAS_PCI
  	select PCI_GT64XXX_PCI0
  	select SWAP_IO_SPACE
  	select SYS_HAS_CPU_MIPS32_R1
  	select SYS_HAS_CPU_MIPS32_R2
  	select SYS_HAS_CPU_MIPS64_R1
  	select SYS_HAS_CPU_NEVADA
  	select SYS_HAS_CPU_RM7000
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_LITTLE_ENDIAN
  	help
  	  This enables support for the Wind River MIPS32 4KC PPMC evaluation
  	  board, which is based on GT64120 bridge chip.
a86c7f724   David Daney   MIPS: Add Cavium ...
696
  config CAVIUM_OCTEON_SIMULATOR
c9d89d97f   Yoichi Yuasa   MIPS: Kconfig: Re...
697
  	bool "Cavium Networks Octeon Simulator"
a86c7f724   David Daney   MIPS: Add Cavium ...
698
699
700
701
702
  	select CEVT_R4K
  	select 64BIT_PHYS_ADDR
  	select DMA_COHERENT
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
773cb77d0   Ralf Baechle   MIPS: Cavium: Add...
703
  	select SYS_SUPPORTS_HOTPLUG_CPU
5e6833892   David Daney   MIPS: Only allow ...
704
  	select SYS_HAS_CPU_CAVIUM_OCTEON
465aaed00   David Daney   MIPS: Octeon: Sel...
705
  	select HOLES_IN_ZONE
a86c7f724   David Daney   MIPS: Add Cavium ...
706
707
708
709
710
711
  	help
  	  The Octeon simulator is software performance model of the Cavium
  	  Octeon Processor. It supports simulating Octeon processors on x86
  	  hardware.
  
  config CAVIUM_OCTEON_REFERENCE_BOARD
c9d89d97f   Yoichi Yuasa   MIPS: Kconfig: Re...
712
  	bool "Cavium Networks Octeon reference board"
a86c7f724   David Daney   MIPS: Add Cavium ...
713
714
715
716
717
  	select CEVT_R4K
  	select 64BIT_PHYS_ADDR
  	select DMA_COHERENT
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
773cb77d0   Ralf Baechle   MIPS: Cavium: Add...
718
  	select SYS_SUPPORTS_HOTPLUG_CPU
a86c7f724   David Daney   MIPS: Add Cavium ...
719
  	select SYS_HAS_EARLY_PRINTK
5e6833892   David Daney   MIPS: Only allow ...
720
  	select SYS_HAS_CPU_CAVIUM_OCTEON
a86c7f724   David Daney   MIPS: Add Cavium ...
721
  	select SWAP_IO_SPACE
e8635b484   David Daney   MIPS: Add Cavium ...
722
723
  	select HW_HAS_PCI
  	select ARCH_SUPPORTS_MSI
f00e001e9   David Daney   MIPS: Octeon: Sel...
724
  	select ZONE_DMA32
340fbb8b1   David Daney   MIPS: Add platfor...
725
726
  	select USB_ARCH_HAS_OHCI
  	select USB_ARCH_HAS_EHCI
465aaed00   David Daney   MIPS: Octeon: Sel...
727
  	select HOLES_IN_ZONE
a86c7f724   David Daney   MIPS: Add Cavium ...
728
729
730
731
732
733
734
735
736
737
738
739
  	help
  	  This option supports all of the Octeon reference boards from Cavium
  	  Networks. It builds a kernel that dynamically determines the Octeon
  	  CPU type and supports all known board reference implementations.
  	  Some of the supported boards are:
  		EBT3000
  		EBH3000
  		EBH3100
  		Thunder
  		Kodama
  		Hikari
  	  Say Y here for most Octeon reference boards.
7f058e852   Jayachandran C   MIPS: Kconfig and...
740
741
742
743
744
  config NLM_XLR_BOARD
  	bool "Netlogic XLR/XLS based systems"
  	depends on EXPERIMENTAL
  	select BOOT_ELF32
  	select NLM_COMMON
7f058e852   Jayachandran C   MIPS: Kconfig and...
745
746
747
748
749
750
751
752
753
754
755
756
757
758
  	select SYS_HAS_CPU_XLR
  	select SYS_SUPPORTS_SMP
  	select HW_HAS_PCI
  	select SWAP_IO_SPACE
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select 64BIT_PHYS_ADDR
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_HIGHMEM
  	select DMA_COHERENT
  	select NR_CPUS_DEFAULT_32
  	select CEVT_R4K
  	select CSRC_R4K
  	select IRQ_CPU
f32671a86   Ganesan Ramalingam   MIPS: Netlogic: A...
759
  	select ARCH_SUPPORTS_MSI
7f058e852   Jayachandran C   MIPS: Kconfig and...
760
761
762
763
764
765
  	select ZONE_DMA if 64BIT
  	select SYNC_R4K
  	select SYS_HAS_EARLY_PRINTK
  	help
  	  Support for systems based on Netlogic XLR and XLS processors.
  	  Say Y here if you have a XLR or XLS based board.
1c773ea4d   Jayachandran C   MIPS: Netlogic: A...
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
  config NLM_XLP_BOARD
  	bool "Netlogic XLP based systems"
  	depends on EXPERIMENTAL
  	select BOOT_ELF32
  	select NLM_COMMON
  	select SYS_HAS_CPU_XLP
  	select SYS_SUPPORTS_SMP
  	select HW_HAS_PCI
  	select SWAP_IO_SPACE
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select 64BIT_PHYS_ADDR
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_LITTLE_ENDIAN
  	select SYS_SUPPORTS_HIGHMEM
  	select DMA_COHERENT
  	select NR_CPUS_DEFAULT_32
  	select CEVT_R4K
  	select CSRC_R4K
  	select IRQ_CPU
  	select ZONE_DMA if 64BIT
  	select SYNC_R4K
  	select SYS_HAS_EARLY_PRINTK
  	help
  	  This board is based on Netlogic XLP Processor.
  	  Say Y here if you have a XLP based board.
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
792
  endchoice
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
793

e8c7c4823   Ralf Baechle   MIPS: Alchemy: re...
794
  source "arch/mips/alchemy/Kconfig"
d4a67d9dc   Gabor Juhos   MIPS: Add initial...
795
  source "arch/mips/ath79/Kconfig"
a656ffcbc   Hauke Mehrtens   bcm47xx: make it ...
796
  source "arch/mips/bcm47xx/Kconfig"
e7300d04b   Maxime Bizon   MIPS: BCM63xx: Ad...
797
  source "arch/mips/bcm63xx/Kconfig"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
798
  source "arch/mips/jazz/Kconfig"
5ebabe598   Lars-Peter Clausen   MIPS: JZ4740: Add...
799
  source "arch/mips/jz4740/Kconfig"
8ec6d9350   John Crispin   MIPS: Lantiq: add...
800
  source "arch/mips/lantiq/Kconfig"
1f21d2bde   Brian Murphy   [MIPS] Add back s...
801
  source "arch/mips/lasat/Kconfig"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
802
  source "arch/mips/pmc-sierra/Kconfig"
a3a0f8c8e   David VomLehn   MIPS: PowerTV: Ba...
803
  source "arch/mips/powertv/Kconfig"
29c486994   Ralf Baechle   It works better w...
804
  source "arch/mips/sgi-ip27/Kconfig"
38b18f725   Ralf Baechle   Move Sibyte Kconf...
805
  source "arch/mips/sibyte/Kconfig"
22b1d707f   Atsushi Nemoto   [MIPS] TXx9: Reor...
806
  source "arch/mips/txx9/Kconfig"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
807
  source "arch/mips/vr41xx/Kconfig"
a86c7f724   David Daney   MIPS: Add Cavium ...
808
  source "arch/mips/cavium-octeon/Kconfig"
85749d24b   Wu Zhangjin   MIPS: Loongson: S...
809
  source "arch/mips/loongson/Kconfig"
7f058e852   Jayachandran C   MIPS: Kconfig and...
810
  source "arch/mips/netlogic/Kconfig"
38b18f725   Ralf Baechle   Move Sibyte Kconf...
811

5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
812
  endmenu
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
813
814
815
816
817
818
  config RWSEM_GENERIC_SPINLOCK
  	bool
  	default y
  
  config RWSEM_XCHGADD_ALGORITHM
  	bool
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
819
820
821
822
823
824
825
  config ARCH_HAS_ILOG2_U32
  	bool
  	default n
  
  config ARCH_HAS_ILOG2_U64
  	bool
  	default n
3c9ee7ef8   Akinobu Mita   [PATCH] bitops: m...
826
827
828
  config GENERIC_HWEIGHT
  	bool
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
829
830
831
  config GENERIC_CALIBRATE_DELAY
  	bool
  	default y
7bcf7717b   Ralf Baechle   [MIPS] Implement ...
832
833
834
  config GENERIC_CLOCKEVENTS
  	bool
  	default y
f5ff0a280   Ralf Baechle   [MIPS] Use generi...
835
836
837
  config GENERIC_CMOS_UPDATE
  	bool
  	default y
ae1e9130b   Ingo Molnar   sched: rename SCH...
838
  config SCHED_OMIT_FRAME_POINTER
1cc89038f   Atsushi Nemoto   [MIPS] Enable SCH...
839
840
  	bool
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
841
842
843
844
845
  #
  # Select some configuration options automatically based on user selections.
  #
  config ARC
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
846

61ed242d7   Ralf Baechle   Use ARCH_MAY_HAVE...
847
848
  config ARCH_MAY_HAVE_PC_FDC
  	bool
9267a30d1   Marc St-Jean   [MIPS] PMC MSP71x...
849
850
  config BOOT_RAW
  	bool
217dd11e9   Ralf Baechle   [MIPS] Sibyte: Sp...
851
852
  config CEVT_BCM1480
  	bool
6457d9fc3   Yoichi Yuasa   [MIPS] DS1287: Ad...
853
854
  config CEVT_DS1287
  	bool
1097c6ac3   Yoichi Yuasa   [MIPS] time: Add ...
855
856
  config CEVT_GT641XX
  	bool
779e7d41a   Manuel Lauss   MIPS: make cp0 co...
857
858
  config CEVT_R4K_LIB
  	bool
42f77542f   Ralf Baechle   [MIPS] time: Move...
859
  config CEVT_R4K
779e7d41a   Manuel Lauss   MIPS: make cp0 co...
860
  	select CEVT_R4K_LIB
42f77542f   Ralf Baechle   [MIPS] time: Move...
861
  	bool
217dd11e9   Ralf Baechle   [MIPS] Sibyte: Sp...
862
863
  config CEVT_SB1250
  	bool
229f773ef   Atsushi Nemoto   [MIPS] txx9tmr cl...
864
865
  config CEVT_TXX9
  	bool
217dd11e9   Ralf Baechle   [MIPS] Sibyte: Sp...
866
867
  config CSRC_BCM1480
  	bool
4247417d8   Yoichi Yuasa   [MIPS] add DECsta...
868
869
  config CSRC_IOASIC
  	bool
a3a0f8c8e   David VomLehn   MIPS: PowerTV: Ba...
870
871
  config CSRC_POWERTV
  	bool
779e7d41a   Manuel Lauss   MIPS: make cp0 co...
872
873
  config CSRC_R4K_LIB
  	bool
940f6b48a   Ralf Baechle   [MIPS] Only build...
874
  config CSRC_R4K
779e7d41a   Manuel Lauss   MIPS: make cp0 co...
875
  	select CSRC_R4K_LIB
940f6b48a   Ralf Baechle   [MIPS] Only build...
876
  	bool
217dd11e9   Ralf Baechle   [MIPS] Sibyte: Sp...
877
878
  config CSRC_SB1250
  	bool
a9aec7fe7   Atsushi Nemoto   [MIPS] generic tx...
879
880
  config GPIO_TXX9
  	select GENERIC_GPIO
7444a72ef   Michael Buesch   gpiolib: allow us...
881
  	select ARCH_REQUIRE_GPIOLIB
a9aec7fe7   Atsushi Nemoto   [MIPS] generic tx...
882
  	bool
df78b5c8f   Aurelien Jarno   [MIPS] Move CFE c...
883
884
  config CFE
  	bool
4bafad922   FUJITA Tomonori   MIPS: Enable ARCH...
885
886
  config ARCH_DMA_ADDR_T_64BIT
  	def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
4ce588cd5   Ralf Baechle   [PATCH] mips: fix...
887
  config DMA_COHERENT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
888
  	bool
4ce588cd5   Ralf Baechle   [PATCH] mips: fix...
889
890
  config DMA_NONCOHERENT
  	bool
e1e02b329   FUJITA Tomonori   pci-dma: mips: us...
891
  	select NEED_DMA_MAP_STATE
4ce588cd5   Ralf Baechle   [PATCH] mips: fix...
892

e1e02b329   FUJITA Tomonori   pci-dma: mips: us...
893
  config NEED_DMA_MAP_STATE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
894
  	bool
36a885306   Ralf Baechle   [MIPS] Fix and cl...
895
  config SYS_HAS_EARLY_PRINTK
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
896
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
897

dbb74540a   Ralf Baechle   [MIPS] Kconfig: F...
898
  config HOTPLUG_CPU
1b2bc75c1   Ralf Baechle   MIPS: Add arch ge...
899
900
901
902
903
904
905
906
907
908
  	bool "Support for hot-pluggable CPUs"
  	depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
  	help
  	  Say Y here to allow turning CPUs off and on. CPUs can be
  	  controlled through /sys/devices/system/cpu.
  	  (Note: power management support will enable this option
  	    automatically on SMP systems. )
  	  Say N if you want to disable CPU hotplug.
  
  config SYS_SUPPORTS_HOTPLUG_CPU
dbb74540a   Ralf Baechle   [MIPS] Kconfig: F...
909
  	bool
dbb74540a   Ralf Baechle   [MIPS] Kconfig: F...
910

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
911
912
  config I8259
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
913

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
914
915
  config MIPS_BONITO64
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
916
917
918
  
  config MIPS_MSC
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
919

1f21d2bde   Brian Murphy   [MIPS] Add back s...
920
921
  config MIPS_NILE4
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
922
923
  config MIPS_DISABLE_OBSOLETE_IDE
  	bool
39b8d5254   Ralf Baechle   [MIPS] Add suppor...
924
925
  config SYNC_R4K
  	bool
487d70d0b   Gabor Juhos   MIPS: Add generic...
926
927
  config MIPS_MACHINE
  	def_bool n
d388d6853   Maciej W. Rozycki   [MIPS] No I/O por...
928
929
  config NO_IOPORT
  	def_bool n
8313da304   Ralf Baechle   [MIPS] Sort out h...
930
931
932
  config GENERIC_ISA_DMA
  	bool
  	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
a35bee8a2   Namhyung Kim   MIPS: Enable ISA_...
933
  	select ISA_DMA_API
8313da304   Ralf Baechle   [MIPS] Sort out h...
934

aa414dff4   Ralf Baechle   [MIPS] Remove dup...
935
936
  config GENERIC_ISA_DMA_SUPPORT_BROKEN
  	bool
8313da304   Ralf Baechle   [MIPS] Sort out h...
937
  	select GENERIC_ISA_DMA
aa414dff4   Ralf Baechle   [MIPS] Remove dup...
938

a35bee8a2   Namhyung Kim   MIPS: Enable ISA_...
939
940
  config ISA_DMA_API
  	bool
096633358   Yoichi Yuasa   [MIPS] Add generi...
941
942
  config GENERIC_GPIO
  	bool
465aaed00   David Daney   MIPS: Octeon: Sel...
943
944
  config HOLES_IN_ZONE
  	bool
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
945
  #
3cb2fccc5   Matt LaPlante   Fix misc Kconfig ...
946
  # Endianess selection.  Sufficiently obscure so many users don't know what to
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
947
948
949
950
951
  # answer,so we try hard to limit the available choices.  Also the use of a
  # choice statement should be more obvious to the user.
  #
  choice
  	prompt "Endianess selection"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
952
953
  	help
  	  Some MIPS machines can be configured for either little or big endian
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
954
  	  byte order. These modes require different kernels and a different
3cb2fccc5   Matt LaPlante   Fix misc Kconfig ...
955
  	  Linux distribution.  In general there is one preferred byteorder for a
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
956
  	  particular system but some systems are just as commonly used in the
3dde6ad8f   David Sterba   Fix trivial typos...
957
  	  one or the other endianness.
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
958
959
960
961
962
963
964
965
966
967
968
  
  config CPU_BIG_ENDIAN
  	bool "Big endian"
  	depends on SYS_SUPPORTS_BIG_ENDIAN
  
  config CPU_LITTLE_ENDIAN
  	bool "Little endian"
  	depends on SYS_SUPPORTS_LITTLE_ENDIAN
  	help
  
  endchoice
22b0763a2   David Daney   MIPS: uasm: Add o...
969
970
  config EXPORT_UASM
  	bool
2116245ee   Ralf Baechle   [APM] MIPS: Conve...
971
972
  config SYS_SUPPORTS_APM_EMULATION
  	bool
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
973
974
975
976
977
  config SYS_SUPPORTS_BIG_ENDIAN
  	bool
  
  config SYS_SUPPORTS_LITTLE_ENDIAN
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
978

9cffd154c   David Daney   MIPS: Kconfig Add...
979
980
981
982
  config SYS_SUPPORTS_HUGETLBFS
  	bool
  	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
983
984
985
986
987
  config IRQ_CPU
  	bool
  
  config IRQ_CPU_RM7K
  	bool
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
988
989
  config IRQ_CPU_RM9K
  	bool
9267a30d1   Marc St-Jean   [MIPS] PMC MSP71x...
990
991
992
993
994
  config IRQ_MSP_SLP
  	bool
  
  config IRQ_MSP_CIC
  	bool
8420fd00e   Atsushi Nemoto   [MIPS] The irq_ch...
995
996
  config IRQ_TXX9
  	bool
d5ab1a691   Yoichi Yuasa   [MIPS] Add GT641x...
997
998
  config IRQ_GT641XX
  	bool
39b8d5254   Ralf Baechle   [MIPS] Add suppor...
999
1000
  config IRQ_GIC
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1001
1002
  config MIPS_BOARDS_GEN
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1003

252161ecc   Yoichi Yuasa   [MIPS] merge GT64...
1004
  config PCI_GT64XXX_PCI0
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1005
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1006

9267a30d1   Marc St-Jean   [MIPS] PMC MSP71x...
1007
1008
  config NO_EXCEPT_FILL
  	bool
663c3d900   thomas@koeller.dyndns.org   [MIPS] Add config...
1009
1010
1011
  config MIPS_RM9122
  	bool
  	select SERIAL_RM9000
663c3d900   thomas@koeller.dyndns.org   [MIPS] Add config...
1012

a83860c2d   Ralf Baechle   MIPS: Mark Eins: ...
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
  config SOC_EMMA2RH
  	bool
  	select CEVT_R4K
  	select CSRC_R4K
  	select DMA_NONCOHERENT
  	select IRQ_CPU
  	select SWAP_IO_SPACE
  	select SYS_HAS_CPU_R5500
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
edb6310aa   Daniel Laird   MIPS: Add support...
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
  config SOC_PNX833X
  	bool
  	select CEVT_R4K
  	select CSRC_R4K
  	select IRQ_CPU
  	select DMA_NONCOHERENT
  	select SYS_HAS_CPU_MIPS32_R2
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select SYS_SUPPORTS_LITTLE_ENDIAN
  	select SYS_SUPPORTS_BIG_ENDIAN
edb6310aa   Daniel Laird   MIPS: Add support...
1034
1035
1036
1037
1038
1039
  	select GENERIC_GPIO
  	select CPU_MIPSR2_IRQ_VI
  
  config SOC_PNX8335
  	bool
  	select SOC_PNX833X
bdf21b18b   Pete Popov   Philips PNX8550 s...
1040
1041
1042
1043
1044
1045
  config PNX8550
  	bool
  	select SOC_PNX8550
  
  config SOC_PNX8550
  	bool
bdf21b18b   Pete Popov   Philips PNX8550 s...
1046
1047
  	select DMA_NONCOHERENT
  	select HW_HAS_PCI
b8c2a77ce   Ralf Baechle   PNX8550 uses a MI...
1048
  	select SYS_HAS_CPU_MIPS32_R1
36a885306   Ralf Baechle   [MIPS] Fix and cl...
1049
  	select SYS_HAS_EARLY_PRINTK
7cf8053b8   Ralf Baechle   More foolproofing...
1050
  	select SYS_SUPPORTS_32BIT_KERNEL
4ead16819   Florian Fainelli   [MIPS] Add generi...
1051
  	select GENERIC_GPIO
bdf21b18b   Pete Popov   Philips PNX8550 s...
1052

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1053
1054
  config SWAP_IO_SPACE
  	bool
663c3d900   thomas@koeller.dyndns.org   [MIPS] Add config...
1055
1056
  config SERIAL_RM9000
  	bool
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
1057
1058
  config SGI_HAS_INDYDOG
  	bool
5b438c440   Thomas Bogendoerfer   [MIPS] IP22/28: A...
1059
1060
  config SGI_HAS_HAL2
  	bool
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
  config SGI_HAS_SEEQ
  	bool
  
  config SGI_HAS_WD93
  	bool
  
  config SGI_HAS_ZILOG
  	bool
  
  config SGI_HAS_I8042
  	bool
  
  config DEFAULT_SGI_PARTITION
  	bool
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1075
1076
  config ARC32
  	bool
231a35d37   Thomas Bogendoerfer   [MIPS] RM: Collec...
1077
1078
  config SNIPROM
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1079
1080
  config BOOT_ELF32
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1081
1082
1083
  
  config MIPS_L1_CACHE_SHIFT
  	int
c70887555   Ralf Baechle   MIPS: Kconfig: Fi...
1084
  	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
0db2b74e9   Ralf Baechle   MIPS: Set S-cache...
1085
  	default "6" if MIPS_CPU_SCACHE
a86c7f724   David Daney   MIPS: Add Cavium ...
1086
  	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1087
  	default "5"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1088
1089
  config HAVE_STD_PC_SERIAL_PORT
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1090
1091
  config ARC_CONSOLE
  	bool "ARC console support"
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
1092
  	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1093
1094
1095
  
  config ARC_MEMORY
  	bool
14b36af46   Thomas Bogendoerfer   [MIPS] Rename SNI...
1096
  	depends on MACH_JAZZ || SNI_RM || SGI_IP32
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1097
1098
1099
1100
  	default y
  
  config ARC_PROMLIB
  	bool
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
1101
  	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1102
1103
1104
1105
  	default y
  
  config ARC64
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1106
1107
1108
  
  config BOOT_ELF64
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1109

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1110
1111
1112
1113
1114
  menu "CPU selection"
  
  choice
  	prompt "CPU type"
  	default CPU_R4X00
3702bba5e   Wu Zhangjin   MIPS: Loongson: A...
1115
1116
1117
1118
  config CPU_LOONGSON2E
  	bool "Loongson 2E"
  	depends on SYS_HAS_CPU_LOONGSON2E
  	select CPU_LOONGSON2
2a21c7300   Fuxin Zhang   [MIPS] define Hit...
1119
1120
1121
  	help
  	  The Loongson 2E processor implements the MIPS III instruction set
  	  with many extensions.
25985edce   Lucas De Marchi   Fix common misspe...
1122
  	  It has an internal FPGA northbridge, which is compatible to
6f7a251a2   Wu Zhangjin   MIPS: Loongson: A...
1123
1124
1125
1126
1127
1128
  	  bonito64.
  
  config CPU_LOONGSON2F
  	bool "Loongson 2F"
  	depends on SYS_HAS_CPU_LOONGSON2F
  	select CPU_LOONGSON2
c197da916   Arnaud Patard   MIPS: Loongson 2F...
1129
1130
  	select GENERIC_GPIO
  	select ARCH_REQUIRE_GPIOLIB
6f7a251a2   Wu Zhangjin   MIPS: Loongson: A...
1131
1132
1133
1134
1135
1136
1137
  	help
  	  The Loongson 2F processor implements the MIPS III instruction set
  	  with many extensions.
  
  	  Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
  	  have a similar programming interface with FPGA northbridge used in
  	  Loongson2E.
6e760c8da   Ralf Baechle   Rename CONFIG_CPU...
1138
1139
  config CPU_MIPS32_R1
  	bool "MIPS32 Release 1"
7cf8053b8   Ralf Baechle   More foolproofing...
1140
  	depends on SYS_HAS_CPU_MIPS32_R1
6e760c8da   Ralf Baechle   Rename CONFIG_CPU...
1141
  	select CPU_HAS_PREFETCH
797798c1b   Ralf Baechle   A little more Kco...
1142
  	select CPU_SUPPORTS_32BIT_KERNEL
ec28f3065   Ralf Baechle   [MIPS] Enable hig...
1143
  	select CPU_SUPPORTS_HIGHMEM
6e760c8da   Ralf Baechle   Rename CONFIG_CPU...
1144
  	help
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1145
  	  Choose this option to build a kernel for release 1 or later of the
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
  	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
  	  MIPS processor are based on a MIPS32 processor.  If you know the
  	  specific type of processor in your system, choose those that one
  	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  	  Release 2 of the MIPS32 architecture is available since several
  	  years so chances are you even have a MIPS32 Release 2 processor
  	  in which case you should choose CPU_MIPS32_R2 instead for better
  	  performance.
  
  config CPU_MIPS32_R2
  	bool "MIPS32 Release 2"
7cf8053b8   Ralf Baechle   More foolproofing...
1157
  	depends on SYS_HAS_CPU_MIPS32_R2
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1158
  	select CPU_HAS_PREFETCH
797798c1b   Ralf Baechle   A little more Kco...
1159
  	select CPU_SUPPORTS_32BIT_KERNEL
ec28f3065   Ralf Baechle   [MIPS] Enable hig...
1160
  	select CPU_SUPPORTS_HIGHMEM
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1161
  	help
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1162
  	  Choose this option to build a kernel for release 2 or later of the
6e760c8da   Ralf Baechle   Rename CONFIG_CPU...
1163
1164
1165
1166
1167
1168
1169
  	  MIPS32 architecture.  Most modern embedded systems with a 32-bit
  	  MIPS processor are based on a MIPS32 processor.  If you know the
  	  specific type of processor in your system, choose those that one
  	  otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
  
  config CPU_MIPS64_R1
  	bool "MIPS64 Release 1"
7cf8053b8   Ralf Baechle   More foolproofing...
1170
  	depends on SYS_HAS_CPU_MIPS64_R1
797798c1b   Ralf Baechle   A little more Kco...
1171
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1172
1173
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
ec28f3065   Ralf Baechle   [MIPS] Enable hig...
1174
  	select CPU_SUPPORTS_HIGHMEM
9cffd154c   David Daney   MIPS: Kconfig Add...
1175
  	select CPU_SUPPORTS_HUGEPAGES
6e760c8da   Ralf Baechle   Rename CONFIG_CPU...
1176
1177
1178
1179
1180
1181
  	help
  	  Choose this option to build a kernel for release 1 or later of the
  	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
  	  MIPS processor are based on a MIPS64 processor.  If you know the
  	  specific type of processor in your system, choose those that one
  	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1182
1183
1184
1185
1186
1187
1188
  	  Release 2 of the MIPS64 architecture is available since several
  	  years so chances are you even have a MIPS64 Release 2 processor
  	  in which case you should choose CPU_MIPS64_R2 instead for better
  	  performance.
  
  config CPU_MIPS64_R2
  	bool "MIPS64 Release 2"
7cf8053b8   Ralf Baechle   More foolproofing...
1189
  	depends on SYS_HAS_CPU_MIPS64_R2
797798c1b   Ralf Baechle   A little more Kco...
1190
  	select CPU_HAS_PREFETCH
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1191
1192
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
ec28f3065   Ralf Baechle   [MIPS] Enable hig...
1193
  	select CPU_SUPPORTS_HIGHMEM
9cffd154c   David Daney   MIPS: Kconfig Add...
1194
  	select CPU_SUPPORTS_HUGEPAGES
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1195
1196
1197
1198
1199
1200
  	help
  	  Choose this option to build a kernel for release 2 or later of the
  	  MIPS64 architecture.  Many modern embedded systems with a 64-bit
  	  MIPS processor are based on a MIPS64 processor.  If you know the
  	  specific type of processor in your system, choose those that one
  	  otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1201
1202
1203
  
  config CPU_R3000
  	bool "R3000"
7cf8053b8   Ralf Baechle   More foolproofing...
1204
  	depends on SYS_HAS_CPU_R3000
f7062ddb2   Ralf Baechle   [MIPS] Get rid of...
1205
  	select CPU_HAS_WB
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1206
  	select CPU_SUPPORTS_32BIT_KERNEL
797798c1b   Ralf Baechle   A little more Kco...
1207
  	select CPU_SUPPORTS_HIGHMEM
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
  	help
  	  Please make sure to pick the right CPU type. Linux/MIPS is not
  	  designed to be generic, i.e. Kernels compiled for R3000 CPUs will
  	  *not* work on R4000 machines and vice versa.  However, since most
  	  of the supported machines have an R4000 (or similar) CPU, R4x00
  	  might be a safe bet.  If the resulting kernel does not work,
  	  try to recompile with R3000.
  
  config CPU_TX39XX
  	bool "R39XX"
7cf8053b8   Ralf Baechle   More foolproofing...
1218
  	depends on SYS_HAS_CPU_TX39XX
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1219
  	select CPU_SUPPORTS_32BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1220
1221
1222
  
  config CPU_VR41XX
  	bool "R41xx"
7cf8053b8   Ralf Baechle   More foolproofing...
1223
  	depends on SYS_HAS_CPU_VR41XX
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1224
1225
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1226
  	help
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1227
  	  The options selects support for the NEC VR4100 series of processors.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1228
1229
1230
1231
1232
1233
  	  Only choose this option if you have one of these processors as a
  	  kernel built with this option will not run on any other type of
  	  processor or vice versa.
  
  config CPU_R4300
  	bool "R4300"
7cf8053b8   Ralf Baechle   More foolproofing...
1234
  	depends on SYS_HAS_CPU_R4300
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1235
1236
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1237
1238
1239
1240
1241
  	help
  	  MIPS Technologies R4300-series processors.
  
  config CPU_R4X00
  	bool "R4x00"
7cf8053b8   Ralf Baechle   More foolproofing...
1242
  	depends on SYS_HAS_CPU_R4X00
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1243
1244
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1245
1246
1247
1248
1249
1250
  	help
  	  MIPS Technologies R4000-series processors other than 4300, including
  	  the R4000, R4400, R4600, and 4700.
  
  config CPU_TX49XX
  	bool "R49XX"
7cf8053b8   Ralf Baechle   More foolproofing...
1251
  	depends on SYS_HAS_CPU_TX49XX
de862b488   Atsushi Nemoto   [MIPS] TX49XX has...
1252
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1253
1254
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1255
1256
1257
  
  config CPU_R5000
  	bool "R5000"
7cf8053b8   Ralf Baechle   More foolproofing...
1258
  	depends on SYS_HAS_CPU_R5000
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1259
1260
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1261
1262
1263
1264
1265
  	help
  	  MIPS Technologies R5000-series processors other than the Nevada.
  
  config CPU_R5432
  	bool "R5432"
7cf8053b8   Ralf Baechle   More foolproofing...
1266
  	depends on SYS_HAS_CPU_R5432
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1267
1268
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1269

542c1020a   Shinya Kuribayashi   MIPS: Add CONFIG_...
1270
1271
1272
  config CPU_R5500
  	bool "R5500"
  	depends on SYS_HAS_CPU_R5500
542c1020a   Shinya Kuribayashi   MIPS: Add CONFIG_...
1273
1274
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
9cffd154c   David Daney   MIPS: Kconfig Add...
1275
  	select CPU_SUPPORTS_HUGEPAGES
542c1020a   Shinya Kuribayashi   MIPS: Add CONFIG_...
1276
1277
1278
  	help
  	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  	  instruction set.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1279
1280
  config CPU_R6000
  	bool "R6000"
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1281
  	depends on EXPERIMENTAL
7cf8053b8   Ralf Baechle   More foolproofing...
1282
  	depends on SYS_HAS_CPU_R6000
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1283
  	select CPU_SUPPORTS_32BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1284
1285
  	help
  	  MIPS Technologies R6000 and R6000A series processors.  Note these
c09b47d8a   Chris Dearman   [MIPS] Typo fixes.
1286
  	  processors are extremely rare and the support for them is incomplete.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1287
1288
1289
  
  config CPU_NEVADA
  	bool "RM52xx"
7cf8053b8   Ralf Baechle   More foolproofing...
1290
  	depends on SYS_HAS_CPU_NEVADA
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1291
1292
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1293
1294
1295
1296
1297
  	help
  	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  
  config CPU_R8000
  	bool "R8000"
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1298
  	depends on EXPERIMENTAL
7cf8053b8   Ralf Baechle   More foolproofing...
1299
  	depends on SYS_HAS_CPU_R8000
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1300
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1301
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1302
1303
1304
1305
1306
1307
  	help
  	  MIPS Technologies R8000 processors.  Note these processors are
  	  uncommon and the support for them is incomplete.
  
  config CPU_R10000
  	bool "R10000"
7cf8053b8   Ralf Baechle   More foolproofing...
1308
  	depends on SYS_HAS_CPU_R10000
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1309
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1310
1311
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
797798c1b   Ralf Baechle   A little more Kco...
1312
  	select CPU_SUPPORTS_HIGHMEM
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1313
1314
1315
1316
1317
  	help
  	  MIPS Technologies R10000-series processors.
  
  config CPU_RM7000
  	bool "RM7000"
7cf8053b8   Ralf Baechle   More foolproofing...
1318
  	depends on SYS_HAS_CPU_RM7000
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1319
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1320
1321
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
797798c1b   Ralf Baechle   A little more Kco...
1322
  	select CPU_SUPPORTS_HIGHMEM
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1323
1324
1325
  
  config CPU_RM9000
  	bool "RM9000"
7cf8053b8   Ralf Baechle   More foolproofing...
1326
  	depends on SYS_HAS_CPU_RM9000
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1327
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1328
1329
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
797798c1b   Ralf Baechle   A little more Kco...
1330
  	select CPU_SUPPORTS_HIGHMEM
0004a9dfe   Ralf Baechle   [MIPS] Cleanup me...
1331
  	select WEAK_ORDERING
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1332
1333
1334
  
  config CPU_SB1
  	bool "SB1"
7cf8053b8   Ralf Baechle   More foolproofing...
1335
  	depends on SYS_HAS_CPU_SB1
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1336
1337
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
797798c1b   Ralf Baechle   A little more Kco...
1338
  	select CPU_SUPPORTS_HIGHMEM
0004a9dfe   Ralf Baechle   [MIPS] Cleanup me...
1339
  	select WEAK_ORDERING
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1340

a86c7f724   David Daney   MIPS: Add Cavium ...
1341
1342
  config CPU_CAVIUM_OCTEON
  	bool "Cavium Octeon processor"
5e6833892   David Daney   MIPS: Only allow ...
1343
  	depends on SYS_HAS_CPU_CAVIUM_OCTEON
a86c7f724   David Daney   MIPS: Add Cavium ...
1344
1345
1346
1347
1348
  	select CPU_HAS_PREFETCH
  	select CPU_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_SMP
  	select NR_CPUS_DEFAULT_16
  	select WEAK_ORDERING
a86c7f724   David Daney   MIPS: Add Cavium ...
1349
  	select CPU_SUPPORTS_HIGHMEM
9cffd154c   David Daney   MIPS: Kconfig Add...
1350
  	select CPU_SUPPORTS_HUGEPAGES
a86c7f724   David Daney   MIPS: Add Cavium ...
1351
1352
1353
1354
1355
  	help
  	  The Cavium Octeon processor is a highly integrated chip containing
  	  many ethernet hardware widgets for networking tasks. The processor
  	  can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
  	  Full details can be found at http://www.caviumnetworks.com.
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1356
1357
1358
  config CPU_BMIPS3300
  	bool "BMIPS3300"
  	depends on SYS_HAS_CPU_BMIPS3300
1bbb6c1b7   Kevin Cernekee   MIPS: BMIPS: Fix ...
1359
  	select CPU_BMIPS
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1360
1361
1362
1363
1364
1365
  	help
  	  Broadcom BMIPS3300 processors.
  
  config CPU_BMIPS4350
  	bool "BMIPS4350"
  	depends on SYS_HAS_CPU_BMIPS4350
1bbb6c1b7   Kevin Cernekee   MIPS: BMIPS: Fix ...
1366
  	select CPU_BMIPS
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1367
1368
  	select SYS_SUPPORTS_SMP
  	select SYS_SUPPORTS_HOTPLUG_CPU
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1369
1370
1371
1372
1373
1374
  	help
  	  Broadcom BMIPS4350 ("VIPER") processors.
  
  config CPU_BMIPS4380
  	bool "BMIPS4380"
  	depends on SYS_HAS_CPU_BMIPS4380
1bbb6c1b7   Kevin Cernekee   MIPS: BMIPS: Fix ...
1375
  	select CPU_BMIPS
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1376
1377
  	select SYS_SUPPORTS_SMP
  	select SYS_SUPPORTS_HOTPLUG_CPU
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1378
1379
1380
1381
1382
1383
  	help
  	  Broadcom BMIPS4380 processors.
  
  config CPU_BMIPS5000
  	bool "BMIPS5000"
  	depends on SYS_HAS_CPU_BMIPS5000
1bbb6c1b7   Kevin Cernekee   MIPS: BMIPS: Fix ...
1384
  	select CPU_BMIPS
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1385
  	select CPU_SUPPORTS_HIGHMEM
1bbb6c1b7   Kevin Cernekee   MIPS: BMIPS: Fix ...
1386
  	select MIPS_CPU_SCACHE
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1387
1388
  	select SYS_SUPPORTS_SMP
  	select SYS_SUPPORTS_HOTPLUG_CPU
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1389
1390
  	help
  	  Broadcom BMIPS5000 processors.
7f058e852   Jayachandran C   MIPS: Kconfig and...
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
  config CPU_XLR
  	bool "Netlogic XLR SoC"
  	depends on SYS_HAS_CPU_XLR
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
  	select CPU_SUPPORTS_HIGHMEM
  	select WEAK_ORDERING
  	select WEAK_REORDERING_BEYOND_LLSC
  	select CPU_SUPPORTS_HUGEPAGES
  	help
  	  Netlogic Microsystems XLR/XLS processors.
1c773ea4d   Jayachandran C   MIPS: Netlogic: A...
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
  
  config CPU_XLP
  	bool "Netlogic XLP SoC"
  	depends on SYS_HAS_CPU_XLP
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
  	select CPU_SUPPORTS_HIGHMEM
  	select CPU_HAS_LLSC
  	select WEAK_ORDERING
  	select WEAK_REORDERING_BEYOND_LLSC
  	select CPU_HAS_PREFETCH
  	help
  	  Netlogic Microsystems XLP processors.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1415
  endchoice
622844bf0   Wu Zhangjin   MIPS: Loongson: A...
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
  if CPU_LOONGSON2F
  config CPU_NOP_WORKAROUNDS
  	bool
  
  config CPU_JUMP_WORKAROUNDS
  	bool
  
  config CPU_LOONGSON2F_WORKAROUNDS
  	bool "Loongson 2F Workarounds"
  	default y
  	select CPU_NOP_WORKAROUNDS
  	select CPU_JUMP_WORKAROUNDS
  	help
  	  Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
  	  require workarounds.  Without workarounds the system may hang
  	  unexpectedly.  For more information please refer to the gas
  	  -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
  
  	  Loongson 2F03 and later have fixed these issues and no workarounds
  	  are needed.  The workarounds have no significant side effect on them
  	  but may decrease the performance of the system so this option should
  	  be disabled unless the kernel is intended to be run on 2F01 or 2F02
  	  systems.
  
  	  If unsure, please say Y.
  endif # CPU_LOONGSON2F
1b93b3c3e   Wu Zhangjin   MIPS: Add support...
1442
1443
1444
1445
1446
  config SYS_SUPPORTS_ZBOOT
  	bool
  	select HAVE_KERNEL_GZIP
  	select HAVE_KERNEL_BZIP2
  	select HAVE_KERNEL_LZMA
fe1d45e08   Wu Zhangjin   MIPS: Add support...
1447
  	select HAVE_KERNEL_LZO
1b93b3c3e   Wu Zhangjin   MIPS: Add support...
1448
1449
1450
1451
  
  config SYS_SUPPORTS_ZBOOT_UART16550
  	bool
  	select SYS_SUPPORTS_ZBOOT
3702bba5e   Wu Zhangjin   MIPS: Loongson: A...
1452
1453
1454
1455
1456
  config CPU_LOONGSON2
  	bool
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
  	select CPU_SUPPORTS_HIGHMEM
1bbb6c1b7   Kevin Cernekee   MIPS: BMIPS: Fix ...
1457
1458
1459
1460
1461
1462
1463
1464
  config CPU_BMIPS
  	bool
  	select CPU_MIPS32
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select DMA_NONCOHERENT
  	select IRQ_CPU
  	select SWAP_IO_SPACE
  	select WEAK_ORDERING
3702bba5e   Wu Zhangjin   MIPS: Loongson: A...
1465
  config SYS_HAS_CPU_LOONGSON2E
2a21c7300   Fuxin Zhang   [MIPS] define Hit...
1466
  	bool
6f7a251a2   Wu Zhangjin   MIPS: Loongson: A...
1467
1468
  config SYS_HAS_CPU_LOONGSON2F
  	bool
55045ff55   Wu Zhangjin   MIPS: Loongson 2F...
1469
1470
  	select CPU_SUPPORTS_CPUFREQ
  	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
22f1fdfd6   Wu Zhangjin   MIPS: Add support...
1471
  	select CPU_SUPPORTS_UNCACHED_ACCELERATED
6f7a251a2   Wu Zhangjin   MIPS: Loongson: A...
1472

7cf8053b8   Ralf Baechle   More foolproofing...
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
  config SYS_HAS_CPU_MIPS32_R1
  	bool
  
  config SYS_HAS_CPU_MIPS32_R2
  	bool
  
  config SYS_HAS_CPU_MIPS64_R1
  	bool
  
  config SYS_HAS_CPU_MIPS64_R2
  	bool
  
  config SYS_HAS_CPU_R3000
  	bool
  
  config SYS_HAS_CPU_TX39XX
  	bool
  
  config SYS_HAS_CPU_VR41XX
  	bool
  
  config SYS_HAS_CPU_R4300
  	bool
  
  config SYS_HAS_CPU_R4X00
  	bool
  
  config SYS_HAS_CPU_TX49XX
  	bool
  
  config SYS_HAS_CPU_R5000
  	bool
  
  config SYS_HAS_CPU_R5432
  	bool
542c1020a   Shinya Kuribayashi   MIPS: Add CONFIG_...
1508
1509
  config SYS_HAS_CPU_R5500
  	bool
7cf8053b8   Ralf Baechle   More foolproofing...
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
  config SYS_HAS_CPU_R6000
  	bool
  
  config SYS_HAS_CPU_NEVADA
  	bool
  
  config SYS_HAS_CPU_R8000
  	bool
  
  config SYS_HAS_CPU_R10000
  	bool
  
  config SYS_HAS_CPU_RM7000
  	bool
  
  config SYS_HAS_CPU_RM9000
  	bool
  
  config SYS_HAS_CPU_SB1
  	bool
5e6833892   David Daney   MIPS: Only allow ...
1530
1531
  config SYS_HAS_CPU_CAVIUM_OCTEON
  	bool
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
  config SYS_HAS_CPU_BMIPS3300
  	bool
  
  config SYS_HAS_CPU_BMIPS4350
  	bool
  
  config SYS_HAS_CPU_BMIPS4380
  	bool
  
  config SYS_HAS_CPU_BMIPS5000
  	bool
7f058e852   Jayachandran C   MIPS: Kconfig and...
1543
1544
  config SYS_HAS_CPU_XLR
  	bool
1c773ea4d   Jayachandran C   MIPS: Netlogic: A...
1545
1546
  config SYS_HAS_CPU_XLP
  	bool
17099b114   Ralf Baechle   [MIPS] Make suppo...
1547
1548
1549
1550
  #
  # CPU may reorder R->R, R->W, W->R, W->W
  # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
  #
0004a9dfe   Ralf Baechle   [MIPS] Cleanup me...
1551
1552
  config WEAK_ORDERING
  	bool
17099b114   Ralf Baechle   [MIPS] Make suppo...
1553
1554
1555
1556
1557
1558
1559
  
  #
  # CPU may reorder reads and writes beyond LL/SC
  # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
  #
  config WEAK_REORDERING_BEYOND_LLSC
  	bool
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1560
1561
1562
  endmenu
  
  #
c09b47d8a   Chris Dearman   [MIPS] Typo fixes.
1563
  # These two indicate any level of the MIPS32 and MIPS64 architecture
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
  #
  config CPU_MIPS32
  	bool
  	default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
  
  config CPU_MIPS64
  	bool
  	default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
  
  #
c09b47d8a   Chris Dearman   [MIPS] Typo fixes.
1574
  # These two indicate the revision of the architecture, either Release 1 or Release 2
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1575
1576
1577
1578
1579
1580
1581
  #
  config CPU_MIPSR1
  	bool
  	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  
  config CPU_MIPSR2
  	bool
a86c7f724   David Daney   MIPS: Add Cavium ...
1582
  	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1583
1584
1585
1586
1587
1588
1589
1590
1591
  
  config SYS_SUPPORTS_32BIT_KERNEL
  	bool
  config SYS_SUPPORTS_64BIT_KERNEL
  	bool
  config CPU_SUPPORTS_32BIT_KERNEL
  	bool
  config CPU_SUPPORTS_64BIT_KERNEL
  	bool
55045ff55   Wu Zhangjin   MIPS: Loongson 2F...
1592
1593
1594
1595
  config CPU_SUPPORTS_CPUFREQ
  	bool
  config CPU_SUPPORTS_ADDRWINCFG
  	bool
9cffd154c   David Daney   MIPS: Kconfig Add...
1596
1597
  config CPU_SUPPORTS_HUGEPAGES
  	bool
22f1fdfd6   Wu Zhangjin   MIPS: Add support...
1598
1599
  config CPU_SUPPORTS_UNCACHED_ACCELERATED
  	bool
82622284d   David Daney   MIPS: Put PGD in ...
1600
1601
1602
  config MIPS_PGD_C0_CONTEXT
  	bool
  	default y if 64BIT && CPU_MIPSR2
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1603

8192c9ea9   David Daney   MIPS: Add HARDWAR...
1604
1605
1606
1607
1608
  #
  # Set to y for ptrace access to watch registers.
  #
  config HARDWARE_WATCHPOINTS
         bool
f839490ab   David Daney   MIPS: Use hardwar...
1609
         default y if CPU_MIPSR1 || CPU_MIPSR2
8192c9ea9   David Daney   MIPS: Add HARDWAR...
1610

5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
  menu "Kernel type"
  
  choice
  
  	prompt "Kernel code model"
  	help
  	  You should only select this option if you have a workload that
  	  actually benefits from 64-bit processing or if your machine has
  	  large memory.  You will only be presented a single option in this
  	  menu if your system does not support both 32-bit and 64-bit kernels.
  
  config 32BIT
  	bool "32-bit kernel"
  	depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
  	select TRAD_SIGNALS
  	help
  	  Select this option if you want to build a 32-bit kernel.
  config 64BIT
  	bool "64-bit kernel"
  	depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
dbda6ac08   Ralf Baechle   MIPS: CVE-2009-00...
1631
  	select HAVE_SYSCALL_WRAPPERS
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1632
1633
1634
1635
  	help
  	  Select this option if you want to build a 64-bit kernel.
  
  endchoice
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1636
1637
1638
1639
1640
1641
  choice
  	prompt "Kernel page size"
  	default PAGE_SIZE_4KB
  
  config PAGE_SIZE_4KB
  	bool "4kB"
315fe625f   Wu Zhangjin   MIPS: Loongson: D...
1642
  	depends on !CPU_LOONGSON2
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1643
1644
1645
1646
1647
1648
1649
1650
  	help
  	 This option select the standard 4kB Linux page size.  On some
  	 R3000-family processors this is the only available page size.  Using
  	 4kB page size will minimize memory consumption and is therefore
  	 recommended for low memory systems.
  
  config PAGE_SIZE_8KB
  	bool "8kB"
c52399bec   Ralf Baechle   MIPS: Cavium: Add...
1651
  	depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1652
1653
1654
  	help
  	  Using 8kB page size will result in higher performance kernel at
  	  the price of higher memory consumption.  This option is available
c52399bec   Ralf Baechle   MIPS: Cavium: Add...
1655
1656
  	  only on R8000 and cnMIPS processors.  Note that you will need a
  	  suitable Linux distribution to support this.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1657
1658
1659
  
  config PAGE_SIZE_16KB
  	bool "16kB"
714bfad60   Ralf Baechle   [MIPS] Remove EXP...
1660
  	depends on !CPU_R3000 && !CPU_TX39XX
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1661
1662
1663
  	help
  	  Using 16kB page size will result in higher performance kernel at
  	  the price of higher memory consumption.  This option is available on
714bfad60   Ralf Baechle   [MIPS] Remove EXP...
1664
1665
  	  all non-R3000 family processors.  Note that you will need a suitable
  	  Linux distribution to support this.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1666

c52399bec   Ralf Baechle   MIPS: Cavium: Add...
1667
1668
1669
1670
1671
1672
1673
1674
  config PAGE_SIZE_32KB
  	bool "32kB"
  	depends on CPU_CAVIUM_OCTEON
  	help
  	  Using 32kB page size will result in higher performance kernel at
  	  the price of higher memory consumption.  This option is available
  	  only on cnMIPS cores.  Note that you will need a suitable Linux
  	  distribution to support this.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1675
1676
1677
1678
1679
1680
1681
  config PAGE_SIZE_64KB
  	bool "64kB"
  	depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
  	help
  	  Using 64kB page size will result in higher performance kernel at
  	  the price of higher memory consumption.  This option is available on
  	  all non-R3000 family processor.  Not that at the time of this
714bfad60   Ralf Baechle   [MIPS] Remove EXP...
1682
  	  writing this option is still high experimental.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1683
1684
  
  endchoice
c9bace7ca   David Daney   MIPS: Add a CONFI...
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
  config FORCE_MAX_ZONEORDER
  	int "Maximum zone order"
  	range 13 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
  	default "13" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
  	range 12 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
  	default "12" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
  	range 11 64
  	default "11"
  	help
  	  The kernel memory allocator divides physically contiguous memory
  	  blocks into "zones", where each zone is a power of two number of
  	  pages.  This option selects the largest power of two that the kernel
  	  keeps in the memory allocator.  If you need to allocate very large
  	  blocks of physically contiguous memory, then you may need to
  	  increase this value.
  
  	  This config option is actually maximum order plus one. For example,
  	  a value of 11 means that the largest free memory block is 2^10 pages.
  
  	  The page size is not necessarily 4KB.  Keep this in mind
  	  when choosing a value for this option.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1706
1707
1708
1709
1710
1711
  config BOARD_SCACHE
  	bool
  
  config IP22_CPU_SCACHE
  	bool
  	select BOARD_SCACHE
9318c51ac   Chris Dearman   [MIPS] MIPS32/MIP...
1712
1713
1714
1715
1716
1717
  #
  # Support for a MIPS32 / MIPS64 style S-caches
  #
  config MIPS_CPU_SCACHE
  	bool
  	select BOARD_SCACHE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
  config R5000_CPU_SCACHE
  	bool
  	select BOARD_SCACHE
  
  config RM7000_CPU_SCACHE
  	bool
  	select BOARD_SCACHE
  
  config SIBYTE_DMA_PAGEOPS
  	bool "Use DMA to clear/copy pages"
  	depends on CPU_SB1
  	help
  	  Instead of using the CPU to zero and copy pages, use a Data Mover
  	  channel.  These DMA channels are otherwise unused by the standard
  	  SiByte Linux port.  Seems to give a small performance benefit.
  
  config CPU_HAS_PREFETCH
c8094b53c   Ralf Baechle   Get rid of the no...
1735
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1736

340ee4b98   Ralf Baechle   Virtual SMP suppo...
1737
1738
  choice
  	prompt "MIPS MT options"
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1739
1740
1741
1742
1743
1744
1745
1746
  
  config MIPS_MT_DISABLED
  	bool "Disable multithreading support."
  	help
  	  Use this option if your workload can't take advantage of
  	  MIPS hardware multithreading support.  On systems that don't have
  	  the option of an MT-enabled processor this option will be the only
  	  option in this menu.
340ee4b98   Ralf Baechle   Virtual SMP suppo...
1747

59d6ab86a   Ralf Baechle   [MIPS] Update Mal...
1748
1749
  config MIPS_MT_SMP
  	bool "Use 1 TC on each available VPE for SMP"
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1750
  	depends on SYS_SUPPORTS_MULTITHREADING
f7062ddb2   Ralf Baechle   [MIPS] Get rid of...
1751
  	select CPU_MIPSR2_IRQ_VI
d725cf381   Chris Dearman   [MIPS] MT: Reenab...
1752
  	select CPU_MIPSR2_IRQ_EI
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1753
  	select MIPS_MT
f510aa3bd   Ralf Baechle   [MIPS] Kconfig: M...
1754
  	select NR_CPUS_DEFAULT_2
41c594ab6   Ralf Baechle   [MIPS] MT: Improv...
1755
  	select SMP
0ab7aefc4   Ralf Baechle   [MIPS] MT: Schedu...
1756
  	select SYS_SUPPORTS_SCHED_SMT if SMP
73b76c78f   Ralf Baechle   [MIPS] MT: When d...
1757
  	select SYS_SUPPORTS_SMP
87353d8ac   Ralf Baechle   [MIPS] SMP: Call ...
1758
  	select SMP_UP
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1759
  	help
25f12b339   Ralf Baechle   MIPS: Kconfig: Fi...
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
  	  This is a kernel model which is known a VSMP but lately has been
  	  marketesed into SMVP.
  	  Virtual SMP uses the processor's VPEs  to implement virtual
  	  processors. In currently available configuration of the 34K processor
  	  this allows for a dual processor. Both processors will share the same
  	  primary caches; each will obtain the half of the TLB for it's own
  	  exclusive use. For a layman this model can be described as similar to
  	  what Intel calls Hyperthreading.
  
  	  For further information see http://www.linux-mips.org/wiki/34K#VSMP
41c594ab6   Ralf Baechle   [MIPS] MT: Improv...
1770

59d6ab86a   Ralf Baechle   [MIPS] Update Mal...
1771
1772
1773
1774
  config MIPS_MT_SMTC
  	bool "SMTC: Use all TCs on all VPEs for SMP"
  	depends on CPU_MIPS32_R2
  	#depends on CPU_MIPS64_R2		# once there is hardware ...
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1775
1776
  	depends on SYS_SUPPORTS_MULTITHREADING
  	select CPU_MIPSR2_IRQ_VI
d725cf381   Chris Dearman   [MIPS] MT: Reenab...
1777
  	select CPU_MIPSR2_IRQ_EI
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1778
  	select MIPS_MT
130e2fb78   Ralf Baechle   [MIPS] Kconfig: P...
1779
  	select NR_CPUS_DEFAULT_8
340ee4b98   Ralf Baechle   Virtual SMP suppo...
1780
  	select SMP
73b76c78f   Ralf Baechle   [MIPS] MT: When d...
1781
  	select SYS_SUPPORTS_SMP
87353d8ac   Ralf Baechle   [MIPS] SMP: Call ...
1782
  	select SMP_UP
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1783
  	help
59d6ab86a   Ralf Baechle   [MIPS] Update Mal...
1784
1785
  	  This is a kernel model which is known a SMTC or lately has been
  	  marketesed into SMVP.
25f12b339   Ralf Baechle   MIPS: Kconfig: Fi...
1786
1787
1788
1789
1790
1791
1792
1793
  	  is presenting the available TC's of the core as processors to Linux.
  	  On currently available 34K processors this means a Linux system will
  	  see up to 5 processors. The implementation of the SMTC kernel differs
  	  significantly from VSMP and cannot efficiently coexist in the same
  	  kernel binary so the choice between VSMP and SMTC is a compile time
  	  decision.
  
  	  For further information see http://www.linux-mips.org/wiki/34K#SMTC
340ee4b98   Ralf Baechle   Virtual SMP suppo...
1794

340ee4b98   Ralf Baechle   Virtual SMP suppo...
1795
  endchoice
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1796
1797
  config MIPS_MT
  	bool
0ab7aefc4   Ralf Baechle   [MIPS] MT: Schedu...
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
  config SCHED_SMT
  	bool "SMT (multithreading) scheduler support"
  	depends on SYS_SUPPORTS_SCHED_SMT
  	default n
  	help
  	  SMT scheduler support improves the CPU scheduler's decision making
  	  when dealing with MIPS MT enabled cores at a cost of slightly
  	  increased overhead in some places. If unsure say N here.
  
  config SYS_SUPPORTS_SCHED_SMT
  	bool
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1809
1810
  config SYS_SUPPORTS_MULTITHREADING
  	bool
f088fc84f   Ralf Baechle   [MIPS] FPU affini...
1811
1812
  config MIPS_MT_FPAFF
  	bool "Dynamic FPU affinity for FP-intensive threads"
f088fc84f   Ralf Baechle   [MIPS] FPU affini...
1813
  	default y
07cc0c9e6   Ralf Baechle   [MIPS] MT: Enable...
1814
1815
1816
1817
1818
1819
1820
  	depends on MIPS_MT_SMP || MIPS_MT_SMTC
  
  config MIPS_VPE_LOADER
  	bool "VPE loader support."
  	depends on SYS_SUPPORTS_MULTITHREADING
  	select CPU_MIPSR2_IRQ_VI
  	select CPU_MIPSR2_IRQ_EI
07cc0c9e6   Ralf Baechle   [MIPS] MT: Enable...
1821
1822
1823
1824
  	select MIPS_MT
  	help
  	  Includes a loader for loading an elf relocatable object
  	  onto another VPE and running it.
f088fc84f   Ralf Baechle   [MIPS] FPU affini...
1825

0db34215c   Kevin D. Kissell   [MIPS] SMTC: Inte...
1826
1827
1828
  config MIPS_MT_SMTC_IM_BACKSTOP
  	bool "Use per-TC register bits as backstop for inhibited IM bits"
  	depends on MIPS_MT_SMTC
8531a35e5   Kevin D. Kissell   [MIPS] SMTC: Fix ...
1829
  	default n
0db34215c   Kevin D. Kissell   [MIPS] SMTC: Inte...
1830
1831
1832
1833
1834
1835
  	help
  	  To support multiple TC microthreads acting as "CPUs" within
  	  a VPE, VPE-wide interrupt mask bits must be specially manipulated
  	  during interrupt handling. To support legacy drivers and interrupt
  	  controller management code, SMTC has a "backstop" to track and
  	  if necessary restore the interrupt mask. This has some performance
8531a35e5   Kevin D. Kissell   [MIPS] SMTC: Fix ...
1836
  	  impact on interrupt service overhead.
0db34215c   Kevin D. Kissell   [MIPS] SMTC: Inte...
1837

f571eff0a   Kevin D. Kissell   [MIPS] IRQ Affini...
1838
1839
1840
1841
1842
1843
1844
1845
  config MIPS_MT_SMTC_IRQAFF
  	bool "Support IRQ affinity API"
  	depends on MIPS_MT_SMTC
  	default n
  	help
  	  Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
  	  for SMTC Linux kernel. Requires platform support, of which
  	  an example can be found in the MIPS kernel i8259 and Malta
8531a35e5   Kevin D. Kissell   [MIPS] SMTC: Fix ...
1846
1847
  	  platform code.  Adds some overhead to interrupt dispatch, and
  	  should be used only if you know what you are doing.
f571eff0a   Kevin D. Kissell   [MIPS] IRQ Affini...
1848

e01402b11   Ralf Baechle   More AP / SP bits...
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
  config MIPS_VPE_LOADER_TOM
  	bool "Load VPE program into memory hidden from linux"
  	depends on MIPS_VPE_LOADER
  	default y
  	help
  	  The loader can use memory that is present but has been hidden from
  	  Linux using the kernel command line option "mem=xxMB". It's up to
  	  you to ensure the amount you put in the option and the space your
  	  program requires is less or equal to the amount physically present.
  
  # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
  config MIPS_VPE_APSP_API
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1861
1862
1863
  	bool "Enable support for AP/SP API (RTLX)"
  	depends on MIPS_VPE_LOADER
  	help
e01402b11   Ralf Baechle   More AP / SP bits...
1864

2600990e6   Ralf Baechle   [MIPS] kpsd and o...
1865
1866
1867
1868
1869
1870
1871
1872
1873
  config MIPS_APSP_KSPD
  	bool "Enable KSPD"
  	depends on MIPS_VPE_APSP_API
  	default y
  	help
  	  KSPD is a kernel daemon that accepts syscall requests from the SP
  	  side, actions them and returns the results. It also handles the
  	  "exit" syscall notifying other kernel modules the SP program is
  	  exiting.  You probably want to say yes here.
4a16ff4c6   Ralf Baechle   [MIPS] Fix CMP Kc...
1874
1875
1876
  config MIPS_CMP
  	bool "MIPS CMP framework support"
  	depends on SYS_SUPPORTS_MIPS_CMP
eb9b5141a   Tim Anderson   MIPS: CMP: Update...
1877
  	select SYNC_R4K
4a16ff4c6   Ralf Baechle   [MIPS] Fix CMP Kc...
1878
1879
1880
1881
1882
1883
1884
  	select SYS_SUPPORTS_SMP
  	select SYS_SUPPORTS_SCHED_SMT if SMP
  	select WEAK_ORDERING
  	default n
  	help
  	  This is a placeholder option for the GCMP work. It will need to
  	  be handled differently...
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
  config SB1_PASS_1_WORKAROUNDS
  	bool
  	depends on CPU_SB1_PASS_1
  	default y
  
  config SB1_PASS_2_WORKAROUNDS
  	bool
  	depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
  	default y
  
  config SB1_PASS_2_1_WORKAROUNDS
  	bool
  	depends on CPU_SB1 && CPU_SB1_PASS_2
  	default y
  
  config 64BIT_PHYS_ADDR
d806cb2b6   Ralf Baechle   [MIPS] Kconfig: E...
1901
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1902

60ec6571c   pascal@pabr.org   MIPS: Support 36-...
1903
1904
  config ARCH_PHYS_ADDR_T_64BIT
         def_bool 64BIT_PHYS_ADDR
9693a8537   Franck Bui-Huu   [MIPS] Add basic ...
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
  config CPU_HAS_SMARTMIPS
  	depends on SYS_SUPPORTS_SMARTMIPS
  	bool "Support for the SmartMIPS ASE"
  	help
  	  SmartMIPS is a extension of the MIPS32 architecture aimed at
  	  increased security at both hardware and software level for
  	  smartcards.  Enabling this option will allow proper use of the
  	  SmartMIPS instructions by Linux applications.  However a kernel with
  	  this option will not work on a MIPS core without SmartMIPS core.  If
  	  you don't know you probably don't have SmartMIPS and should say N
  	  here.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1916
  config CPU_HAS_WB
f7062ddb2   Ralf Baechle   [MIPS] Get rid of...
1917
  	bool
e01402b11   Ralf Baechle   More AP / SP bits...
1918

df0ac8a40   Kevin Cernekee   MIPS: BMIPS: Add ...
1919
1920
  config XKS01
  	bool
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1921
1922
1923
  #
  # Vectored interrupt mode is an R2 feature
  #
e01402b11   Ralf Baechle   More AP / SP bits...
1924
  config CPU_MIPSR2_IRQ_VI
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1925
  	bool
e01402b11   Ralf Baechle   More AP / SP bits...
1926

f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1927
1928
1929
  #
  # Extended interrupt mode is an R2 feature
  #
e01402b11   Ralf Baechle   More AP / SP bits...
1930
  config CPU_MIPSR2_IRQ_EI
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1931
  	bool
e01402b11   Ralf Baechle   More AP / SP bits...
1932

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1933
1934
1935
1936
  config CPU_HAS_SYNC
  	bool
  	depends on !CPU_R3000
  	default y
ea5804015   Ralf Baechle   [MIPS] Dyntick su...
1937
1938
  config GENERIC_CLOCKEVENTS_BROADCAST
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1939
  #
20d60d997   Maciej W. Rozycki   [MIPS] R4000/R440...
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
  # CPU non-features
  #
  config CPU_DADDI_WORKAROUNDS
  	bool
  
  config CPU_R4000_WORKAROUNDS
  	bool
  	select CPU_R4400_WORKAROUNDS
  
  config CPU_R4400_WORKAROUNDS
  	bool
  
  #
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1953
1954
1955
1956
1957
1958
1959
1960
  # - Highmem only makes sense for the 32-bit kernel.
  # - The current highmem code will only work properly on physically indexed
  #   caches such as R3000, SB1, R7000 or those that look like they're virtually
  #   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
  #   moment we protect the user and offer the highmem option only on machines
  #   where it's known to be safe.  This will not offer highmem on a few systems
  #   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
  #   indexed CPUs but we're playing safe.
797798c1b   Ralf Baechle   A little more Kco...
1961
1962
1963
  # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
  #   know they might have memory configurations that could make use of highmem
  #   support.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1964
1965
1966
  #
  config HIGHMEM
  	bool "High Memory Support"
797798c1b   Ralf Baechle   A little more Kco...
1967
1968
1969
1970
1971
1972
1973
  	depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
  
  config CPU_SUPPORTS_HIGHMEM
  	bool
  
  config SYS_SUPPORTS_HIGHMEM
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1974

9693a8537   Franck Bui-Huu   [MIPS] Add basic ...
1975
1976
  config SYS_SUPPORTS_SMARTMIPS
  	bool
b4819b593   Yoichi Yuasa   [PATCH] mips: add...
1977
1978
  config ARCH_FLATMEM_ENABLE
  	def_bool y
f133f22dd   Wu Zhangjin   MIPS: Loongson: S...
1979
  	depends on !NUMA && !CPU_LOONGSON2
b4819b593   Yoichi Yuasa   [PATCH] mips: add...
1980

d8cb4e119   Ralf Baechle   [MIPS] Cleanup AR...
1981
1982
1983
1984
  config ARCH_DISCONTIGMEM_ENABLE
  	bool
  	default y if SGI_IP27
  	help
3dde6ad8f   David Sterba   Fix trivial typos...
1985
  	  Say Y to support efficient handling of discontiguous physical memory,
d8cb4e119   Ralf Baechle   [MIPS] Cleanup AR...
1986
1987
1988
  	  for architectures which are either NUMA (Non-Uniform Memory Access)
  	  or have huge holes in the physical address space for other reasons.
  	  See <file:Documentation/vm/numa> for more.
b1c6cd429   Atsushi Nemoto   [MIPS] Make SPARS...
1989
1990
  config ARCH_SPARSEMEM_ENABLE
  	bool
7de58fab9   Atsushi Nemoto   [MIPS] Sparsemem ...
1991
  	select SPARSEMEM_STATIC
31473747b   Atsushi Nemoto   [MIPS] Make SPARS...
1992

d8cb4e119   Ralf Baechle   [MIPS] Cleanup AR...
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
  config NUMA
  	bool "NUMA Support"
  	depends on SYS_SUPPORTS_NUMA
  	help
  	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
  	  Access).  This option improves performance on systems with more
  	  than two nodes; on two node systems it is generally better to
  	  leave it disabled; on single node systems disable this option
  	  disabled.
  
  config SYS_SUPPORTS_NUMA
  	bool
c80d79d74   Yasunori Goto   [PATCH] Configura...
2005
2006
2007
2008
  config NODES_SHIFT
  	int
  	default "6"
  	depends on NEED_MULTIPLE_NODES
14f700128   Deng-Cheng Zhu   MIPS: add support...
2009
2010
  config HW_PERF_EVENTS
  	bool "Enable hardware performance counter support for perf events"
939991cff   David Daney   MIPS: perf: Add O...
2011
  	depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON)
14f700128   Deng-Cheng Zhu   MIPS: add support...
2012
2013
2014
2015
  	default y
  	help
  	  Enable hardware performance counter support for perf events. If
  	  disabled, perf events will use software events only.
b4819b593   Yoichi Yuasa   [PATCH] mips: add...
2016
  source "mm/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2017
2018
  config SMP
  	bool "Multi-Processing support"
e73ea273e   Ralf Baechle   [MIPS] Fix build ...
2019
  	depends on SYS_SUPPORTS_SMP
b4b30a5a0   Ralf Baechle   [MIPS] Cleanup le...
2020
  	select IRQ_PER_CPU
2f304c0a0   Jens Axboe   mips: convert to ...
2021
  	select USE_GENERIC_SMP_HELPERS
e73ea273e   Ralf Baechle   [MIPS] Fix build ...
2022
  	help
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
  	  This enables support for systems with more than one CPU. If you have
  	  a system with only one CPU, like most personal computers, say N. If
  	  you have a system with more than one CPU, say Y.
  
  	  If you say N here, the kernel will run on single and multiprocessor
  	  machines, but will use only one CPU of a multiprocessor machine. If
  	  you say Y here, the kernel will run on many, but not all,
  	  singleprocessor machines. On a singleprocessor machine, the kernel
  	  will run faster if you say N here.
  
  	  People using multiprocessor machines who say Y here should also say
  	  Y to "Enhanced Real Time Clock Support", below.
03502faa2   Adrian Bunk   remove Documentat...
2035
2036
  	  See also the SMP-HOWTO available at
  	  <http://www.tldp.org/docs.html#howto>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2037
2038
  
  	  If you don't know what to do here, say N.
87353d8ac   Ralf Baechle   [MIPS] SMP: Call ...
2039
2040
  config SMP_UP
  	bool
4a16ff4c6   Ralf Baechle   [MIPS] Fix CMP Kc...
2041
2042
  config SYS_SUPPORTS_MIPS_CMP
  	bool
e73ea273e   Ralf Baechle   [MIPS] Fix build ...
2043
2044
  config SYS_SUPPORTS_SMP
  	bool
72ede9b18   Atsushi Nemoto   [MIPS] Qemu: Fix ...
2045
2046
  config NR_CPUS_DEFAULT_1
  	bool
130e2fb78   Ralf Baechle   [MIPS] Kconfig: P...
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
  config NR_CPUS_DEFAULT_2
  	bool
  
  config NR_CPUS_DEFAULT_4
  	bool
  
  config NR_CPUS_DEFAULT_8
  	bool
  
  config NR_CPUS_DEFAULT_16
  	bool
  
  config NR_CPUS_DEFAULT_32
  	bool
  
  config NR_CPUS_DEFAULT_64
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2064
2065
  config NR_CPUS
  	int "Maximum number of CPUs (2-64)"
72ede9b18   Atsushi Nemoto   [MIPS] Qemu: Fix ...
2066
  	range 1 64 if NR_CPUS_DEFAULT_1
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2067
  	depends on SMP
72ede9b18   Atsushi Nemoto   [MIPS] Qemu: Fix ...
2068
  	default "1" if NR_CPUS_DEFAULT_1
130e2fb78   Ralf Baechle   [MIPS] Kconfig: P...
2069
2070
2071
2072
2073
2074
  	default "2" if NR_CPUS_DEFAULT_2
  	default "4" if NR_CPUS_DEFAULT_4
  	default "8" if NR_CPUS_DEFAULT_8
  	default "16" if NR_CPUS_DEFAULT_16
  	default "32" if NR_CPUS_DEFAULT_32
  	default "64" if NR_CPUS_DEFAULT_64
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2075
2076
2077
2078
  	help
  	  This allows you to specify the maximum number of CPUs which this
  	  kernel will support.  The maximum supported value is 32 for 32-bit
  	  kernel and 64 for 64-bit kernels; the minimum value which makes
72ede9b18   Atsushi Nemoto   [MIPS] Qemu: Fix ...
2079
2080
  	  sense is 1 for Qemu (useful only for kernel debugging purposes)
  	  and 2 for all others.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2081
2082
  
  	  This is purely to save memory - each supported CPU adds
72ede9b18   Atsushi Nemoto   [MIPS] Qemu: Fix ...
2083
2084
2085
  	  approximately eight kilobytes to the kernel image.  For best
  	  performance should round up your number of processors to the next
  	  power of two.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2086

c4eee283e   Atsushi Nemoto   [MIPS] Move inclu...
2087
  source "kernel/time/Kconfig"
1723b4a34   Atsushi Nemoto   [MIPS] Make timer...
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
  #
  # Timer Interrupt Frequency Configuration
  #
  
  choice
  	prompt "Timer frequency"
  	default HZ_250
  	help
  	 Allows the configuration of the timer frequency.
  
  	config HZ_48
0f8735858   Ralf Baechle   [MIPS] Allow 48Hz...
2099
  		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
1723b4a34   Atsushi Nemoto   [MIPS] Make timer...
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
  
  	config HZ_100
  		bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
  
  	config HZ_128
  		bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
  
  	config HZ_250
  		bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
  
  	config HZ_256
  		bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
  
  	config HZ_1000
  		bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
  
  	config HZ_1024
  		bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
  
  endchoice
  
  config SYS_SUPPORTS_48HZ
  	bool
  
  config SYS_SUPPORTS_100HZ
  	bool
  
  config SYS_SUPPORTS_128HZ
  	bool
  
  config SYS_SUPPORTS_250HZ
  	bool
  
  config SYS_SUPPORTS_256HZ
  	bool
  
  config SYS_SUPPORTS_1000HZ
  	bool
  
  config SYS_SUPPORTS_1024HZ
  	bool
  
  config SYS_SUPPORTS_ARBIT_HZ
  	bool
  	default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
  		     !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
  		     !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
  		     !SYS_SUPPORTS_1024HZ
  
  config HZ
  	int
  	default 48 if HZ_48
  	default 100 if HZ_100
  	default 128 if HZ_128
  	default 250 if HZ_250
  	default 256 if HZ_256
  	default 1000 if HZ_1000
  	default 1024 if HZ_1024
e80de8503   Ralf Baechle   Use Kconfig.preempt.
2158
  source "kernel/Kconfig.preempt"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2159

ea6e942be   Atsushi Nemoto   [MIPS] Kconfig: M...
2160
2161
2162
2163
2164
2165
  config KEXEC
  	bool "Kexec system call (EXPERIMENTAL)"
  	depends on EXPERIMENTAL
  	help
  	  kexec is a system call that implements the ability to shutdown your
  	  current kernel, and to start another kernel.  It is like a reboot
3dde6ad8f   David Sterba   Fix trivial typos...
2166
  	  but it is independent of the system firmware.   And like a reboot
ea6e942be   Atsushi Nemoto   [MIPS] Kconfig: M...
2167
  	  you can start any kernel with it, not just Linux.
01dd2fbf0   Matt LaPlante   typo fixes
2168
  	  The name comes from the similarity to the exec system call.
ea6e942be   Atsushi Nemoto   [MIPS] Kconfig: M...
2169
2170
2171
2172
2173
2174
2175
2176
2177
  
  	  It is an ongoing process to be certain the hardware in a machine
  	  is properly shutdown, so do not be surprised if this code does not
  	  initially work for you.  It may help to enable device hotplugging
  	  support.  As of this writing the exact hardware interface is
  	  strongly in flux, so no good recommendation can be made.
  
  config SECCOMP
  	bool "Enable seccomp to safely compute untrusted bytecode"
293c5bd13   Ralf Baechle   [MIPS] Fixup secu...
2178
  	depends on PROC_FS
ea6e942be   Atsushi Nemoto   [MIPS] Kconfig: M...
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
  	default y
  	help
  	  This kernel feature is useful for number crunching applications
  	  that may need to compute untrusted bytecode during their
  	  execution. By using pipes or other transports made available to
  	  the process as file descriptors supporting the read/write
  	  syscalls, it's possible to isolate those applications in
  	  their own address space using seccomp. Once seccomp is
  	  enabled via /proc/<pid>/seccomp, it cannot be disabled
  	  and the task is only allowed to execute a few safe syscalls
  	  defined by each seccomp mode.
  
  	  If unsure, say Y. Only embedded should say N here.
f2ffa5ab7   Dezhong Diao   of/mips: Add devi...
2192
2193
2194
  config USE_OF
  	bool "Flattened Device Tree support"
  	select OF
e6ce1324e   Stephen Neuendorffer   of/flattree: Add ...
2195
  	select OF_EARLY_FLATTREE
f2ffa5ab7   Dezhong Diao   of/mips: Add devi...
2196
2197
  	help
  	  Include support for flattened device tree machine descriptions.
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
2198
  endmenu
1df0f0ff7   Atsushi Nemoto   [MIPS] lockdep: A...
2199
2200
2201
2202
2203
2204
2205
  config LOCKDEP_SUPPORT
  	bool
  	default y
  
  config STACKTRACE_SUPPORT
  	bool
  	default y
b6c3539bd   Ralf Baechle   [MIPS] Kconfig: I...
2206
  source "init/Kconfig"
dc52ddc0e   Matt Helsley   container freezer...
2207
  source "kernel/Kconfig.freezer"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2208
  menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
2209
2210
  config HW_HAS_EISA
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2211
2212
2213
2214
2215
2216
  config HW_HAS_PCI
  	bool
  
  config PCI
  	bool "Support for PCI controller"
  	depends on HW_HAS_PCI
abb4ae463   Ralf Baechle   [MIPS] PCI: Alway...
2217
  	select PCI_DOMAINS
eab90291d   Michael S. Tsirkin   mips: switch to G...
2218
  	select GENERIC_PCI_IOMAP
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2219
2220
2221
2222
2223
  	help
  	  Find out whether you have a PCI motherboard. PCI is the name of a
  	  bus system, i.e. the way the CPU talks to the other stuff inside
  	  your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
  	  say Y, otherwise N.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2224
2225
  config PCI_DOMAINS
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
  
  source "drivers/pci/Kconfig"
  
  #
  # ISA support is now enabled via select.  Too many systems still have the one
  # or other ISA chip on the board that users don't know about so don't expect
  # users to choose the right thing ...
  #
  config ISA
  	bool
  
  config EISA
  	bool "EISA support"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
2239
  	depends on HW_HAS_EISA
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2240
  	select ISA
aa414dff4   Ralf Baechle   [MIPS] Remove dup...
2241
  	select GENERIC_ISA_DMA
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
  	---help---
  	  The Extended Industry Standard Architecture (EISA) bus was
  	  developed as an open alternative to the IBM MicroChannel bus.
  
  	  The EISA bus provided some of the features of the IBM MicroChannel
  	  bus while maintaining backward compatibility with cards made for
  	  the older ISA bus.  The EISA bus saw limited use between 1988 and
  	  1995 when it was made obsolete by the PCI bus.
  
  	  Say Y here if you are building a kernel for an EISA-based machine.
  
  	  Otherwise, say N.
  
  source "drivers/eisa/Kconfig"
  
  config TC
  	bool "TURBOchannel support"
  	depends on MACH_DECSTATION
  	help
50a23e6ee   Justin P. Mattock   Update broken web...
2261
2262
2263
2264
2265
2266
2267
2268
  	  TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
  	  processors.  TURBOchannel programming specifications are available
  	  at:
  	  <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
  	  and:
  	  <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
  	  Linux driver support status is documented at:
  	  <http://www.linux-mips.org/wiki/DECstation>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2269

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2270
2271
2272
  config MMU
  	bool
  	default y
d865bea4d   Ralf Baechle   [MIPS] i8253 PIT ...
2273
2274
  config I8253
  	bool
798778b86   Russell King   clocksource: conv...
2275
  	select CLKSRC_I8253
2d02612f6   Thomas Gleixner   mips: Use common ...
2276
  	select CLKEVT_I8253
9726b43a4   Wu Zhangjin   MIPS: Add basic C...
2277
  	select MIPS_EXTERNAL_TIMER
d865bea4d   Ralf Baechle   [MIPS] i8253 PIT ...
2278

cce335ae4   Ralf Baechle   [MIPS] 64-bit Sib...
2279
2280
  config ZONE_DMA32
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2281
2282
2283
  source "drivers/pcmcia/Kconfig"
  
  source "drivers/pci/hotplug/Kconfig"
388b78adc   Alexandre Bounine   rapidio: modify c...
2284
2285
2286
2287
2288
2289
2290
2291
2292
  config RAPIDIO
  	bool "RapidIO support"
  	depends on PCI
  	default n
  	help
  	  If you say Y here, the kernel will include drivers and
  	  infrastructure code to support RapidIO interconnect devices.
  
  source "drivers/rapidio/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2293
2294
2295
2296
2297
2298
2299
2300
  endmenu
  
  menu "Executable file formats"
  
  source "fs/Kconfig.binfmt"
  
  config TRAD_SIGNALS
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2301

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2302
2303
  config MIPS32_COMPAT
  	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
875d43e72   Ralf Baechle   [PATCH] mips: cle...
2304
  	depends on 64BIT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2305
2306
2307
2308
2309
2310
2311
2312
2313
  	help
  	  Select this option if you want Linux/MIPS 32-bit binary
  	  compatibility. Since all software available for Linux/MIPS is
  	  currently 32-bit you should say Y here.
  
  config COMPAT
  	bool
  	depends on MIPS32_COMPAT
  	default y
05e439665   Atsushi Nemoto   [MIPS] Use SYSVIP...
2314
2315
2316
2317
  config SYSVIPC_COMPAT
  	bool
  	depends on COMPAT && SYSVIPC
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
  config MIPS32_O32
  	bool "Kernel support for o32 binaries"
  	depends on MIPS32_COMPAT
  	help
  	  Select this option if you want to run o32 binaries.  These are pure
  	  32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
  	  existing binaries are in this format.
  
  	  If unsure, say Y.
  
  config MIPS32_N32
  	bool "Kernel support for n32 binaries"
  	depends on MIPS32_COMPAT
  	help
  	  Select this option if you want to run n32 binaries.  These are
  	  64-bit binaries using 32-bit quantities for addressing and certain
  	  data that would normally be 64-bit.  They are used in special
  	  cases.
  
  	  If unsure, say N.
  
  config BINFMT_ELF32
  	bool
  	default y if MIPS32_O32 || MIPS32_N32
2116245ee   Ralf Baechle   [APM] MIPS: Conve...
2342
2343
2344
  endmenu
  
  menu "Power management options"
363c55cae   Wu Zhangjin   MIPS: Add hiberna...
2345
2346
  config ARCH_HIBERNATION_POSSIBLE
  	def_bool y
3f5b3e17f   Ralf Baechle   MIPS: Allow suspe...
2347
  	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
363c55cae   Wu Zhangjin   MIPS: Add hiberna...
2348

f4cb57007   Johannes Berg   Suspend: Clean up...
2349
2350
  config ARCH_SUSPEND_POSSIBLE
  	def_bool y
3f5b3e17f   Ralf Baechle   MIPS: Allow suspe...
2351
  	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
f4cb57007   Johannes Berg   Suspend: Clean up...
2352

2116245ee   Ralf Baechle   [APM] MIPS: Conve...
2353
  source "kernel/power/Kconfig"
952fa954a   Rodolfo Giometti   [MIPS] APM emu su...
2354

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2355
  endmenu
9726b43a4   Wu Zhangjin   MIPS: Add basic C...
2356
  source "arch/mips/kernel/cpufreq/Kconfig"
d5950b435   Sam Ravnborg   [NET]: add a top-...
2357
  source "net/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
  source "drivers/Kconfig"
  
  source "fs/Kconfig"
  
  source "arch/mips/Kconfig.debug"
  
  source "security/Kconfig"
  
  source "crypto/Kconfig"
  
  source "lib/Kconfig"