]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1da177e4 LT |
2 | config MIPS |
3 | bool | |
4 | default y | |
942fa985 | 5 | select ARCH_32BIT_OFF_T if !64BIT |
ea6a3737 | 6 | select ARCH_BINFMT_ELF_STATE if MIPS_FP_SUPPORT |
12597988 | 7 | select ARCH_CLOCKSOURCE_DATA |
12597988 MR |
8 | select ARCH_HAS_ELF_RANDOMIZE |
9 | select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST | |
1e35918a | 10 | select ARCH_HAS_UBSAN_SANITIZE_ALL |
12597988 | 11 | select ARCH_SUPPORTS_UPROBES |
1ee3630a | 12 | select ARCH_USE_BUILTIN_BSWAP |
12597988 | 13 | select ARCH_USE_CMPXCHG_LOCKREF if 64BIT |
25da4e9d | 14 | select ARCH_USE_QUEUED_RWLOCKS |
0b17c967 | 15 | select ARCH_USE_QUEUED_SPINLOCKS |
12597988 MR |
16 | select ARCH_WANT_IPC_PARSE_VERSION |
17 | select BUILDTIME_EXTABLE_SORT | |
18 | select CLONE_BACKWARDS | |
57eeaced | 19 | select CPU_NO_EFFICIENT_FFS if (TARGET_ISA_REV < 1) |
12597988 MR |
20 | select CPU_PM if CPU_IDLE |
21 | select GENERIC_ATOMIC64 if !64BIT | |
22 | select GENERIC_CLOCKEVENTS | |
23 | select GENERIC_CMOS_UPDATE | |
24 | select GENERIC_CPU_AUTOPROBE | |
24640f23 | 25 | select GENERIC_GETTIMEOFDAY |
b962aeb0 | 26 | select GENERIC_IOMAP |
12597988 MR |
27 | select GENERIC_IRQ_PROBE |
28 | select GENERIC_IRQ_SHOW | |
6630a8e5 | 29 | select GENERIC_ISA_DMA if EISA |
740129b3 AP |
30 | select GENERIC_LIB_ASHLDI3 |
31 | select GENERIC_LIB_ASHRDI3 | |
32 | select GENERIC_LIB_CMPDI2 | |
33 | select GENERIC_LIB_LSHRDI3 | |
34 | select GENERIC_LIB_UCMPDI2 | |
12597988 MR |
35 | select GENERIC_SCHED_CLOCK if !CAVIUM_OCTEON_SOC |
36 | select GENERIC_SMP_IDLE_THREAD | |
37 | select GENERIC_TIME_VSYSCALL | |
446f062b | 38 | select GUP_GET_PTE_LOW_HIGH if CPU_MIPS32 && PHYS_ADDR_T_64BIT |
12597988 | 39 | select HANDLE_DOMAIN_IRQ |
906d441f | 40 | select HAVE_ARCH_COMPILER_H |
12597988 | 41 | select HAVE_ARCH_JUMP_LABEL |
88547001 | 42 | select HAVE_ARCH_KGDB |
109c32ff MR |
43 | select HAVE_ARCH_MMAP_RND_BITS if MMU |
44 | select HAVE_ARCH_MMAP_RND_COMPAT_BITS if MMU && COMPAT | |
490b004f | 45 | select HAVE_ARCH_SECCOMP_FILTER |
c0ff3c53 | 46 | select HAVE_ARCH_TRACEHOOK |
45e03e62 | 47 | select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES |
716850ab | 48 | select HAVE_EBPF_JIT if (!CPU_MICROMIPS) |
12597988 MR |
49 | select HAVE_CONTEXT_TRACKING |
50 | select HAVE_COPY_THREAD_TLS | |
51 | select HAVE_C_RECORDMCOUNT | |
52 | select HAVE_DEBUG_KMEMLEAK | |
53 | select HAVE_DEBUG_STACKOVERFLOW | |
12597988 | 54 | select HAVE_DMA_CONTIGUOUS |
538f1952 | 55 | select HAVE_DYNAMIC_FTRACE |
12597988 | 56 | select HAVE_EXIT_THREAD |
67a929e0 | 57 | select HAVE_FAST_GUP |
538f1952 | 58 | select HAVE_FTRACE_MCOUNT_RECORD |
29c5d346 | 59 | select HAVE_FUNCTION_GRAPH_TRACER |
12597988 | 60 | select HAVE_FUNCTION_TRACER |
12597988 | 61 | select HAVE_IDE |
b3a428b4 | 62 | select HAVE_IOREMAP_PROT |
12597988 MR |
63 | select HAVE_IRQ_EXIT_ON_IRQ_STACK |
64 | select HAVE_IRQ_TIME_ACCOUNTING | |
c1bf207d DD |
65 | select HAVE_KPROBES |
66 | select HAVE_KRETPROBES | |
c0436b50 | 67 | select HAVE_LD_DEAD_CODE_DATA_ELIMINATION |
9d15ffc8 | 68 | select HAVE_MEMBLOCK_NODE_MAP |
786d35d4 | 69 | select HAVE_MOD_ARCH_SPECIFIC |
42a0bb3f | 70 | select HAVE_NMI |
12597988 MR |
71 | select HAVE_OPROFILE |
72 | select HAVE_PERF_EVENTS | |
73 | select HAVE_REGS_AND_STACK_ACCESS_API | |
9ea141ad | 74 | select HAVE_RSEQ |
d148eac0 | 75 | select HAVE_STACKPROTECTOR |
12597988 | 76 | select HAVE_SYSCALL_TRACEPOINTS |
a3f14310 | 77 | select HAVE_VIRT_CPU_ACCOUNTING_GEN if 64BIT || !SMP |
24640f23 | 78 | select HAVE_GENERIC_VDSO |
12597988 | 79 | select IRQ_FORCED_THREADING |
6630a8e5 | 80 | select ISA if EISA |
2f12fb20 | 81 | select MODULES_USE_ELF_RELA if MODULES && 64BIT |
12597988 MR |
82 | select MODULES_USE_ELF_REL if MODULES |
83 | select PERF_USE_VMALLOC | |
05a0a344 | 84 | select RTC_LIB |
d79d853d | 85 | select SYSCTL_EXCEPTION_TRACE |
12597988 | 86 | select VIRT_TO_BUS |
61cbfff4 | 87 | select ARCH_HAS_PTE_SPECIAL |
1da177e4 | 88 | |
1da177e4 LT |
89 | menu "Machine selection" |
90 | ||
5e83d430 RB |
91 | choice |
92 | prompt "System type" | |
d41e6858 | 93 | default MIPS_GENERIC |
1da177e4 | 94 | |
eed0eabd PB |
95 | config MIPS_GENERIC |
96 | bool "Generic board-agnostic MIPS kernel" | |
97 | select BOOT_RAW | |
98 | select BUILTIN_DTB | |
99 | select CEVT_R4K | |
100 | select CLKSRC_MIPS_GIC | |
101 | select COMMON_CLK | |
102 | select CPU_MIPSR2_IRQ_VI | |
103 | select CPU_MIPSR2_IRQ_EI | |
104 | select CSRC_R4K | |
105 | select DMA_PERDEV_COHERENT | |
eb01d42a | 106 | select HAVE_PCI |
eed0eabd PB |
107 | select IRQ_MIPS_CPU |
108 | select LIBFDT | |
0211d49e | 109 | select MIPS_AUTO_PFN_OFFSET |
eed0eabd PB |
110 | select MIPS_CPU_SCACHE |
111 | select MIPS_GIC | |
112 | select MIPS_L1_CACHE_SHIFT_7 | |
113 | select NO_EXCEPT_FILL | |
114 | select PCI_DRIVERS_GENERIC | |
115 | select PINCTRL | |
116 | select SMP_UP if SMP | |
a3078e59 | 117 | select SWAP_IO_SPACE |
eed0eabd PB |
118 | select SYS_HAS_CPU_MIPS32_R1 |
119 | select SYS_HAS_CPU_MIPS32_R2 | |
120 | select SYS_HAS_CPU_MIPS32_R6 | |
121 | select SYS_HAS_CPU_MIPS64_R1 | |
122 | select SYS_HAS_CPU_MIPS64_R2 | |
123 | select SYS_HAS_CPU_MIPS64_R6 | |
124 | select SYS_SUPPORTS_32BIT_KERNEL | |
125 | select SYS_SUPPORTS_64BIT_KERNEL | |
126 | select SYS_SUPPORTS_BIG_ENDIAN | |
127 | select SYS_SUPPORTS_HIGHMEM | |
128 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
129 | select SYS_SUPPORTS_MICROMIPS | |
130 | select SYS_SUPPORTS_MIPS_CPS | |
131 | select SYS_SUPPORTS_MIPS16 | |
132 | select SYS_SUPPORTS_MULTITHREADING | |
133 | select SYS_SUPPORTS_RELOCATABLE | |
134 | select SYS_SUPPORTS_SMARTMIPS | |
2e6522c5 CL |
135 | select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN |
136 | select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN | |
137 | select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN | |
138 | select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN | |
139 | select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN | |
140 | select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN | |
eed0eabd | 141 | select USE_OF |
2fe8ea39 | 142 | select UHI_BOOT |
eed0eabd PB |
143 | help |
144 | Select this to build a kernel which aims to support multiple boards, | |
145 | generally using a flattened device tree passed from the bootloader | |
146 | using the boot protocol defined in the UHI (Unified Hosting | |
147 | Interface) specification. | |
148 | ||
42a4f17d | 149 | config MIPS_ALCHEMY |
c3543e25 | 150 | bool "Alchemy processor based machines" |
d4a451d5 | 151 | select PHYS_ADDR_T_64BIT |
f772cdb2 | 152 | select CEVT_R4K |
d7ea335c | 153 | select CSRC_R4K |
67e38cf2 | 154 | select IRQ_MIPS_CPU |
88e9a93c | 155 | select DMA_MAYBE_COHERENT # Au1000,1500,1100 aren't, rest is |
42a4f17d ML |
156 | select SYS_HAS_CPU_MIPS32_R1 |
157 | select SYS_SUPPORTS_32BIT_KERNEL | |
158 | select SYS_SUPPORTS_APM_EMULATION | |
d30a2b47 | 159 | select GPIOLIB |
1b93b3c3 | 160 | select SYS_SUPPORTS_ZBOOT |
47440229 | 161 | select COMMON_CLK |
1da177e4 | 162 | |
7ca5dc14 FF |
163 | config AR7 |
164 | bool "Texas Instruments AR7" | |
165 | select BOOT_ELF32 | |
166 | select DMA_NONCOHERENT | |
167 | select CEVT_R4K | |
168 | select CSRC_R4K | |
67e38cf2 | 169 | select IRQ_MIPS_CPU |
7ca5dc14 FF |
170 | select NO_EXCEPT_FILL |
171 | select SWAP_IO_SPACE | |
172 | select SYS_HAS_CPU_MIPS32_R1 | |
173 | select SYS_HAS_EARLY_PRINTK | |
174 | select SYS_SUPPORTS_32BIT_KERNEL | |
175 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
377cb1b6 | 176 | select SYS_SUPPORTS_MIPS16 |
1b93b3c3 | 177 | select SYS_SUPPORTS_ZBOOT_UART16550 |
d30a2b47 | 178 | select GPIOLIB |
7ca5dc14 | 179 | select VLYNQ |
8551fb64 | 180 | select HAVE_CLK |
7ca5dc14 FF |
181 | help |
182 | Support for the Texas Instruments AR7 System-on-a-Chip | |
183 | family: TNETD7100, 7200 and 7300. | |
184 | ||
43cc739f SR |
185 | config ATH25 |
186 | bool "Atheros AR231x/AR531x SoC support" | |
187 | select CEVT_R4K | |
188 | select CSRC_R4K | |
189 | select DMA_NONCOHERENT | |
67e38cf2 | 190 | select IRQ_MIPS_CPU |
1753e74e | 191 | select IRQ_DOMAIN |
43cc739f SR |
192 | select SYS_HAS_CPU_MIPS32_R1 |
193 | select SYS_SUPPORTS_BIG_ENDIAN | |
194 | select SYS_SUPPORTS_32BIT_KERNEL | |
8aaa7278 | 195 | select SYS_HAS_EARLY_PRINTK |
43cc739f SR |
196 | help |
197 | Support for Atheros AR231x and Atheros AR531x based boards | |
198 | ||
d4a67d9d GJ |
199 | config ATH79 |
200 | bool "Atheros AR71XX/AR724X/AR913X based boards" | |
ff591a91 | 201 | select ARCH_HAS_RESET_CONTROLLER |
d4a67d9d GJ |
202 | select BOOT_RAW |
203 | select CEVT_R4K | |
204 | select CSRC_R4K | |
205 | select DMA_NONCOHERENT | |
d30a2b47 | 206 | select GPIOLIB |
a08227a2 | 207 | select PINCTRL |
94638067 | 208 | select HAVE_CLK |
411520af | 209 | select COMMON_CLK |
2c4f1ac5 | 210 | select CLKDEV_LOOKUP |
67e38cf2 | 211 | select IRQ_MIPS_CPU |
d4a67d9d GJ |
212 | select SYS_HAS_CPU_MIPS32_R2 |
213 | select SYS_HAS_EARLY_PRINTK | |
214 | select SYS_SUPPORTS_32BIT_KERNEL | |
215 | select SYS_SUPPORTS_BIG_ENDIAN | |
377cb1b6 | 216 | select SYS_SUPPORTS_MIPS16 |
b3f0a250 | 217 | select SYS_SUPPORTS_ZBOOT_UART_PROM |
03c8c407 | 218 | select USE_OF |
53d473fc | 219 | select USB_EHCI_ROOT_HUB_TT if USB_EHCI_HCD_PLATFORM |
d4a67d9d GJ |
220 | help |
221 | Support for the Atheros AR71XX/AR724X/AR913X SoCs. | |
222 | ||
5f2d4459 KC |
223 | config BMIPS_GENERIC |
224 | bool "Broadcom Generic BMIPS kernel" | |
d59098a0 CH |
225 | select ARCH_HAS_SYNC_DMA_FOR_CPU_ALL |
226 | select ARCH_HAS_PHYS_TO_DMA | |
d666cd02 KC |
227 | select BOOT_RAW |
228 | select NO_EXCEPT_FILL | |
229 | select USE_OF | |
230 | select CEVT_R4K | |
231 | select CSRC_R4K | |
232 | select SYNC_R4K | |
233 | select COMMON_CLK | |
c7c42ec2 | 234 | select BCM6345_L1_IRQ |
60b858f2 KC |
235 | select BCM7038_L1_IRQ |
236 | select BCM7120_L2_IRQ | |
237 | select BRCMSTB_L2_IRQ | |
67e38cf2 | 238 | select IRQ_MIPS_CPU |
60b858f2 | 239 | select DMA_NONCOHERENT |
d666cd02 | 240 | select SYS_SUPPORTS_32BIT_KERNEL |
60b858f2 | 241 | select SYS_SUPPORTS_LITTLE_ENDIAN |
d666cd02 KC |
242 | select SYS_SUPPORTS_BIG_ENDIAN |
243 | select SYS_SUPPORTS_HIGHMEM | |
60b858f2 KC |
244 | select SYS_HAS_CPU_BMIPS32_3300 |
245 | select SYS_HAS_CPU_BMIPS4350 | |
246 | select SYS_HAS_CPU_BMIPS4380 | |
d666cd02 KC |
247 | select SYS_HAS_CPU_BMIPS5000 |
248 | select SWAP_IO_SPACE | |
60b858f2 KC |
249 | select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN |
250 | select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN | |
251 | select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN | |
252 | select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN | |
4dc4704c | 253 | select HARDIRQS_SW_RESEND |
d666cd02 | 254 | help |
5f2d4459 KC |
255 | Build a generic DT-based kernel image that boots on select |
256 | BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top | |
257 | box chips. Note that CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN | |
258 | must be set appropriately for your board. | |
d666cd02 | 259 | |
1c0c13eb | 260 | config BCM47XX |
c619366e | 261 | bool "Broadcom BCM47XX based boards" |
fe08f8c2 | 262 | select BOOT_RAW |
42f77542 | 263 | select CEVT_R4K |
940f6b48 | 264 | select CSRC_R4K |
1c0c13eb | 265 | select DMA_NONCOHERENT |
eb01d42a | 266 | select HAVE_PCI |
67e38cf2 | 267 | select IRQ_MIPS_CPU |
314878d2 | 268 | select SYS_HAS_CPU_MIPS32_R1 |
dd54dedd | 269 | select NO_EXCEPT_FILL |
1c0c13eb AJ |
270 | select SYS_SUPPORTS_32BIT_KERNEL |
271 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
377cb1b6 | 272 | select SYS_SUPPORTS_MIPS16 |
6507831f | 273 | select SYS_SUPPORTS_ZBOOT |
25e5fb97 | 274 | select SYS_HAS_EARLY_PRINTK |
e6086557 | 275 | select USE_GENERIC_EARLY_PRINTK_8250 |
c949c0bc RM |
276 | select GPIOLIB |
277 | select LEDS_GPIO_REGISTER | |
f6e734a8 | 278 | select BCM47XX_NVRAM |
2ab71a02 | 279 | select BCM47XX_SPROM |
dfe00495 | 280 | select BCM47XX_SSB if !BCM47XX_BCMA |
1c0c13eb | 281 | help |
371a4151 | 282 | Support for BCM47XX based boards |
1c0c13eb | 283 | |
e7300d04 MB |
284 | config BCM63XX |
285 | bool "Broadcom BCM63XX based boards" | |
ae8de61c | 286 | select BOOT_RAW |
e7300d04 MB |
287 | select CEVT_R4K |
288 | select CSRC_R4K | |
fc264022 | 289 | select SYNC_R4K |
e7300d04 | 290 | select DMA_NONCOHERENT |
67e38cf2 | 291 | select IRQ_MIPS_CPU |
e7300d04 MB |
292 | select SYS_SUPPORTS_32BIT_KERNEL |
293 | select SYS_SUPPORTS_BIG_ENDIAN | |
294 | select SYS_HAS_EARLY_PRINTK | |
295 | select SWAP_IO_SPACE | |
d30a2b47 | 296 | select GPIOLIB |
3e82eeeb | 297 | select HAVE_CLK |
af2418be | 298 | select MIPS_L1_CACHE_SHIFT_4 |
c5af3c2d | 299 | select CLKDEV_LOOKUP |
e7300d04 | 300 | help |
371a4151 | 301 | Support for BCM63XX based boards |
e7300d04 | 302 | |
1da177e4 | 303 | config MIPS_COBALT |
3fa986fa | 304 | bool "Cobalt Server" |
42f77542 | 305 | select CEVT_R4K |
940f6b48 | 306 | select CSRC_R4K |
1097c6ac | 307 | select CEVT_GT641XX |
1da177e4 | 308 | select DMA_NONCOHERENT |
eb01d42a | 309 | select FORCE_PCI |
d865bea4 | 310 | select I8253 |
1da177e4 | 311 | select I8259 |
67e38cf2 | 312 | select IRQ_MIPS_CPU |
d5ab1a69 | 313 | select IRQ_GT641XX |
252161ec | 314 | select PCI_GT64XXX_PCI0 |
7cf8053b | 315 | select SYS_HAS_CPU_NEVADA |
0a22e0d4 | 316 | select SYS_HAS_EARLY_PRINTK |
ed5ba2fb | 317 | select SYS_SUPPORTS_32BIT_KERNEL |
0e8774b6 | 318 | select SYS_SUPPORTS_64BIT_KERNEL |
5e83d430 | 319 | select SYS_SUPPORTS_LITTLE_ENDIAN |
e6086557 | 320 | select USE_GENERIC_EARLY_PRINTK_8250 |
1da177e4 LT |
321 | |
322 | config MACH_DECSTATION | |
3fa986fa | 323 | bool "DECstations" |
1da177e4 | 324 | select BOOT_ELF32 |
6457d9fc | 325 | select CEVT_DS1287 |
81d10bad | 326 | select CEVT_R4K if CPU_R4X00 |
4247417d | 327 | select CSRC_IOASIC |
81d10bad | 328 | select CSRC_R4K if CPU_R4X00 |
20d60d99 MR |
329 | select CPU_DADDI_WORKAROUNDS if 64BIT |
330 | select CPU_R4000_WORKAROUNDS if 64BIT | |
331 | select CPU_R4400_WORKAROUNDS if 64BIT | |
1da177e4 | 332 | select DMA_NONCOHERENT |
ce816fa8 | 333 | select NO_IOPORT_MAP |
67e38cf2 | 334 | select IRQ_MIPS_CPU |
7cf8053b RB |
335 | select SYS_HAS_CPU_R3000 |
336 | select SYS_HAS_CPU_R4X00 | |
ed5ba2fb | 337 | select SYS_SUPPORTS_32BIT_KERNEL |
7d60717e | 338 | select SYS_SUPPORTS_64BIT_KERNEL |
5e83d430 | 339 | select SYS_SUPPORTS_LITTLE_ENDIAN |
1723b4a3 AN |
340 | select SYS_SUPPORTS_128HZ |
341 | select SYS_SUPPORTS_256HZ | |
342 | select SYS_SUPPORTS_1024HZ | |
930beb5a | 343 | select MIPS_L1_CACHE_SHIFT_4 |
5e83d430 | 344 | help |
1da177e4 LT |
345 | This enables support for DEC's MIPS based workstations. For details |
346 | see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the | |
347 | DECstation porting pages on <http://decstation.unix-ag.org/>. | |
348 | ||
349 | If you have one of the following DECstation Models you definitely | |
350 | want to choose R4xx0 for the CPU Type: | |
351 | ||
9308816c RB |
352 | DECstation 5000/50 |
353 | DECstation 5000/150 | |
354 | DECstation 5000/260 | |
355 | DECsystem 5900/260 | |
1da177e4 LT |
356 | |
357 | otherwise choose R3000. | |
358 | ||
5e83d430 | 359 | config MACH_JAZZ |
3fa986fa | 360 | bool "Jazz family of machines" |
a211a082 | 361 | select ARCH_MIGHT_HAVE_PC_PARPORT |
7a407aa5 | 362 | select ARCH_MIGHT_HAVE_PC_SERIO |
0e2794b0 RB |
363 | select FW_ARC |
364 | select FW_ARC32 | |
5e83d430 | 365 | select ARCH_MAY_HAVE_PC_FDC |
42f77542 | 366 | select CEVT_R4K |
940f6b48 | 367 | select CSRC_R4K |
e2defae5 | 368 | select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN |
5e83d430 | 369 | select GENERIC_ISA_DMA |
8a118c38 | 370 | select HAVE_PCSPKR_PLATFORM |
67e38cf2 | 371 | select IRQ_MIPS_CPU |
d865bea4 | 372 | select I8253 |
5e83d430 RB |
373 | select I8259 |
374 | select ISA | |
7cf8053b | 375 | select SYS_HAS_CPU_R4X00 |
5e83d430 | 376 | select SYS_SUPPORTS_32BIT_KERNEL |
7d60717e | 377 | select SYS_SUPPORTS_64BIT_KERNEL |
1723b4a3 | 378 | select SYS_SUPPORTS_100HZ |
1da177e4 | 379 | help |
371a4151 EWI |
380 | This a family of machines based on the MIPS R4030 chipset which was |
381 | used by several vendors to build RISC/os and Windows NT workstations. | |
382 | Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and | |
383 | Olivetti M700-10 workstations. | |
5e83d430 | 384 | |
de361e8b PB |
385 | config MACH_INGENIC |
386 | bool "Ingenic SoC based machines" | |
5ebabe59 LPC |
387 | select SYS_SUPPORTS_32BIT_KERNEL |
388 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
f9c9affc | 389 | select SYS_SUPPORTS_ZBOOT_UART16550 |
b35d2653 | 390 | select CPU_SUPPORTS_HUGEPAGES |
5ebabe59 | 391 | select DMA_NONCOHERENT |
67e38cf2 | 392 | select IRQ_MIPS_CPU |
37b4c3ca | 393 | select PINCTRL |
d30a2b47 | 394 | select GPIOLIB |
ff1930c6 | 395 | select COMMON_CLK |
83bc7692 | 396 | select GENERIC_IRQ_CHIP |
15205fc0 | 397 | select BUILTIN_DTB if MIPS_NO_APPENDED_DTB |
ffb1843d | 398 | select USE_OF |
6ec127fb | 399 | select LIBFDT |
5ebabe59 | 400 | |
171bb2f1 JC |
401 | config LANTIQ |
402 | bool "Lantiq based platforms" | |
403 | select DMA_NONCOHERENT | |
67e38cf2 | 404 | select IRQ_MIPS_CPU |
171bb2f1 JC |
405 | select CEVT_R4K |
406 | select CSRC_R4K | |
407 | select SYS_HAS_CPU_MIPS32_R1 | |
408 | select SYS_HAS_CPU_MIPS32_R2 | |
409 | select SYS_SUPPORTS_BIG_ENDIAN | |
410 | select SYS_SUPPORTS_32BIT_KERNEL | |
377cb1b6 | 411 | select SYS_SUPPORTS_MIPS16 |
171bb2f1 | 412 | select SYS_SUPPORTS_MULTITHREADING |
f35764e7 | 413 | select SYS_SUPPORTS_VPE_LOADER |
171bb2f1 | 414 | select SYS_HAS_EARLY_PRINTK |
d30a2b47 | 415 | select GPIOLIB |
171bb2f1 JC |
416 | select SWAP_IO_SPACE |
417 | select BOOT_RAW | |
287e3f3f | 418 | select CLKDEV_LOOKUP |
a0392222 | 419 | select USE_OF |
3f8c50c9 JC |
420 | select PINCTRL |
421 | select PINCTRL_LANTIQ | |
c530781c JC |
422 | select ARCH_HAS_RESET_CONTROLLER |
423 | select RESET_CONTROLLER | |
171bb2f1 | 424 | |
1f21d2bd BM |
425 | config LASAT |
426 | bool "LASAT Networks platforms" | |
42f77542 | 427 | select CEVT_R4K |
16f0bbbc | 428 | select CRC32 |
940f6b48 | 429 | select CSRC_R4K |
1f21d2bd BM |
430 | select DMA_NONCOHERENT |
431 | select SYS_HAS_EARLY_PRINTK | |
eb01d42a | 432 | select HAVE_PCI |
67e38cf2 | 433 | select IRQ_MIPS_CPU |
1f21d2bd BM |
434 | select PCI_GT64XXX_PCI0 |
435 | select MIPS_NILE4 | |
436 | select R5000_CPU_SCACHE | |
437 | select SYS_HAS_CPU_R5000 | |
438 | select SYS_SUPPORTS_32BIT_KERNEL | |
439 | select SYS_SUPPORTS_64BIT_KERNEL if BROKEN | |
440 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
1f21d2bd | 441 | |
30ad29bb HC |
442 | config MACH_LOONGSON32 |
443 | bool "Loongson-1 family of machines" | |
c7e8c668 | 444 | select SYS_SUPPORTS_ZBOOT |
ade299d8 | 445 | help |
30ad29bb | 446 | This enables support for the Loongson-1 family of machines. |
85749d24 | 447 | |
30ad29bb HC |
448 | Loongson-1 is a family of 32-bit MIPS-compatible SoCs developed by |
449 | the Institute of Computing Technology (ICT), Chinese Academy of | |
450 | Sciences (CAS). | |
ade299d8 | 451 | |
30ad29bb HC |
452 | config MACH_LOONGSON64 |
453 | bool "Loongson-2/3 family of machines" | |
ca585cf9 KC |
454 | select SYS_SUPPORTS_ZBOOT |
455 | help | |
30ad29bb | 456 | This enables the support of Loongson-2/3 family of machines. |
ca585cf9 | 457 | |
30ad29bb HC |
458 | Loongson-2 is a family of single-core CPUs and Loongson-3 is a |
459 | family of multi-core CPUs. They are both 64-bit general-purpose | |
460 | MIPS-compatible CPUs. Loongson-2/3 are developed by the Institute | |
461 | of Computing Technology (ICT), Chinese Academy of Sciences (CAS) | |
462 | in the People's Republic of China. The chief architect is Professor | |
463 | Weiwu Hu. | |
ca585cf9 | 464 | |
6a438309 AB |
465 | config MACH_PISTACHIO |
466 | bool "IMG Pistachio SoC based boards" | |
6a438309 AB |
467 | select BOOT_ELF32 |
468 | select BOOT_RAW | |
469 | select CEVT_R4K | |
470 | select CLKSRC_MIPS_GIC | |
471 | select COMMON_CLK | |
472 | select CSRC_R4K | |
645c7827 | 473 | select DMA_NONCOHERENT |
d30a2b47 | 474 | select GPIOLIB |
67e38cf2 | 475 | select IRQ_MIPS_CPU |
6a438309 AB |
476 | select LIBFDT |
477 | select MFD_SYSCON | |
478 | select MIPS_CPU_SCACHE | |
479 | select MIPS_GIC | |
480 | select PINCTRL | |
481 | select REGULATOR | |
482 | select SYS_HAS_CPU_MIPS32_R2 | |
483 | select SYS_SUPPORTS_32BIT_KERNEL | |
484 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
485 | select SYS_SUPPORTS_MIPS_CPS | |
486 | select SYS_SUPPORTS_MULTITHREADING | |
41cc07be | 487 | select SYS_SUPPORTS_RELOCATABLE |
6a438309 | 488 | select SYS_SUPPORTS_ZBOOT |
018f62ee EG |
489 | select SYS_HAS_EARLY_PRINTK |
490 | select USE_GENERIC_EARLY_PRINTK_8250 | |
6a438309 AB |
491 | select USE_OF |
492 | help | |
493 | This enables support for the IMG Pistachio SoC platform. | |
494 | ||
1da177e4 | 495 | config MIPS_MALTA |
3fa986fa | 496 | bool "MIPS Malta board" |
61ed242d | 497 | select ARCH_MAY_HAVE_PC_FDC |
a211a082 | 498 | select ARCH_MIGHT_HAVE_PC_PARPORT |
7a407aa5 | 499 | select ARCH_MIGHT_HAVE_PC_SERIO |
1da177e4 | 500 | select BOOT_ELF32 |
fa71c960 | 501 | select BOOT_RAW |
e8823d26 | 502 | select BUILTIN_DTB |
42f77542 | 503 | select CEVT_R4K |
fa5635a2 | 504 | select CLKSRC_MIPS_GIC |
42b002ab | 505 | select COMMON_CLK |
47bf2b03 | 506 | select CSRC_R4K |
885014bc | 507 | select DMA_MAYBE_COHERENT |
1da177e4 | 508 | select GENERIC_ISA_DMA |
8a118c38 | 509 | select HAVE_PCSPKR_PLATFORM |
eb01d42a | 510 | select HAVE_PCI |
d865bea4 | 511 | select I8253 |
1da177e4 | 512 | select I8259 |
47bf2b03 MK |
513 | select IRQ_MIPS_CPU |
514 | select LIBFDT | |
5e83d430 | 515 | select MIPS_BONITO64 |
9318c51a | 516 | select MIPS_CPU_SCACHE |
47bf2b03 | 517 | select MIPS_GIC |
a7ef1ead | 518 | select MIPS_L1_CACHE_SHIFT_6 |
5e83d430 | 519 | select MIPS_MSC |
47bf2b03 | 520 | select PCI_GT64XXX_PCI0 |
ecafe3e9 | 521 | select SMP_UP if SMP |
1da177e4 | 522 | select SWAP_IO_SPACE |
7cf8053b RB |
523 | select SYS_HAS_CPU_MIPS32_R1 |
524 | select SYS_HAS_CPU_MIPS32_R2 | |
bfc3c5a6 | 525 | select SYS_HAS_CPU_MIPS32_R3_5 |
c5b36783 | 526 | select SYS_HAS_CPU_MIPS32_R5 |
575509b6 | 527 | select SYS_HAS_CPU_MIPS32_R6 |
7cf8053b | 528 | select SYS_HAS_CPU_MIPS64_R1 |
5d9fbed1 | 529 | select SYS_HAS_CPU_MIPS64_R2 |
575509b6 | 530 | select SYS_HAS_CPU_MIPS64_R6 |
7cf8053b RB |
531 | select SYS_HAS_CPU_NEVADA |
532 | select SYS_HAS_CPU_RM7000 | |
ed5ba2fb YY |
533 | select SYS_SUPPORTS_32BIT_KERNEL |
534 | select SYS_SUPPORTS_64BIT_KERNEL | |
5e83d430 | 535 | select SYS_SUPPORTS_BIG_ENDIAN |
c5b36783 | 536 | select SYS_SUPPORTS_HIGHMEM |
5e83d430 | 537 | select SYS_SUPPORTS_LITTLE_ENDIAN |
424ebcdf | 538 | select SYS_SUPPORTS_MICROMIPS |
47bf2b03 | 539 | select SYS_SUPPORTS_MIPS16 |
0365070f | 540 | select SYS_SUPPORTS_MIPS_CMP |
e56b6aa6 | 541 | select SYS_SUPPORTS_MIPS_CPS |
f41ae0b2 | 542 | select SYS_SUPPORTS_MULTITHREADING |
47bf2b03 | 543 | select SYS_SUPPORTS_RELOCATABLE |
9693a853 | 544 | select SYS_SUPPORTS_SMARTMIPS |
f35764e7 | 545 | select SYS_SUPPORTS_VPE_LOADER |
1b93b3c3 | 546 | select SYS_SUPPORTS_ZBOOT |
e8823d26 | 547 | select USE_OF |
abcc82b1 | 548 | select ZONE_DMA32 if 64BIT |
1da177e4 | 549 | help |
f638d197 | 550 | This enables support for the MIPS Technologies Malta evaluation |
1da177e4 LT |
551 | board. |
552 | ||
2572f00d JH |
553 | config MACH_PIC32 |
554 | bool "Microchip PIC32 Family" | |
555 | help | |
556 | This enables support for the Microchip PIC32 family of platforms. | |
557 | ||
558 | Microchip PIC32 is a family of general-purpose 32 bit MIPS core | |
559 | microcontrollers. | |
560 | ||
a83860c2 RB |
561 | config NEC_MARKEINS |
562 | bool "NEC EMMA2RH Mark-eins board" | |
563 | select SOC_EMMA2RH | |
eb01d42a | 564 | select HAVE_PCI |
a83860c2 RB |
565 | help |
566 | This enables support for the NEC Electronics Mark-eins boards. | |
ade299d8 | 567 | |
5e83d430 | 568 | config MACH_VR41XX |
74142d65 | 569 | bool "NEC VR4100 series based machines" |
42f77542 | 570 | select CEVT_R4K |
940f6b48 | 571 | select CSRC_R4K |
7cf8053b | 572 | select SYS_HAS_CPU_VR41XX |
377cb1b6 | 573 | select SYS_SUPPORTS_MIPS16 |
d30a2b47 | 574 | select GPIOLIB |
5e83d430 | 575 | |
edb6310a DL |
576 | config NXP_STB220 |
577 | bool "NXP STB220 board" | |
578 | select SOC_PNX833X | |
579 | help | |
371a4151 | 580 | Support for NXP Semiconductors STB220 Development Board. |
edb6310a DL |
581 | |
582 | config NXP_STB225 | |
583 | bool "NXP 225 board" | |
584 | select SOC_PNX833X | |
585 | select SOC_PNX8335 | |
586 | help | |
371a4151 | 587 | Support for NXP Semiconductors STB225 Development Board. |
edb6310a | 588 | |
9267a30d MSJ |
589 | config PMC_MSP |
590 | bool "PMC-Sierra MSP chipsets" | |
39d30c13 A |
591 | select CEVT_R4K |
592 | select CSRC_R4K | |
9267a30d MSJ |
593 | select DMA_NONCOHERENT |
594 | select SWAP_IO_SPACE | |
595 | select NO_EXCEPT_FILL | |
596 | select BOOT_RAW | |
597 | select SYS_HAS_CPU_MIPS32_R1 | |
598 | select SYS_HAS_CPU_MIPS32_R2 | |
599 | select SYS_SUPPORTS_32BIT_KERNEL | |
600 | select SYS_SUPPORTS_BIG_ENDIAN | |
377cb1b6 | 601 | select SYS_SUPPORTS_MIPS16 |
67e38cf2 | 602 | select IRQ_MIPS_CPU |
9267a30d MSJ |
603 | select SERIAL_8250 |
604 | select SERIAL_8250_CONSOLE | |
9296d94d FF |
605 | select USB_EHCI_BIG_ENDIAN_MMIO |
606 | select USB_EHCI_BIG_ENDIAN_DESC | |
9267a30d MSJ |
607 | help |
608 | This adds support for the PMC-Sierra family of Multi-Service | |
609 | Processor System-On-A-Chips. These parts include a number | |
610 | of integrated peripherals, interfaces and DSPs in addition to | |
611 | a variety of MIPS cores. | |
612 | ||
ae2b5bb6 JC |
613 | config RALINK |
614 | bool "Ralink based machines" | |
615 | select CEVT_R4K | |
616 | select CSRC_R4K | |
617 | select BOOT_RAW | |
618 | select DMA_NONCOHERENT | |
67e38cf2 | 619 | select IRQ_MIPS_CPU |
ae2b5bb6 JC |
620 | select USE_OF |
621 | select SYS_HAS_CPU_MIPS32_R1 | |
622 | select SYS_HAS_CPU_MIPS32_R2 | |
623 | select SYS_SUPPORTS_32BIT_KERNEL | |
624 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
377cb1b6 | 625 | select SYS_SUPPORTS_MIPS16 |
ae2b5bb6 | 626 | select SYS_HAS_EARLY_PRINTK |
ae2b5bb6 | 627 | select CLKDEV_LOOKUP |
2a153f1c JC |
628 | select ARCH_HAS_RESET_CONTROLLER |
629 | select RESET_CONTROLLER | |
ae2b5bb6 | 630 | |
1da177e4 | 631 | config SGI_IP22 |
3fa986fa | 632 | bool "SGI IP22 (Indy/Indigo2)" |
0e2794b0 RB |
633 | select FW_ARC |
634 | select FW_ARC32 | |
7a407aa5 | 635 | select ARCH_MIGHT_HAVE_PC_SERIO |
1da177e4 | 636 | select BOOT_ELF32 |
42f77542 | 637 | select CEVT_R4K |
940f6b48 | 638 | select CSRC_R4K |
e2defae5 | 639 | select DEFAULT_SGI_PARTITION |
1da177e4 | 640 | select DMA_NONCOHERENT |
6630a8e5 | 641 | select HAVE_EISA |
d865bea4 | 642 | select I8253 |
68de4803 | 643 | select I8259 |
1da177e4 | 644 | select IP22_CPU_SCACHE |
67e38cf2 | 645 | select IRQ_MIPS_CPU |
aa414dff | 646 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
e2defae5 TB |
647 | select SGI_HAS_I8042 |
648 | select SGI_HAS_INDYDOG | |
36e5c21d | 649 | select SGI_HAS_HAL2 |
e2defae5 TB |
650 | select SGI_HAS_SEEQ |
651 | select SGI_HAS_WD93 | |
652 | select SGI_HAS_ZILOG | |
1da177e4 | 653 | select SWAP_IO_SPACE |
7cf8053b RB |
654 | select SYS_HAS_CPU_R4X00 |
655 | select SYS_HAS_CPU_R5000 | |
2b5e63f6 MM |
656 | # |
657 | # Disable EARLY_PRINTK for now since it leads to overwritten prom | |
658 | # memory during early boot on some machines. | |
659 | # | |
660 | # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com | |
661 | # for a more details discussion | |
662 | # | |
663 | # select SYS_HAS_EARLY_PRINTK | |
ed5ba2fb YY |
664 | select SYS_SUPPORTS_32BIT_KERNEL |
665 | select SYS_SUPPORTS_64BIT_KERNEL | |
5e83d430 | 666 | select SYS_SUPPORTS_BIG_ENDIAN |
930beb5a | 667 | select MIPS_L1_CACHE_SHIFT_7 |
1da177e4 LT |
668 | help |
669 | This are the SGI Indy, Challenge S and Indigo2, as well as certain | |
670 | OEM variants like the Tandem CMN B006S. To compile a Linux kernel | |
671 | that runs on these, say Y here. | |
672 | ||
673 | config SGI_IP27 | |
3fa986fa | 674 | bool "SGI IP27 (Origin200/2000)" |
54aed4dd | 675 | select ARCH_HAS_PHYS_TO_DMA |
0e2794b0 RB |
676 | select FW_ARC |
677 | select FW_ARC64 | |
5e83d430 | 678 | select BOOT_ELF64 |
e2defae5 | 679 | select DEFAULT_SGI_PARTITION |
36a88530 | 680 | select SYS_HAS_EARLY_PRINTK |
eb01d42a | 681 | select HAVE_PCI |
69a07a41 | 682 | select IRQ_MIPS_CPU |
e6308b6d | 683 | select IRQ_DOMAIN_HIERARCHY |
130e2fb7 | 684 | select NR_CPUS_DEFAULT_64 |
a57140e9 TB |
685 | select PCI_DRIVERS_GENERIC |
686 | select PCI_XTALK_BRIDGE | |
7cf8053b | 687 | select SYS_HAS_CPU_R10000 |
ed5ba2fb | 688 | select SYS_SUPPORTS_64BIT_KERNEL |
5e83d430 | 689 | select SYS_SUPPORTS_BIG_ENDIAN |
d8cb4e11 | 690 | select SYS_SUPPORTS_NUMA |
1a5c5de1 | 691 | select SYS_SUPPORTS_SMP |
930beb5a | 692 | select MIPS_L1_CACHE_SHIFT_7 |
1da177e4 LT |
693 | help |
694 | This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics | |
695 | workstations. To compile a Linux kernel that runs on these, say Y | |
696 | here. | |
697 | ||
e2defae5 | 698 | config SGI_IP28 |
7d60717e | 699 | bool "SGI IP28 (Indigo2 R10k)" |
0e2794b0 RB |
700 | select FW_ARC |
701 | select FW_ARC64 | |
7a407aa5 | 702 | select ARCH_MIGHT_HAVE_PC_SERIO |
e2defae5 TB |
703 | select BOOT_ELF64 |
704 | select CEVT_R4K | |
705 | select CSRC_R4K | |
706 | select DEFAULT_SGI_PARTITION | |
707 | select DMA_NONCOHERENT | |
708 | select GENERIC_ISA_DMA_SUPPORT_BROKEN | |
67e38cf2 | 709 | select IRQ_MIPS_CPU |
6630a8e5 | 710 | select HAVE_EISA |
e2defae5 TB |
711 | select I8253 |
712 | select I8259 | |
e2defae5 TB |
713 | select SGI_HAS_I8042 |
714 | select SGI_HAS_INDYDOG | |
5b438c44 | 715 | select SGI_HAS_HAL2 |
e2defae5 TB |
716 | select SGI_HAS_SEEQ |
717 | select SGI_HAS_WD93 | |
718 | select SGI_HAS_ZILOG | |
719 | select SWAP_IO_SPACE | |
720 | select SYS_HAS_CPU_R10000 | |
2b5e63f6 MM |
721 | # |
722 | # Disable EARLY_PRINTK for now since it leads to overwritten prom | |
723 | # memory during early boot on some machines. | |
724 | # | |
725 | # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com | |
726 | # for a more details discussion | |
727 | # | |
728 | # select SYS_HAS_EARLY_PRINTK | |
e2defae5 TB |
729 | select SYS_SUPPORTS_64BIT_KERNEL |
730 | select SYS_SUPPORTS_BIG_ENDIAN | |
dc24d68d | 731 | select MIPS_L1_CACHE_SHIFT_7 |
371a4151 EWI |
732 | help |
733 | This is the SGI Indigo2 with R10000 processor. To compile a Linux | |
734 | kernel that runs on these, say Y here. | |
e2defae5 | 735 | |
1da177e4 | 736 | config SGI_IP32 |
cfd2afc0 | 737 | bool "SGI IP32 (O2)" |
03df8229 | 738 | select ARCH_HAS_PHYS_TO_DMA |
0e2794b0 RB |
739 | select FW_ARC |
740 | select FW_ARC32 | |
1da177e4 | 741 | select BOOT_ELF32 |
42f77542 | 742 | select CEVT_R4K |
940f6b48 | 743 | select CSRC_R4K |
1da177e4 | 744 | select DMA_NONCOHERENT |
eb01d42a | 745 | select HAVE_PCI |
67e38cf2 | 746 | select IRQ_MIPS_CPU |
1da177e4 LT |
747 | select R5000_CPU_SCACHE |
748 | select RM7000_CPU_SCACHE | |
7cf8053b RB |
749 | select SYS_HAS_CPU_R5000 |
750 | select SYS_HAS_CPU_R10000 if BROKEN | |
751 | select SYS_HAS_CPU_RM7000 | |
dd2f18fe | 752 | select SYS_HAS_CPU_NEVADA |
ed5ba2fb | 753 | select SYS_SUPPORTS_64BIT_KERNEL |
23fbee9d | 754 | select SYS_SUPPORTS_BIG_ENDIAN |
23fbee9d | 755 | help |
5e83d430 | 756 | If you want this kernel to run on SGI O2 workstation, say Y here. |
1da177e4 | 757 | |
ade299d8 YY |
758 | config SIBYTE_CRHINE |
759 | bool "Sibyte BCM91120C-CRhine" | |
9a6dcea1 | 760 | select BOOT_ELF32 |
ade299d8 | 761 | select SIBYTE_BCM1120 |
9a6dcea1 | 762 | select SWAP_IO_SPACE |
7cf8053b | 763 | select SYS_HAS_CPU_SB1 |
9a6dcea1 AI |
764 | select SYS_SUPPORTS_BIG_ENDIAN |
765 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
766 | ||
ade299d8 YY |
767 | config SIBYTE_CARMEL |
768 | bool "Sibyte BCM91120x-Carmel" | |
5e83d430 | 769 | select BOOT_ELF32 |
ade299d8 | 770 | select SIBYTE_BCM1120 |
5e83d430 | 771 | select SWAP_IO_SPACE |
7cf8053b | 772 | select SYS_HAS_CPU_SB1 |
81731f79 | 773 | select SYS_SUPPORTS_BIG_ENDIAN |
5e83d430 | 774 | select SYS_SUPPORTS_LITTLE_ENDIAN |
1da177e4 | 775 | |
ade299d8 YY |
776 | config SIBYTE_CRHONE |
777 | bool "Sibyte BCM91125C-CRhone" | |
5e83d430 | 778 | select BOOT_ELF32 |
ade299d8 | 779 | select SIBYTE_BCM1125 |
5e83d430 | 780 | select SWAP_IO_SPACE |
7cf8053b | 781 | select SYS_HAS_CPU_SB1 |
5e83d430 | 782 | select SYS_SUPPORTS_BIG_ENDIAN |
ade299d8 | 783 | select SYS_SUPPORTS_HIGHMEM |
5e83d430 | 784 | select SYS_SUPPORTS_LITTLE_ENDIAN |
1da177e4 | 785 | |
5e83d430 | 786 | config SIBYTE_RHONE |
3fa986fa | 787 | bool "Sibyte BCM91125E-Rhone" |
5e83d430 | 788 | select BOOT_ELF32 |
5e83d430 RB |
789 | select SIBYTE_BCM1125H |
790 | select SWAP_IO_SPACE | |
7cf8053b | 791 | select SYS_HAS_CPU_SB1 |
5e83d430 RB |
792 | select SYS_SUPPORTS_BIG_ENDIAN |
793 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
1da177e4 | 794 | |
ade299d8 YY |
795 | config SIBYTE_SWARM |
796 | bool "Sibyte BCM91250A-SWARM" | |
5e83d430 | 797 | select BOOT_ELF32 |
fcf3ca4c | 798 | select HAVE_PATA_PLATFORM |
ade299d8 | 799 | select SIBYTE_SB1250 |
5e83d430 | 800 | select SWAP_IO_SPACE |
7cf8053b | 801 | select SYS_HAS_CPU_SB1 |
5e83d430 | 802 | select SYS_SUPPORTS_BIG_ENDIAN |
ade299d8 | 803 | select SYS_SUPPORTS_HIGHMEM |
e3ad1c23 | 804 | select SYS_SUPPORTS_LITTLE_ENDIAN |
cce335ae | 805 | select ZONE_DMA32 if 64BIT |
e4849aff | 806 | select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI |
e3ad1c23 | 807 | |
ade299d8 YY |
808 | config SIBYTE_LITTLESUR |
809 | bool "Sibyte BCM91250C2-LittleSur" | |
5e83d430 | 810 | select BOOT_ELF32 |
fcf3ca4c | 811 | select HAVE_PATA_PLATFORM |
5e83d430 RB |
812 | select SIBYTE_SB1250 |
813 | select SWAP_IO_SPACE | |
7cf8053b | 814 | select SYS_HAS_CPU_SB1 |
5e83d430 RB |
815 | select SYS_SUPPORTS_BIG_ENDIAN |
816 | select SYS_SUPPORTS_HIGHMEM | |
817 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
756d6d83 | 818 | select ZONE_DMA32 if 64BIT |
1da177e4 | 819 | |
ade299d8 YY |
820 | config SIBYTE_SENTOSA |
821 | bool "Sibyte BCM91250E-Sentosa" | |
5e83d430 | 822 | select BOOT_ELF32 |
5e83d430 RB |
823 | select SIBYTE_SB1250 |
824 | select SWAP_IO_SPACE | |
7cf8053b | 825 | select SYS_HAS_CPU_SB1 |
5e83d430 | 826 | select SYS_SUPPORTS_BIG_ENDIAN |
5e83d430 | 827 | select SYS_SUPPORTS_LITTLE_ENDIAN |
e4849aff | 828 | select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI |
1da177e4 | 829 | |
ade299d8 YY |
830 | config SIBYTE_BIGSUR |
831 | bool "Sibyte BCM91480B-BigSur" | |
5e83d430 | 832 | select BOOT_ELF32 |
ade299d8 | 833 | select NR_CPUS_DEFAULT_4 |
ade299d8 | 834 | select SIBYTE_BCM1x80 |
5e83d430 | 835 | select SWAP_IO_SPACE |
7cf8053b | 836 | select SYS_HAS_CPU_SB1 |
5e83d430 | 837 | select SYS_SUPPORTS_BIG_ENDIAN |
651194f8 | 838 | select SYS_SUPPORTS_HIGHMEM |
5e83d430 | 839 | select SYS_SUPPORTS_LITTLE_ENDIAN |
cce335ae | 840 | select ZONE_DMA32 if 64BIT |
e4849aff | 841 | select SWIOTLB if ARCH_DMA_ADDR_T_64BIT && PCI |
1da177e4 | 842 | |
14b36af4 TB |
843 | config SNI_RM |
844 | bool "SNI RM200/300/400" | |
0e2794b0 RB |
845 | select FW_ARC if CPU_LITTLE_ENDIAN |
846 | select FW_ARC32 if CPU_LITTLE_ENDIAN | |
aaa9fad3 | 847 | select FW_SNIPROM if CPU_BIG_ENDIAN |
61ed242d | 848 | select ARCH_MAY_HAVE_PC_FDC |
a211a082 | 849 | select ARCH_MIGHT_HAVE_PC_PARPORT |
7a407aa5 | 850 | select ARCH_MIGHT_HAVE_PC_SERIO |
1da177e4 | 851 | select BOOT_ELF32 |
42f77542 | 852 | select CEVT_R4K |
940f6b48 | 853 | select CSRC_R4K |
e2defae5 | 854 | select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN |
1da177e4 LT |
855 | select DMA_NONCOHERENT |
856 | select GENERIC_ISA_DMA | |
6630a8e5 | 857 | select HAVE_EISA |
8a118c38 | 858 | select HAVE_PCSPKR_PLATFORM |
eb01d42a | 859 | select HAVE_PCI |
67e38cf2 | 860 | select IRQ_MIPS_CPU |
d865bea4 | 861 | select I8253 |
1da177e4 LT |
862 | select I8259 |
863 | select ISA | |
4a0312fc | 864 | select SWAP_IO_SPACE if CPU_BIG_ENDIAN |
7cf8053b | 865 | select SYS_HAS_CPU_R4X00 |
4a0312fc | 866 | select SYS_HAS_CPU_R5000 |
c066a32a | 867 | select SYS_HAS_CPU_R10000 |
4a0312fc | 868 | select R5000_CPU_SCACHE |
36a88530 | 869 | select SYS_HAS_EARLY_PRINTK |
ed5ba2fb | 870 | select SYS_SUPPORTS_32BIT_KERNEL |
7d60717e | 871 | select SYS_SUPPORTS_64BIT_KERNEL |
4a0312fc | 872 | select SYS_SUPPORTS_BIG_ENDIAN |
797798c1 | 873 | select SYS_SUPPORTS_HIGHMEM |
5e83d430 | 874 | select SYS_SUPPORTS_LITTLE_ENDIAN |
1da177e4 | 875 | help |
14b36af4 TB |
876 | The SNI RM200/300/400 are MIPS-based machines manufactured by |
877 | Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid | |
1da177e4 LT |
878 | Technology and now in turn merged with Fujitsu. Say Y here to |
879 | support this machine type. | |
880 | ||
edcaf1a6 AN |
881 | config MACH_TX39XX |
882 | bool "Toshiba TX39 series based machines" | |
5e83d430 | 883 | |
edcaf1a6 AN |
884 | config MACH_TX49XX |
885 | bool "Toshiba TX49 series based machines" | |
5e83d430 | 886 | |
73b4390f RB |
887 | config MIKROTIK_RB532 |
888 | bool "Mikrotik RB532 boards" | |
889 | select CEVT_R4K | |
890 | select CSRC_R4K | |
891 | select DMA_NONCOHERENT | |
eb01d42a | 892 | select HAVE_PCI |
67e38cf2 | 893 | select IRQ_MIPS_CPU |
73b4390f RB |
894 | select SYS_HAS_CPU_MIPS32_R1 |
895 | select SYS_SUPPORTS_32BIT_KERNEL | |
896 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
897 | select SWAP_IO_SPACE | |
898 | select BOOT_RAW | |
d30a2b47 | 899 | select GPIOLIB |
930beb5a | 900 | select MIPS_L1_CACHE_SHIFT_4 |
73b4390f RB |
901 | help |
902 | Support the Mikrotik(tm) RouterBoard 532 series, | |
903 | based on the IDT RC32434 SoC. | |
904 | ||
9ddebc46 DD |
905 | config CAVIUM_OCTEON_SOC |
906 | bool "Cavium Networks Octeon SoC based boards" | |
a86c7f72 | 907 | select CEVT_R4K |
ea8c64ac | 908 | select ARCH_HAS_PHYS_TO_DMA |
1753d50c | 909 | select HAVE_RAPIDIO |
d4a451d5 | 910 | select PHYS_ADDR_T_64BIT |
a86c7f72 DD |
911 | select SYS_SUPPORTS_64BIT_KERNEL |
912 | select SYS_SUPPORTS_BIG_ENDIAN | |
f65aad41 | 913 | select EDAC_SUPPORT |
b01aec9b | 914 | select EDAC_ATOMIC_SCRUB |
73569d87 DD |
915 | select SYS_SUPPORTS_LITTLE_ENDIAN |
916 | select SYS_SUPPORTS_HOTPLUG_CPU if CPU_BIG_ENDIAN | |
a86c7f72 | 917 | select SYS_HAS_EARLY_PRINTK |
5e683389 | 918 | select SYS_HAS_CPU_CAVIUM_OCTEON |
eb01d42a | 919 | select HAVE_PCI |
f00e001e | 920 | select ZONE_DMA32 |
465aaed0 | 921 | select HOLES_IN_ZONE |
d30a2b47 | 922 | select GPIOLIB |
6e511163 DD |
923 | select LIBFDT |
924 | select USE_OF | |
925 | select ARCH_SPARSEMEM_ENABLE | |
926 | select SYS_SUPPORTS_SMP | |
7820b84b DD |
927 | select NR_CPUS_DEFAULT_64 |
928 | select MIPS_NR_CPU_NR_MAP_1024 | |
e326479f | 929 | select BUILTIN_DTB |
8c1e6b14 | 930 | select MTD_COMPLEX_MAPPINGS |
09230cbc | 931 | select SWIOTLB |
3ff72be4 | 932 | select SYS_SUPPORTS_RELOCATABLE |
a86c7f72 DD |
933 | help |
934 | This option supports all of the Octeon reference boards from Cavium | |
935 | Networks. It builds a kernel that dynamically determines the Octeon | |
936 | CPU type and supports all known board reference implementations. | |
937 | Some of the supported boards are: | |
938 | EBT3000 | |
939 | EBH3000 | |
940 | EBH3100 | |
941 | Thunder | |
942 | Kodama | |
943 | Hikari | |
944 | Say Y here for most Octeon reference boards. | |
945 | ||
7f058e85 J |
946 | config NLM_XLR_BOARD |
947 | bool "Netlogic XLR/XLS based systems" | |
7f058e85 J |
948 | select BOOT_ELF32 |
949 | select NLM_COMMON | |
7f058e85 J |
950 | select SYS_HAS_CPU_XLR |
951 | select SYS_SUPPORTS_SMP | |
eb01d42a | 952 | select HAVE_PCI |
7f058e85 J |
953 | select SWAP_IO_SPACE |
954 | select SYS_SUPPORTS_32BIT_KERNEL | |
955 | select SYS_SUPPORTS_64BIT_KERNEL | |
d4a451d5 | 956 | select PHYS_ADDR_T_64BIT |
7f058e85 J |
957 | select SYS_SUPPORTS_BIG_ENDIAN |
958 | select SYS_SUPPORTS_HIGHMEM | |
7f058e85 J |
959 | select NR_CPUS_DEFAULT_32 |
960 | select CEVT_R4K | |
961 | select CSRC_R4K | |
67e38cf2 | 962 | select IRQ_MIPS_CPU |
b97215fd | 963 | select ZONE_DMA32 if 64BIT |
7f058e85 J |
964 | select SYNC_R4K |
965 | select SYS_HAS_EARLY_PRINTK | |
8f0b0430 J |
966 | select SYS_SUPPORTS_ZBOOT |
967 | select SYS_SUPPORTS_ZBOOT_UART16550 | |
7f058e85 J |
968 | help |
969 | Support for systems based on Netlogic XLR and XLS processors. | |
970 | Say Y here if you have a XLR or XLS based board. | |
971 | ||
1c773ea4 J |
972 | config NLM_XLP_BOARD |
973 | bool "Netlogic XLP based systems" | |
1c773ea4 J |
974 | select BOOT_ELF32 |
975 | select NLM_COMMON | |
976 | select SYS_HAS_CPU_XLP | |
977 | select SYS_SUPPORTS_SMP | |
eb01d42a | 978 | select HAVE_PCI |
1c773ea4 J |
979 | select SYS_SUPPORTS_32BIT_KERNEL |
980 | select SYS_SUPPORTS_64BIT_KERNEL | |
d4a451d5 | 981 | select PHYS_ADDR_T_64BIT |
d30a2b47 | 982 | select GPIOLIB |
1c773ea4 J |
983 | select SYS_SUPPORTS_BIG_ENDIAN |
984 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
985 | select SYS_SUPPORTS_HIGHMEM | |
1c773ea4 J |
986 | select NR_CPUS_DEFAULT_32 |
987 | select CEVT_R4K | |
988 | select CSRC_R4K | |
67e38cf2 | 989 | select IRQ_MIPS_CPU |
b97215fd | 990 | select ZONE_DMA32 if 64BIT |
1c773ea4 J |
991 | select SYNC_R4K |
992 | select SYS_HAS_EARLY_PRINTK | |
2f6528e1 | 993 | select USE_OF |
8f0b0430 J |
994 | select SYS_SUPPORTS_ZBOOT |
995 | select SYS_SUPPORTS_ZBOOT_UART16550 | |
1c773ea4 J |
996 | help |
997 | This board is based on Netlogic XLP Processor. | |
998 | Say Y here if you have a XLP based board. | |
999 | ||
9bc463be DD |
1000 | config MIPS_PARAVIRT |
1001 | bool "Para-Virtualized guest system" | |
1002 | select CEVT_R4K | |
1003 | select CSRC_R4K | |
9bc463be DD |
1004 | select SYS_SUPPORTS_64BIT_KERNEL |
1005 | select SYS_SUPPORTS_32BIT_KERNEL | |
1006 | select SYS_SUPPORTS_BIG_ENDIAN | |
1007 | select SYS_SUPPORTS_SMP | |
1008 | select NR_CPUS_DEFAULT_4 | |
1009 | select SYS_HAS_EARLY_PRINTK | |
1010 | select SYS_HAS_CPU_MIPS32_R2 | |
1011 | select SYS_HAS_CPU_MIPS64_R2 | |
1012 | select SYS_HAS_CPU_CAVIUM_OCTEON | |
eb01d42a | 1013 | select HAVE_PCI |
9bc463be DD |
1014 | select SWAP_IO_SPACE |
1015 | help | |
1016 | This option supports guest running under ???? | |
1017 | ||
5e83d430 | 1018 | endchoice |
1da177e4 | 1019 | |
e8c7c482 | 1020 | source "arch/mips/alchemy/Kconfig" |
3b12308f | 1021 | source "arch/mips/ath25/Kconfig" |
d4a67d9d | 1022 | source "arch/mips/ath79/Kconfig" |
a656ffcb | 1023 | source "arch/mips/bcm47xx/Kconfig" |
e7300d04 | 1024 | source "arch/mips/bcm63xx/Kconfig" |
8945e37e | 1025 | source "arch/mips/bmips/Kconfig" |
eed0eabd | 1026 | source "arch/mips/generic/Kconfig" |
5e83d430 | 1027 | source "arch/mips/jazz/Kconfig" |
5ebabe59 | 1028 | source "arch/mips/jz4740/Kconfig" |
8ec6d935 | 1029 | source "arch/mips/lantiq/Kconfig" |
1f21d2bd | 1030 | source "arch/mips/lasat/Kconfig" |
2572f00d | 1031 | source "arch/mips/pic32/Kconfig" |
af0cfb2c | 1032 | source "arch/mips/pistachio/Kconfig" |
0f3a05cb | 1033 | source "arch/mips/pmcs-msp71xx/Kconfig" |
ae2b5bb6 | 1034 | source "arch/mips/ralink/Kconfig" |
29c48699 | 1035 | source "arch/mips/sgi-ip27/Kconfig" |
38b18f72 | 1036 | source "arch/mips/sibyte/Kconfig" |
22b1d707 | 1037 | source "arch/mips/txx9/Kconfig" |
5e83d430 | 1038 | source "arch/mips/vr41xx/Kconfig" |
a86c7f72 | 1039 | source "arch/mips/cavium-octeon/Kconfig" |
30ad29bb HC |
1040 | source "arch/mips/loongson32/Kconfig" |
1041 | source "arch/mips/loongson64/Kconfig" | |
7f058e85 | 1042 | source "arch/mips/netlogic/Kconfig" |
ae6e7e63 | 1043 | source "arch/mips/paravirt/Kconfig" |
38b18f72 | 1044 | |
5e83d430 RB |
1045 | endmenu |
1046 | ||
3c9ee7ef AM |
1047 | config GENERIC_HWEIGHT |
1048 | bool | |
1049 | default y | |
1050 | ||
1da177e4 LT |
1051 | config GENERIC_CALIBRATE_DELAY |
1052 | bool | |
1053 | default y | |
1054 | ||
ae1e9130 | 1055 | config SCHED_OMIT_FRAME_POINTER |
1cc89038 AN |
1056 | bool |
1057 | default y | |
1058 | ||
1da177e4 LT |
1059 | # |
1060 | # Select some configuration options automatically based on user selections. | |
1061 | # | |
0e2794b0 | 1062 | config FW_ARC |
1da177e4 | 1063 | bool |
1da177e4 | 1064 | |
61ed242d RB |
1065 | config ARCH_MAY_HAVE_PC_FDC |
1066 | bool | |
1067 | ||
9267a30d MSJ |
1068 | config BOOT_RAW |
1069 | bool | |
1070 | ||
217dd11e RB |
1071 | config CEVT_BCM1480 |
1072 | bool | |
1073 | ||
6457d9fc YY |
1074 | config CEVT_DS1287 |
1075 | bool | |
1076 | ||
1097c6ac YY |
1077 | config CEVT_GT641XX |
1078 | bool | |
1079 | ||
42f77542 RB |
1080 | config CEVT_R4K |
1081 | bool | |
1082 | ||
217dd11e RB |
1083 | config CEVT_SB1250 |
1084 | bool | |
1085 | ||
229f773e AN |
1086 | config CEVT_TXX9 |
1087 | bool | |
1088 | ||
217dd11e RB |
1089 | config CSRC_BCM1480 |
1090 | bool | |
1091 | ||
4247417d YY |
1092 | config CSRC_IOASIC |
1093 | bool | |
1094 | ||
940f6b48 RB |
1095 | config CSRC_R4K |
1096 | bool | |
1097 | ||
217dd11e RB |
1098 | config CSRC_SB1250 |
1099 | bool | |
1100 | ||
a7f4df4e AS |
1101 | config MIPS_CLOCK_VSYSCALL |
1102 | def_bool CSRC_R4K || CLKSRC_MIPS_GIC | |
1103 | ||
a9aec7fe | 1104 | config GPIO_TXX9 |
d30a2b47 | 1105 | select GPIOLIB |
a9aec7fe AN |
1106 | bool |
1107 | ||
0e2794b0 | 1108 | config FW_CFE |
df78b5c8 AJ |
1109 | bool |
1110 | ||
40e084a5 RB |
1111 | config ARCH_SUPPORTS_UPROBES |
1112 | bool | |
1113 | ||
885014bc | 1114 | config DMA_MAYBE_COHERENT |
f3ecc0ff | 1115 | select ARCH_HAS_DMA_COHERENCE_H |
885014bc FF |
1116 | select DMA_NONCOHERENT |
1117 | bool | |
1118 | ||
20d33064 PB |
1119 | config DMA_PERDEV_COHERENT |
1120 | bool | |
347cb6af | 1121 | select ARCH_HAS_SETUP_DMA_OPS |
5748e1b3 | 1122 | select DMA_NONCOHERENT |
20d33064 | 1123 | |
4ce588cd RB |
1124 | config DMA_NONCOHERENT |
1125 | bool | |
58b04406 | 1126 | select ARCH_HAS_DMA_MMAP_PGPROT |
f8c55dc6 | 1127 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE |
2ee7a4ef | 1128 | select ARCH_HAS_UNCACHED_SEGMENT |
e1e02b32 | 1129 | select NEED_DMA_MAP_STATE |
58b04406 | 1130 | select ARCH_HAS_DMA_COHERENT_TO_PFN |
f8c55dc6 | 1131 | select DMA_NONCOHERENT_CACHE_SYNC |
4ce588cd | 1132 | |
36a88530 | 1133 | config SYS_HAS_EARLY_PRINTK |
1da177e4 | 1134 | bool |
1da177e4 | 1135 | |
1b2bc75c | 1136 | config SYS_SUPPORTS_HOTPLUG_CPU |
dbb74540 | 1137 | bool |
dbb74540 | 1138 | |
1da177e4 LT |
1139 | config MIPS_BONITO64 |
1140 | bool | |
1da177e4 LT |
1141 | |
1142 | config MIPS_MSC | |
1143 | bool | |
1da177e4 | 1144 | |
1f21d2bd BM |
1145 | config MIPS_NILE4 |
1146 | bool | |
1147 | ||
39b8d525 RB |
1148 | config SYNC_R4K |
1149 | bool | |
1150 | ||
487d70d0 GJ |
1151 | config MIPS_MACHINE |
1152 | def_bool n | |
1153 | ||
ce816fa8 | 1154 | config NO_IOPORT_MAP |
d388d685 MR |
1155 | def_bool n |
1156 | ||
4e0748f5 MC |
1157 | config GENERIC_CSUM |
1158 | bool | |
932afdee | 1159 | default y if !CPU_HAS_LOAD_STORE_LR |
4e0748f5 | 1160 | |
8313da30 RB |
1161 | config GENERIC_ISA_DMA |
1162 | bool | |
1163 | select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n | |
a35bee8a | 1164 | select ISA_DMA_API |
8313da30 | 1165 | |
aa414dff RB |
1166 | config GENERIC_ISA_DMA_SUPPORT_BROKEN |
1167 | bool | |
8313da30 | 1168 | select GENERIC_ISA_DMA |
aa414dff | 1169 | |
a35bee8a NK |
1170 | config ISA_DMA_API |
1171 | bool | |
1172 | ||
465aaed0 DD |
1173 | config HOLES_IN_ZONE |
1174 | bool | |
1175 | ||
8c530ea3 MR |
1176 | config SYS_SUPPORTS_RELOCATABLE |
1177 | bool | |
1178 | help | |
371a4151 EWI |
1179 | Selected if the platform supports relocating the kernel. |
1180 | The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF | |
1181 | to allow access to command line and entropy sources. | |
8c530ea3 | 1182 | |
f381bf6d DD |
1183 | config MIPS_CBPF_JIT |
1184 | def_bool y | |
1185 | depends on BPF_JIT && HAVE_CBPF_JIT | |
1186 | ||
1187 | config MIPS_EBPF_JIT | |
1188 | def_bool y | |
1189 | depends on BPF_JIT && HAVE_EBPF_JIT | |
1190 | ||
1191 | ||
5e83d430 | 1192 | # |
6b2aac42 | 1193 | # Endianness selection. Sufficiently obscure so many users don't know what to |
5e83d430 RB |
1194 | # answer,so we try hard to limit the available choices. Also the use of a |
1195 | # choice statement should be more obvious to the user. | |
1196 | # | |
1197 | choice | |
6b2aac42 | 1198 | prompt "Endianness selection" |
1da177e4 LT |
1199 | help |
1200 | Some MIPS machines can be configured for either little or big endian | |
5e83d430 | 1201 | byte order. These modes require different kernels and a different |
3cb2fccc | 1202 | Linux distribution. In general there is one preferred byteorder for a |
5e83d430 | 1203 | particular system but some systems are just as commonly used in the |
3dde6ad8 | 1204 | one or the other endianness. |
5e83d430 RB |
1205 | |
1206 | config CPU_BIG_ENDIAN | |
1207 | bool "Big endian" | |
1208 | depends on SYS_SUPPORTS_BIG_ENDIAN | |
1209 | ||
1210 | config CPU_LITTLE_ENDIAN | |
1211 | bool "Little endian" | |
1212 | depends on SYS_SUPPORTS_LITTLE_ENDIAN | |
5e83d430 RB |
1213 | |
1214 | endchoice | |
1215 | ||
22b0763a DD |
1216 | config EXPORT_UASM |
1217 | bool | |
1218 | ||
2116245e RB |
1219 | config SYS_SUPPORTS_APM_EMULATION |
1220 | bool | |
1221 | ||
5e83d430 RB |
1222 | config SYS_SUPPORTS_BIG_ENDIAN |
1223 | bool | |
1224 | ||
1225 | config SYS_SUPPORTS_LITTLE_ENDIAN | |
1226 | bool | |
1da177e4 | 1227 | |
9cffd154 DD |
1228 | config SYS_SUPPORTS_HUGETLBFS |
1229 | bool | |
45e03e62 | 1230 | depends on CPU_SUPPORTS_HUGEPAGES |
9cffd154 DD |
1231 | default y |
1232 | ||
aa1762f4 DD |
1233 | config MIPS_HUGE_TLB_SUPPORT |
1234 | def_bool HUGETLB_PAGE || TRANSPARENT_HUGEPAGE | |
1235 | ||
1da177e4 LT |
1236 | config IRQ_CPU_RM7K |
1237 | bool | |
1238 | ||
9267a30d MSJ |
1239 | config IRQ_MSP_SLP |
1240 | bool | |
1241 | ||
1242 | config IRQ_MSP_CIC | |
1243 | bool | |
1244 | ||
8420fd00 AN |
1245 | config IRQ_TXX9 |
1246 | bool | |
1247 | ||
d5ab1a69 YY |
1248 | config IRQ_GT641XX |
1249 | bool | |
1250 | ||
252161ec | 1251 | config PCI_GT64XXX_PCI0 |
1da177e4 | 1252 | bool |
1da177e4 | 1253 | |
a57140e9 TB |
1254 | config PCI_XTALK_BRIDGE |
1255 | bool | |
1256 | ||
9267a30d MSJ |
1257 | config NO_EXCEPT_FILL |
1258 | bool | |
1259 | ||
a83860c2 RB |
1260 | config SOC_EMMA2RH |
1261 | bool | |
1262 | select CEVT_R4K | |
1263 | select CSRC_R4K | |
1264 | select DMA_NONCOHERENT | |
67e38cf2 | 1265 | select IRQ_MIPS_CPU |
a83860c2 RB |
1266 | select SWAP_IO_SPACE |
1267 | select SYS_HAS_CPU_R5500 | |
1268 | select SYS_SUPPORTS_32BIT_KERNEL | |
1269 | select SYS_SUPPORTS_64BIT_KERNEL | |
1270 | select SYS_SUPPORTS_BIG_ENDIAN | |
1271 | ||
edb6310a DL |
1272 | config SOC_PNX833X |
1273 | bool | |
1274 | select CEVT_R4K | |
1275 | select CSRC_R4K | |
67e38cf2 | 1276 | select IRQ_MIPS_CPU |
edb6310a DL |
1277 | select DMA_NONCOHERENT |
1278 | select SYS_HAS_CPU_MIPS32_R2 | |
1279 | select SYS_SUPPORTS_32BIT_KERNEL | |
1280 | select SYS_SUPPORTS_LITTLE_ENDIAN | |
1281 | select SYS_SUPPORTS_BIG_ENDIAN | |
377cb1b6 | 1282 | select SYS_SUPPORTS_MIPS16 |
edb6310a DL |
1283 | select CPU_MIPSR2_IRQ_VI |
1284 | ||
1285 | config SOC_PNX8335 | |
1286 | bool | |
1287 | select SOC_PNX833X | |
1288 | ||
a7e07b1a MC |
1289 | config MIPS_SPRAM |
1290 | bool | |
1291 | ||
1da177e4 LT |
1292 | config SWAP_IO_SPACE |
1293 | bool | |
1294 | ||
e2defae5 TB |
1295 | config SGI_HAS_INDYDOG |
1296 | bool | |
1297 | ||
5b438c44 TB |
1298 | config SGI_HAS_HAL2 |
1299 | bool | |
1300 | ||
e2defae5 TB |
1301 | config SGI_HAS_SEEQ |
1302 | bool | |
1303 | ||
1304 | config SGI_HAS_WD93 | |
1305 | bool | |
1306 | ||
1307 | config SGI_HAS_ZILOG | |
1308 | bool | |
1309 | ||
1310 | config SGI_HAS_I8042 | |
1311 | bool | |
1312 | ||
1313 | config DEFAULT_SGI_PARTITION | |
1314 | bool | |
1315 | ||
0e2794b0 | 1316 | config FW_ARC32 |
5e83d430 RB |
1317 | bool |
1318 | ||
aaa9fad3 | 1319 | config FW_SNIPROM |
231a35d3 TB |
1320 | bool |
1321 | ||
1da177e4 LT |
1322 | config BOOT_ELF32 |
1323 | bool | |
1da177e4 | 1324 | |
930beb5a FF |
1325 | config MIPS_L1_CACHE_SHIFT_4 |
1326 | bool | |
1327 | ||
1328 | config MIPS_L1_CACHE_SHIFT_5 | |
1329 | bool | |
1330 | ||
1331 | config MIPS_L1_CACHE_SHIFT_6 | |
1332 | bool | |
1333 | ||
1334 | config MIPS_L1_CACHE_SHIFT_7 | |
1335 | bool | |
1336 | ||
1da177e4 LT |
1337 | config MIPS_L1_CACHE_SHIFT |
1338 | int | |
a4c0201e | 1339 | default "7" if MIPS_L1_CACHE_SHIFT_7 |
5432eeb6 KC |
1340 | default "6" if MIPS_L1_CACHE_SHIFT_6 |
1341 | default "5" if MIPS_L1_CACHE_SHIFT_5 | |
1342 | default "4" if MIPS_L1_CACHE_SHIFT_4 | |
1da177e4 LT |
1343 | default "5" |
1344 | ||
1da177e4 LT |
1345 | config HAVE_STD_PC_SERIAL_PORT |
1346 | bool | |
1347 | ||
1da177e4 LT |
1348 | config ARC_CONSOLE |
1349 | bool "ARC console support" | |
e2defae5 | 1350 | depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN) |
1da177e4 LT |
1351 | |
1352 | config ARC_MEMORY | |
1353 | bool | |
14b36af4 | 1354 | depends on MACH_JAZZ || SNI_RM || SGI_IP32 |
1da177e4 LT |
1355 | default y |
1356 | ||
1357 | config ARC_PROMLIB | |
1358 | bool | |
e2defae5 | 1359 | depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32 |
1da177e4 LT |
1360 | default y |
1361 | ||
0e2794b0 | 1362 | config FW_ARC64 |
1da177e4 | 1363 | bool |
1da177e4 LT |
1364 | |
1365 | config BOOT_ELF64 | |
1366 | bool | |
1da177e4 | 1367 | |
1da177e4 LT |
1368 | menu "CPU selection" |
1369 | ||
1370 | choice | |
1371 | prompt "CPU type" | |
1372 | default CPU_R4X00 | |
1373 | ||
0e476d91 HC |
1374 | config CPU_LOONGSON3 |
1375 | bool "Loongson 3 CPU" | |
1376 | depends on SYS_HAS_CPU_LOONGSON3 | |
d3bc81be | 1377 | select ARCH_HAS_PHYS_TO_DMA |
0e476d91 HC |
1378 | select CPU_SUPPORTS_64BIT_KERNEL |
1379 | select CPU_SUPPORTS_HIGHMEM | |
1380 | select CPU_SUPPORTS_HUGEPAGES | |
932afdee | 1381 | select CPU_HAS_LOAD_STORE_LR |
0e476d91 HC |
1382 | select WEAK_ORDERING |
1383 | select WEAK_REORDERING_BEYOND_LLSC | |
b2edcfc8 | 1384 | select MIPS_PGD_C0_CONTEXT |
17c99d94 | 1385 | select MIPS_L1_CACHE_SHIFT_6 |
d30a2b47 | 1386 | select GPIOLIB |
09230cbc | 1387 | select SWIOTLB |
0e476d91 HC |
1388 | help |
1389 | The Loongson 3 processor implements the MIPS64R2 instruction | |
1390 | set with many extensions. | |
1391 | ||
1e820da3 HC |
1392 | config LOONGSON3_ENHANCEMENT |
1393 | bool "New Loongson 3 CPU Enhancements" | |
1394 | default n | |
1395 | select CPU_MIPSR2 | |
1396 | select CPU_HAS_PREFETCH | |
1397 | depends on CPU_LOONGSON3 | |
1398 | help | |
1399 | New Loongson 3 CPU (since Loongson-3A R2, as opposed to Loongson-3A | |
1400 | R1, Loongson-3B R1 and Loongson-3B R2) has many enhancements, such as | |
1401 | FTLB, L1-VCache, EI/DI/Wait/Prefetch instruction, DSP/DSPv2 ASE, User | |
1402 | Local register, Read-Inhibit/Execute-Inhibit, SFB (Store Fill Buffer), | |
1403 | Fast TLB refill support, etc. | |
1404 | ||
1405 | This option enable those enhancements which are not probed at run | |
1406 | time. If you want a generic kernel to run on all Loongson 3 machines, | |
1407 | please say 'N' here. If you want a high-performance kernel to run on | |
1408 | new Loongson 3 machines only, please say 'Y' here. | |
1409 | ||
e02e07e3 HC |
1410 | config CPU_LOONGSON3_WORKAROUNDS |
1411 | bool "Old Loongson 3 LLSC Workarounds" | |
1412 | default y if SMP | |
1413 | depends on CPU_LOONGSON3 | |
1414 | help | |
1415 | Loongson 3 processors have the llsc issues which require workarounds. | |
1416 | Without workarounds the system may hang unexpectedly. | |
1417 | ||
1418 | Newer Loongson 3 will fix these issues and no workarounds are needed. | |
1419 | The workarounds have no significant side effect on them but may | |
1420 | decrease the performance of the system so this option should be | |
1421 | disabled unless the kernel is intended to be run on old systems. | |
1422 | ||
1423 | If unsure, please say Y. | |
1424 | ||
3702bba5 WZ |
1425 | config CPU_LOONGSON2E |
1426 | bool "Loongson 2E" | |
1427 | depends on SYS_HAS_CPU_LOONGSON2E | |
1428 | select CPU_LOONGSON2 | |
2a21c730 FZ |
1429 | help |
1430 | The Loongson 2E processor implements the MIPS III instruction set | |
1431 | with many extensions. | |
1432 | ||
25985edc | 1433 | It has an internal FPGA northbridge, which is compatible to |
6f7a251a WZ |
1434 | bonito64. |
1435 | ||
1436 | config CPU_LOONGSON2F | |
1437 | bool "Loongson 2F" | |
1438 | depends on SYS_HAS_CPU_LOONGSON2F | |
1439 | select CPU_LOONGSON2 | |
d30a2b47 | 1440 | select GPIOLIB |
6f7a251a WZ |
1441 | help |
1442 | The Loongson 2F processor implements the MIPS III instruction set | |
1443 | with many extensions. | |
1444 | ||
1445 | Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller | |
1446 | have a similar programming interface with FPGA northbridge used in | |
1447 | Loongson2E. | |
1448 | ||
ca585cf9 KC |
1449 | config CPU_LOONGSON1B |
1450 | bool "Loongson 1B" | |
1451 | depends on SYS_HAS_CPU_LOONGSON1B | |
1452 | select CPU_LOONGSON1 | |
9ec88b60 | 1453 | select LEDS_GPIO_REGISTER |
ca585cf9 KC |
1454 | help |
1455 | The Loongson 1B is a 32-bit SoC, which implements the MIPS32 | |
968dc5a0 XZ |
1456 | Release 1 instruction set and part of the MIPS32 Release 2 |
1457 | instruction set. | |
ca585cf9 | 1458 | |
12e3280b YL |
1459 | config CPU_LOONGSON1C |
1460 | bool "Loongson 1C" | |
1461 | depends on SYS_HAS_CPU_LOONGSON1C | |
1462 | select CPU_LOONGSON1 | |
12e3280b YL |
1463 | select LEDS_GPIO_REGISTER |
1464 | help | |
1465 | The Loongson 1C is a 32-bit SoC, which implements the MIPS32 | |
968dc5a0 XZ |
1466 | Release 1 instruction set and part of the MIPS32 Release 2 |
1467 | instruction set. | |
12e3280b | 1468 | |
6e760c8d RB |
1469 | config CPU_MIPS32_R1 |
1470 | bool "MIPS32 Release 1" | |
7cf8053b | 1471 | depends on SYS_HAS_CPU_MIPS32_R1 |
6e760c8d | 1472 | select CPU_HAS_PREFETCH |
932afdee | 1473 | select CPU_HAS_LOAD_STORE_LR |
797798c1 | 1474 | select CPU_SUPPORTS_32BIT_KERNEL |
ec28f306 | 1475 | select CPU_SUPPORTS_HIGHMEM |
1e5f1caa | 1476 | help |
5e83d430 | 1477 | Choose this option to build a kernel for release 1 or later of the |
1e5f1caa RB |
1478 | MIPS32 architecture. Most modern embedded systems with a 32-bit |
1479 | MIPS processor are based on a MIPS32 processor. If you know the | |
1480 | specific type of processor in your system, choose those that one | |
1481 | otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. | |
1482 | Release 2 of the MIPS32 architecture is available since several | |
1483 | years so chances are you even have a MIPS32 Release 2 processor | |
1484 | in which case you should choose CPU_MIPS32_R2 instead for better | |
1485 | performance. | |
1486 | ||
1487 | config CPU_MIPS32_R2 | |
1488 | bool "MIPS32 Release 2" | |
7cf8053b | 1489 | depends on SYS_HAS_CPU_MIPS32_R2 |
1e5f1caa | 1490 | select CPU_HAS_PREFETCH |
932afdee | 1491 | select CPU_HAS_LOAD_STORE_LR |
797798c1 | 1492 | select CPU_SUPPORTS_32BIT_KERNEL |
ec28f306 | 1493 | select CPU_SUPPORTS_HIGHMEM |
a5e9a69e | 1494 | select CPU_SUPPORTS_MSA |
2235a54d | 1495 | select HAVE_KVM |
6e760c8d | 1496 | help |
5e83d430 | 1497 | Choose this option to build a kernel for release 2 or later of the |
6e760c8d RB |
1498 | MIPS32 architecture. Most modern embedded systems with a 32-bit |
1499 | MIPS processor are based on a MIPS32 processor. If you know the | |
1500 | specific type of processor in your system, choose those that one | |
1501 | otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. | |
1502 | ||
7fd08ca5 | 1503 | config CPU_MIPS32_R6 |
674d10e2 | 1504 | bool "MIPS32 Release 6" |
7fd08ca5 LY |
1505 | depends on SYS_HAS_CPU_MIPS32_R6 |
1506 | select CPU_HAS_PREFETCH | |
1507 | select CPU_SUPPORTS_32BIT_KERNEL | |
1508 | select CPU_SUPPORTS_HIGHMEM | |
1509 | select CPU_SUPPORTS_MSA | |
1510 | select HAVE_KVM | |
1511 | select MIPS_O32_FP64_SUPPORT | |
1512 | help | |
1513 | Choose this option to build a kernel for release 6 or later of the | |
1514 | MIPS32 architecture. New MIPS processors, starting with the Warrior | |
1515 | family, are based on a MIPS32r6 processor. If you own an older | |
1516 | processor, you probably need to select MIPS32r1 or MIPS32r2 instead. | |
1517 | ||
6e760c8d RB |
1518 | config CPU_MIPS64_R1 |
1519 | bool "MIPS64 Release 1" | |
7cf8053b | 1520 | depends on SYS_HAS_CPU_MIPS64_R1 |
797798c1 | 1521 | select CPU_HAS_PREFETCH |
932afdee | 1522 | select CPU_HAS_LOAD_STORE_LR |
ed5ba2fb YY |
1523 | select CPU_SUPPORTS_32BIT_KERNEL |
1524 | select CPU_SUPPORTS_64BIT_KERNEL | |
ec28f306 | 1525 | select CPU_SUPPORTS_HIGHMEM |
9cffd154 | 1526 | select CPU_SUPPORTS_HUGEPAGES |
6e760c8d RB |
1527 | help |
1528 | Choose this option to build a kernel for release 1 or later of the | |
1529 | MIPS64 architecture. Many modern embedded systems with a 64-bit | |
1530 | MIPS processor are based on a MIPS64 processor. If you know the | |
1531 | specific type of processor in your system, choose those that one | |
1532 | otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. | |
1e5f1caa RB |
1533 | Release 2 of the MIPS64 architecture is available since several |
1534 | years so chances are you even have a MIPS64 Release 2 processor | |
1535 | in which case you should choose CPU_MIPS64_R2 instead for better | |
1536 | performance. | |
1537 | ||
1538 | config CPU_MIPS64_R2 | |
1539 | bool "MIPS64 Release 2" | |
7cf8053b | 1540 | depends on SYS_HAS_CPU_MIPS64_R2 |
797798c1 | 1541 | select CPU_HAS_PREFETCH |
932afdee | 1542 | select CPU_HAS_LOAD_STORE_LR |
1e5f1caa RB |
1543 | select CPU_SUPPORTS_32BIT_KERNEL |
1544 | select CPU_SUPPORTS_64BIT_KERNEL | |
ec28f306 | 1545 | select CPU_SUPPORTS_HIGHMEM |
9cffd154 | 1546 | select CPU_SUPPORTS_HUGEPAGES |
a5e9a69e | 1547 | select CPU_SUPPORTS_MSA |
40a2df49 | 1548 | select HAVE_KVM |
1e5f1caa RB |
1549 | help |
1550 | Choose this option to build a kernel for release 2 or later of the | |
1551 | MIPS64 architecture. Many modern embedded systems with a 64-bit | |
1552 | MIPS processor are based on a MIPS64 processor. If you know the | |
1553 | specific type of processor in your system, choose those that one | |
1554 | otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. | |
1da177e4 | 1555 | |
7fd08ca5 | 1556 | config CPU_MIPS64_R6 |
674d10e2 | 1557 | bool "MIPS64 Release 6" |
7fd08ca5 LY |
1558 | depends on SYS_HAS_CPU_MIPS64_R6 |
1559 | select CPU_HAS_PREFETCH | |
1560 | select CPU_SUPPORTS_32BIT_KERNEL | |
1561 | select CPU_SUPPORTS_64BIT_KERNEL | |
1562 | select CPU_SUPPORTS_HIGHMEM | |
afd375dc | 1563 | select CPU_SUPPORTS_HUGEPAGES |
7fd08ca5 | 1564 | select CPU_SUPPORTS_MSA |
2e6c7747 | 1565 | select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32 |
40a2df49 | 1566 | select HAVE_KVM |
7fd08ca5 LY |
1567 | help |
1568 | Choose this option to build a kernel for release 6 or later of the | |
1569 | MIPS64 architecture. New MIPS processors, starting with the Warrior | |
1570 | family, are based on a MIPS64r6 processor. If you own an older | |
1571 | processor, you probably need to select MIPS64r1 or MIPS64r2 instead. | |
1572 | ||
1da177e4 LT |
1573 | config CPU_R3000 |
1574 | bool "R3000" | |
7cf8053b | 1575 | depends on SYS_HAS_CPU_R3000 |
f7062ddb | 1576 | select CPU_HAS_WB |
932afdee | 1577 | select CPU_HAS_LOAD_STORE_LR |
54746829 | 1578 | select CPU_R3K_TLB |
ed5ba2fb | 1579 | select CPU_SUPPORTS_32BIT_KERNEL |
797798c1 | 1580 | select CPU_SUPPORTS_HIGHMEM |
1da177e4 LT |
1581 | help |
1582 | Please make sure to pick the right CPU type. Linux/MIPS is not | |
1583 | designed to be generic, i.e. Kernels compiled for R3000 CPUs will | |
1584 | *not* work on R4000 machines and vice versa. However, since most | |
1585 | of the supported machines have an R4000 (or similar) CPU, R4x00 | |
1586 | might be a safe bet. If the resulting kernel does not work, | |
1587 | try to recompile with R3000. | |
1588 | ||
1589 | config CPU_TX39XX | |
1590 | bool "R39XX" | |
7cf8053b | 1591 | depends on SYS_HAS_CPU_TX39XX |
ed5ba2fb | 1592 | select CPU_SUPPORTS_32BIT_KERNEL |
932afdee | 1593 | select CPU_HAS_LOAD_STORE_LR |
54746829 | 1594 | select CPU_R3K_TLB |
1da177e4 LT |
1595 | |
1596 | config CPU_VR41XX | |
1597 | bool "R41xx" | |
7cf8053b | 1598 | depends on SYS_HAS_CPU_VR41XX |
ed5ba2fb YY |
1599 | select CPU_SUPPORTS_32BIT_KERNEL |
1600 | select CPU_SUPPORTS_64BIT_KERNEL | |
932afdee | 1601 | select CPU_HAS_LOAD_STORE_LR |
1da177e4 | 1602 | help |
5e83d430 | 1603 | The options selects support for the NEC VR4100 series of processors. |
1da177e4 LT |
1604 | Only choose this option if you have one of these processors as a |
1605 | kernel built with this option will not run on any other type of | |
1606 | processor or vice versa. | |
1607 | ||
1da177e4 LT |
1608 | config CPU_R4X00 |
1609 | bool "R4x00" | |
7cf8053b | 1610 | depends on SYS_HAS_CPU_R4X00 |
ed5ba2fb YY |
1611 | select CPU_SUPPORTS_32BIT_KERNEL |
1612 | select CPU_SUPPORTS_64BIT_KERNEL | |
970d032f | 1613 | select CPU_SUPPORTS_HUGEPAGES |
932afdee | 1614 | select CPU_HAS_LOAD_STORE_LR |
1da177e4 LT |
1615 | help |
1616 | MIPS Technologies R4000-series processors other than 4300, including | |
1617 | the R4000, R4400, R4600, and 4700. | |
1618 | ||
1619 | config CPU_TX49XX | |
1620 | bool "R49XX" | |
7cf8053b | 1621 | depends on SYS_HAS_CPU_TX49XX |
de862b48 | 1622 | select CPU_HAS_PREFETCH |
932afdee | 1623 | select CPU_HAS_LOAD_STORE_LR |
ed5ba2fb YY |
1624 | select CPU_SUPPORTS_32BIT_KERNEL |
1625 | select CPU_SUPPORTS_64BIT_KERNEL | |
970d032f | 1626 | select CPU_SUPPORTS_HUGEPAGES |
1da177e4 LT |
1627 | |
1628 | config CPU_R5000 | |
1629 | bool "R5000" | |
7cf8053b | 1630 | depends on SYS_HAS_CPU_R5000 |
ed5ba2fb YY |
1631 | select CPU_SUPPORTS_32BIT_KERNEL |
1632 | select CPU_SUPPORTS_64BIT_KERNEL | |
970d032f | 1633 | select CPU_SUPPORTS_HUGEPAGES |
932afdee | 1634 | select CPU_HAS_LOAD_STORE_LR |
1da177e4 LT |
1635 | help |
1636 | MIPS Technologies R5000-series processors other than the Nevada. | |
1637 | ||
542c1020 SK |
1638 | config CPU_R5500 |
1639 | bool "R5500" | |
1640 | depends on SYS_HAS_CPU_R5500 | |
542c1020 SK |
1641 | select CPU_SUPPORTS_32BIT_KERNEL |
1642 | select CPU_SUPPORTS_64BIT_KERNEL | |
9cffd154 | 1643 | select CPU_SUPPORTS_HUGEPAGES |
932afdee | 1644 | select CPU_HAS_LOAD_STORE_LR |
542c1020 SK |
1645 | help |
1646 | NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV | |
1647 | instruction set. | |
1648 | ||
1da177e4 LT |
1649 | config CPU_NEVADA |
1650 | bool "RM52xx" | |
7cf8053b | 1651 | depends on SYS_HAS_CPU_NEVADA |
ed5ba2fb YY |
1652 | select CPU_SUPPORTS_32BIT_KERNEL |
1653 | select CPU_SUPPORTS_64BIT_KERNEL | |
970d032f | 1654 | select CPU_SUPPORTS_HUGEPAGES |
932afdee | 1655 | select CPU_HAS_LOAD_STORE_LR |
1da177e4 LT |
1656 | help |
1657 | QED / PMC-Sierra RM52xx-series ("Nevada") processors. | |
1658 | ||
1da177e4 LT |
1659 | config CPU_R10000 |
1660 | bool "R10000" | |
7cf8053b | 1661 | depends on SYS_HAS_CPU_R10000 |
5e83d430 | 1662 | select CPU_HAS_PREFETCH |
932afdee | 1663 | select CPU_HAS_LOAD_STORE_LR |
ed5ba2fb YY |
1664 | select CPU_SUPPORTS_32BIT_KERNEL |
1665 | select CPU_SUPPORTS_64BIT_KERNEL | |
797798c1 | 1666 | select CPU_SUPPORTS_HIGHMEM |
970d032f | 1667 | select CPU_SUPPORTS_HUGEPAGES |
1da177e4 LT |
1668 | help |
1669 | MIPS Technologies R10000-series processors. | |
1670 | ||
1671 | config CPU_RM7000 | |
1672 | bool "RM7000" | |
7cf8053b | 1673 | depends on SYS_HAS_CPU_RM7000 |
5e83d430 | 1674 | select CPU_HAS_PREFETCH |
932afdee | 1675 | select CPU_HAS_LOAD_STORE_LR |
ed5ba2fb YY |
1676 | select CPU_SUPPORTS_32BIT_KERNEL |
1677 | select CPU_SUPPORTS_64BIT_KERNEL | |
797798c1 | 1678 | select CPU_SUPPORTS_HIGHMEM |
970d032f | 1679 | select CPU_SUPPORTS_HUGEPAGES |
1da177e4 LT |
1680 | |
1681 | config CPU_SB1 | |
1682 | bool "SB1" | |
7cf8053b | 1683 | depends on SYS_HAS_CPU_SB1 |
932afdee | 1684 | select CPU_HAS_LOAD_STORE_LR |
ed5ba2fb YY |
1685 | select CPU_SUPPORTS_32BIT_KERNEL |
1686 | select CPU_SUPPORTS_64BIT_KERNEL | |
797798c1 | 1687 | select CPU_SUPPORTS_HIGHMEM |
970d032f | 1688 | select CPU_SUPPORTS_HUGEPAGES |
0004a9df | 1689 | select WEAK_ORDERING |
1da177e4 | 1690 | |
a86c7f72 DD |
1691 | config CPU_CAVIUM_OCTEON |
1692 | bool "Cavium Octeon processor" | |
5e683389 | 1693 | depends on SYS_HAS_CPU_CAVIUM_OCTEON |
a86c7f72 | 1694 | select CPU_HAS_PREFETCH |
932afdee | 1695 | select CPU_HAS_LOAD_STORE_LR |
a86c7f72 | 1696 | select CPU_SUPPORTS_64BIT_KERNEL |
a86c7f72 | 1697 | select WEAK_ORDERING |
a86c7f72 | 1698 | select CPU_SUPPORTS_HIGHMEM |
9cffd154 | 1699 | select CPU_SUPPORTS_HUGEPAGES |
df115f3e BH |
1700 | select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN |
1701 | select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN | |
930beb5a | 1702 | select MIPS_L1_CACHE_SHIFT_7 |
0ae3abcd | 1703 | select HAVE_KVM |
a86c7f72 DD |
1704 | help |
1705 | The Cavium Octeon processor is a highly integrated chip containing | |
1706 | many ethernet hardware widgets for networking tasks. The processor | |
1707 | can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets. | |
1708 | Full details can be found at http://www.caviumnetworks.com. | |
1709 | ||
cd746249 JG |
1710 | config CPU_BMIPS |
1711 | bool "Broadcom BMIPS" | |
1712 | depends on SYS_HAS_CPU_BMIPS | |
1713 | select CPU_MIPS32 | |
fe7f62c0 | 1714 | select CPU_BMIPS32_3300 if SYS_HAS_CPU_BMIPS32_3300 |
cd746249 JG |
1715 | select CPU_BMIPS4350 if SYS_HAS_CPU_BMIPS4350 |
1716 | select CPU_BMIPS4380 if SYS_HAS_CPU_BMIPS4380 | |
1717 | select CPU_BMIPS5000 if SYS_HAS_CPU_BMIPS5000 | |
1718 | select CPU_SUPPORTS_32BIT_KERNEL | |
1719 | select DMA_NONCOHERENT | |
67e38cf2 | 1720 | select IRQ_MIPS_CPU |
cd746249 JG |
1721 | select SWAP_IO_SPACE |
1722 | select WEAK_ORDERING | |
c1c0c461 | 1723 | select CPU_SUPPORTS_HIGHMEM |
69aaf9c8 | 1724 | select CPU_HAS_PREFETCH |
932afdee | 1725 | select CPU_HAS_LOAD_STORE_LR |
a8d709b0 MM |
1726 | select CPU_SUPPORTS_CPUFREQ |
1727 | select MIPS_EXTERNAL_TIMER | |
c1c0c461 | 1728 | help |
fe7f62c0 | 1729 | Support for BMIPS32/3300/4350/4380 and BMIPS5000 processors. |
c1c0c461 | 1730 | |
7f058e85 J |
1731 | config CPU_XLR |
1732 | bool "Netlogic XLR SoC" | |
1733 | depends on SYS_HAS_CPU_XLR | |
932afdee | 1734 | select CPU_HAS_LOAD_STORE_LR |
7f058e85 J |
1735 | select CPU_SUPPORTS_32BIT_KERNEL |
1736 | select CPU_SUPPORTS_64BIT_KERNEL | |
1737 | select CPU_SUPPORTS_HIGHMEM | |
970d032f | 1738 | select CPU_SUPPORTS_HUGEPAGES |
7f058e85 J |
1739 | select WEAK_ORDERING |
1740 | select WEAK_REORDERING_BEYOND_LLSC | |
7f058e85 J |
1741 | help |
1742 | Netlogic Microsystems XLR/XLS processors. | |
1c773ea4 J |
1743 | |
1744 | config CPU_XLP | |
1745 | bool "Netlogic XLP SoC" | |
1746 | depends on SYS_HAS_CPU_XLP | |
1747 | select CPU_SUPPORTS_32BIT_KERNEL | |
1748 | select CPU_SUPPORTS_64BIT_KERNEL | |
1749 | select CPU_SUPPORTS_HIGHMEM | |
1c773ea4 J |
1750 | select WEAK_ORDERING |
1751 | select WEAK_REORDERING_BEYOND_LLSC | |
1752 | select CPU_HAS_PREFETCH | |
932afdee | 1753 | select CPU_HAS_LOAD_STORE_LR |
d6504846 | 1754 | select CPU_MIPSR2 |
ddba6833 | 1755 | select CPU_SUPPORTS_HUGEPAGES |
2db003a5 | 1756 | select MIPS_ASID_BITS_VARIABLE |
1c773ea4 J |
1757 | help |
1758 | Netlogic Microsystems XLP processors. | |
1da177e4 LT |
1759 | endchoice |
1760 | ||
a6e18781 LY |
1761 | config CPU_MIPS32_3_5_FEATURES |
1762 | bool "MIPS32 Release 3.5 Features" | |
1763 | depends on SYS_HAS_CPU_MIPS32_R3_5 | |
7fd08ca5 | 1764 | depends on CPU_MIPS32_R2 || CPU_MIPS32_R6 |
a6e18781 LY |
1765 | help |
1766 | Choose this option to build a kernel for release 2 or later of the | |
1767 | MIPS32 architecture including features from the 3.5 release such as | |
1768 | support for Enhanced Virtual Addressing (EVA). | |
1769 | ||
1770 | config CPU_MIPS32_3_5_EVA | |
1771 | bool "Enhanced Virtual Addressing (EVA)" | |
1772 | depends on CPU_MIPS32_3_5_FEATURES | |
1773 | select EVA | |
1774 | default y | |
1775 | help | |
1776 | Choose this option if you want to enable the Enhanced Virtual | |
1777 | Addressing (EVA) on your MIPS32 core (such as proAptiv). | |
1778 | One of its primary benefits is an increase in the maximum size | |
1779 | of lowmem (up to 3GB). If unsure, say 'N' here. | |
1780 | ||
c5b36783 SH |
1781 | config CPU_MIPS32_R5_FEATURES |
1782 | bool "MIPS32 Release 5 Features" | |
1783 | depends on SYS_HAS_CPU_MIPS32_R5 | |
1784 | depends on CPU_MIPS32_R2 | |
1785 | help | |
1786 | Choose this option to build a kernel for release 2 or later of the | |
1787 | MIPS32 architecture including features from release 5 such as | |
1788 | support for Extended Physical Addressing (XPA). | |
1789 | ||
1790 | config CPU_MIPS32_R5_XPA | |
1791 | bool "Extended Physical Addressing (XPA)" | |
1792 | depends on CPU_MIPS32_R5_FEATURES | |
1793 | depends on !EVA | |
1794 | depends on !PAGE_SIZE_4KB | |
1795 | depends on SYS_SUPPORTS_HIGHMEM | |
1796 | select XPA | |
1797 | select HIGHMEM | |
d4a451d5 | 1798 | select PHYS_ADDR_T_64BIT |
c5b36783 SH |
1799 | default n |
1800 | help | |
1801 | Choose this option if you want to enable the Extended Physical | |
1802 | Addressing (XPA) on your MIPS32 core (such as P5600 series). The | |
1803 | benefit is to increase physical addressing equal to or greater | |
1804 | than 40 bits. Note that this has the side effect of turning on | |
1805 | 64-bit addressing which in turn makes the PTEs 64-bit in size. | |
1806 | If unsure, say 'N' here. | |
1807 | ||
622844bf WZ |
1808 | if CPU_LOONGSON2F |
1809 | config CPU_NOP_WORKAROUNDS | |
1810 | bool | |
1811 | ||
1812 | config CPU_JUMP_WORKAROUNDS | |
1813 | bool | |
1814 | ||
1815 | config CPU_LOONGSON2F_WORKAROUNDS | |
1816 | bool "Loongson 2F Workarounds" | |
1817 | default y | |
1818 | select CPU_NOP_WORKAROUNDS | |
1819 | select CPU_JUMP_WORKAROUNDS | |
1820 | help | |
1821 | Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which | |
1822 | require workarounds. Without workarounds the system may hang | |
1823 | unexpectedly. For more information please refer to the gas | |
1824 | -mfix-loongson2f-nop and -mfix-loongson2f-jump options. | |
1825 | ||
1826 | Loongson 2F03 and later have fixed these issues and no workarounds | |
1827 | are needed. The workarounds have no significant side effect on them | |
1828 | but may decrease the performance of the system so this option should | |
1829 | be disabled unless the kernel is intended to be run on 2F01 or 2F02 | |
1830 | systems. | |
1831 | ||
1832 | If unsure, please say Y. | |
1833 | endif # CPU_LOONGSON2F | |
1834 | ||
1b93b3c3 WZ |
1835 | config SYS_SUPPORTS_ZBOOT |
1836 | bool | |
1837 | select HAVE_KERNEL_GZIP | |
1838 | select HAVE_KERNEL_BZIP2 | |
31c4867d | 1839 | select HAVE_KERNEL_LZ4 |
1b93b3c3 | 1840 | select HAVE_KERNEL_LZMA |
fe1d45e0 | 1841 | select HAVE_KERNEL_LZO |
4e23eb63 | 1842 | select HAVE_KERNEL_XZ |
1b93b3c3 WZ |
1843 | |
1844 | config SYS_SUPPORTS_ZBOOT_UART16550 | |
1845 | bool | |
1846 | select SYS_SUPPORTS_ZBOOT | |
1847 | ||
dbb98314 AB |
1848 | config SYS_SUPPORTS_ZBOOT_UART_PROM |
1849 | bool | |
1850 | select SYS_SUPPORTS_ZBOOT | |
1851 | ||
3702bba5 WZ |
1852 | config CPU_LOONGSON2 |
1853 | bool | |
1854 | select CPU_SUPPORTS_32BIT_KERNEL | |
1855 | select CPU_SUPPORTS_64BIT_KERNEL | |
1856 | select CPU_SUPPORTS_HIGHMEM | |
970d032f | 1857 | select CPU_SUPPORTS_HUGEPAGES |
e905086e | 1858 | select ARCH_HAS_PHYS_TO_DMA |
932afdee | 1859 | select CPU_HAS_LOAD_STORE_LR |
3702bba5 | 1860 | |
ca585cf9 KC |
1861 | config CPU_LOONGSON1 |
1862 | bool | |
1863 | select CPU_MIPS32 | |
7e280f6b | 1864 | select CPU_MIPSR2 |
ca585cf9 | 1865 | select CPU_HAS_PREFETCH |
932afdee | 1866 | select CPU_HAS_LOAD_STORE_LR |
ca585cf9 KC |
1867 | select CPU_SUPPORTS_32BIT_KERNEL |
1868 | select CPU_SUPPORTS_HIGHMEM | |
f29ad10d | 1869 | select CPU_SUPPORTS_CPUFREQ |
ca585cf9 | 1870 | |
fe7f62c0 | 1871 | config CPU_BMIPS32_3300 |
04fa8bf7 | 1872 | select SMP_UP if SMP |
1bbb6c1b | 1873 | bool |
cd746249 JG |
1874 | |
1875 | config CPU_BMIPS4350 | |
1876 | bool | |
1877 | select SYS_SUPPORTS_SMP | |
1878 | select SYS_SUPPORTS_HOTPLUG_CPU | |
1879 | ||
1880 | config CPU_BMIPS4380 | |
1881 | bool | |
bbf2ba67 | 1882 | select MIPS_L1_CACHE_SHIFT_6 |
cd746249 JG |
1883 | select SYS_SUPPORTS_SMP |
1884 | select SYS_SUPPORTS_HOTPLUG_CPU | |
b4720809 | 1885 | select CPU_HAS_RIXI |
cd746249 JG |
1886 | |
1887 | config CPU_BMIPS5000 | |
1888 | bool | |
cd746249 | 1889 | select MIPS_CPU_SCACHE |
bbf2ba67 | 1890 | select MIPS_L1_CACHE_SHIFT_7 |
cd746249 JG |
1891 | select SYS_SUPPORTS_SMP |
1892 | select SYS_SUPPORTS_HOTPLUG_CPU | |
b4720809 | 1893 | select CPU_HAS_RIXI |
1bbb6c1b | 1894 | |
0e476d91 HC |
1895 | config SYS_HAS_CPU_LOONGSON3 |
1896 | bool | |
1897 | select CPU_SUPPORTS_CPUFREQ | |
b2edcfc8 | 1898 | select CPU_HAS_RIXI |
0e476d91 | 1899 | |
3702bba5 | 1900 | config SYS_HAS_CPU_LOONGSON2E |
2a21c730 FZ |
1901 | bool |
1902 | ||
6f7a251a WZ |
1903 | config SYS_HAS_CPU_LOONGSON2F |
1904 | bool | |
55045ff5 WZ |
1905 | select CPU_SUPPORTS_CPUFREQ |
1906 | select CPU_SUPPORTS_ADDRWINCFG if 64BIT | |
22f1fdfd | 1907 | select CPU_SUPPORTS_UNCACHED_ACCELERATED |
6f7a251a | 1908 | |
ca585cf9 KC |
1909 | config SYS_HAS_CPU_LOONGSON1B |
1910 | bool | |
1911 | ||
12e3280b YL |
1912 | config SYS_HAS_CPU_LOONGSON1C |
1913 | bool | |
1914 | ||
7cf8053b RB |
1915 | config SYS_HAS_CPU_MIPS32_R1 |
1916 | bool | |
1917 | ||
1918 | config SYS_HAS_CPU_MIPS32_R2 | |
1919 | bool | |
1920 | ||
a6e18781 LY |
1921 | config SYS_HAS_CPU_MIPS32_R3_5 |
1922 | bool | |
1923 | ||
c5b36783 SH |
1924 | config SYS_HAS_CPU_MIPS32_R5 |
1925 | bool | |
9ae1f262 | 1926 | select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT |
c5b36783 | 1927 | |
7fd08ca5 LY |
1928 | config SYS_HAS_CPU_MIPS32_R6 |
1929 | bool | |
9ae1f262 | 1930 | select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT |
7fd08ca5 | 1931 | |
7cf8053b RB |
1932 | config SYS_HAS_CPU_MIPS64_R1 |
1933 | bool | |
1934 | ||
1935 | config SYS_HAS_CPU_MIPS64_R2 | |
1936 | bool | |
1937 | ||
7fd08ca5 LY |
1938 | config SYS_HAS_CPU_MIPS64_R6 |
1939 | bool | |
9ae1f262 | 1940 | select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT |
7fd08ca5 | 1941 | |
7cf8053b RB |
1942 | config SYS_HAS_CPU_R3000 |
1943 | bool | |
1944 | ||
1945 | config SYS_HAS_CPU_TX39XX | |
1946 | bool | |
1947 | ||
1948 | config SYS_HAS_CPU_VR41XX | |
1949 | bool | |
1950 | ||
7cf8053b RB |
1951 | config SYS_HAS_CPU_R4X00 |
1952 | bool | |
1953 | ||
1954 | config SYS_HAS_CPU_TX49XX | |
1955 | bool | |
1956 | ||
1957 | config SYS_HAS_CPU_R5000 | |
1958 | bool | |
1959 | ||
542c1020 SK |
1960 | config SYS_HAS_CPU_R5500 |
1961 | bool | |
1962 | ||
7cf8053b RB |
1963 | config SYS_HAS_CPU_NEVADA |
1964 | bool | |
1965 | ||
7cf8053b RB |
1966 | config SYS_HAS_CPU_R10000 |
1967 | bool | |
9ae1f262 | 1968 | select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT |
7cf8053b RB |
1969 | |
1970 | config SYS_HAS_CPU_RM7000 | |
1971 | bool | |
1972 | ||
7cf8053b RB |
1973 | config SYS_HAS_CPU_SB1 |
1974 | bool | |
1975 | ||
5e683389 DD |
1976 | config SYS_HAS_CPU_CAVIUM_OCTEON |
1977 | bool | |
1978 | ||
cd746249 | 1979 | config SYS_HAS_CPU_BMIPS |
c1c0c461 KC |
1980 | bool |
1981 | ||
fe7f62c0 | 1982 | config SYS_HAS_CPU_BMIPS32_3300 |
c1c0c461 | 1983 | bool |
cd746249 | 1984 | select SYS_HAS_CPU_BMIPS |
c1c0c461 KC |
1985 | |
1986 | config SYS_HAS_CPU_BMIPS4350 | |
1987 | bool | |
cd746249 | 1988 | select SYS_HAS_CPU_BMIPS |
c1c0c461 KC |
1989 | |
1990 | config SYS_HAS_CPU_BMIPS4380 | |
1991 | bool | |
cd746249 | 1992 | select SYS_HAS_CPU_BMIPS |
c1c0c461 KC |
1993 | |
1994 | config SYS_HAS_CPU_BMIPS5000 | |
1995 | bool | |
cd746249 | 1996 | select SYS_HAS_CPU_BMIPS |
f263f2a2 | 1997 | select ARCH_HAS_SYNC_DMA_FOR_CPU |
c1c0c461 | 1998 | |
7f058e85 J |
1999 | config SYS_HAS_CPU_XLR |
2000 | bool | |
2001 | ||
1c773ea4 J |
2002 | config SYS_HAS_CPU_XLP |
2003 | bool | |
2004 | ||
17099b11 RB |
2005 | # |
2006 | # CPU may reorder R->R, R->W, W->R, W->W | |
2007 | # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC | |
2008 | # | |
0004a9df RB |
2009 | config WEAK_ORDERING |
2010 | bool | |
17099b11 RB |
2011 | |
2012 | # | |
2013 | # CPU may reorder reads and writes beyond LL/SC | |
2014 | # CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC | |
2015 | # | |
2016 | config WEAK_REORDERING_BEYOND_LLSC | |
2017 | bool | |
5e83d430 RB |
2018 | endmenu |
2019 | ||
2020 | # | |
c09b47d8 | 2021 | # These two indicate any level of the MIPS32 and MIPS64 architecture |
5e83d430 RB |
2022 | # |
2023 | config CPU_MIPS32 | |
2024 | bool | |
7fd08ca5 | 2025 | default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6 |
5e83d430 RB |
2026 | |
2027 | config CPU_MIPS64 | |
2028 | bool | |
7fd08ca5 | 2029 | default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6 |
5e83d430 RB |
2030 | |
2031 | # | |
57eeaced | 2032 | # These indicate the revision of the architecture |
5e83d430 RB |
2033 | # |
2034 | config CPU_MIPSR1 | |
2035 | bool | |
2036 | default y if CPU_MIPS32_R1 || CPU_MIPS64_R1 | |
2037 | ||
2038 | config CPU_MIPSR2 | |
2039 | bool | |
a86c7f72 | 2040 | default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON |
8256b17e | 2041 | select CPU_HAS_RIXI |
a7e07b1a | 2042 | select MIPS_SPRAM |
5e83d430 | 2043 | |
7fd08ca5 LY |
2044 | config CPU_MIPSR6 |
2045 | bool | |
2046 | default y if CPU_MIPS32_R6 || CPU_MIPS64_R6 | |
8256b17e | 2047 | select CPU_HAS_RIXI |
87321fdd | 2048 | select HAVE_ARCH_BITREVERSE |
2db003a5 | 2049 | select MIPS_ASID_BITS_VARIABLE |
4a5dc51e | 2050 | select MIPS_CRC_SUPPORT |
a7e07b1a | 2051 | select MIPS_SPRAM |
5e83d430 | 2052 | |
57eeaced PB |
2053 | config TARGET_ISA_REV |
2054 | int | |
2055 | default 1 if CPU_MIPSR1 | |
2056 | default 2 if CPU_MIPSR2 | |
2057 | default 6 if CPU_MIPSR6 | |
2058 | default 0 | |
2059 | help | |
2060 | Reflects the ISA revision being targeted by the kernel build. This | |
2061 | is effectively the Kconfig equivalent of MIPS_ISA_REV. | |
2062 | ||
a6e18781 LY |
2063 | config EVA |
2064 | bool | |
2065 | ||
c5b36783 SH |
2066 | config XPA |
2067 | bool | |
2068 | ||
5e83d430 RB |
2069 | config SYS_SUPPORTS_32BIT_KERNEL |
2070 | bool | |
2071 | config SYS_SUPPORTS_64BIT_KERNEL | |
2072 | bool | |
2073 | config CPU_SUPPORTS_32BIT_KERNEL | |
2074 | bool | |
2075 | config CPU_SUPPORTS_64BIT_KERNEL | |
2076 | bool | |
55045ff5 WZ |
2077 | config CPU_SUPPORTS_CPUFREQ |
2078 | bool | |
2079 | config CPU_SUPPORTS_ADDRWINCFG | |
2080 | bool | |
9cffd154 DD |
2081 | config CPU_SUPPORTS_HUGEPAGES |
2082 | bool | |
171543e7 | 2083 | depends on !(32BIT && (ARCH_PHYS_ADDR_T_64BIT || EVA)) |
22f1fdfd WZ |
2084 | config CPU_SUPPORTS_UNCACHED_ACCELERATED |
2085 | bool | |
82622284 DD |
2086 | config MIPS_PGD_C0_CONTEXT |
2087 | bool | |
cebf8c0f | 2088 | default y if 64BIT && (CPU_MIPSR2 || CPU_MIPSR6) && !CPU_XLP |
5e83d430 | 2089 | |
8192c9ea DD |
2090 | # |
2091 | # Set to y for ptrace access to watch registers. | |
2092 | # | |
2093 | config HARDWARE_WATCHPOINTS | |
371a4151 EWI |
2094 | bool |
2095 | default y if CPU_MIPSR1 || CPU_MIPSR2 || CPU_MIPSR6 | |
8192c9ea | 2096 | |
5e83d430 RB |
2097 | menu "Kernel type" |
2098 | ||
2099 | choice | |
5e83d430 RB |
2100 | prompt "Kernel code model" |
2101 | help | |
2102 | You should only select this option if you have a workload that | |
2103 | actually benefits from 64-bit processing or if your machine has | |
2104 | large memory. You will only be presented a single option in this | |
2105 | menu if your system does not support both 32-bit and 64-bit kernels. | |
2106 | ||
2107 | config 32BIT | |
2108 | bool "32-bit kernel" | |
2109 | depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL | |
2110 | select TRAD_SIGNALS | |
2111 | help | |
2112 | Select this option if you want to build a 32-bit kernel. | |
f17c4ca3 | 2113 | |
5e83d430 RB |
2114 | config 64BIT |
2115 | bool "64-bit kernel" | |
2116 | depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL | |
2117 | help | |
2118 | Select this option if you want to build a 64-bit kernel. | |
2119 | ||
2120 | endchoice | |
2121 | ||
2235a54d SL |
2122 | config KVM_GUEST |
2123 | bool "KVM Guest Kernel" | |
f2a5b1d7 | 2124 | depends on BROKEN_ON_SMP |
2235a54d | 2125 | help |
caa1faa7 JH |
2126 | Select this option if building a guest kernel for KVM (Trap & Emulate) |
2127 | mode. | |
2235a54d | 2128 | |
eda3d33c JH |
2129 | config KVM_GUEST_TIMER_FREQ |
2130 | int "Count/Compare Timer Frequency (MHz)" | |
2235a54d | 2131 | depends on KVM_GUEST |
eda3d33c | 2132 | default 100 |
2235a54d | 2133 | help |
eda3d33c JH |
2134 | Set this to non-zero if building a guest kernel for KVM to skip RTC |
2135 | emulation when determining guest CPU Frequency. Instead, the guest's | |
2136 | timer frequency is specified directly. | |
2235a54d | 2137 | |
1e321fa9 LY |
2138 | config MIPS_VA_BITS_48 |
2139 | bool "48 bits virtual memory" | |
2140 | depends on 64BIT | |
2141 | help | |
3377e227 AB |
2142 | Support a maximum at least 48 bits of application virtual |
2143 | memory. Default is 40 bits or less, depending on the CPU. | |
2144 | For page sizes 16k and above, this option results in a small | |
2145 | memory overhead for page tables. For 4k page size, a fourth | |
2146 | level of page tables is added which imposes both a memory | |
2147 | overhead as well as slower TLB fault handling. | |
2148 | ||
1e321fa9 LY |
2149 | If unsure, say N. |
2150 | ||
1da177e4 LT |
2151 | choice |
2152 | prompt "Kernel page size" | |
2153 | default PAGE_SIZE_4KB | |
2154 | ||
2155 | config PAGE_SIZE_4KB | |
2156 | bool "4kB" | |
0e476d91 | 2157 | depends on !CPU_LOONGSON2 && !CPU_LOONGSON3 |
1da177e4 | 2158 | help |
371a4151 EWI |
2159 | This option select the standard 4kB Linux page size. On some |
2160 | R3000-family processors this is the only available page size. Using | |
2161 | 4kB page size will minimize memory consumption and is therefore | |
2162 | recommended for low memory systems. | |
1da177e4 LT |
2163 | |
2164 | config PAGE_SIZE_8KB | |
2165 | bool "8kB" | |
c2aeaaea | 2166 | depends on CPU_CAVIUM_OCTEON |
1e321fa9 | 2167 | depends on !MIPS_VA_BITS_48 |
1da177e4 LT |
2168 | help |
2169 | Using 8kB page size will result in higher performance kernel at | |
2170 | the price of higher memory consumption. This option is available | |
c2aeaaea PB |
2171 | only on cnMIPS processors. Note that you will need a suitable Linux |
2172 | distribution to support this. | |
1da177e4 LT |
2173 | |
2174 | config PAGE_SIZE_16KB | |
2175 | bool "16kB" | |
714bfad6 | 2176 | depends on !CPU_R3000 && !CPU_TX39XX |
1da177e4 LT |
2177 | help |
2178 | Using 16kB page size will result in higher performance kernel at | |
2179 | the price of higher memory consumption. This option is available on | |
714bfad6 RB |
2180 | all non-R3000 family processors. Note that you will need a suitable |
2181 | Linux distribution to support this. | |
1da177e4 | 2182 | |
c52399be RB |
2183 | config PAGE_SIZE_32KB |
2184 | bool "32kB" | |
2185 | depends on CPU_CAVIUM_OCTEON | |
1e321fa9 | 2186 | depends on !MIPS_VA_BITS_48 |
c52399be RB |
2187 | help |
2188 | Using 32kB page size will result in higher performance kernel at | |
2189 | the price of higher memory consumption. This option is available | |
2190 | only on cnMIPS cores. Note that you will need a suitable Linux | |
2191 | distribution to support this. | |
2192 | ||
1da177e4 LT |
2193 | config PAGE_SIZE_64KB |
2194 | bool "64kB" | |
3b2db173 | 2195 | depends on !CPU_R3000 && !CPU_TX39XX |
1da177e4 LT |
2196 | help |
2197 | Using 64kB page size will result in higher performance kernel at | |
2198 | the price of higher memory consumption. This option is available on | |
2199 | all non-R3000 family processor. Not that at the time of this | |
714bfad6 | 2200 | writing this option is still high experimental. |
1da177e4 LT |
2201 | |
2202 | endchoice | |
2203 | ||
c9bace7c DD |
2204 | config FORCE_MAX_ZONEORDER |
2205 | int "Maximum zone order" | |
e4362d1e AS |
2206 | range 14 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB |
2207 | default "14" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB | |
2208 | range 13 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB | |
2209 | default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB | |
2210 | range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB | |
2211 | default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB | |
c9bace7c DD |
2212 | range 11 64 |
2213 | default "11" | |
2214 | help | |
2215 | The kernel memory allocator divides physically contiguous memory | |
2216 | blocks into "zones", where each zone is a power of two number of | |
2217 | pages. This option selects the largest power of two that the kernel | |
2218 | keeps in the memory allocator. If you need to allocate very large | |
2219 | blocks of physically contiguous memory, then you may need to | |
2220 | increase this value. | |
2221 | ||
2222 | This config option is actually maximum order plus one. For example, | |
2223 | a value of 11 means that the largest free memory block is 2^10 pages. | |
2224 | ||
2225 | The page size is not necessarily 4KB. Keep this in mind | |
2226 | when choosing a value for this option. | |
2227 | ||
1da177e4 LT |
2228 | config BOARD_SCACHE |
2229 | bool | |
2230 | ||
2231 | config IP22_CPU_SCACHE | |
2232 | bool | |
2233 | select BOARD_SCACHE | |
2234 | ||
9318c51a CD |
2235 | # |
2236 | # Support for a MIPS32 / MIPS64 style S-caches | |
2237 | # | |
2238 | config MIPS_CPU_SCACHE | |
2239 | bool | |
2240 | select BOARD_SCACHE | |
2241 | ||
1da177e4 LT |
2242 | config R5000_CPU_SCACHE |
2243 | bool | |
2244 | select BOARD_SCACHE | |
2245 | ||
2246 | config RM7000_CPU_SCACHE | |
2247 | bool | |
2248 | select BOARD_SCACHE | |
2249 | ||
2250 | config SIBYTE_DMA_PAGEOPS | |
2251 | bool "Use DMA to clear/copy pages" | |
2252 | depends on CPU_SB1 | |
2253 | help | |
2254 | Instead of using the CPU to zero and copy pages, use a Data Mover | |
2255 | channel. These DMA channels are otherwise unused by the standard | |
2256 | SiByte Linux port. Seems to give a small performance benefit. | |
2257 | ||
2258 | config CPU_HAS_PREFETCH | |
c8094b53 | 2259 | bool |
1da177e4 | 2260 | |
3165c846 FF |
2261 | config CPU_GENERIC_DUMP_TLB |
2262 | bool | |
c2aeaaea | 2263 | default y if !(CPU_R3000 || CPU_TX39XX) |
3165c846 | 2264 | |
c92e47e5 | 2265 | config MIPS_FP_SUPPORT |
183b40f9 PB |
2266 | bool "Floating Point support" if EXPERT |
2267 | default y | |
2268 | help | |
2269 | Select y to include support for floating point in the kernel | |
2270 | including initialization of FPU hardware, FP context save & restore | |
2271 | and emulation of an FPU where necessary. Without this support any | |
2272 | userland program attempting to use floating point instructions will | |
2273 | receive a SIGILL. | |
2274 | ||
2275 | If you know that your userland will not attempt to use floating point | |
2276 | instructions then you can say n here to shrink the kernel a little. | |
2277 | ||
2278 | If unsure, say y. | |
c92e47e5 | 2279 | |
97f7dcbf PB |
2280 | config CPU_R2300_FPU |
2281 | bool | |
c92e47e5 | 2282 | depends on MIPS_FP_SUPPORT |
97f7dcbf PB |
2283 | default y if CPU_R3000 || CPU_TX39XX |
2284 | ||
54746829 PB |
2285 | config CPU_R3K_TLB |
2286 | bool | |
2287 | ||
91405eb6 FF |
2288 | config CPU_R4K_FPU |
2289 | bool | |
c92e47e5 | 2290 | depends on MIPS_FP_SUPPORT |
97f7dcbf | 2291 | default y if !CPU_R2300_FPU |
91405eb6 | 2292 | |
62cedc4f FF |
2293 | config CPU_R4K_CACHE_TLB |
2294 | bool | |
54746829 | 2295 | default y if !(CPU_R3K_TLB || CPU_SB1 || CPU_CAVIUM_OCTEON) |
62cedc4f | 2296 | |
59d6ab86 | 2297 | config MIPS_MT_SMP |
a92b7f87 | 2298 | bool "MIPS MT SMP support (1 TC on each available VPE)" |
5cbf9688 | 2299 | default y |
527f1028 | 2300 | depends on SYS_SUPPORTS_MULTITHREADING && !CPU_MIPSR6 && !CPU_MICROMIPS |
f7062ddb | 2301 | select CPU_MIPSR2_IRQ_VI |
d725cf38 | 2302 | select CPU_MIPSR2_IRQ_EI |
c080faa5 | 2303 | select SYNC_R4K |
f41ae0b2 | 2304 | select MIPS_MT |
41c594ab | 2305 | select SMP |
87353d8a | 2306 | select SMP_UP |
c080faa5 SH |
2307 | select SYS_SUPPORTS_SMP |
2308 | select SYS_SUPPORTS_SCHED_SMT | |
399aaa25 | 2309 | select MIPS_PERF_SHARED_TC_COUNTERS |
f41ae0b2 | 2310 | help |
c080faa5 SH |
2311 | This is a kernel model which is known as SMVP. This is supported |
2312 | on cores with the MT ASE and uses the available VPEs to implement | |
2313 | virtual processors which supports SMP. This is equivalent to the | |
2314 | Intel Hyperthreading feature. For further information go to | |
2315 | <http://www.imgtec.com/mips/mips-multithreading.asp>. | |
41c594ab | 2316 | |
f41ae0b2 RB |
2317 | config MIPS_MT |
2318 | bool | |
2319 | ||
0ab7aefc RB |
2320 | config SCHED_SMT |
2321 | bool "SMT (multithreading) scheduler support" | |
2322 | depends on SYS_SUPPORTS_SCHED_SMT | |
2323 | default n | |
2324 | help | |
2325 | SMT scheduler support improves the CPU scheduler's decision making | |
2326 | when dealing with MIPS MT enabled cores at a cost of slightly | |
2327 | increased overhead in some places. If unsure say N here. | |
2328 | ||
2329 | config SYS_SUPPORTS_SCHED_SMT | |
2330 | bool | |
2331 | ||
f41ae0b2 RB |
2332 | config SYS_SUPPORTS_MULTITHREADING |
2333 | bool | |
2334 | ||
f088fc84 RB |
2335 | config MIPS_MT_FPAFF |
2336 | bool "Dynamic FPU affinity for FP-intensive threads" | |
f088fc84 | 2337 | default y |
b633648c | 2338 | depends on MIPS_MT_SMP |
07cc0c9e | 2339 | |
b0a668fb LY |
2340 | config MIPSR2_TO_R6_EMULATOR |
2341 | bool "MIPS R2-to-R6 emulator" | |
9eaa9a82 | 2342 | depends on CPU_MIPSR6 |
c92e47e5 | 2343 | depends on MIPS_FP_SUPPORT |
b0a668fb LY |
2344 | default y |
2345 | help | |
2346 | Choose this option if you want to run non-R6 MIPS userland code. | |
2347 | Even if you say 'Y' here, the emulator will still be disabled by | |
07edf0d4 | 2348 | default. You can enable it using the 'mipsr2emu' kernel option. |
b0a668fb LY |
2349 | The only reason this is a build-time option is to save ~14K from the |
2350 | final kernel image. | |
b0a668fb | 2351 | |
f35764e7 JH |
2352 | config SYS_SUPPORTS_VPE_LOADER |
2353 | bool | |
2354 | depends on SYS_SUPPORTS_MULTITHREADING | |
2355 | help | |
2356 | Indicates that the platform supports the VPE loader, and provides | |
2357 | physical_memsize. | |
2358 | ||
07cc0c9e RB |
2359 | config MIPS_VPE_LOADER |
2360 | bool "VPE loader support." | |
f35764e7 | 2361 | depends on SYS_SUPPORTS_VPE_LOADER && MODULES |
07cc0c9e RB |
2362 | select CPU_MIPSR2_IRQ_VI |
2363 | select CPU_MIPSR2_IRQ_EI | |
07cc0c9e RB |
2364 | select MIPS_MT |
2365 | help | |
2366 | Includes a loader for loading an elf relocatable object | |
2367 | onto another VPE and running it. | |
f088fc84 | 2368 | |
17a1d523 DZ |
2369 | config MIPS_VPE_LOADER_CMP |
2370 | bool | |
2371 | default "y" | |
2372 | depends on MIPS_VPE_LOADER && MIPS_CMP | |
2373 | ||
1a2a6d7e DZ |
2374 | config MIPS_VPE_LOADER_MT |
2375 | bool | |
2376 | default "y" | |
2377 | depends on MIPS_VPE_LOADER && !MIPS_CMP | |
2378 | ||
e01402b1 RB |
2379 | config MIPS_VPE_LOADER_TOM |
2380 | bool "Load VPE program into memory hidden from linux" | |
2381 | depends on MIPS_VPE_LOADER | |
2382 | default y | |
2383 | help | |
2384 | The loader can use memory that is present but has been hidden from | |
2385 | Linux using the kernel command line option "mem=xxMB". It's up to | |
2386 | you to ensure the amount you put in the option and the space your | |
2387 | program requires is less or equal to the amount physically present. | |
2388 | ||
e01402b1 | 2389 | config MIPS_VPE_APSP_API |
5e83d430 RB |
2390 | bool "Enable support for AP/SP API (RTLX)" |
2391 | depends on MIPS_VPE_LOADER | |
e01402b1 | 2392 | |
da615cf6 DZ |
2393 | config MIPS_VPE_APSP_API_CMP |
2394 | bool | |
2395 | default "y" | |
2396 | depends on MIPS_VPE_APSP_API && MIPS_CMP | |
2397 | ||
2c973ef0 DZ |
2398 | config MIPS_VPE_APSP_API_MT |
2399 | bool | |
2400 | default "y" | |
2401 | depends on MIPS_VPE_APSP_API && !MIPS_CMP | |
2402 | ||
4a16ff4c | 2403 | config MIPS_CMP |
5cac93b3 | 2404 | bool "MIPS CMP framework support (DEPRECATED)" |
5676319c | 2405 | depends on SYS_SUPPORTS_MIPS_CMP && !CPU_MIPSR6 |
b10b43ba | 2406 | select SMP |
eb9b5141 | 2407 | select SYNC_R4K |
b10b43ba | 2408 | select SYS_SUPPORTS_SMP |
4a16ff4c RB |
2409 | select WEAK_ORDERING |
2410 | default n | |
2411 | help | |
044505c7 PB |
2412 | Select this if you are using a bootloader which implements the "CMP |
2413 | framework" protocol (ie. YAMON) and want your kernel to make use of | |
2414 | its ability to start secondary CPUs. | |
4a16ff4c | 2415 | |
5cac93b3 PB |
2416 | Unless you have a specific need, you should use CONFIG_MIPS_CPS |
2417 | instead of this. | |
2418 | ||
0ee958e1 PB |
2419 | config MIPS_CPS |
2420 | bool "MIPS Coherent Processing System support" | |
5a3e7c02 | 2421 | depends on SYS_SUPPORTS_MIPS_CPS |
0ee958e1 | 2422 | select MIPS_CM |
1d8f1f5a | 2423 | select MIPS_CPS_PM if HOTPLUG_CPU |
0ee958e1 PB |
2424 | select SMP |
2425 | select SYNC_R4K if (CEVT_R4K || CSRC_R4K) | |
1d8f1f5a | 2426 | select SYS_SUPPORTS_HOTPLUG_CPU |
c8b7712c | 2427 | select SYS_SUPPORTS_SCHED_SMT if CPU_MIPSR6 |
0ee958e1 PB |
2428 | select SYS_SUPPORTS_SMP |
2429 | select WEAK_ORDERING | |
2430 | help | |
2431 | Select this if you wish to run an SMP kernel across multiple cores | |
2432 | within a MIPS Coherent Processing System. When this option is | |
2433 | enabled the kernel will probe for other cores and boot them with | |
2434 | no external assistance. It is safe to enable this when hardware | |
2435 | support is unavailable. | |
2436 | ||
3179d37e | 2437 | config MIPS_CPS_PM |
39a59593 | 2438 | depends on MIPS_CPS |
3179d37e PB |
2439 | bool |
2440 | ||
9f98f3dd PB |
2441 | config MIPS_CM |
2442 | bool | |
3c9b4166 | 2443 | select MIPS_CPC |
9f98f3dd | 2444 | |
9c38cf44 PB |
2445 | config MIPS_CPC |
2446 | bool | |
4a16ff4c | 2447 | |
1da177e4 LT |
2448 | config SB1_PASS_2_WORKAROUNDS |
2449 | bool | |
2450 | depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2) | |
2451 | default y | |
2452 | ||
2453 | config SB1_PASS_2_1_WORKAROUNDS | |
2454 | bool | |
2455 | depends on CPU_SB1 && CPU_SB1_PASS_2 | |
2456 | default y | |
2457 | ||
9e2b5372 MC |
2458 | choice |
2459 | prompt "SmartMIPS or microMIPS ASE support" | |
2460 | ||
2461 | config CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS | |
2462 | bool "None" | |
2463 | help | |
2464 | Select this if you want neither microMIPS nor SmartMIPS support | |
2465 | ||
9693a853 FBH |
2466 | config CPU_HAS_SMARTMIPS |
2467 | depends on SYS_SUPPORTS_SMARTMIPS | |
9e2b5372 | 2468 | bool "SmartMIPS" |
9693a853 FBH |
2469 | help |
2470 | SmartMIPS is a extension of the MIPS32 architecture aimed at | |
2471 | increased security at both hardware and software level for | |
2472 | smartcards. Enabling this option will allow proper use of the | |
2473 | SmartMIPS instructions by Linux applications. However a kernel with | |
2474 | this option will not work on a MIPS core without SmartMIPS core. If | |
2475 | you don't know you probably don't have SmartMIPS and should say N | |
2476 | here. | |
2477 | ||
bce86083 | 2478 | config CPU_MICROMIPS |
7fd08ca5 | 2479 | depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6 |
9e2b5372 | 2480 | bool "microMIPS" |
bce86083 SH |
2481 | help |
2482 | When this option is enabled the kernel will be built using the | |
2483 | microMIPS ISA | |
2484 | ||
9e2b5372 MC |
2485 | endchoice |
2486 | ||
a5e9a69e | 2487 | config CPU_HAS_MSA |
0ce3417e | 2488 | bool "Support for the MIPS SIMD Architecture" |
a5e9a69e | 2489 | depends on CPU_SUPPORTS_MSA |
c92e47e5 | 2490 | depends on MIPS_FP_SUPPORT |
2a6cb669 | 2491 | depends on 64BIT || MIPS_O32_FP64_SUPPORT |
a5e9a69e PB |
2492 | help |
2493 | MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers | |
2494 | and a set of SIMD instructions to operate on them. When this option | |
1db1af84 PB |
2495 | is enabled the kernel will support allocating & switching MSA |
2496 | vector register contexts. If you know that your kernel will only be | |
2497 | running on CPUs which do not support MSA or that your userland will | |
2498 | not be making use of it then you may wish to say N here to reduce | |
2499 | the size & complexity of your kernel. | |
a5e9a69e PB |
2500 | |
2501 | If unsure, say Y. | |
2502 | ||
1da177e4 | 2503 | config CPU_HAS_WB |
f7062ddb | 2504 | bool |
e01402b1 | 2505 | |
df0ac8a4 KC |
2506 | config XKS01 |
2507 | bool | |
2508 | ||
8256b17e FF |
2509 | config CPU_HAS_RIXI |
2510 | bool | |
2511 | ||
932afdee YC |
2512 | config CPU_HAS_LOAD_STORE_LR |
2513 | bool | |
2514 | help | |
2515 | CPU has support for unaligned load and store instructions: | |
2516 | LWL, LWR, SWL, SWR (Load/store word left/right). | |
2517 | LDL, LDR, SDL, SDR (Load/store doubleword left/right, for 64bit systems). | |
2518 | ||
f41ae0b2 RB |
2519 | # |
2520 | # Vectored interrupt mode is an R2 feature | |
2521 | # | |
e01402b1 | 2522 | config CPU_MIPSR2_IRQ_VI |
f41ae0b2 | 2523 | bool |
e01402b1 | 2524 | |
f41ae0b2 RB |
2525 | # |
2526 | # Extended interrupt mode is an R2 feature | |
2527 | # | |
e01402b1 | 2528 | config CPU_MIPSR2_IRQ_EI |
f41ae0b2 | 2529 | bool |
e01402b1 | 2530 | |
1da177e4 LT |
2531 | config CPU_HAS_SYNC |
2532 | bool | |
2533 | depends on !CPU_R3000 | |
2534 | default y | |
2535 | ||
20d60d99 MR |
2536 | # |
2537 | # CPU non-features | |
2538 | # | |
2539 | config CPU_DADDI_WORKAROUNDS | |
2540 | bool | |
2541 | ||
2542 | config CPU_R4000_WORKAROUNDS | |
2543 | bool | |
2544 | select CPU_R4400_WORKAROUNDS | |
2545 | ||
2546 | config CPU_R4400_WORKAROUNDS | |
2547 | bool | |
2548 | ||
4edf00a4 PB |
2549 | config MIPS_ASID_SHIFT |
2550 | int | |
2551 | default 6 if CPU_R3000 || CPU_TX39XX | |
4edf00a4 PB |
2552 | default 0 |
2553 | ||
2554 | config MIPS_ASID_BITS | |
2555 | int | |
2db003a5 | 2556 | default 0 if MIPS_ASID_BITS_VARIABLE |
4edf00a4 PB |
2557 | default 6 if CPU_R3000 || CPU_TX39XX |
2558 | default 8 | |
2559 | ||
2db003a5 PB |
2560 | config MIPS_ASID_BITS_VARIABLE |
2561 | bool | |
2562 | ||
4a5dc51e MN |
2563 | config MIPS_CRC_SUPPORT |
2564 | bool | |
2565 | ||
1da177e4 LT |
2566 | # |
2567 | # - Highmem only makes sense for the 32-bit kernel. | |
2568 | # - The current highmem code will only work properly on physically indexed | |
2569 | # caches such as R3000, SB1, R7000 or those that look like they're virtually | |
2570 | # indexed such as R4000/R4400 SC and MC versions or R10000. So for the | |
2571 | # moment we protect the user and offer the highmem option only on machines | |
2572 | # where it's known to be safe. This will not offer highmem on a few systems | |
2573 | # such as MIPS32 and MIPS64 CPUs which may have virtual and physically | |
2574 | # indexed CPUs but we're playing safe. | |
797798c1 RB |
2575 | # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we |
2576 | # know they might have memory configurations that could make use of highmem | |
2577 | # support. | |
1da177e4 LT |
2578 | # |
2579 | config HIGHMEM | |
2580 | bool "High Memory Support" | |
a6e18781 | 2581 | depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM && !CPU_MIPS32_3_5_EVA |
797798c1 RB |
2582 | |
2583 | config CPU_SUPPORTS_HIGHMEM | |
2584 | bool | |
2585 | ||
2586 | config SYS_SUPPORTS_HIGHMEM | |
2587 | bool | |
1da177e4 | 2588 | |
9693a853 FBH |
2589 | config SYS_SUPPORTS_SMARTMIPS |
2590 | bool | |
2591 | ||
a6a4834c SH |
2592 | config SYS_SUPPORTS_MICROMIPS |
2593 | bool | |
2594 | ||
377cb1b6 RB |
2595 | config SYS_SUPPORTS_MIPS16 |
2596 | bool | |
2597 | help | |
2598 | This option must be set if a kernel might be executed on a MIPS16- | |
2599 | enabled CPU even if MIPS16 is not actually being used. In other | |
2600 | words, it makes the kernel MIPS16-tolerant. | |
2601 | ||
a5e9a69e PB |
2602 | config CPU_SUPPORTS_MSA |
2603 | bool | |
2604 | ||
b4819b59 YY |
2605 | config ARCH_FLATMEM_ENABLE |
2606 | def_bool y | |
f133f22d | 2607 | depends on !NUMA && !CPU_LOONGSON2 |
b4819b59 | 2608 | |
d8cb4e11 RB |
2609 | config ARCH_DISCONTIGMEM_ENABLE |
2610 | bool | |
2611 | default y if SGI_IP27 | |
2612 | help | |
3dde6ad8 | 2613 | Say Y to support efficient handling of discontiguous physical memory, |
d8cb4e11 RB |
2614 | for architectures which are either NUMA (Non-Uniform Memory Access) |
2615 | or have huge holes in the physical address space for other reasons. | |
ad56b738 | 2616 | See <file:Documentation/vm/numa.rst> for more. |
d8cb4e11 | 2617 | |
31473747 AN |
2618 | config ARCH_SPARSEMEM_ENABLE |
2619 | bool | |
7de58fab | 2620 | select SPARSEMEM_STATIC |
31473747 | 2621 | |
d8cb4e11 RB |
2622 | config NUMA |
2623 | bool "NUMA Support" | |
2624 | depends on SYS_SUPPORTS_NUMA | |
2625 | help | |
2626 | Say Y to compile the kernel to support NUMA (Non-Uniform Memory | |
2627 | Access). This option improves performance on systems with more | |
2628 | than two nodes; on two node systems it is generally better to | |
2629 | leave it disabled; on single node systems disable this option | |
2630 | disabled. | |
2631 | ||
2632 | config SYS_SUPPORTS_NUMA | |
2633 | bool | |
2634 | ||
8c530ea3 MR |
2635 | config RELOCATABLE |
2636 | bool "Relocatable kernel" | |
3ff72be4 | 2637 | depends on SYS_SUPPORTS_RELOCATABLE && (CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_MIPS32_R6 || CPU_MIPS64_R6 || CAVIUM_OCTEON_SOC) |
8c530ea3 MR |
2638 | help |
2639 | This builds a kernel image that retains relocation information | |
2640 | so it can be loaded someplace besides the default 1MB. | |
2641 | The relocations make the kernel binary about 15% larger, | |
2642 | but are discarded at runtime | |
2643 | ||
069fd766 MR |
2644 | config RELOCATION_TABLE_SIZE |
2645 | hex "Relocation table size" | |
2646 | depends on RELOCATABLE | |
2647 | range 0x0 0x01000000 | |
2648 | default "0x00100000" | |
2649 | ---help--- | |
2650 | A table of relocation data will be appended to the kernel binary | |
2651 | and parsed at boot to fix up the relocated kernel. | |
2652 | ||
2653 | This option allows the amount of space reserved for the table to be | |
2654 | adjusted, although the default of 1Mb should be ok in most cases. | |
2655 | ||
2656 | The build will fail and a valid size suggested if this is too small. | |
2657 | ||
2658 | If unsure, leave at the default value. | |
2659 | ||
405bc8fd MR |
2660 | config RANDOMIZE_BASE |
2661 | bool "Randomize the address of the kernel image" | |
2662 | depends on RELOCATABLE | |
2663 | ---help--- | |
371a4151 EWI |
2664 | Randomizes the physical and virtual address at which the |
2665 | kernel image is loaded, as a security feature that | |
2666 | deters exploit attempts relying on knowledge of the location | |
2667 | of kernel internals. | |
405bc8fd | 2668 | |
371a4151 | 2669 | Entropy is generated using any coprocessor 0 registers available. |
405bc8fd | 2670 | |
371a4151 | 2671 | The kernel will be offset by up to RANDOMIZE_BASE_MAX_OFFSET. |
405bc8fd | 2672 | |
371a4151 | 2673 | If unsure, say N. |
405bc8fd MR |
2674 | |
2675 | config RANDOMIZE_BASE_MAX_OFFSET | |
2676 | hex "Maximum kASLR offset" if EXPERT | |
2677 | depends on RANDOMIZE_BASE | |
2678 | range 0x0 0x40000000 if EVA || 64BIT | |
2679 | range 0x0 0x08000000 | |
2680 | default "0x01000000" | |
2681 | ---help--- | |
2682 | When kASLR is active, this provides the maximum offset that will | |
2683 | be applied to the kernel image. It should be set according to the | |
2684 | amount of physical RAM available in the target system minus | |
2685 | PHYSICAL_START and must be a power of 2. | |
2686 | ||
2687 | This is limited by the size of KSEG0, 256Mb on 32-bit or 1Gb with | |
2688 | EVA or 64-bit. The default is 16Mb. | |
2689 | ||
c80d79d7 YG |
2690 | config NODES_SHIFT |
2691 | int | |
2692 | default "6" | |
2693 | depends on NEED_MULTIPLE_NODES | |
2694 | ||
14f70012 DZ |
2695 | config HW_PERF_EVENTS |
2696 | bool "Enable hardware performance counter support for perf events" | |
23021b2b | 2697 | depends on PERF_EVENTS && !OPROFILE && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON || CPU_XLP || CPU_LOONGSON3) |
14f70012 DZ |
2698 | default y |
2699 | help | |
2700 | Enable hardware performance counter support for perf events. If | |
2701 | disabled, perf events will use software events only. | |
2702 | ||
1da177e4 LT |
2703 | config SMP |
2704 | bool "Multi-Processing support" | |
e73ea273 RB |
2705 | depends on SYS_SUPPORTS_SMP |
2706 | help | |
1da177e4 | 2707 | This enables support for systems with more than one CPU. If you have |
4a474157 RG |
2708 | a system with only one CPU, say N. If you have a system with more |
2709 | than one CPU, say Y. | |
1da177e4 | 2710 | |
4a474157 | 2711 | If you say N here, the kernel will run on uni- and multiprocessor |
1da177e4 LT |
2712 | machines, but will use only one CPU of a multiprocessor machine. If |
2713 | you say Y here, the kernel will run on many, but not all, | |
4a474157 | 2714 | uniprocessor machines. On a uniprocessor machine, the kernel |
1da177e4 LT |
2715 | will run faster if you say N here. |
2716 | ||
2717 | People using multiprocessor machines who say Y here should also say | |
2718 | Y to "Enhanced Real Time Clock Support", below. | |
2719 | ||
03502faa AB |
2720 | See also the SMP-HOWTO available at |
2721 | <http://www.tldp.org/docs.html#howto>. | |
1da177e4 LT |
2722 | |
2723 | If you don't know what to do here, say N. | |
2724 | ||
7840d618 MR |
2725 | config HOTPLUG_CPU |
2726 | bool "Support for hot-pluggable CPUs" | |
2727 | depends on SMP && SYS_SUPPORTS_HOTPLUG_CPU | |
2728 | help | |
2729 | Say Y here to allow turning CPUs off and on. CPUs can be | |
2730 | controlled through /sys/devices/system/cpu. | |
2731 | (Note: power management support will enable this option | |
2732 | automatically on SMP systems. ) | |
2733 | Say N if you want to disable CPU hotplug. | |
2734 | ||
87353d8a RB |
2735 | config SMP_UP |
2736 | bool | |
2737 | ||
4a16ff4c RB |
2738 | config SYS_SUPPORTS_MIPS_CMP |
2739 | bool | |
2740 | ||
0ee958e1 PB |
2741 | config SYS_SUPPORTS_MIPS_CPS |
2742 | bool | |
2743 | ||
e73ea273 RB |
2744 | config SYS_SUPPORTS_SMP |
2745 | bool | |
2746 | ||
130e2fb7 RB |
2747 | config NR_CPUS_DEFAULT_4 |
2748 | bool | |
2749 | ||
2750 | config NR_CPUS_DEFAULT_8 | |
2751 | bool | |
2752 | ||
2753 | config NR_CPUS_DEFAULT_16 | |
2754 | bool | |
2755 | ||
2756 | config NR_CPUS_DEFAULT_32 | |
2757 | bool | |
2758 | ||
2759 | config NR_CPUS_DEFAULT_64 | |
2760 | bool | |
2761 | ||
1da177e4 | 2762 | config NR_CPUS |
a91796a9 J |
2763 | int "Maximum number of CPUs (2-256)" |
2764 | range 2 256 | |
1da177e4 | 2765 | depends on SMP |
130e2fb7 RB |
2766 | default "4" if NR_CPUS_DEFAULT_4 |
2767 | default "8" if NR_CPUS_DEFAULT_8 | |
2768 | default "16" if NR_CPUS_DEFAULT_16 | |
2769 | default "32" if NR_CPUS_DEFAULT_32 | |
2770 | default "64" if NR_CPUS_DEFAULT_64 | |
1da177e4 LT |
2771 | help |
2772 | This allows you to specify the maximum number of CPUs which this | |
2773 | kernel will support. The maximum supported value is 32 for 32-bit | |
2774 | kernel and 64 for 64-bit kernels; the minimum value which makes | |
72ede9b1 AN |
2775 | sense is 1 for Qemu (useful only for kernel debugging purposes) |
2776 | and 2 for all others. | |
1da177e4 LT |
2777 | |
2778 | This is purely to save memory - each supported CPU adds | |
72ede9b1 AN |
2779 | approximately eight kilobytes to the kernel image. For best |
2780 | performance should round up your number of processors to the next | |
2781 | power of two. | |
1da177e4 | 2782 | |
399aaa25 AC |
2783 | config MIPS_PERF_SHARED_TC_COUNTERS |
2784 | bool | |
7820b84b DD |
2785 | |
2786 | config MIPS_NR_CPU_NR_MAP_1024 | |
2787 | bool | |
2788 | ||
2789 | config MIPS_NR_CPU_NR_MAP | |
2790 | int | |
2791 | depends on SMP | |
2792 | default 1024 if MIPS_NR_CPU_NR_MAP_1024 | |
2793 | default NR_CPUS if !MIPS_NR_CPU_NR_MAP_1024 | |
399aaa25 | 2794 | |
1723b4a3 AN |
2795 | # |
2796 | # Timer Interrupt Frequency Configuration | |
2797 | # | |
2798 | ||
2799 | choice | |
2800 | prompt "Timer frequency" | |
2801 | default HZ_250 | |
2802 | help | |
371a4151 | 2803 | Allows the configuration of the timer frequency. |
1723b4a3 | 2804 | |
67596573 PB |
2805 | config HZ_24 |
2806 | bool "24 HZ" if SYS_SUPPORTS_24HZ || SYS_SUPPORTS_ARBIT_HZ | |
2807 | ||
1723b4a3 | 2808 | config HZ_48 |
0f873585 | 2809 | bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ |
1723b4a3 AN |
2810 | |
2811 | config HZ_100 | |
2812 | bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ | |
2813 | ||
2814 | config HZ_128 | |
2815 | bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ | |
2816 | ||
2817 | config HZ_250 | |
2818 | bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ | |
2819 | ||
2820 | config HZ_256 | |
2821 | bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ | |
2822 | ||
2823 | config HZ_1000 | |
2824 | bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ | |
2825 | ||
2826 | config HZ_1024 | |
2827 | bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ | |
2828 | ||
2829 | endchoice | |
2830 | ||
67596573 PB |
2831 | config SYS_SUPPORTS_24HZ |
2832 | bool | |
2833 | ||
1723b4a3 AN |
2834 | config SYS_SUPPORTS_48HZ |
2835 | bool | |
2836 | ||
2837 | config SYS_SUPPORTS_100HZ | |
2838 | bool | |
2839 | ||
2840 | config SYS_SUPPORTS_128HZ | |
2841 | bool | |
2842 | ||
2843 | config SYS_SUPPORTS_250HZ | |
2844 | bool | |
2845 | ||
2846 | config SYS_SUPPORTS_256HZ | |
2847 | bool | |
2848 | ||
2849 | config SYS_SUPPORTS_1000HZ | |
2850 | bool | |
2851 | ||
2852 | config SYS_SUPPORTS_1024HZ | |
2853 | bool | |
2854 | ||
2855 | config SYS_SUPPORTS_ARBIT_HZ | |
2856 | bool | |
67596573 PB |
2857 | default y if !SYS_SUPPORTS_24HZ && \ |
2858 | !SYS_SUPPORTS_48HZ && \ | |
2859 | !SYS_SUPPORTS_100HZ && \ | |
2860 | !SYS_SUPPORTS_128HZ && \ | |
2861 | !SYS_SUPPORTS_250HZ && \ | |
2862 | !SYS_SUPPORTS_256HZ && \ | |
2863 | !SYS_SUPPORTS_1000HZ && \ | |
1723b4a3 AN |
2864 | !SYS_SUPPORTS_1024HZ |
2865 | ||
2866 | config HZ | |
2867 | int | |
67596573 | 2868 | default 24 if HZ_24 |
1723b4a3 AN |
2869 | default 48 if HZ_48 |
2870 | default 100 if HZ_100 | |
2871 | default 128 if HZ_128 | |
2872 | default 250 if HZ_250 | |
2873 | default 256 if HZ_256 | |
2874 | default 1000 if HZ_1000 | |
2875 | default 1024 if HZ_1024 | |
2876 | ||
96685b17 DZ |
2877 | config SCHED_HRTICK |
2878 | def_bool HIGH_RES_TIMERS | |
2879 | ||
ea6e942b | 2880 | config KEXEC |
7d60717e | 2881 | bool "Kexec system call" |
2965faa5 | 2882 | select KEXEC_CORE |
ea6e942b AN |
2883 | help |
2884 | kexec is a system call that implements the ability to shutdown your | |
2885 | current kernel, and to start another kernel. It is like a reboot | |
3dde6ad8 | 2886 | but it is independent of the system firmware. And like a reboot |
ea6e942b AN |
2887 | you can start any kernel with it, not just Linux. |
2888 | ||
01dd2fbf | 2889 | The name comes from the similarity to the exec system call. |
ea6e942b AN |
2890 | |
2891 | It is an ongoing process to be certain the hardware in a machine | |
2892 | is properly shutdown, so do not be surprised if this code does not | |
bf220695 GU |
2893 | initially work for you. As of this writing the exact hardware |
2894 | interface is strongly in flux, so no good recommendation can be | |
2895 | made. | |
ea6e942b | 2896 | |
7aa1c8f4 | 2897 | config CRASH_DUMP |
bff323d5 MN |
2898 | bool "Kernel crash dumps" |
2899 | help | |
7aa1c8f4 RB |
2900 | Generate crash dump after being started by kexec. |
2901 | This should be normally only set in special crash dump kernels | |
2902 | which are loaded in the main kernel with kexec-tools into | |
2903 | a specially reserved region and then later executed after | |
2904 | a crash by kdump/kexec. The crash dump kernel must be compiled | |
2905 | to a memory address not used by the main kernel or firmware using | |
2906 | PHYSICAL_START. | |
2907 | ||
2908 | config PHYSICAL_START | |
bff323d5 | 2909 | hex "Physical address where the kernel is loaded" |
8bda3e26 | 2910 | default "0xffffffff84000000" |
bff323d5 MN |
2911 | depends on CRASH_DUMP |
2912 | help | |
7aa1c8f4 RB |
2913 | This gives the CKSEG0 or KSEG0 address where the kernel is loaded. |
2914 | If you plan to use kernel for capturing the crash dump change | |
2915 | this value to start of the reserved region (the "X" value as | |
2916 | specified in the "crashkernel=YM@XM" command line boot parameter | |
2917 | passed to the panic-ed kernel). | |
2918 | ||
ea6e942b AN |
2919 | config SECCOMP |
2920 | bool "Enable seccomp to safely compute untrusted bytecode" | |
293c5bd1 | 2921 | depends on PROC_FS |
ea6e942b AN |
2922 | default y |
2923 | help | |
2924 | This kernel feature is useful for number crunching applications | |
2925 | that may need to compute untrusted bytecode during their | |
2926 | execution. By using pipes or other transports made available to | |
2927 | the process as file descriptors supporting the read/write | |
2928 | syscalls, it's possible to isolate those applications in | |
2929 | their own address space using seccomp. Once seccomp is | |
2930 | enabled via /proc/<pid>/seccomp, it cannot be disabled | |
2931 | and the task is only allowed to execute a few safe syscalls | |
2932 | defined by each seccomp mode. | |
2933 | ||
2934 | If unsure, say Y. Only embedded should say N here. | |
2935 | ||
597ce172 | 2936 | config MIPS_O32_FP64_SUPPORT |
b7f1e273 | 2937 | bool "Support for O32 binaries using 64-bit FP" if !CPU_MIPSR6 |
597ce172 | 2938 | depends on 32BIT || MIPS32_O32 |
597ce172 PB |
2939 | help |
2940 | When this is enabled, the kernel will support use of 64-bit floating | |
2941 | point registers with binaries using the O32 ABI along with the | |
2942 | EF_MIPS_FP64 ELF header flag (typically built with -mfp64). On | |
2943 | 32-bit MIPS systems this support is at the cost of increasing the | |
2944 | size and complexity of the compiled FPU emulator. Thus if you are | |
2945 | running a MIPS32 system and know that none of your userland binaries | |
2946 | will require 64-bit floating point, you may wish to reduce the size | |
2947 | of your kernel & potentially improve FP emulation performance by | |
2948 | saying N here. | |
2949 | ||
06e2e882 PB |
2950 | Although binutils currently supports use of this flag the details |
2951 | concerning its effect upon the O32 ABI in userland are still being | |
2952 | worked on. In order to avoid userland becoming dependant upon current | |
2953 | behaviour before the details have been finalised, this option should | |
2954 | be considered experimental and only enabled by those working upon | |
2955 | said details. | |
2956 | ||
2957 | If unsure, say N. | |
597ce172 | 2958 | |
f2ffa5ab | 2959 | config USE_OF |
0b3e06fd | 2960 | bool |
f2ffa5ab | 2961 | select OF |
e6ce1324 | 2962 | select OF_EARLY_FLATTREE |
abd2363f | 2963 | select IRQ_DOMAIN |
f2ffa5ab | 2964 | |
2fe8ea39 DZ |
2965 | config UHI_BOOT |
2966 | bool | |
2967 | ||
7fafb068 AB |
2968 | config BUILTIN_DTB |
2969 | bool | |
2970 | ||
1da8f179 | 2971 | choice |
5b24d52c | 2972 | prompt "Kernel appended dtb support" if USE_OF |
1da8f179 JG |
2973 | default MIPS_NO_APPENDED_DTB |
2974 | ||
2975 | config MIPS_NO_APPENDED_DTB | |
2976 | bool "None" | |
2977 | help | |
2978 | Do not enable appended dtb support. | |
2979 | ||
87db537d AK |
2980 | config MIPS_ELF_APPENDED_DTB |
2981 | bool "vmlinux" | |
2982 | help | |
2983 | With this option, the boot code will look for a device tree binary | |
2984 | DTB) included in the vmlinux ELF section .appended_dtb. By default | |
2985 | it is empty and the DTB can be appended using binutils command | |
2986 | objcopy: | |
2987 | ||
2988 | objcopy --update-section .appended_dtb=<filename>.dtb vmlinux | |
2989 | ||
2990 | This is meant as a backward compatiblity convenience for those | |
2991 | systems with a bootloader that can't be upgraded to accommodate | |
2992 | the documented boot protocol using a device tree. | |
2993 | ||
1da8f179 | 2994 | config MIPS_RAW_APPENDED_DTB |
b8f54f2c | 2995 | bool "vmlinux.bin or vmlinuz.bin" |
1da8f179 JG |
2996 | help |
2997 | With this option, the boot code will look for a device tree binary | |
b8f54f2c | 2998 | DTB) appended to raw vmlinux.bin or vmlinuz.bin. |
1da8f179 JG |
2999 | (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb). |
3000 | ||
3001 | This is meant as a backward compatibility convenience for those | |
3002 | systems with a bootloader that can't be upgraded to accommodate | |
3003 | the documented boot protocol using a device tree. | |
3004 | ||
3005 | Beware that there is very little in terms of protection against | |
3006 | this option being confused by leftover garbage in memory that might | |
3007 | look like a DTB header after a reboot if no actual DTB is appended | |
3008 | to vmlinux.bin. Do not leave this option active in a production kernel | |
3009 | if you don't intend to always append a DTB. | |
3010 | endchoice | |
3011 | ||
2024972e JG |
3012 | choice |
3013 | prompt "Kernel command line type" if !CMDLINE_OVERRIDE | |
2bcef9b4 | 3014 | default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \ |
3f5f0a44 | 3015 | !MIPS_MALTA && \ |
2bcef9b4 | 3016 | !CAVIUM_OCTEON_SOC |
2024972e JG |
3017 | default MIPS_CMDLINE_FROM_BOOTLOADER |
3018 | ||
3019 | config MIPS_CMDLINE_FROM_DTB | |
3020 | depends on USE_OF | |
3021 | bool "Dtb kernel arguments if available" | |
3022 | ||
3023 | config MIPS_CMDLINE_DTB_EXTEND | |
3024 | depends on USE_OF | |
3025 | bool "Extend dtb kernel arguments with bootloader arguments" | |
3026 | ||
3027 | config MIPS_CMDLINE_FROM_BOOTLOADER | |
3028 | bool "Bootloader kernel arguments if available" | |
ed47e153 RV |
3029 | |
3030 | config MIPS_CMDLINE_BUILTIN_EXTEND | |
3031 | depends on CMDLINE_BOOL | |
3032 | bool "Extend builtin kernel arguments with bootloader arguments" | |
2024972e JG |
3033 | endchoice |
3034 | ||
5e83d430 RB |
3035 | endmenu |
3036 | ||
1df0f0ff AN |
3037 | config LOCKDEP_SUPPORT |
3038 | bool | |
3039 | default y | |
3040 | ||
3041 | config STACKTRACE_SUPPORT | |
3042 | bool | |
3043 | default y | |
3044 | ||
a728ab52 KS |
3045 | config PGTABLE_LEVELS |
3046 | int | |
3377e227 | 3047 | default 4 if PAGE_SIZE_4KB && MIPS_VA_BITS_48 |
a728ab52 KS |
3048 | default 3 if 64BIT && !PAGE_SIZE_64KB |
3049 | default 2 | |
3050 | ||
6c359eb1 PB |
3051 | config MIPS_AUTO_PFN_OFFSET |
3052 | bool | |
3053 | ||
1da177e4 LT |
3054 | menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" |
3055 | ||
c5611df9 | 3056 | config PCI_DRIVERS_GENERIC |
2eac9c2d | 3057 | select PCI_DOMAINS_GENERIC if PCI |
c5611df9 PB |
3058 | bool |
3059 | ||
3060 | config PCI_DRIVERS_LEGACY | |
3061 | def_bool !PCI_DRIVERS_GENERIC | |
3062 | select NO_GENERIC_PCI_IOPORT_MAP | |
2eac9c2d | 3063 | select PCI_DOMAINS if PCI |
1da177e4 LT |
3064 | |
3065 | # | |
3066 | # ISA support is now enabled via select. Too many systems still have the one | |
3067 | # or other ISA chip on the board that users don't know about so don't expect | |
3068 | # users to choose the right thing ... | |
3069 | # | |
3070 | config ISA | |
3071 | bool | |
3072 | ||
1da177e4 LT |
3073 | config TC |
3074 | bool "TURBOchannel support" | |
3075 | depends on MACH_DECSTATION | |
3076 | help | |
50a23e6e JM |
3077 | TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS |
3078 | processors. TURBOchannel programming specifications are available | |
3079 | at: | |
3080 | <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/> | |
3081 | and: | |
3082 | <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/> | |
3083 | Linux driver support status is documented at: | |
3084 | <http://www.linux-mips.org/wiki/DECstation> | |
1da177e4 | 3085 | |
1da177e4 LT |
3086 | config MMU |
3087 | bool | |
3088 | default y | |
3089 | ||
109c32ff MR |
3090 | config ARCH_MMAP_RND_BITS_MIN |
3091 | default 12 if 64BIT | |
3092 | default 8 | |
3093 | ||
3094 | config ARCH_MMAP_RND_BITS_MAX | |
3095 | default 18 if 64BIT | |
3096 | default 15 | |
3097 | ||
3098 | config ARCH_MMAP_RND_COMPAT_BITS_MIN | |
371a4151 | 3099 | default 8 |
109c32ff MR |
3100 | |
3101 | config ARCH_MMAP_RND_COMPAT_BITS_MAX | |
371a4151 | 3102 | default 15 |
109c32ff | 3103 | |
d865bea4 RB |
3104 | config I8253 |
3105 | bool | |
798778b8 | 3106 | select CLKSRC_I8253 |
2d02612f | 3107 | select CLKEVT_I8253 |
9726b43a | 3108 | select MIPS_EXTERNAL_TIMER |
d865bea4 | 3109 | |
e05eb3f8 RB |
3110 | config ZONE_DMA |
3111 | bool | |
3112 | ||
cce335ae RB |
3113 | config ZONE_DMA32 |
3114 | bool | |
3115 | ||
1da177e4 LT |
3116 | endmenu |
3117 | ||
1da177e4 LT |
3118 | config TRAD_SIGNALS |
3119 | bool | |
1da177e4 | 3120 | |
1da177e4 | 3121 | config MIPS32_COMPAT |
78aaf956 | 3122 | bool |
1da177e4 LT |
3123 | |
3124 | config COMPAT | |
3125 | bool | |
1da177e4 | 3126 | |
05e43966 AN |
3127 | config SYSVIPC_COMPAT |
3128 | bool | |
05e43966 | 3129 | |
1da177e4 LT |
3130 | config MIPS32_O32 |
3131 | bool "Kernel support for o32 binaries" | |
78aaf956 RB |
3132 | depends on 64BIT |
3133 | select ARCH_WANT_OLD_COMPAT_IPC | |
3134 | select COMPAT | |
3135 | select MIPS32_COMPAT | |
3136 | select SYSVIPC_COMPAT if SYSVIPC | |
1da177e4 LT |
3137 | help |
3138 | Select this option if you want to run o32 binaries. These are pure | |
3139 | 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of | |
3140 | existing binaries are in this format. | |
3141 | ||
3142 | If unsure, say Y. | |
3143 | ||
3144 | config MIPS32_N32 | |
3145 | bool "Kernel support for n32 binaries" | |
c22eacfe | 3146 | depends on 64BIT |
5a9372f7 | 3147 | select ARCH_WANT_COMPAT_IPC_PARSE_VERSION |
78aaf956 RB |
3148 | select COMPAT |
3149 | select MIPS32_COMPAT | |
3150 | select SYSVIPC_COMPAT if SYSVIPC | |
1da177e4 LT |
3151 | help |
3152 | Select this option if you want to run n32 binaries. These are | |
3153 | 64-bit binaries using 32-bit quantities for addressing and certain | |
3154 | data that would normally be 64-bit. They are used in special | |
3155 | cases. | |
3156 | ||
3157 | If unsure, say N. | |
3158 | ||
3159 | config BINFMT_ELF32 | |
3160 | bool | |
3161 | default y if MIPS32_O32 || MIPS32_N32 | |
f43edca7 | 3162 | select ELFCORE |
1da177e4 | 3163 | |
2116245e RB |
3164 | menu "Power management options" |
3165 | ||
363c55ca WZ |
3166 | config ARCH_HIBERNATION_POSSIBLE |
3167 | def_bool y | |
3f5b3e17 | 3168 | depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP |
363c55ca | 3169 | |
f4cb5700 JB |
3170 | config ARCH_SUSPEND_POSSIBLE |
3171 | def_bool y | |
3f5b3e17 | 3172 | depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP |
f4cb5700 | 3173 | |
2116245e | 3174 | source "kernel/power/Kconfig" |
952fa954 | 3175 | |
1da177e4 LT |
3176 | endmenu |
3177 | ||
7a998935 VK |
3178 | config MIPS_EXTERNAL_TIMER |
3179 | bool | |
3180 | ||
7a998935 | 3181 | menu "CPU Power Management" |
c095ebaf PB |
3182 | |
3183 | if CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER | |
7a998935 | 3184 | source "drivers/cpufreq/Kconfig" |
7a998935 | 3185 | endif |
9726b43a | 3186 | |
c095ebaf PB |
3187 | source "drivers/cpuidle/Kconfig" |
3188 | ||
3189 | endmenu | |
3190 | ||
98cdee0e RB |
3191 | source "drivers/firmware/Kconfig" |
3192 | ||
2235a54d | 3193 | source "arch/mips/kvm/Kconfig" |