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