Blame view

arch/mips/Kconfig 58.6 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
703
  	select CEVT_R4K
  	select 64BIT_PHYS_ADDR
  	select DMA_COHERENT
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_HIGHMEM
773cb77d0   Ralf Baechle   MIPS: Cavium: Add...
704
  	select SYS_SUPPORTS_HOTPLUG_CPU
5e6833892   David Daney   MIPS: Only allow ...
705
  	select SYS_HAS_CPU_CAVIUM_OCTEON
465aaed00   David Daney   MIPS: Octeon: Sel...
706
  	select HOLES_IN_ZONE
a86c7f724   David Daney   MIPS: Add Cavium ...
707
708
709
710
711
712
  	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...
713
  	bool "Cavium Networks Octeon reference board"
a86c7f724   David Daney   MIPS: Add Cavium ...
714
715
716
717
718
719
  	select CEVT_R4K
  	select 64BIT_PHYS_ADDR
  	select DMA_COHERENT
  	select SYS_SUPPORTS_64BIT_KERNEL
  	select SYS_SUPPORTS_BIG_ENDIAN
  	select SYS_SUPPORTS_HIGHMEM
773cb77d0   Ralf Baechle   MIPS: Cavium: Add...
720
  	select SYS_SUPPORTS_HOTPLUG_CPU
a86c7f724   David Daney   MIPS: Add Cavium ...
721
  	select SYS_HAS_EARLY_PRINTK
5e6833892   David Daney   MIPS: Only allow ...
722
  	select SYS_HAS_CPU_CAVIUM_OCTEON
a86c7f724   David Daney   MIPS: Add Cavium ...
723
  	select SWAP_IO_SPACE
e8635b484   David Daney   MIPS: Add Cavium ...
724
725
  	select HW_HAS_PCI
  	select ARCH_SUPPORTS_MSI
f00e001e9   David Daney   MIPS: Octeon: Sel...
726
  	select ZONE_DMA32
340fbb8b1   David Daney   MIPS: Add platfor...
727
728
  	select USB_ARCH_HAS_OHCI
  	select USB_ARCH_HAS_EHCI
465aaed00   David Daney   MIPS: Octeon: Sel...
729
  	select HOLES_IN_ZONE
a86c7f724   David Daney   MIPS: Add Cavium ...
730
731
732
733
734
735
736
737
738
739
740
741
  	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...
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
  config NLM_XLR_BOARD
  	bool "Netlogic XLR/XLS based systems"
  	depends on EXPERIMENTAL
  	select BOOT_ELF32
  	select NLM_COMMON
  	select NLM_XLR
  	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
  	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.
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
768
  endchoice
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
769

e8c7c4823   Ralf Baechle   MIPS: Alchemy: re...
770
  source "arch/mips/alchemy/Kconfig"
d4a67d9dc   Gabor Juhos   MIPS: Add initial...
771
  source "arch/mips/ath79/Kconfig"
a656ffcbc   Hauke Mehrtens   bcm47xx: make it ...
772
  source "arch/mips/bcm47xx/Kconfig"
e7300d04b   Maxime Bizon   MIPS: BCM63xx: Ad...
773
  source "arch/mips/bcm63xx/Kconfig"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
774
  source "arch/mips/jazz/Kconfig"
5ebabe598   Lars-Peter Clausen   MIPS: JZ4740: Add...
775
  source "arch/mips/jz4740/Kconfig"
8ec6d9350   John Crispin   MIPS: Lantiq: add...
776
  source "arch/mips/lantiq/Kconfig"
1f21d2bde   Brian Murphy   [MIPS] Add back s...
777
  source "arch/mips/lasat/Kconfig"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
778
  source "arch/mips/pmc-sierra/Kconfig"
a3a0f8c8e   David VomLehn   MIPS: PowerTV: Ba...
779
  source "arch/mips/powertv/Kconfig"
29c486994   Ralf Baechle   It works better w...
780
  source "arch/mips/sgi-ip27/Kconfig"
38b18f725   Ralf Baechle   Move Sibyte Kconf...
781
  source "arch/mips/sibyte/Kconfig"
22b1d707f   Atsushi Nemoto   [MIPS] TXx9: Reor...
782
  source "arch/mips/txx9/Kconfig"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
783
  source "arch/mips/vr41xx/Kconfig"
a86c7f724   David Daney   MIPS: Add Cavium ...
784
  source "arch/mips/cavium-octeon/Kconfig"
85749d24b   Wu Zhangjin   MIPS: Loongson: S...
785
  source "arch/mips/loongson/Kconfig"
7f058e852   Jayachandran C   MIPS: Kconfig and...
786
  source "arch/mips/netlogic/Kconfig"
38b18f725   Ralf Baechle   Move Sibyte Kconf...
787

5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
788
  endmenu
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
789
790
791
792
793
794
  config RWSEM_GENERIC_SPINLOCK
  	bool
  	default y
  
  config RWSEM_XCHGADD_ALGORITHM
  	bool
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
795
796
797
798
799
800
801
  config ARCH_HAS_ILOG2_U32
  	bool
  	default n
  
  config ARCH_HAS_ILOG2_U64
  	bool
  	default n
3c9ee7ef8   Akinobu Mita   [PATCH] bitops: m...
802
803
804
  config GENERIC_HWEIGHT
  	bool
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
805
806
807
  config GENERIC_CALIBRATE_DELAY
  	bool
  	default y
7bcf7717b   Ralf Baechle   [MIPS] Implement ...
808
809
810
  config GENERIC_CLOCKEVENTS
  	bool
  	default y
f5ff0a280   Ralf Baechle   [MIPS] Use generi...
811
812
813
  config GENERIC_CMOS_UPDATE
  	bool
  	default y
ae1e9130b   Ingo Molnar   sched: rename SCH...
814
  config SCHED_OMIT_FRAME_POINTER
1cc89038f   Atsushi Nemoto   [MIPS] Enable SCH...
815
816
  	bool
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
817
818
819
820
821
  #
  # Select some configuration options automatically based on user selections.
  #
  config ARC
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
822

61ed242d7   Ralf Baechle   Use ARCH_MAY_HAVE...
823
824
  config ARCH_MAY_HAVE_PC_FDC
  	bool
9267a30d1   Marc St-Jean   [MIPS] PMC MSP71x...
825
826
  config BOOT_RAW
  	bool
217dd11e9   Ralf Baechle   [MIPS] Sibyte: Sp...
827
828
  config CEVT_BCM1480
  	bool
6457d9fc3   Yoichi Yuasa   [MIPS] DS1287: Ad...
829
830
  config CEVT_DS1287
  	bool
1097c6ac3   Yoichi Yuasa   [MIPS] time: Add ...
831
832
  config CEVT_GT641XX
  	bool
779e7d41a   Manuel Lauss   MIPS: make cp0 co...
833
834
  config CEVT_R4K_LIB
  	bool
42f77542f   Ralf Baechle   [MIPS] time: Move...
835
  config CEVT_R4K
779e7d41a   Manuel Lauss   MIPS: make cp0 co...
836
  	select CEVT_R4K_LIB
42f77542f   Ralf Baechle   [MIPS] time: Move...
837
  	bool
217dd11e9   Ralf Baechle   [MIPS] Sibyte: Sp...
838
839
  config CEVT_SB1250
  	bool
229f773ef   Atsushi Nemoto   [MIPS] txx9tmr cl...
840
841
  config CEVT_TXX9
  	bool
217dd11e9   Ralf Baechle   [MIPS] Sibyte: Sp...
842
843
  config CSRC_BCM1480
  	bool
4247417d8   Yoichi Yuasa   [MIPS] add DECsta...
844
845
  config CSRC_IOASIC
  	bool
a3a0f8c8e   David VomLehn   MIPS: PowerTV: Ba...
846
847
  config CSRC_POWERTV
  	bool
779e7d41a   Manuel Lauss   MIPS: make cp0 co...
848
849
  config CSRC_R4K_LIB
  	bool
940f6b48a   Ralf Baechle   [MIPS] Only build...
850
  config CSRC_R4K
779e7d41a   Manuel Lauss   MIPS: make cp0 co...
851
  	select CSRC_R4K_LIB
940f6b48a   Ralf Baechle   [MIPS] Only build...
852
  	bool
217dd11e9   Ralf Baechle   [MIPS] Sibyte: Sp...
853
854
  config CSRC_SB1250
  	bool
a9aec7fe7   Atsushi Nemoto   [MIPS] generic tx...
855
856
  config GPIO_TXX9
  	select GENERIC_GPIO
7444a72ef   Michael Buesch   gpiolib: allow us...
857
  	select ARCH_REQUIRE_GPIOLIB
a9aec7fe7   Atsushi Nemoto   [MIPS] generic tx...
858
  	bool
df78b5c8f   Aurelien Jarno   [MIPS] Move CFE c...
859
860
  config CFE
  	bool
4bafad922   FUJITA Tomonori   MIPS: Enable ARCH...
861
862
  config ARCH_DMA_ADDR_T_64BIT
  	def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT
4ce588cd5   Ralf Baechle   [PATCH] mips: fix...
863
  config DMA_COHERENT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
864
  	bool
4ce588cd5   Ralf Baechle   [PATCH] mips: fix...
865
866
  config DMA_NONCOHERENT
  	bool
e1e02b329   FUJITA Tomonori   pci-dma: mips: us...
867
  	select NEED_DMA_MAP_STATE
4ce588cd5   Ralf Baechle   [PATCH] mips: fix...
868

e1e02b329   FUJITA Tomonori   pci-dma: mips: us...
869
  config NEED_DMA_MAP_STATE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
870
  	bool
36a885306   Ralf Baechle   [MIPS] Fix and cl...
871
  config SYS_HAS_EARLY_PRINTK
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
872
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
873

dbb74540a   Ralf Baechle   [MIPS] Kconfig: F...
874
  config HOTPLUG_CPU
1b2bc75c1   Ralf Baechle   MIPS: Add arch ge...
875
876
877
878
879
880
881
882
883
884
  	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...
885
  	bool
dbb74540a   Ralf Baechle   [MIPS] Kconfig: F...
886

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
887
888
  config I8259
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
889

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
890
891
  config MIPS_BONITO64
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
892
893
894
  
  config MIPS_MSC
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
895

1f21d2bde   Brian Murphy   [MIPS] Add back s...
896
897
  config MIPS_NILE4
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
898
899
  config MIPS_DISABLE_OBSOLETE_IDE
  	bool
39b8d5254   Ralf Baechle   [MIPS] Add suppor...
900
901
  config SYNC_R4K
  	bool
487d70d0b   Gabor Juhos   MIPS: Add generic...
902
903
  config MIPS_MACHINE
  	def_bool n
d388d6853   Maciej W. Rozycki   [MIPS] No I/O por...
904
905
  config NO_IOPORT
  	def_bool n
8313da304   Ralf Baechle   [MIPS] Sort out h...
906
907
908
  config GENERIC_ISA_DMA
  	bool
  	select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
a35bee8a2   Namhyung Kim   MIPS: Enable ISA_...
909
  	select ISA_DMA_API
8313da304   Ralf Baechle   [MIPS] Sort out h...
910

aa414dff4   Ralf Baechle   [MIPS] Remove dup...
911
912
  config GENERIC_ISA_DMA_SUPPORT_BROKEN
  	bool
8313da304   Ralf Baechle   [MIPS] Sort out h...
913
  	select GENERIC_ISA_DMA
aa414dff4   Ralf Baechle   [MIPS] Remove dup...
914

a35bee8a2   Namhyung Kim   MIPS: Enable ISA_...
915
916
  config ISA_DMA_API
  	bool
096633358   Yoichi Yuasa   [MIPS] Add generi...
917
918
  config GENERIC_GPIO
  	bool
465aaed00   David Daney   MIPS: Octeon: Sel...
919
920
  config HOLES_IN_ZONE
  	bool
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
921
  #
3cb2fccc5   Matt LaPlante   Fix misc Kconfig ...
922
  # Endianess selection.  Sufficiently obscure so many users don't know what to
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
923
924
925
926
927
  # 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
928
929
  	help
  	  Some MIPS machines can be configured for either little or big endian
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
930
  	  byte order. These modes require different kernels and a different
3cb2fccc5   Matt LaPlante   Fix misc Kconfig ...
931
  	  Linux distribution.  In general there is one preferred byteorder for a
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
932
  	  particular system but some systems are just as commonly used in the
3dde6ad8f   David Sterba   Fix trivial typos...
933
  	  one or the other endianness.
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
934
935
936
937
938
939
940
941
942
943
944
  
  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...
945
946
  config EXPORT_UASM
  	bool
2116245ee   Ralf Baechle   [APM] MIPS: Conve...
947
948
  config SYS_SUPPORTS_APM_EMULATION
  	bool
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
949
950
951
952
953
  config SYS_SUPPORTS_BIG_ENDIAN
  	bool
  
  config SYS_SUPPORTS_LITTLE_ENDIAN
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
954

9cffd154c   David Daney   MIPS: Kconfig Add...
955
956
957
958
  config SYS_SUPPORTS_HUGETLBFS
  	bool
  	depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
959
960
961
962
963
  config IRQ_CPU
  	bool
  
  config IRQ_CPU_RM7K
  	bool
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
964
965
  config IRQ_CPU_RM9K
  	bool
9267a30d1   Marc St-Jean   [MIPS] PMC MSP71x...
966
967
968
969
970
  config IRQ_MSP_SLP
  	bool
  
  config IRQ_MSP_CIC
  	bool
8420fd00e   Atsushi Nemoto   [MIPS] The irq_ch...
971
972
  config IRQ_TXX9
  	bool
d5ab1a691   Yoichi Yuasa   [MIPS] Add GT641x...
973
974
  config IRQ_GT641XX
  	bool
39b8d5254   Ralf Baechle   [MIPS] Add suppor...
975
976
  config IRQ_GIC
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
977
978
  config MIPS_BOARDS_GEN
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
979

252161ecc   Yoichi Yuasa   [MIPS] merge GT64...
980
  config PCI_GT64XXX_PCI0
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
981
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
982

9267a30d1   Marc St-Jean   [MIPS] PMC MSP71x...
983
984
  config NO_EXCEPT_FILL
  	bool
663c3d900   thomas@koeller.dyndns.org   [MIPS] Add config...
985
986
987
  config MIPS_RM9122
  	bool
  	select SERIAL_RM9000
663c3d900   thomas@koeller.dyndns.org   [MIPS] Add config...
988

a83860c2d   Ralf Baechle   MIPS: Mark Eins: ...
989
990
991
992
993
994
995
996
997
998
999
  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...
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
  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...
1010
1011
1012
1013
1014
1015
  	select GENERIC_GPIO
  	select CPU_MIPSR2_IRQ_VI
  
  config SOC_PNX8335
  	bool
  	select SOC_PNX833X
bdf21b18b   Pete Popov   Philips PNX8550 s...
1016
1017
1018
1019
1020
1021
  config PNX8550
  	bool
  	select SOC_PNX8550
  
  config SOC_PNX8550
  	bool
bdf21b18b   Pete Popov   Philips PNX8550 s...
1022
1023
  	select DMA_NONCOHERENT
  	select HW_HAS_PCI
b8c2a77ce   Ralf Baechle   PNX8550 uses a MI...
1024
  	select SYS_HAS_CPU_MIPS32_R1
36a885306   Ralf Baechle   [MIPS] Fix and cl...
1025
  	select SYS_HAS_EARLY_PRINTK
7cf8053b8   Ralf Baechle   More foolproofing...
1026
  	select SYS_SUPPORTS_32BIT_KERNEL
4ead16819   Florian Fainelli   [MIPS] Add generi...
1027
  	select GENERIC_GPIO
bdf21b18b   Pete Popov   Philips PNX8550 s...
1028

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1029
1030
  config SWAP_IO_SPACE
  	bool
663c3d900   thomas@koeller.dyndns.org   [MIPS] Add config...
1031
1032
  config SERIAL_RM9000
  	bool
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
1033
1034
  config SGI_HAS_INDYDOG
  	bool
5b438c440   Thomas Bogendoerfer   [MIPS] IP22/28: A...
1035
1036
  config SGI_HAS_HAL2
  	bool
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
  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; ...
1051
1052
  config ARC32
  	bool
231a35d37   Thomas Bogendoerfer   [MIPS] RM: Collec...
1053
1054
  config SNIPROM
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1055
1056
  config BOOT_ELF32
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1057
1058
1059
  
  config MIPS_L1_CACHE_SHIFT
  	int
c70887555   Ralf Baechle   MIPS: Kconfig: Fi...
1060
  	default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
0db2b74e9   Ralf Baechle   MIPS: Set S-cache...
1061
  	default "6" if MIPS_CPU_SCACHE
a86c7f724   David Daney   MIPS: Add Cavium ...
1062
  	default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1063
  	default "5"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1064
1065
  config HAVE_STD_PC_SERIAL_PORT
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1066
1067
  config ARC_CONSOLE
  	bool "ARC console support"
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
1068
  	depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1069
1070
1071
  
  config ARC_MEMORY
  	bool
14b36af46   Thomas Bogendoerfer   [MIPS] Rename SNI...
1072
  	depends on MACH_JAZZ || SNI_RM || SGI_IP32
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1073
1074
1075
1076
  	default y
  
  config ARC_PROMLIB
  	bool
e2defae5a   Thomas Bogendoerfer   [MIPS] IP28 support
1077
  	depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1078
1079
1080
1081
  	default y
  
  config ARC64
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1082
1083
1084
  
  config BOOT_ELF64
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1085

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1086
1087
1088
1089
1090
  menu "CPU selection"
  
  choice
  	prompt "CPU type"
  	default CPU_R4X00
3702bba5e   Wu Zhangjin   MIPS: Loongson: A...
1091
1092
1093
1094
  config CPU_LOONGSON2E
  	bool "Loongson 2E"
  	depends on SYS_HAS_CPU_LOONGSON2E
  	select CPU_LOONGSON2
2a21c7300   Fuxin Zhang   [MIPS] define Hit...
1095
1096
1097
  	help
  	  The Loongson 2E processor implements the MIPS III instruction set
  	  with many extensions.
25985edce   Lucas De Marchi   Fix common misspe...
1098
  	  It has an internal FPGA northbridge, which is compatible to
6f7a251a2   Wu Zhangjin   MIPS: Loongson: A...
1099
1100
1101
1102
1103
1104
  	  bonito64.
  
  config CPU_LOONGSON2F
  	bool "Loongson 2F"
  	depends on SYS_HAS_CPU_LOONGSON2F
  	select CPU_LOONGSON2
c197da916   Arnaud Patard   MIPS: Loongson 2F...
1105
1106
  	select GENERIC_GPIO
  	select ARCH_REQUIRE_GPIOLIB
6f7a251a2   Wu Zhangjin   MIPS: Loongson: A...
1107
1108
1109
1110
1111
1112
1113
  	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...
1114
1115
  config CPU_MIPS32_R1
  	bool "MIPS32 Release 1"
7cf8053b8   Ralf Baechle   More foolproofing...
1116
  	depends on SYS_HAS_CPU_MIPS32_R1
6e760c8da   Ralf Baechle   Rename CONFIG_CPU...
1117
  	select CPU_HAS_PREFETCH
797798c1b   Ralf Baechle   A little more Kco...
1118
  	select CPU_SUPPORTS_32BIT_KERNEL
ec28f3065   Ralf Baechle   [MIPS] Enable hig...
1119
  	select CPU_SUPPORTS_HIGHMEM
6e760c8da   Ralf Baechle   Rename CONFIG_CPU...
1120
  	help
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1121
  	  Choose this option to build a kernel for release 1 or later of the
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
  	  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...
1133
  	depends on SYS_HAS_CPU_MIPS32_R2
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1134
  	select CPU_HAS_PREFETCH
797798c1b   Ralf Baechle   A little more Kco...
1135
  	select CPU_SUPPORTS_32BIT_KERNEL
ec28f3065   Ralf Baechle   [MIPS] Enable hig...
1136
  	select CPU_SUPPORTS_HIGHMEM
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1137
  	help
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1138
  	  Choose this option to build a kernel for release 2 or later of the
6e760c8da   Ralf Baechle   Rename CONFIG_CPU...
1139
1140
1141
1142
1143
1144
1145
  	  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...
1146
  	depends on SYS_HAS_CPU_MIPS64_R1
797798c1b   Ralf Baechle   A little more Kco...
1147
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1148
1149
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
ec28f3065   Ralf Baechle   [MIPS] Enable hig...
1150
  	select CPU_SUPPORTS_HIGHMEM
9cffd154c   David Daney   MIPS: Kconfig Add...
1151
  	select CPU_SUPPORTS_HUGEPAGES
6e760c8da   Ralf Baechle   Rename CONFIG_CPU...
1152
1153
1154
1155
1156
1157
  	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...
1158
1159
1160
1161
1162
1163
1164
  	  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...
1165
  	depends on SYS_HAS_CPU_MIPS64_R2
797798c1b   Ralf Baechle   A little more Kco...
1166
  	select CPU_HAS_PREFETCH
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1167
1168
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
ec28f3065   Ralf Baechle   [MIPS] Enable hig...
1169
  	select CPU_SUPPORTS_HIGHMEM
9cffd154c   David Daney   MIPS: Kconfig Add...
1170
  	select CPU_SUPPORTS_HUGEPAGES
1e5f1caa5   Ralf Baechle   MIPS 32/64 R2 con...
1171
1172
1173
1174
1175
1176
  	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
1177
1178
1179
  
  config CPU_R3000
  	bool "R3000"
7cf8053b8   Ralf Baechle   More foolproofing...
1180
  	depends on SYS_HAS_CPU_R3000
f7062ddb2   Ralf Baechle   [MIPS] Get rid of...
1181
  	select CPU_HAS_WB
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1182
  	select CPU_SUPPORTS_32BIT_KERNEL
797798c1b   Ralf Baechle   A little more Kco...
1183
  	select CPU_SUPPORTS_HIGHMEM
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
  	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...
1194
  	depends on SYS_HAS_CPU_TX39XX
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1195
  	select CPU_SUPPORTS_32BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1196
1197
1198
  
  config CPU_VR41XX
  	bool "R41xx"
7cf8053b8   Ralf Baechle   More foolproofing...
1199
  	depends on SYS_HAS_CPU_VR41XX
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1200
1201
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1202
  	help
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1203
  	  The options selects support for the NEC VR4100 series of processors.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1204
1205
1206
1207
1208
1209
  	  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...
1210
  	depends on SYS_HAS_CPU_R4300
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1211
1212
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1213
1214
1215
1216
1217
  	help
  	  MIPS Technologies R4300-series processors.
  
  config CPU_R4X00
  	bool "R4x00"
7cf8053b8   Ralf Baechle   More foolproofing...
1218
  	depends on SYS_HAS_CPU_R4X00
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1219
1220
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1221
1222
1223
1224
1225
1226
  	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...
1227
  	depends on SYS_HAS_CPU_TX49XX
de862b488   Atsushi Nemoto   [MIPS] TX49XX has...
1228
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1229
1230
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1231
1232
1233
  
  config CPU_R5000
  	bool "R5000"
7cf8053b8   Ralf Baechle   More foolproofing...
1234
  	depends on SYS_HAS_CPU_R5000
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 R5000-series processors other than the Nevada.
  
  config CPU_R5432
  	bool "R5432"
7cf8053b8   Ralf Baechle   More foolproofing...
1242
  	depends on SYS_HAS_CPU_R5432
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1243
1244
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1245

542c1020a   Shinya Kuribayashi   MIPS: Add CONFIG_...
1246
1247
1248
  config CPU_R5500
  	bool "R5500"
  	depends on SYS_HAS_CPU_R5500
542c1020a   Shinya Kuribayashi   MIPS: Add CONFIG_...
1249
1250
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
9cffd154c   David Daney   MIPS: Kconfig Add...
1251
  	select CPU_SUPPORTS_HUGEPAGES
542c1020a   Shinya Kuribayashi   MIPS: Add CONFIG_...
1252
1253
1254
  	help
  	  NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
  	  instruction set.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1255
1256
  config CPU_R6000
  	bool "R6000"
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1257
  	depends on EXPERIMENTAL
7cf8053b8   Ralf Baechle   More foolproofing...
1258
  	depends on SYS_HAS_CPU_R6000
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1259
  	select CPU_SUPPORTS_32BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1260
1261
  	help
  	  MIPS Technologies R6000 and R6000A series processors.  Note these
c09b47d8a   Chris Dearman   [MIPS] Typo fixes.
1262
  	  processors are extremely rare and the support for them is incomplete.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1263
1264
1265
  
  config CPU_NEVADA
  	bool "RM52xx"
7cf8053b8   Ralf Baechle   More foolproofing...
1266
  	depends on SYS_HAS_CPU_NEVADA
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1267
1268
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1269
1270
1271
1272
1273
  	help
  	  QED / PMC-Sierra RM52xx-series ("Nevada") processors.
  
  config CPU_R8000
  	bool "R8000"
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1274
  	depends on EXPERIMENTAL
7cf8053b8   Ralf Baechle   More foolproofing...
1275
  	depends on SYS_HAS_CPU_R8000
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1276
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1277
  	select CPU_SUPPORTS_64BIT_KERNEL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1278
1279
1280
1281
1282
1283
  	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...
1284
  	depends on SYS_HAS_CPU_R10000
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1285
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1286
1287
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
797798c1b   Ralf Baechle   A little more Kco...
1288
  	select CPU_SUPPORTS_HIGHMEM
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1289
1290
1291
1292
1293
  	help
  	  MIPS Technologies R10000-series processors.
  
  config CPU_RM7000
  	bool "RM7000"
7cf8053b8   Ralf Baechle   More foolproofing...
1294
  	depends on SYS_HAS_CPU_RM7000
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1295
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1296
1297
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
797798c1b   Ralf Baechle   A little more Kco...
1298
  	select CPU_SUPPORTS_HIGHMEM
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1299
1300
1301
  
  config CPU_RM9000
  	bool "RM9000"
7cf8053b8   Ralf Baechle   More foolproofing...
1302
  	depends on SYS_HAS_CPU_RM9000
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1303
  	select CPU_HAS_PREFETCH
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1304
1305
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
797798c1b   Ralf Baechle   A little more Kco...
1306
  	select CPU_SUPPORTS_HIGHMEM
0004a9dfe   Ralf Baechle   [MIPS] Cleanup me...
1307
  	select WEAK_ORDERING
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1308
1309
1310
  
  config CPU_SB1
  	bool "SB1"
7cf8053b8   Ralf Baechle   More foolproofing...
1311
  	depends on SYS_HAS_CPU_SB1
ed5ba2fbc   Yoichi Yuasa   [PATCH] mips: add...
1312
1313
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
797798c1b   Ralf Baechle   A little more Kco...
1314
  	select CPU_SUPPORTS_HIGHMEM
0004a9dfe   Ralf Baechle   [MIPS] Cleanup me...
1315
  	select WEAK_ORDERING
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1316

a86c7f724   David Daney   MIPS: Add Cavium ...
1317
1318
  config CPU_CAVIUM_OCTEON
  	bool "Cavium Octeon processor"
5e6833892   David Daney   MIPS: Only allow ...
1319
  	depends on SYS_HAS_CPU_CAVIUM_OCTEON
a86c7f724   David Daney   MIPS: Add Cavium ...
1320
1321
1322
1323
1324
  	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 ...
1325
  	select CPU_SUPPORTS_HIGHMEM
9cffd154c   David Daney   MIPS: Kconfig Add...
1326
  	select CPU_SUPPORTS_HUGEPAGES
a86c7f724   David Daney   MIPS: Add Cavium ...
1327
1328
1329
1330
1331
  	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...
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
  config CPU_BMIPS3300
  	bool "BMIPS3300"
  	depends on SYS_HAS_CPU_BMIPS3300
  	select DMA_NONCOHERENT
  	select IRQ_CPU
  	select SWAP_IO_SPACE
  	select SYS_SUPPORTS_32BIT_KERNEL
  	select WEAK_ORDERING
  	help
  	  Broadcom BMIPS3300 processors.
  
  config CPU_BMIPS4350
  	bool "BMIPS4350"
  	depends on SYS_HAS_CPU_BMIPS4350
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select DMA_NONCOHERENT
  	select IRQ_CPU
  	select SWAP_IO_SPACE
  	select SYS_SUPPORTS_SMP
  	select SYS_SUPPORTS_HOTPLUG_CPU
  	select WEAK_ORDERING
  	help
  	  Broadcom BMIPS4350 ("VIPER") processors.
  
  config CPU_BMIPS4380
  	bool "BMIPS4380"
  	depends on SYS_HAS_CPU_BMIPS4380
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select DMA_NONCOHERENT
  	select IRQ_CPU
  	select SWAP_IO_SPACE
  	select SYS_SUPPORTS_SMP
  	select SYS_SUPPORTS_HOTPLUG_CPU
  	select WEAK_ORDERING
  	help
  	  Broadcom BMIPS4380 processors.
  
  config CPU_BMIPS5000
  	bool "BMIPS5000"
  	depends on SYS_HAS_CPU_BMIPS5000
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_HIGHMEM
  	select DMA_NONCOHERENT
  	select IRQ_CPU
  	select SWAP_IO_SPACE
  	select SYS_SUPPORTS_SMP
  	select SYS_SUPPORTS_HOTPLUG_CPU
  	select WEAK_ORDERING
  	help
  	  Broadcom BMIPS5000 processors.
7f058e852   Jayachandran C   MIPS: Kconfig and...
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
  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.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1393
  endchoice
622844bf0   Wu Zhangjin   MIPS: Loongson: A...
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
  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...
1420
1421
1422
1423
1424
  config SYS_SUPPORTS_ZBOOT
  	bool
  	select HAVE_KERNEL_GZIP
  	select HAVE_KERNEL_BZIP2
  	select HAVE_KERNEL_LZMA
fe1d45e08   Wu Zhangjin   MIPS: Add support...
1425
  	select HAVE_KERNEL_LZO
1b93b3c3e   Wu Zhangjin   MIPS: Add support...
1426
1427
1428
1429
  
  config SYS_SUPPORTS_ZBOOT_UART16550
  	bool
  	select SYS_SUPPORTS_ZBOOT
3702bba5e   Wu Zhangjin   MIPS: Loongson: A...
1430
1431
1432
1433
1434
1435
1436
  config CPU_LOONGSON2
  	bool
  	select CPU_SUPPORTS_32BIT_KERNEL
  	select CPU_SUPPORTS_64BIT_KERNEL
  	select CPU_SUPPORTS_HIGHMEM
  
  config SYS_HAS_CPU_LOONGSON2E
2a21c7300   Fuxin Zhang   [MIPS] define Hit...
1437
  	bool
6f7a251a2   Wu Zhangjin   MIPS: Loongson: A...
1438
1439
  config SYS_HAS_CPU_LOONGSON2F
  	bool
55045ff55   Wu Zhangjin   MIPS: Loongson 2F...
1440
1441
  	select CPU_SUPPORTS_CPUFREQ
  	select CPU_SUPPORTS_ADDRWINCFG if 64BIT
22f1fdfd6   Wu Zhangjin   MIPS: Add support...
1442
  	select CPU_SUPPORTS_UNCACHED_ACCELERATED
6f7a251a2   Wu Zhangjin   MIPS: Loongson: A...
1443

7cf8053b8   Ralf Baechle   More foolproofing...
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
  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_...
1479
1480
  config SYS_HAS_CPU_R5500
  	bool
7cf8053b8   Ralf Baechle   More foolproofing...
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
  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 ...
1501
1502
  config SYS_HAS_CPU_CAVIUM_OCTEON
  	bool
c1c0c461c   Kevin Cernekee   MIPS: Add BMIPS p...
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
  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...
1514
1515
  config SYS_HAS_CPU_XLR
  	bool
17099b114   Ralf Baechle   [MIPS] Make suppo...
1516
1517
1518
1519
  #
  # 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...
1520
1521
  config WEAK_ORDERING
  	bool
17099b114   Ralf Baechle   [MIPS] Make suppo...
1522
1523
1524
1525
1526
1527
1528
  
  #
  # 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; ...
1529
1530
1531
  endmenu
  
  #
c09b47d8a   Chris Dearman   [MIPS] Typo fixes.
1532
  # These two indicate any level of the MIPS32 and MIPS64 architecture
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
  #
  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.
1543
  # These two indicate the revision of the architecture, either Release 1 or Release 2
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1544
1545
1546
1547
1548
1549
1550
  #
  config CPU_MIPSR1
  	bool
  	default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
  
  config CPU_MIPSR2
  	bool
a86c7f724   David Daney   MIPS: Add Cavium ...
1551
  	default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1552
1553
1554
1555
1556
1557
1558
1559
1560
  
  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...
1561
1562
1563
1564
  config CPU_SUPPORTS_CPUFREQ
  	bool
  config CPU_SUPPORTS_ADDRWINCFG
  	bool
9cffd154c   David Daney   MIPS: Kconfig Add...
1565
1566
  config CPU_SUPPORTS_HUGEPAGES
  	bool
22f1fdfd6   Wu Zhangjin   MIPS: Add support...
1567
1568
  config CPU_SUPPORTS_UNCACHED_ACCELERATED
  	bool
82622284d   David Daney   MIPS: Put PGD in ...
1569
1570
1571
  config MIPS_PGD_C0_CONTEXT
  	bool
  	default y if 64BIT && CPU_MIPSR2
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1572

8192c9ea9   David Daney   MIPS: Add HARDWAR...
1573
1574
1575
1576
1577
  #
  # Set to y for ptrace access to watch registers.
  #
  config HARDWARE_WATCHPOINTS
         bool
f839490ab   David Daney   MIPS: Use hardwar...
1578
         default y if CPU_MIPSR1 || CPU_MIPSR2
8192c9ea9   David Daney   MIPS: Add HARDWAR...
1579

5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
  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...
1600
  	select HAVE_SYSCALL_WRAPPERS
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
1601
1602
1603
1604
  	help
  	  Select this option if you want to build a 64-bit kernel.
  
  endchoice
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1605
1606
1607
1608
1609
1610
  choice
  	prompt "Kernel page size"
  	default PAGE_SIZE_4KB
  
  config PAGE_SIZE_4KB
  	bool "4kB"
315fe625f   Wu Zhangjin   MIPS: Loongson: D...
1611
  	depends on !CPU_LOONGSON2
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1612
1613
1614
1615
1616
1617
1618
1619
  	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...
1620
  	depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1621
1622
1623
  	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...
1624
1625
  	  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
1626
1627
1628
  
  config PAGE_SIZE_16KB
  	bool "16kB"
714bfad60   Ralf Baechle   [MIPS] Remove EXP...
1629
  	depends on !CPU_R3000 && !CPU_TX39XX
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1630
1631
1632
  	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...
1633
1634
  	  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
1635

c52399bec   Ralf Baechle   MIPS: Cavium: Add...
1636
1637
1638
1639
1640
1641
1642
1643
  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
1644
1645
1646
1647
1648
1649
1650
  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...
1651
  	  writing this option is still high experimental.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1652
1653
  
  endchoice
c9bace7ca   David Daney   MIPS: Add a CONFI...
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
  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
1675
1676
1677
1678
1679
1680
  config BOARD_SCACHE
  	bool
  
  config IP22_CPU_SCACHE
  	bool
  	select BOARD_SCACHE
9318c51ac   Chris Dearman   [MIPS] MIPS32/MIP...
1681
1682
1683
1684
1685
1686
  #
  # Support for a MIPS32 / MIPS64 style S-caches
  #
  config MIPS_CPU_SCACHE
  	bool
  	select BOARD_SCACHE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
  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...
1704
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1705

340ee4b98   Ralf Baechle   Virtual SMP suppo...
1706
1707
  choice
  	prompt "MIPS MT options"
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1708
1709
1710
1711
1712
1713
1714
1715
  
  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...
1716

59d6ab86a   Ralf Baechle   [MIPS] Update Mal...
1717
1718
  config MIPS_MT_SMP
  	bool "Use 1 TC on each available VPE for SMP"
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1719
  	depends on SYS_SUPPORTS_MULTITHREADING
f7062ddb2   Ralf Baechle   [MIPS] Get rid of...
1720
  	select CPU_MIPSR2_IRQ_VI
d725cf381   Chris Dearman   [MIPS] MT: Reenab...
1721
  	select CPU_MIPSR2_IRQ_EI
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1722
  	select MIPS_MT
f510aa3bd   Ralf Baechle   [MIPS] Kconfig: M...
1723
  	select NR_CPUS_DEFAULT_2
41c594ab6   Ralf Baechle   [MIPS] MT: Improv...
1724
  	select SMP
0ab7aefc4   Ralf Baechle   [MIPS] MT: Schedu...
1725
  	select SYS_SUPPORTS_SCHED_SMT if SMP
73b76c78f   Ralf Baechle   [MIPS] MT: When d...
1726
  	select SYS_SUPPORTS_SMP
87353d8ac   Ralf Baechle   [MIPS] SMP: Call ...
1727
  	select SMP_UP
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1728
  	help
25f12b339   Ralf Baechle   MIPS: Kconfig: Fi...
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
  	  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...
1739

59d6ab86a   Ralf Baechle   [MIPS] Update Mal...
1740
1741
1742
1743
  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...
1744
1745
  	depends on SYS_SUPPORTS_MULTITHREADING
  	select CPU_MIPSR2_IRQ_VI
d725cf381   Chris Dearman   [MIPS] MT: Reenab...
1746
  	select CPU_MIPSR2_IRQ_EI
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1747
  	select MIPS_MT
130e2fb78   Ralf Baechle   [MIPS] Kconfig: P...
1748
  	select NR_CPUS_DEFAULT_8
340ee4b98   Ralf Baechle   Virtual SMP suppo...
1749
  	select SMP
73b76c78f   Ralf Baechle   [MIPS] MT: When d...
1750
  	select SYS_SUPPORTS_SMP
87353d8ac   Ralf Baechle   [MIPS] SMP: Call ...
1751
  	select SMP_UP
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1752
  	help
59d6ab86a   Ralf Baechle   [MIPS] Update Mal...
1753
1754
  	  This is a kernel model which is known a SMTC or lately has been
  	  marketesed into SMVP.
25f12b339   Ralf Baechle   MIPS: Kconfig: Fi...
1755
1756
1757
1758
1759
1760
1761
1762
  	  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...
1763

340ee4b98   Ralf Baechle   Virtual SMP suppo...
1764
  endchoice
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1765
1766
  config MIPS_MT
  	bool
0ab7aefc4   Ralf Baechle   [MIPS] MT: Schedu...
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
  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...
1778
1779
  config SYS_SUPPORTS_MULTITHREADING
  	bool
f088fc84f   Ralf Baechle   [MIPS] FPU affini...
1780
1781
  config MIPS_MT_FPAFF
  	bool "Dynamic FPU affinity for FP-intensive threads"
f088fc84f   Ralf Baechle   [MIPS] FPU affini...
1782
  	default y
07cc0c9e6   Ralf Baechle   [MIPS] MT: Enable...
1783
1784
1785
1786
1787
1788
1789
  	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...
1790
1791
1792
1793
  	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...
1794

0db34215c   Kevin D. Kissell   [MIPS] SMTC: Inte...
1795
1796
1797
  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 ...
1798
  	default n
0db34215c   Kevin D. Kissell   [MIPS] SMTC: Inte...
1799
1800
1801
1802
1803
1804
  	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 ...
1805
  	  impact on interrupt service overhead.
0db34215c   Kevin D. Kissell   [MIPS] SMTC: Inte...
1806

f571eff0a   Kevin D. Kissell   [MIPS] IRQ Affini...
1807
1808
1809
1810
1811
1812
1813
1814
  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 ...
1815
1816
  	  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...
1817

e01402b11   Ralf Baechle   More AP / SP bits...
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
  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; ...
1830
1831
1832
  	bool "Enable support for AP/SP API (RTLX)"
  	depends on MIPS_VPE_LOADER
  	help
e01402b11   Ralf Baechle   More AP / SP bits...
1833

2600990e6   Ralf Baechle   [MIPS] kpsd and o...
1834
1835
1836
1837
1838
1839
1840
1841
1842
  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...
1843
1844
1845
  config MIPS_CMP
  	bool "MIPS CMP framework support"
  	depends on SYS_SUPPORTS_MIPS_CMP
eb9b5141a   Tim Anderson   MIPS: CMP: Update...
1846
  	select SYNC_R4K
4a16ff4c6   Ralf Baechle   [MIPS] Fix CMP Kc...
1847
1848
1849
1850
1851
1852
1853
  	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
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
  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...
1870
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1871

60ec6571c   pascal@pabr.org   MIPS: Support 36-...
1872
1873
  config ARCH_PHYS_ADDR_T_64BIT
         def_bool 64BIT_PHYS_ADDR
9693a8537   Franck Bui-Huu   [MIPS] Add basic ...
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
  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
1885
  config CPU_HAS_WB
f7062ddb2   Ralf Baechle   [MIPS] Get rid of...
1886
  	bool
e01402b11   Ralf Baechle   More AP / SP bits...
1887

f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1888
1889
1890
  #
  # Vectored interrupt mode is an R2 feature
  #
e01402b11   Ralf Baechle   More AP / SP bits...
1891
  config CPU_MIPSR2_IRQ_VI
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1892
  	bool
e01402b11   Ralf Baechle   More AP / SP bits...
1893

f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1894
1895
1896
  #
  # Extended interrupt mode is an R2 feature
  #
e01402b11   Ralf Baechle   More AP / SP bits...
1897
  config CPU_MIPSR2_IRQ_EI
f41ae0b2b   Ralf Baechle   [MIPS] Fix config...
1898
  	bool
e01402b11   Ralf Baechle   More AP / SP bits...
1899

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1900
1901
1902
1903
  config CPU_HAS_SYNC
  	bool
  	depends on !CPU_R3000
  	default y
ea5804015   Ralf Baechle   [MIPS] Dyntick su...
1904
1905
  config GENERIC_CLOCKEVENTS_BROADCAST
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1906
  #
20d60d997   Maciej W. Rozycki   [MIPS] R4000/R440...
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
  # 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
1920
1921
1922
1923
1924
1925
1926
1927
  # - 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...
1928
1929
1930
  # - 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
1931
1932
1933
  #
  config HIGHMEM
  	bool "High Memory Support"
797798c1b   Ralf Baechle   A little more Kco...
1934
1935
1936
1937
1938
1939
1940
  	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
1941

9693a8537   Franck Bui-Huu   [MIPS] Add basic ...
1942
1943
  config SYS_SUPPORTS_SMARTMIPS
  	bool
b4819b593   Yoichi Yuasa   [PATCH] mips: add...
1944
1945
  config ARCH_FLATMEM_ENABLE
  	def_bool y
f133f22dd   Wu Zhangjin   MIPS: Loongson: S...
1946
  	depends on !NUMA && !CPU_LOONGSON2
b4819b593   Yoichi Yuasa   [PATCH] mips: add...
1947

d8cb4e119   Ralf Baechle   [MIPS] Cleanup AR...
1948
1949
1950
1951
  config ARCH_DISCONTIGMEM_ENABLE
  	bool
  	default y if SGI_IP27
  	help
3dde6ad8f   David Sterba   Fix trivial typos...
1952
  	  Say Y to support efficient handling of discontiguous physical memory,
d8cb4e119   Ralf Baechle   [MIPS] Cleanup AR...
1953
1954
1955
  	  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...
1956
1957
  config ARCH_SPARSEMEM_ENABLE
  	bool
7de58fab9   Atsushi Nemoto   [MIPS] Sparsemem ...
1958
  	select SPARSEMEM_STATIC
31473747b   Atsushi Nemoto   [MIPS] Make SPARS...
1959

d8cb4e119   Ralf Baechle   [MIPS] Cleanup AR...
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
  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...
1972
1973
1974
1975
  config NODES_SHIFT
  	int
  	default "6"
  	depends on NEED_MULTIPLE_NODES
14f700128   Deng-Cheng Zhu   MIPS: add support...
1976
1977
  config HW_PERF_EVENTS
  	bool "Enable hardware performance counter support for perf events"
939991cff   David Daney   MIPS: perf: Add O...
1978
  	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...
1979
1980
1981
1982
  	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...
1983
  source "mm/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1984
1985
  config SMP
  	bool "Multi-Processing support"
e73ea273e   Ralf Baechle   [MIPS] Fix build ...
1986
  	depends on SYS_SUPPORTS_SMP
b4b30a5a0   Ralf Baechle   [MIPS] Cleanup le...
1987
  	select IRQ_PER_CPU
2f304c0a0   Jens Axboe   mips: convert to ...
1988
  	select USE_GENERIC_SMP_HELPERS
e73ea273e   Ralf Baechle   [MIPS] Fix build ...
1989
  	help
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
  	  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...
2002
2003
  	  See also the SMP-HOWTO available at
  	  <http://www.tldp.org/docs.html#howto>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2004
2005
  
  	  If you don't know what to do here, say N.
87353d8ac   Ralf Baechle   [MIPS] SMP: Call ...
2006
2007
  config SMP_UP
  	bool
4a16ff4c6   Ralf Baechle   [MIPS] Fix CMP Kc...
2008
2009
  config SYS_SUPPORTS_MIPS_CMP
  	bool
e73ea273e   Ralf Baechle   [MIPS] Fix build ...
2010
2011
  config SYS_SUPPORTS_SMP
  	bool
72ede9b18   Atsushi Nemoto   [MIPS] Qemu: Fix ...
2012
2013
  config NR_CPUS_DEFAULT_1
  	bool
130e2fb78   Ralf Baechle   [MIPS] Kconfig: P...
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
  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
2031
2032
  config NR_CPUS
  	int "Maximum number of CPUs (2-64)"
72ede9b18   Atsushi Nemoto   [MIPS] Qemu: Fix ...
2033
  	range 1 64 if NR_CPUS_DEFAULT_1
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2034
  	depends on SMP
72ede9b18   Atsushi Nemoto   [MIPS] Qemu: Fix ...
2035
  	default "1" if NR_CPUS_DEFAULT_1
130e2fb78   Ralf Baechle   [MIPS] Kconfig: P...
2036
2037
2038
2039
2040
2041
  	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
2042
2043
2044
2045
  	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 ...
2046
2047
  	  sense is 1 for Qemu (useful only for kernel debugging purposes)
  	  and 2 for all others.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2048
2049
  
  	  This is purely to save memory - each supported CPU adds
72ede9b18   Atsushi Nemoto   [MIPS] Qemu: Fix ...
2050
2051
2052
  	  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
2053

c4eee283e   Atsushi Nemoto   [MIPS] Move inclu...
2054
  source "kernel/time/Kconfig"
1723b4a34   Atsushi Nemoto   [MIPS] Make timer...
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
  #
  # 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...
2066
  		bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
1723b4a34   Atsushi Nemoto   [MIPS] Make timer...
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
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
  
  	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.
2125
  source "kernel/Kconfig.preempt"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2126

ea6e942be   Atsushi Nemoto   [MIPS] Kconfig: M...
2127
2128
2129
2130
2131
2132
  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...
2133
  	  but it is independent of the system firmware.   And like a reboot
ea6e942be   Atsushi Nemoto   [MIPS] Kconfig: M...
2134
  	  you can start any kernel with it, not just Linux.
01dd2fbf0   Matt LaPlante   typo fixes
2135
  	  The name comes from the similarity to the exec system call.
ea6e942be   Atsushi Nemoto   [MIPS] Kconfig: M...
2136
2137
2138
2139
2140
2141
2142
2143
2144
  
  	  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...
2145
  	depends on PROC_FS
ea6e942be   Atsushi Nemoto   [MIPS] Kconfig: M...
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
  	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...
2159
2160
2161
  config USE_OF
  	bool "Flattened Device Tree support"
  	select OF
e6ce1324e   Stephen Neuendorffer   of/flattree: Add ...
2162
  	select OF_EARLY_FLATTREE
f2ffa5ab7   Dezhong Diao   of/mips: Add devi...
2163
2164
  	help
  	  Include support for flattened device tree machine descriptions.
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
2165
  endmenu
1df0f0ff7   Atsushi Nemoto   [MIPS] lockdep: A...
2166
2167
2168
2169
2170
2171
2172
  config LOCKDEP_SUPPORT
  	bool
  	default y
  
  config STACKTRACE_SUPPORT
  	bool
  	default y
b6c3539bd   Ralf Baechle   [MIPS] Kconfig: I...
2173
  source "init/Kconfig"
dc52ddc0e   Matt Helsley   container freezer...
2174
  source "kernel/Kconfig.freezer"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2175
  menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
5e83d4305   Ralf Baechle   Sliceup Kconfig; ...
2176
2177
  config HW_HAS_EISA
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2178
2179
2180
2181
2182
2183
  config HW_HAS_PCI
  	bool
  
  config PCI
  	bool "Support for PCI controller"
  	depends on HW_HAS_PCI
abb4ae463   Ralf Baechle   [MIPS] PCI: Alway...
2184
  	select PCI_DOMAINS
eab90291d   Michael S. Tsirkin   mips: switch to G...
2185
  	select GENERIC_PCI_IOMAP
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2186
2187
2188
2189
2190
  	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
2191
2192
  config PCI_DOMAINS
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
  
  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; ...
2206
  	depends on HW_HAS_EISA
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2207
  	select ISA
aa414dff4   Ralf Baechle   [MIPS] Remove dup...
2208
  	select GENERIC_ISA_DMA
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
  	---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...
2228
2229
2230
2231
2232
2233
2234
2235
  	  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
2236

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2237
2238
2239
  config MMU
  	bool
  	default y
d865bea4d   Ralf Baechle   [MIPS] i8253 PIT ...
2240
2241
  config I8253
  	bool
798778b86   Russell King   clocksource: conv...
2242
  	select CLKSRC_I8253
2d02612f6   Thomas Gleixner   mips: Use common ...
2243
  	select CLKEVT_I8253
9726b43a4   Wu Zhangjin   MIPS: Add basic C...
2244
  	select MIPS_EXTERNAL_TIMER
d865bea4d   Ralf Baechle   [MIPS] i8253 PIT ...
2245

cce335ae4   Ralf Baechle   [MIPS] 64-bit Sib...
2246
2247
  config ZONE_DMA32
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2248
2249
2250
  source "drivers/pcmcia/Kconfig"
  
  source "drivers/pci/hotplug/Kconfig"
388b78adc   Alexandre Bounine   rapidio: modify c...
2251
2252
2253
2254
2255
2256
2257
2258
2259
  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
2260
2261
2262
2263
2264
2265
2266
2267
  endmenu
  
  menu "Executable file formats"
  
  source "fs/Kconfig.binfmt"
  
  config TRAD_SIGNALS
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2268

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2269
2270
  config MIPS32_COMPAT
  	bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
875d43e72   Ralf Baechle   [PATCH] mips: cle...
2271
  	depends on 64BIT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2272
2273
2274
2275
2276
2277
2278
2279
2280
  	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...
2281
2282
2283
2284
  config SYSVIPC_COMPAT
  	bool
  	depends on COMPAT && SYSVIPC
  	default y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
  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...
2309
2310
2311
  endmenu
  
  menu "Power management options"
363c55cae   Wu Zhangjin   MIPS: Add hiberna...
2312
2313
  config ARCH_HIBERNATION_POSSIBLE
  	def_bool y
3f5b3e17f   Ralf Baechle   MIPS: Allow suspe...
2314
  	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
363c55cae   Wu Zhangjin   MIPS: Add hiberna...
2315

f4cb57007   Johannes Berg   Suspend: Clean up...
2316
2317
  config ARCH_SUSPEND_POSSIBLE
  	def_bool y
3f5b3e17f   Ralf Baechle   MIPS: Allow suspe...
2318
  	depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
f4cb57007   Johannes Berg   Suspend: Clean up...
2319

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

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2322
  endmenu
9726b43a4   Wu Zhangjin   MIPS: Add basic C...
2323
  source "arch/mips/kernel/cpufreq/Kconfig"
d5950b435   Sam Ravnborg   [NET]: add a top-...
2324
  source "net/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
  source "drivers/Kconfig"
  
  source "fs/Kconfig"
  
  source "arch/mips/Kconfig.debug"
  
  source "security/Kconfig"
  
  source "crypto/Kconfig"
  
  source "lib/Kconfig"