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