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