blob: e915750679b6b667df3f8ca6730e49af3bb2c759 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config MIPS
2 bool
3 default y
Yoichi Yuasaf8ac0422009-06-04 00:16:04 +09004 select HAVE_GENERIC_DMA_COHERENT
Sam Ravnborgec7748b2008-02-09 10:46:40 +01005 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -05006 select HAVE_OPROFILE
Deng-Cheng Zhu7f788d22010-10-12 19:37:21 +08007 select HAVE_PERF_EVENTS
8 select PERF_USE_VMALLOC
Jason Wessel88547002008-07-29 15:58:53 -05009 select HAVE_ARCH_KGDB
Wu Zhangjind2bb0762009-11-20 20:34:29 +080010 select HAVE_FUNCTION_TRACER
Wu Zhangjin69a7d1b2009-11-20 20:34:30 +080011 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
Wu Zhangjin538f1952009-11-20 20:34:32 +080012 select HAVE_DYNAMIC_FTRACE
13 select HAVE_FTRACE_MCOUNT_RECORD
Wu Zhangjin29c5d342009-11-20 20:34:34 +080014 select HAVE_FUNCTION_GRAPH_TRACER
David Daneyc1bf2072010-08-03 11:22:20 -070015 select HAVE_KPROBES
16 select HAVE_KRETPROBES
Wu Zhangjin21a41fa2009-11-10 00:06:11 +080017 select RTC_LIB if !MACH_LOONGSON
Deng-Cheng Zhu2b789202010-06-09 12:35:25 +080018 select GENERIC_ATOMIC64 if !64BIT
David Daney48e1fd52010-10-01 13:27:32 -070019 select HAVE_DMA_ATTRS
20 select HAVE_DMA_API_DEBUG
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Linus Torvalds1da177e2005-04-16 15:20:36 -070022menu "Machine selection"
23
Christoph Lameter5ac6da62007-02-10 01:43:14 -080024config ZONE_DMA
25 bool
Christoph Lameter5ac6da62007-02-10 01:43:14 -080026
Ralf Baechle5e83d432005-10-29 19:32:41 +010027choice
28 prompt "System type"
29 default SGI_IP22
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
Manuel Lauss42a4f172010-07-15 21:45:04 +020031config MIPS_ALCHEMY
Yoichi Yuasac3543e22007-05-11 20:44:30 +090032 bool "Alchemy processor based machines"
Manuel Lauss42a4f172010-07-15 21:45:04 +020033 select 64BIT_PHYS_ADDR
34 select CEVT_R4K_LIB
35 select CSRC_R4K_LIB
36 select IRQ_CPU
37 select SYS_HAS_CPU_MIPS32_R1
38 select SYS_SUPPORTS_32BIT_KERNEL
39 select SYS_SUPPORTS_APM_EMULATION
40 select GENERIC_GPIO
41 select ARCH_WANT_OPTIONAL_GPIOLIB
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +080042 select SYS_SUPPORTS_ZBOOT
Linus Torvalds1da177e2005-04-16 15:20:36 -070043
Florian Fainelli7ca5dc12009-06-24 11:12:57 +020044config AR7
45 bool "Texas Instruments AR7"
46 select BOOT_ELF32
47 select DMA_NONCOHERENT
48 select CEVT_R4K
49 select CSRC_R4K
50 select IRQ_CPU
51 select NO_EXCEPT_FILL
52 select SWAP_IO_SPACE
53 select SYS_HAS_CPU_MIPS32_R1
54 select SYS_HAS_EARLY_PRINTK
55 select SYS_SUPPORTS_32BIT_KERNEL
56 select SYS_SUPPORTS_LITTLE_ENDIAN
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +080057 select SYS_SUPPORTS_ZBOOT_UART16550
Florian Fainelli5f3c9092010-01-03 21:16:51 +010058 select ARCH_REQUIRE_GPIOLIB
Florian Fainelli7ca5dc12009-06-24 11:12:57 +020059 select GCD
60 select VLYNQ
61 help
62 Support for the Texas Instruments AR7 System-on-a-Chip
63 family: TNETD7100, 7200 and 7300.
64
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020065config BCM47XX
Florian Fainellic6193662010-03-25 11:42:41 +010066 bool "Broadcom BCM47XX based boards"
Ralf Baechle42f77542007-10-18 17:48:11 +010067 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000068 select CSRC_R4K
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020069 select DMA_NONCOHERENT
70 select HW_HAS_PCI
71 select IRQ_CPU
72 select SYS_HAS_CPU_MIPS32_R1
73 select SYS_SUPPORTS_32BIT_KERNEL
74 select SYS_SUPPORTS_LITTLE_ENDIAN
75 select SSB
76 select SSB_DRIVER_MIPS
Aurelien Jarno2f02c152007-12-11 11:30:34 +010077 select SSB_DRIVER_EXTIF
Aurelien Jarnob06f3e12008-10-14 11:44:26 +020078 select SSB_EMBEDDED
Hauke Mehrtens220937b2010-07-27 22:12:45 +020079 select SSB_B43_PCI_BRIDGE if PCI
Aurelien Jarno2f02c152007-12-11 11:30:34 +010080 select SSB_PCICORE_HOSTMODE if PCI
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020081 select GENERIC_GPIO
Aurelien Jarno25e5fb92007-09-25 15:41:24 +020082 select SYS_HAS_EARLY_PRINTK
83 select CFE
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020084 help
85 Support for BCM47XX based boards
86
Maxime Bizone7300d02009-08-18 13:23:37 +010087config BCM63XX
88 bool "Broadcom BCM63XX based boards"
89 select CEVT_R4K
90 select CSRC_R4K
91 select DMA_NONCOHERENT
92 select IRQ_CPU
93 select SYS_HAS_CPU_MIPS32_R1
94 select SYS_SUPPORTS_32BIT_KERNEL
95 select SYS_SUPPORTS_BIG_ENDIAN
96 select SYS_HAS_EARLY_PRINTK
97 select SWAP_IO_SPACE
98 select ARCH_REQUIRE_GPIOLIB
99 help
100 Support for BCM63XX based boards
101
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102config MIPS_COBALT
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200103 bool "Cobalt Server"
Ralf Baechle42f77542007-10-18 17:48:11 +0100104 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000105 select CSRC_R4K
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900106 select CEVT_GT641XX
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107 select DMA_NONCOHERENT
108 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100109 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110 select I8259
111 select IRQ_CPU
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900112 select IRQ_GT641XX
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900113 select PCI_GT64XXX_PCI0
Yoichi Yuasae25bfc92009-06-02 23:17:07 +0900114 select PCI
Ralf Baechle7cf80532005-10-20 22:33:09 +0100115 select SYS_HAS_CPU_NEVADA
Yoichi Yuasa0a22e0d2007-03-02 12:42:33 +0900116 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700117 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli0e8774b2008-01-15 19:42:57 +0100118 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100119 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120
121config MACH_DECSTATION
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200122 bool "DECstations"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123 select BOOT_ELF32
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900124 select CEVT_DS1287
Ralf Baechle42f77542007-10-18 17:48:11 +0100125 select CEVT_R4K
Yoichi Yuasa42474172008-04-24 09:48:40 +0900126 select CSRC_IOASIC
Ralf Baechle940f6b42007-11-24 22:33:28 +0000127 select CSRC_R4K
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +0100128 select CPU_DADDI_WORKAROUNDS if 64BIT
129 select CPU_R4000_WORKAROUNDS if 64BIT
130 select CPU_R4400_WORKAROUNDS if 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700131 select DMA_NONCOHERENT
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100132 select NO_IOPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700133 select IRQ_CPU
Ralf Baechle7cf80532005-10-20 22:33:09 +0100134 select SYS_HAS_CPU_R3000
135 select SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700136 select SYS_SUPPORTS_32BIT_KERNEL
137 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100138 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900139 select SYS_SUPPORTS_128HZ
140 select SYS_SUPPORTS_256HZ
141 select SYS_SUPPORTS_1024HZ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100142 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143 This enables support for DEC's MIPS based workstations. For details
144 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
145 DECstation porting pages on <http://decstation.unix-ag.org/>.
146
147 If you have one of the following DECstation Models you definitely
148 want to choose R4xx0 for the CPU Type:
149
Ralf Baechle93088162007-08-29 14:21:45 +0100150 DECstation 5000/50
151 DECstation 5000/150
152 DECstation 5000/260
153 DECsystem 5900/260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700154
155 otherwise choose R3000.
156
Ralf Baechle5e83d432005-10-29 19:32:41 +0100157config MACH_JAZZ
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200158 bool "Jazz family of machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100159 select ARC
160 select ARC32
161 select ARCH_MAY_HAVE_PC_FDC
Ralf Baechle42f77542007-10-18 17:48:11 +0100162 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000163 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100164 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100165 select GENERIC_ISA_DMA
Thomas Bogendoerferea202c62007-08-25 11:01:50 +0200166 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100167 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100168 select I8259
169 select ISA
Ralf Baechle7cf80532005-10-20 22:33:09 +0100170 select SYS_HAS_CPU_R4X00
Ralf Baechle5e83d432005-10-29 19:32:41 +0100171 select SYS_SUPPORTS_32BIT_KERNEL
172 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900173 select SYS_SUPPORTS_100HZ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700174 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100175 This a family of machines based on the MIPS R4030 chipset which was
176 used by several vendors to build RISC/os and Windows NT workstations.
Matt LaPlante692105b2009-01-26 11:12:25 +0100177 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
Ralf Baechle5e83d432005-10-29 19:32:41 +0100178 Olivetti M700-10 workstations.
179
Lars-Peter Clausen5ebabe52010-06-19 04:08:19 +0000180config MACH_JZ4740
181 bool "Ingenic JZ4740 based machines"
182 select SYS_HAS_CPU_MIPS32_R1
183 select SYS_SUPPORTS_32BIT_KERNEL
184 select SYS_SUPPORTS_LITTLE_ENDIAN
185 select DMA_NONCOHERENT
186 select IRQ_CPU
187 select GENERIC_GPIO
188 select ARCH_REQUIRE_GPIOLIB
189 select SYS_HAS_EARLY_PRINTK
190 select HAVE_PWM
191
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200192config LASAT
193 bool "LASAT Networks platforms"
Ralf Baechle42f77542007-10-18 17:48:11 +0100194 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000195 select CSRC_R4K
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200196 select DMA_NONCOHERENT
197 select SYS_HAS_EARLY_PRINTK
198 select HW_HAS_PCI
Ralf Baechlea5ccfe52007-10-14 23:49:33 +0100199 select IRQ_CPU
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200200 select PCI_GT64XXX_PCI0
201 select MIPS_NILE4
202 select R5000_CPU_SCACHE
203 select SYS_HAS_CPU_R5000
204 select SYS_SUPPORTS_32BIT_KERNEL
205 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
206 select SYS_SUPPORTS_LITTLE_ENDIAN
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200207
Wu Zhangjin85749d22009-07-02 23:26:45 +0800208config MACH_LOONGSON
209 bool "Loongson family of machines"
Wu Zhangjinc7e8c662010-01-04 17:16:46 +0800210 select SYS_SUPPORTS_ZBOOT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900211 help
Wu Zhangjin85749d22009-07-02 23:26:45 +0800212 This enables the support of Loongson family of machines.
213
214 Loongson is a family of general-purpose MIPS-compatible CPUs.
215 developed at Institute of Computing Technology (ICT),
216 Chinese Academy of Sciences (CAS) in the People's Republic
217 of China. The chief architect is Professor Weiwu Hu.
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900218
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219config MIPS_MALTA
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200220 bool "MIPS Malta board"
Ralf Baechle61ed2422005-09-15 08:52:34 +0000221 select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700222 select BOOT_ELF32
Ralf Baechlefa71c962008-01-29 10:15:00 +0000223 select BOOT_RAW
Ralf Baechle42f77542007-10-18 17:48:11 +0100224 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000225 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226 select DMA_NONCOHERENT
227 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000228 select IRQ_CPU
Ralf Baechle39b8d522008-04-28 17:14:26 +0100229 select IRQ_GIC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100231 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232 select I8259
Ralf Baechle5e83d432005-10-29 19:32:41 +0100233 select MIPS_BOARDS_GEN
234 select MIPS_BONITO64
Chris Dearman9318c512006-06-20 17:15:20 +0100235 select MIPS_CPU_SCACHE
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900236 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100237 select MIPS_MSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700238 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100239 select SYS_HAS_CPU_MIPS32_R1
240 select SYS_HAS_CPU_MIPS32_R2
241 select SYS_HAS_CPU_MIPS64_R1
242 select SYS_HAS_CPU_NEVADA
243 select SYS_HAS_CPU_RM7000
Ralf Baechle36a88532007-03-01 11:56:43 +0000244 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700245 select SYS_SUPPORTS_32BIT_KERNEL
246 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100247 select SYS_SUPPORTS_BIG_ENDIAN
248 select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson03650702009-06-17 16:22:53 -0700249 select SYS_SUPPORTS_MIPS_CMP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100250 select SYS_SUPPORTS_MULTITHREADING
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100251 select SYS_SUPPORTS_SMARTMIPS
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +0800252 select SYS_SUPPORTS_ZBOOT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700253 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000254 This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700255 board.
256
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100257config MIPS_SIM
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200258 bool 'MIPS simulator (MIPSsim)'
Ralf Baechle42f77542007-10-18 17:48:11 +0100259 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000260 select CSRC_R4K
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100261 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000262 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100263 select IRQ_CPU
Marc St-Jean9267a302007-06-14 15:55:31 -0600264 select BOOT_RAW
Ralf Baechle7cf80532005-10-20 22:33:09 +0100265 select SYS_HAS_CPU_MIPS32_R1
266 select SYS_HAS_CPU_MIPS32_R2
Ralf Baechle36a88532007-03-01 11:56:43 +0000267 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100268 select SYS_SUPPORTS_32BIT_KERNEL
269 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlef6e23732007-07-10 17:32:56 +0100270 select SYS_SUPPORTS_MULTITHREADING
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100271 select SYS_SUPPORTS_LITTLE_ENDIAN
272 help
273 This option enables support for MIPS Technologies MIPSsim software
274 emulator.
275
Ralf Baechlea83860c2009-03-13 21:17:57 +0100276config NEC_MARKEINS
277 bool "NEC EMMA2RH Mark-eins board"
278 select SOC_EMMA2RH
279 select HW_HAS_PCI
280 help
281 This enables support for the NEC Electronics Mark-eins boards.
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900282
Ralf Baechle5e83d432005-10-29 19:32:41 +0100283config MACH_VR41XX
Yoichi Yuasa74142d62007-04-26 19:45:09 +0900284 bool "NEC VR4100 series based machines"
Ralf Baechle42f77542007-10-18 17:48:11 +0100285 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000286 select CSRC_R4K
Ralf Baechle7cf80532005-10-20 22:33:09 +0100287 select SYS_HAS_CPU_VR41XX
Yoichi Yuasa27fdd322009-06-29 11:11:05 +0900288 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle5e83d432005-10-29 19:32:41 +0100289
Daniel Lairdedb63102008-06-16 15:49:21 +0100290config NXP_STB220
291 bool "NXP STB220 board"
292 select SOC_PNX833X
293 help
294 Support for NXP Semiconductors STB220 Development Board.
295
296config NXP_STB225
297 bool "NXP 225 board"
298 select SOC_PNX833X
299 select SOC_PNX8335
300 help
301 Support for NXP Semiconductors STB225 Development Board.
302
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900303config PNX8550_JBS
Daniel Lairda92b0582008-03-06 09:07:18 +0000304 bool "NXP PNX8550 based JBS board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900305 select PNX8550
306 select SYS_SUPPORTS_LITTLE_ENDIAN
307
308config PNX8550_STB810
Daniel Lairda92b0582008-03-06 09:07:18 +0000309 bool "NXP PNX8550 based STB810 board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900310 select PNX8550
311 select SYS_SUPPORTS_LITTLE_ENDIAN
312
Marc St-Jean9267a302007-06-14 15:55:31 -0600313config PMC_MSP
314 bool "PMC-Sierra MSP chipsets"
315 depends on EXPERIMENTAL
316 select DMA_NONCOHERENT
317 select SWAP_IO_SPACE
318 select NO_EXCEPT_FILL
319 select BOOT_RAW
320 select SYS_HAS_CPU_MIPS32_R1
321 select SYS_HAS_CPU_MIPS32_R2
322 select SYS_SUPPORTS_32BIT_KERNEL
323 select SYS_SUPPORTS_BIG_ENDIAN
Marc St-Jean9267a302007-06-14 15:55:31 -0600324 select IRQ_CPU
325 select SERIAL_8250
326 select SERIAL_8250_CONSOLE
327 help
328 This adds support for the PMC-Sierra family of Multi-Service
329 Processor System-On-A-Chips. These parts include a number
330 of integrated peripherals, interfaces and DSPs in addition to
331 a variety of MIPS cores.
332
Ralf Baechle5e83d432005-10-29 19:32:41 +0100333config PMC_YOSEMITE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200334 bool "PMC-Sierra Yosemite eval board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100335 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000336 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100337 select DMA_COHERENT
338 select HW_HAS_PCI
339 select IRQ_CPU
340 select IRQ_CPU_RM7K
341 select IRQ_CPU_RM9K
342 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100343 select SYS_HAS_CPU_RM9000
Ralf Baechle36a88532007-03-01 11:56:43 +0000344 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100345 select SYS_SUPPORTS_32BIT_KERNEL
346 select SYS_SUPPORTS_64BIT_KERNEL
347 select SYS_SUPPORTS_BIG_ENDIAN
348 select SYS_SUPPORTS_HIGHMEM
Ralf Baechlee73ea272006-06-04 11:51:46 +0100349 select SYS_SUPPORTS_SMP
Ralf Baechle5e83d432005-10-29 19:32:41 +0100350 help
351 Yosemite is an evaluation board for the RM9000x2 processor
352 manufactured by PMC-Sierra.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353
David VomLehna3a0f8c2009-08-30 17:15:11 -0700354config POWERTV
355 bool "Cisco PowerTV"
356 select BOOT_ELF32
357 select CEVT_R4K
358 select CPU_MIPSR2_IRQ_VI
359 select CPU_MIPSR2_IRQ_EI
360 select CSRC_POWERTV
361 select DMA_NONCOHERENT
362 select HW_HAS_PCI
363 select SYS_HAS_EARLY_PRINTK
364 select SYS_HAS_CPU_MIPS32_R2
365 select SYS_SUPPORTS_32BIT_KERNEL
366 select SYS_SUPPORTS_BIG_ENDIAN
367 select SYS_SUPPORTS_HIGHMEM
368 select USB_OHCI_LITTLE_ENDIAN
369 help
370 This enables support for the Cisco PowerTV Platform.
371
Linus Torvalds1da177e2005-04-16 15:20:36 -0700372config SGI_IP22
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200373 bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700374 select ARC
375 select ARC32
376 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100377 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000378 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100379 select DEFAULT_SGI_PARTITION
Linus Torvalds1da177e2005-04-16 15:20:36 -0700380 select DMA_NONCOHERENT
Ralf Baechle5e83d432005-10-29 19:32:41 +0100381 select HW_HAS_EISA
Ralf Baechled865bea2007-10-11 23:46:10 +0100382 select I8253
Thomas Bogendoerfer68de4802007-11-23 20:34:16 +0100383 select I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700384 select IP22_CPU_SCACHE
385 select IRQ_CPU
Ralf Baechleaa414df2006-11-30 01:14:51 +0000386 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100387 select SGI_HAS_I8042
388 select SGI_HAS_INDYDOG
Thomas Bogendoerfer36e5c212008-07-16 14:06:15 +0200389 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100390 select SGI_HAS_SEEQ
391 select SGI_HAS_WD93
392 select SGI_HAS_ZILOG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700393 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100394 select SYS_HAS_CPU_R4X00
395 select SYS_HAS_CPU_R5000
Martin Michlmayr2b5e63f2009-11-19 16:40:09 +0000396 #
397 # Disable EARLY_PRINTK for now since it leads to overwritten prom
398 # memory during early boot on some machines.
399 #
400 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
401 # for a more details discussion
402 #
403 # select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700404 select SYS_SUPPORTS_32BIT_KERNEL
405 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100406 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700407 help
408 This are the SGI Indy, Challenge S and Indigo2, as well as certain
409 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
410 that runs on these, say Y here.
411
412config SGI_IP27
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200413 bool "SGI IP27 (Origin200/2000)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700414 select ARC
415 select ARC64
Ralf Baechle5e83d432005-10-29 19:32:41 +0100416 select BOOT_ELF64
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100417 select DEFAULT_SGI_PARTITION
Ralf Baechle634286f2009-01-28 17:48:40 +0000418 select DMA_COHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000419 select SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420 select HW_HAS_PCI
Ralf Baechle130e2fb2007-02-06 16:53:15 +0000421 select NR_CPUS_DEFAULT_64
Ralf Baechle7cf80532005-10-20 22:33:09 +0100422 select SYS_HAS_CPU_R10000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700423 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100424 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechled8cb4e12006-06-11 23:03:08 +0100425 select SYS_SUPPORTS_NUMA
Ralf Baechle1a5c5de2006-11-02 17:23:33 +0000426 select SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700427 help
428 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
429 workstations. To compile a Linux kernel that runs on these, say Y
430 here.
431
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100432config SGI_IP28
433 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
434 depends on EXPERIMENTAL
435 select ARC
436 select ARC64
437 select BOOT_ELF64
438 select CEVT_R4K
439 select CSRC_R4K
440 select DEFAULT_SGI_PARTITION
441 select DMA_NONCOHERENT
442 select GENERIC_ISA_DMA_SUPPORT_BROKEN
443 select IRQ_CPU
444 select HW_HAS_EISA
445 select I8253
446 select I8259
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100447 select SGI_HAS_I8042
448 select SGI_HAS_INDYDOG
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +0200449 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100450 select SGI_HAS_SEEQ
451 select SGI_HAS_WD93
452 select SGI_HAS_ZILOG
453 select SWAP_IO_SPACE
454 select SYS_HAS_CPU_R10000
Martin Michlmayr2b5e63f2009-11-19 16:40:09 +0000455 #
456 # Disable EARLY_PRINTK for now since it leads to overwritten prom
457 # memory during early boot on some machines.
458 #
459 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
460 # for a more details discussion
461 #
462 # select SYS_HAS_EARLY_PRINTK
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100463 select SYS_SUPPORTS_64BIT_KERNEL
464 select SYS_SUPPORTS_BIG_ENDIAN
465 help
466 This is the SGI Indigo2 with R10000 processor. To compile a Linux
467 kernel that runs on these, say Y here.
468
Linus Torvalds1da177e2005-04-16 15:20:36 -0700469config SGI_IP32
Ralf Baechlecfd2afc2007-07-10 17:33:00 +0100470 bool "SGI IP32 (O2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700471 select ARC
472 select ARC32
473 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100474 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000475 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700476 select DMA_NONCOHERENT
477 select HW_HAS_PCI
Ralf Baechledd67b152007-10-14 14:02:26 +0100478 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700479 select R5000_CPU_SCACHE
480 select RM7000_CPU_SCACHE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100481 select SYS_HAS_CPU_R5000
482 select SYS_HAS_CPU_R10000 if BROKEN
483 select SYS_HAS_CPU_RM7000
Ralf Baechledd2f18f2006-01-19 14:55:42 +0000484 select SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700485 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100486 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700487 help
488 If you want this kernel to run on SGI O2 workstation, say Y here.
489
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900490config SIBYTE_CRHINE
491 bool "Sibyte BCM91120C-CRhine"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100492 depends on EXPERIMENTAL
493 select BOOT_ELF32
494 select DMA_COHERENT
495 select SIBYTE_BCM1120
496 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100497 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100498 select SYS_SUPPORTS_BIG_ENDIAN
499 select SYS_SUPPORTS_LITTLE_ENDIAN
500
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900501config SIBYTE_CARMEL
502 bool "Sibyte BCM91120x-Carmel"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100503 depends on EXPERIMENTAL
504 select BOOT_ELF32
505 select DMA_COHERENT
506 select SIBYTE_BCM1120
507 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100508 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100509 select SYS_SUPPORTS_BIG_ENDIAN
510 select SYS_SUPPORTS_LITTLE_ENDIAN
511
512config SIBYTE_CRHONE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200513 bool "Sibyte BCM91125C-CRhone"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100514 depends on EXPERIMENTAL
515 select BOOT_ELF32
516 select DMA_COHERENT
517 select SIBYTE_BCM1125
518 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100519 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100520 select SYS_SUPPORTS_BIG_ENDIAN
521 select SYS_SUPPORTS_HIGHMEM
522 select SYS_SUPPORTS_LITTLE_ENDIAN
523
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900524config SIBYTE_RHONE
525 bool "Sibyte BCM91125E-Rhone"
526 depends on EXPERIMENTAL
527 select BOOT_ELF32
528 select DMA_COHERENT
529 select SIBYTE_BCM1125H
530 select SWAP_IO_SPACE
531 select SYS_HAS_CPU_SB1
532 select SYS_SUPPORTS_BIG_ENDIAN
533 select SYS_SUPPORTS_LITTLE_ENDIAN
534
535config SIBYTE_SWARM
536 bool "Sibyte BCM91250A-SWARM"
537 select BOOT_ELF32
538 select DMA_COHERENT
Sebastian Andrzej Siewiorfcf3ca42010-04-18 15:26:36 +0200539 select HAVE_PATA_PLATFORM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900540 select NR_CPUS_DEFAULT_2
541 select SIBYTE_SB1250
542 select SWAP_IO_SPACE
543 select SYS_HAS_CPU_SB1
544 select SYS_SUPPORTS_BIG_ENDIAN
545 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900546 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000547 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900548
549config SIBYTE_LITTLESUR
550 bool "Sibyte BCM91250C2-LittleSur"
551 depends on EXPERIMENTAL
552 select BOOT_ELF32
553 select DMA_COHERENT
Sebastian Andrzej Siewiorfcf3ca42010-04-18 15:26:36 +0200554 select HAVE_PATA_PLATFORM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900555 select NR_CPUS_DEFAULT_2
556 select SIBYTE_SB1250
557 select SWAP_IO_SPACE
558 select SYS_HAS_CPU_SB1
559 select SYS_SUPPORTS_BIG_ENDIAN
560 select SYS_SUPPORTS_HIGHMEM
561 select SYS_SUPPORTS_LITTLE_ENDIAN
562
563config SIBYTE_SENTOSA
564 bool "Sibyte BCM91250E-Sentosa"
565 depends on EXPERIMENTAL
566 select BOOT_ELF32
567 select DMA_COHERENT
568 select NR_CPUS_DEFAULT_2
569 select SIBYTE_SB1250
570 select SWAP_IO_SPACE
571 select SYS_HAS_CPU_SB1
572 select SYS_SUPPORTS_BIG_ENDIAN
573 select SYS_SUPPORTS_LITTLE_ENDIAN
574
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900575config SIBYTE_BIGSUR
576 bool "Sibyte BCM91480B-BigSur"
577 select BOOT_ELF32
578 select DMA_COHERENT
579 select NR_CPUS_DEFAULT_4
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900580 select SIBYTE_BCM1x80
581 select SWAP_IO_SPACE
582 select SYS_HAS_CPU_SB1
583 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle651194f2007-11-01 21:55:39 +0000584 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900585 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000586 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900587
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100588config SNI_RM
589 bool "SNI RM200/300/400"
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200590 select ARC if CPU_LITTLE_ENDIAN
591 select ARC32 if CPU_LITTLE_ENDIAN
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +0100592 select SNIPROM if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100593 select ARCH_MAY_HAVE_PC_FDC
594 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100595 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000596 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100597 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100598 select DMA_NONCOHERENT
599 select GENERIC_ISA_DMA
Ralf Baechle5e83d432005-10-29 19:32:41 +0100600 select HW_HAS_EISA
601 select HW_HAS_PCI
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100602 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100603 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100604 select I8259
605 select ISA
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200606 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100607 select SYS_HAS_CPU_R4X00
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200608 select SYS_HAS_CPU_R5000
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100609 select SYS_HAS_CPU_R10000
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200610 select R5000_CPU_SCACHE
Ralf Baechle36a88532007-03-01 11:56:43 +0000611 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700612 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100613 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200614 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100615 select SYS_SUPPORTS_HIGHMEM
616 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700617 help
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100618 The SNI RM200/300/400 are MIPS-based machines manufactured by
619 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Ralf Baechle5e83d432005-10-29 19:32:41 +0100620 Technology and now in turn merged with Fujitsu. Say Y here to
621 support this machine type.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700622
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900623config MACH_TX39XX
624 bool "Toshiba TX39 series based machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100625
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900626config MACH_TX49XX
627 bool "Toshiba TX49 series based machines"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000628
Ralf Baechle73b43902008-07-16 16:12:25 +0100629config MIKROTIK_RB532
630 bool "Mikrotik RB532 boards"
631 select CEVT_R4K
632 select CSRC_R4K
633 select DMA_NONCOHERENT
Ralf Baechle73b43902008-07-16 16:12:25 +0100634 select HW_HAS_PCI
635 select IRQ_CPU
636 select SYS_HAS_CPU_MIPS32_R1
637 select SYS_SUPPORTS_32BIT_KERNEL
638 select SYS_SUPPORTS_LITTLE_ENDIAN
639 select SWAP_IO_SPACE
640 select BOOT_RAW
Florian Fainellid888e252008-08-23 18:54:34 +0200641 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle73b43902008-07-16 16:12:25 +0100642 help
643 Support the Mikrotik(tm) RouterBoard 532 series,
644 based on the IDT RC32434 SoC.
645
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900646config WR_PPMC
647 bool "Wind River PPMC board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100648 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000649 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900650 select IRQ_CPU
651 select BOOT_ELF32
652 select DMA_NONCOHERENT
653 select HW_HAS_PCI
654 select PCI_GT64XXX_PCI0
655 select SWAP_IO_SPACE
656 select SYS_HAS_CPU_MIPS32_R1
657 select SYS_HAS_CPU_MIPS32_R2
658 select SYS_HAS_CPU_MIPS64_R1
659 select SYS_HAS_CPU_NEVADA
660 select SYS_HAS_CPU_RM7000
661 select SYS_SUPPORTS_32BIT_KERNEL
662 select SYS_SUPPORTS_64BIT_KERNEL
663 select SYS_SUPPORTS_BIG_ENDIAN
664 select SYS_SUPPORTS_LITTLE_ENDIAN
665 help
666 This enables support for the Wind River MIPS32 4KC PPMC evaluation
667 board, which is based on GT64120 bridge chip.
668
David Daneya86c7f72008-12-11 15:33:38 -0800669config CAVIUM_OCTEON_SIMULATOR
Yoichi Yuasac9d89d92009-06-02 23:15:10 +0900670 bool "Cavium Networks Octeon Simulator"
David Daneya86c7f72008-12-11 15:33:38 -0800671 select CEVT_R4K
672 select 64BIT_PHYS_ADDR
673 select DMA_COHERENT
674 select SYS_SUPPORTS_64BIT_KERNEL
675 select SYS_SUPPORTS_BIG_ENDIAN
676 select SYS_SUPPORTS_HIGHMEM
Ralf Baechle773cb772009-06-23 10:36:38 +0100677 select SYS_SUPPORTS_HOTPLUG_CPU
David Daney5e683382009-02-02 11:30:59 -0800678 select SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -0800679 help
680 The Octeon simulator is software performance model of the Cavium
681 Octeon Processor. It supports simulating Octeon processors on x86
682 hardware.
683
684config CAVIUM_OCTEON_REFERENCE_BOARD
Yoichi Yuasac9d89d92009-06-02 23:15:10 +0900685 bool "Cavium Networks Octeon reference board"
David Daneya86c7f72008-12-11 15:33:38 -0800686 select CEVT_R4K
687 select 64BIT_PHYS_ADDR
688 select DMA_COHERENT
689 select SYS_SUPPORTS_64BIT_KERNEL
690 select SYS_SUPPORTS_BIG_ENDIAN
691 select SYS_SUPPORTS_HIGHMEM
Ralf Baechle773cb772009-06-23 10:36:38 +0100692 select SYS_SUPPORTS_HOTPLUG_CPU
David Daneya86c7f72008-12-11 15:33:38 -0800693 select SYS_HAS_EARLY_PRINTK
David Daney5e683382009-02-02 11:30:59 -0800694 select SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -0800695 select SWAP_IO_SPACE
David Daneye8635b42009-04-23 17:44:38 -0700696 select HW_HAS_PCI
697 select ARCH_SUPPORTS_MSI
David Daneyf00e0012010-10-01 13:27:30 -0700698 select ZONE_DMA32
David Daney340fbb82010-10-08 14:47:53 -0700699 select USB_ARCH_HAS_OHCI
700 select USB_ARCH_HAS_EHCI
David Daneya86c7f72008-12-11 15:33:38 -0800701 help
702 This option supports all of the Octeon reference boards from Cavium
703 Networks. It builds a kernel that dynamically determines the Octeon
704 CPU type and supports all known board reference implementations.
705 Some of the supported boards are:
706 EBT3000
707 EBH3000
708 EBH3100
709 Thunder
710 Kodama
711 Hikari
712 Say Y here for most Octeon reference boards.
713
Linus Torvalds1da177e2005-04-16 15:20:36 -0700714endchoice
715
Ralf Baechlee8c7c482008-09-16 19:12:16 +0200716source "arch/mips/alchemy/Kconfig"
Maxime Bizone7300d02009-08-18 13:23:37 +0100717source "arch/mips/bcm63xx/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100718source "arch/mips/jazz/Kconfig"
Lars-Peter Clausen5ebabe52010-06-19 04:08:19 +0000719source "arch/mips/jz4740/Kconfig"
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200720source "arch/mips/lasat/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100721source "arch/mips/pmc-sierra/Kconfig"
David VomLehna3a0f8c2009-08-30 17:15:11 -0700722source "arch/mips/powertv/Kconfig"
Ralf Baechle29c48692005-02-07 01:27:14 +0000723source "arch/mips/sgi-ip27/Kconfig"
Ralf Baechle38b18f72005-02-03 14:28:23 +0000724source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto22b1d702008-07-11 00:31:36 +0900725source "arch/mips/txx9/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100726source "arch/mips/vr41xx/Kconfig"
David Daneya86c7f72008-12-11 15:33:38 -0800727source "arch/mips/cavium-octeon/Kconfig"
Wu Zhangjin85749d22009-07-02 23:26:45 +0800728source "arch/mips/loongson/Kconfig"
Ralf Baechle38b18f72005-02-03 14:28:23 +0000729
Ralf Baechle5e83d432005-10-29 19:32:41 +0100730endmenu
731
Linus Torvalds1da177e2005-04-16 15:20:36 -0700732config RWSEM_GENERIC_SPINLOCK
733 bool
734 default y
735
736config RWSEM_XCHGADD_ALGORITHM
737 bool
738
David Howellsf0d1b0b2006-12-08 02:37:49 -0800739config ARCH_HAS_ILOG2_U32
740 bool
741 default n
742
743config ARCH_HAS_ILOG2_U64
744 bool
745 default n
746
Ralf Baechle00a58252007-12-06 16:53:19 +0000747config ARCH_SUPPORTS_OPROFILE
748 bool
749 default y if !MIPS_MT_SMTC
750
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800751config GENERIC_FIND_NEXT_BIT
752 bool
753 default y
754
755config GENERIC_HWEIGHT
756 bool
757 default y
758
Linus Torvalds1da177e2005-04-16 15:20:36 -0700759config GENERIC_CALIBRATE_DELAY
760 bool
761 default y
762
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100763config GENERIC_CLOCKEVENTS
764 bool
765 default y
766
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100767config GENERIC_CMOS_UPDATE
768 bool
769 default y
770
Ingo Molnarae1e9132008-11-11 09:05:16 +0100771config SCHED_OMIT_FRAME_POINTER
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900772 bool
773 default y
774
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100775config GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechlec87e0902009-03-30 14:49:44 +0200776 def_bool y
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100777
Linus Torvalds1da177e2005-04-16 15:20:36 -0700778#
779# Select some configuration options automatically based on user selections.
780#
781config ARC
782 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700783
Ralf Baechle61ed2422005-09-15 08:52:34 +0000784config ARCH_MAY_HAVE_PC_FDC
785 bool
786
Marc St-Jean9267a302007-06-14 15:55:31 -0600787config BOOT_RAW
788 bool
789
Ralf Baechle217dd112007-11-01 01:57:55 +0000790config CEVT_BCM1480
791 bool
792
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900793config CEVT_DS1287
794 bool
795
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900796config CEVT_GT641XX
797 bool
798
Manuel Lauss779e7d42008-12-21 09:26:22 +0100799config CEVT_R4K_LIB
800 bool
801
Ralf Baechle42f77542007-10-18 17:48:11 +0100802config CEVT_R4K
Manuel Lauss779e7d42008-12-21 09:26:22 +0100803 select CEVT_R4K_LIB
Ralf Baechle42f77542007-10-18 17:48:11 +0100804 bool
805
Ralf Baechle217dd112007-11-01 01:57:55 +0000806config CEVT_SB1250
807 bool
808
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900809config CEVT_TXX9
810 bool
811
Ralf Baechle217dd112007-11-01 01:57:55 +0000812config CSRC_BCM1480
813 bool
814
Yoichi Yuasa42474172008-04-24 09:48:40 +0900815config CSRC_IOASIC
816 bool
817
David VomLehna3a0f8c2009-08-30 17:15:11 -0700818config CSRC_POWERTV
819 bool
820
Manuel Lauss779e7d42008-12-21 09:26:22 +0100821config CSRC_R4K_LIB
822 bool
823
Ralf Baechle940f6b42007-11-24 22:33:28 +0000824config CSRC_R4K
Manuel Lauss779e7d42008-12-21 09:26:22 +0100825 select CSRC_R4K_LIB
Ralf Baechle940f6b42007-11-24 22:33:28 +0000826 bool
827
Ralf Baechle217dd112007-11-01 01:57:55 +0000828config CSRC_SB1250
829 bool
830
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900831config GPIO_TXX9
832 select GENERIC_GPIO
Michael Buesch7444a722008-07-25 01:46:11 -0700833 select ARCH_REQUIRE_GPIOLIB
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900834 bool
835
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200836config CFE
837 bool
838
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700839config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700840 bool
841
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700842config DMA_NONCOHERENT
843 bool
FUJITA Tomonorie1e02b32010-03-10 15:23:25 -0800844 select NEED_DMA_MAP_STATE
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700845
FUJITA Tomonorie1e02b32010-03-10 15:23:25 -0800846config NEED_DMA_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700847 bool
848
Ralf Baechle36a88532007-03-01 11:56:43 +0000849config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700850 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700851
Ralf Baechledbb74542007-08-07 14:52:17 +0100852config HOTPLUG_CPU
Ralf Baechle1b2bc752009-06-23 10:00:31 +0100853 bool "Support for hot-pluggable CPUs"
854 depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
855 help
856 Say Y here to allow turning CPUs off and on. CPUs can be
857 controlled through /sys/devices/system/cpu.
858 (Note: power management support will enable this option
859 automatically on SMP systems. )
860 Say N if you want to disable CPU hotplug.
861
862config SYS_SUPPORTS_HOTPLUG_CPU
Ralf Baechledbb74542007-08-07 14:52:17 +0100863 bool
Ralf Baechledbb74542007-08-07 14:52:17 +0100864
Linus Torvalds1da177e2005-04-16 15:20:36 -0700865config I8259
866 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700867
Linus Torvalds1da177e2005-04-16 15:20:36 -0700868config MIPS_BONITO64
869 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700870
871config MIPS_MSC
872 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700873
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200874config MIPS_NILE4
875 bool
876
Linus Torvalds1da177e2005-04-16 15:20:36 -0700877config MIPS_DISABLE_OBSOLETE_IDE
878 bool
879
Ralf Baechle39b8d522008-04-28 17:14:26 +0100880config SYNC_R4K
881 bool
882
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100883config NO_IOPORT
884 def_bool n
885
Ralf Baechle8313da32007-08-24 16:48:30 +0100886config GENERIC_ISA_DMA
887 bool
888 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
Namhyung Kima35bee82010-10-18 12:55:21 +0900889 select ISA_DMA_API
Ralf Baechle8313da32007-08-24 16:48:30 +0100890
Ralf Baechleaa414df2006-11-30 01:14:51 +0000891config GENERIC_ISA_DMA_SUPPORT_BROKEN
892 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100893 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000894
Namhyung Kima35bee82010-10-18 12:55:21 +0900895config ISA_DMA_API
896 bool
897
Yoichi Yuasa09663332007-05-22 00:05:58 +0900898config GENERIC_GPIO
899 bool
900
Ralf Baechle5e83d432005-10-29 19:32:41 +0100901#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100902# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100903# answer,so we try hard to limit the available choices. Also the use of a
904# choice statement should be more obvious to the user.
905#
906choice
907 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700908 help
909 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100910 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100911 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100912 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200913 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100914
915config CPU_BIG_ENDIAN
916 bool "Big endian"
917 depends on SYS_SUPPORTS_BIG_ENDIAN
918
919config CPU_LITTLE_ENDIAN
920 bool "Little endian"
921 depends on SYS_SUPPORTS_LITTLE_ENDIAN
922 help
923
924endchoice
925
David Daney22b07632010-07-23 18:41:43 -0700926config EXPORT_UASM
927 bool
928
Ralf Baechle21162452007-02-09 17:08:58 +0000929config SYS_SUPPORTS_APM_EMULATION
930 bool
931
Ralf Baechle5e83d432005-10-29 19:32:41 +0100932config SYS_SUPPORTS_BIG_ENDIAN
933 bool
934
935config SYS_SUPPORTS_LITTLE_ENDIAN
936 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700937
David Daney9cffd152009-05-27 17:47:46 -0700938config SYS_SUPPORTS_HUGETLBFS
939 bool
940 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
941 default y
942
Linus Torvalds1da177e2005-04-16 15:20:36 -0700943config IRQ_CPU
944 bool
945
946config IRQ_CPU_RM7K
947 bool
948
Ralf Baechle5e83d432005-10-29 19:32:41 +0100949config IRQ_CPU_RM9K
950 bool
951
Marc St-Jean9267a302007-06-14 15:55:31 -0600952config IRQ_MSP_SLP
953 bool
954
955config IRQ_MSP_CIC
956 bool
957
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900958config IRQ_TXX9
959 bool
960
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900961config IRQ_GT641XX
962 bool
963
Ralf Baechle39b8d522008-04-28 17:14:26 +0100964config IRQ_GIC
965 bool
966
David Daneya86c7f72008-12-11 15:33:38 -0800967config IRQ_CPU_OCTEON
968 bool
969
Linus Torvalds1da177e2005-04-16 15:20:36 -0700970config MIPS_BOARDS_GEN
971 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700972
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900973config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700974 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700975
Marc St-Jean9267a302007-06-14 15:55:31 -0600976config NO_EXCEPT_FILL
977 bool
978
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200979config MIPS_RM9122
980 bool
981 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200982
Ralf Baechlea83860c2009-03-13 21:17:57 +0100983config SOC_EMMA2RH
984 bool
985 select CEVT_R4K
986 select CSRC_R4K
987 select DMA_NONCOHERENT
988 select IRQ_CPU
989 select SWAP_IO_SPACE
990 select SYS_HAS_CPU_R5500
991 select SYS_SUPPORTS_32BIT_KERNEL
992 select SYS_SUPPORTS_64BIT_KERNEL
993 select SYS_SUPPORTS_BIG_ENDIAN
994
Daniel Lairdedb63102008-06-16 15:49:21 +0100995config SOC_PNX833X
996 bool
997 select CEVT_R4K
998 select CSRC_R4K
999 select IRQ_CPU
1000 select DMA_NONCOHERENT
1001 select SYS_HAS_CPU_MIPS32_R2
1002 select SYS_SUPPORTS_32BIT_KERNEL
1003 select SYS_SUPPORTS_LITTLE_ENDIAN
1004 select SYS_SUPPORTS_BIG_ENDIAN
Daniel Lairdedb63102008-06-16 15:49:21 +01001005 select GENERIC_GPIO
1006 select CPU_MIPSR2_IRQ_VI
1007
1008config SOC_PNX8335
1009 bool
1010 select SOC_PNX833X
1011
Pete Popovbdf21b12005-07-14 17:47:57 +00001012config PNX8550
1013 bool
1014 select SOC_PNX8550
1015
1016config SOC_PNX8550
1017 bool
Pete Popovbdf21b12005-07-14 17:47:57 +00001018 select DMA_NONCOHERENT
1019 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +00001020 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +00001021 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +01001022 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli4ead1682007-05-22 21:44:42 +02001023 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +00001024
Linus Torvalds1da177e2005-04-16 15:20:36 -07001025config SWAP_IO_SPACE
1026 bool
1027
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +02001028config SERIAL_RM9000
1029 bool
1030
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001031config SGI_HAS_INDYDOG
1032 bool
1033
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +02001034config SGI_HAS_HAL2
1035 bool
1036
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001037config SGI_HAS_SEEQ
1038 bool
1039
1040config SGI_HAS_WD93
1041 bool
1042
1043config SGI_HAS_ZILOG
1044 bool
1045
1046config SGI_HAS_I8042
1047 bool
1048
1049config DEFAULT_SGI_PARTITION
1050 bool
1051
Ralf Baechle5e83d432005-10-29 19:32:41 +01001052config ARC32
1053 bool
1054
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +01001055config SNIPROM
1056 bool
1057
Linus Torvalds1da177e2005-04-16 15:20:36 -07001058config BOOT_ELF32
1059 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001060
1061config MIPS_L1_CACHE_SHIFT
1062 int
Ralf Baechlec7088752009-10-12 22:30:06 +02001063 default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
Ralf Baechle0db2b742009-10-13 16:54:01 +02001064 default "6" if MIPS_CPU_SCACHE
David Daneya86c7f72008-12-11 15:33:38 -08001065 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
Linus Torvalds1da177e2005-04-16 15:20:36 -07001066 default "5"
1067
Linus Torvalds1da177e2005-04-16 15:20:36 -07001068config HAVE_STD_PC_SERIAL_PORT
1069 bool
1070
Linus Torvalds1da177e2005-04-16 15:20:36 -07001071config ARC_CONSOLE
1072 bool "ARC console support"
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001073 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001074
1075config ARC_MEMORY
1076 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +01001077 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001078 default y
1079
1080config ARC_PROMLIB
1081 bool
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001082 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001083 default y
1084
1085config ARC64
1086 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001087
1088config BOOT_ELF64
1089 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001090
Linus Torvalds1da177e2005-04-16 15:20:36 -07001091menu "CPU selection"
1092
1093choice
1094 prompt "CPU type"
1095 default CPU_R4X00
1096
Wu Zhangjin3702bba2009-07-02 23:27:41 +08001097config CPU_LOONGSON2E
1098 bool "Loongson 2E"
1099 depends on SYS_HAS_CPU_LOONGSON2E
1100 select CPU_LOONGSON2
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001101 help
1102 The Loongson 2E processor implements the MIPS III instruction set
1103 with many extensions.
1104
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001105 It has an internal FPGA northbridge, which is compatiable to
1106 bonito64.
1107
1108config CPU_LOONGSON2F
1109 bool "Loongson 2F"
1110 depends on SYS_HAS_CPU_LOONGSON2F
1111 select CPU_LOONGSON2
Arnaud Patardc197da92010-04-29 11:58:54 +02001112 select GENERIC_GPIO
1113 select ARCH_REQUIRE_GPIOLIB
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001114 help
1115 The Loongson 2F processor implements the MIPS III instruction set
1116 with many extensions.
1117
1118 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1119 have a similar programming interface with FPGA northbridge used in
1120 Loongson2E.
1121
Ralf Baechle6e760c82005-07-06 12:08:11 +00001122config CPU_MIPS32_R1
1123 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001124 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechle6e760c82005-07-06 12:08:11 +00001125 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001126 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001127 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001128 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001129 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001130 MIPS32 architecture. Most modern embedded systems with a 32-bit
1131 MIPS processor are based on a MIPS32 processor. If you know the
1132 specific type of processor in your system, choose those that one
1133 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1134 Release 2 of the MIPS32 architecture is available since several
1135 years so chances are you even have a MIPS32 Release 2 processor
1136 in which case you should choose CPU_MIPS32_R2 instead for better
1137 performance.
1138
1139config CPU_MIPS32_R2
1140 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001141 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001142 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001143 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001144 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001145 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001146 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +00001147 MIPS32 architecture. Most modern embedded systems with a 32-bit
1148 MIPS processor are based on a MIPS32 processor. If you know the
1149 specific type of processor in your system, choose those that one
1150 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001151
Ralf Baechle6e760c82005-07-06 12:08:11 +00001152config CPU_MIPS64_R1
1153 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001154 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechle797798c2005-08-10 15:17:11 +00001155 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001156 select CPU_SUPPORTS_32BIT_KERNEL
1157 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001158 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd152009-05-27 17:47:46 -07001159 select CPU_SUPPORTS_HUGEPAGES
Ralf Baechle6e760c82005-07-06 12:08:11 +00001160 help
1161 Choose this option to build a kernel for release 1 or later of the
1162 MIPS64 architecture. Many modern embedded systems with a 64-bit
1163 MIPS processor are based on a MIPS64 processor. If you know the
1164 specific type of processor in your system, choose those that one
1165 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001166 Release 2 of the MIPS64 architecture is available since several
1167 years so chances are you even have a MIPS64 Release 2 processor
1168 in which case you should choose CPU_MIPS64_R2 instead for better
1169 performance.
1170
1171config CPU_MIPS64_R2
1172 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001173 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechle797798c2005-08-10 15:17:11 +00001174 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001175 select CPU_SUPPORTS_32BIT_KERNEL
1176 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001177 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd152009-05-27 17:47:46 -07001178 select CPU_SUPPORTS_HUGEPAGES
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001179 help
1180 Choose this option to build a kernel for release 2 or later of the
1181 MIPS64 architecture. Many modern embedded systems with a 64-bit
1182 MIPS processor are based on a MIPS64 processor. If you know the
1183 specific type of processor in your system, choose those that one
1184 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001185
1186config CPU_R3000
1187 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001188 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001189 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001190 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001191 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001192 help
1193 Please make sure to pick the right CPU type. Linux/MIPS is not
1194 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1195 *not* work on R4000 machines and vice versa. However, since most
1196 of the supported machines have an R4000 (or similar) CPU, R4x00
1197 might be a safe bet. If the resulting kernel does not work,
1198 try to recompile with R3000.
1199
1200config CPU_TX39XX
1201 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001202 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001203 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001204
1205config CPU_VR41XX
1206 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001207 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001208 select CPU_SUPPORTS_32BIT_KERNEL
1209 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001210 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001211 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001212 Only choose this option if you have one of these processors as a
1213 kernel built with this option will not run on any other type of
1214 processor or vice versa.
1215
1216config CPU_R4300
1217 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001218 depends on SYS_HAS_CPU_R4300
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001219 select CPU_SUPPORTS_32BIT_KERNEL
1220 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001221 help
1222 MIPS Technologies R4300-series processors.
1223
1224config CPU_R4X00
1225 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001226 depends on SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001227 select CPU_SUPPORTS_32BIT_KERNEL
1228 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001229 help
1230 MIPS Technologies R4000-series processors other than 4300, including
1231 the R4000, R4400, R4600, and 4700.
1232
1233config CPU_TX49XX
1234 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001235 depends on SYS_HAS_CPU_TX49XX
Atsushi Nemotode862b42006-03-17 12:59:22 +09001236 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001237 select CPU_SUPPORTS_32BIT_KERNEL
1238 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001239
1240config CPU_R5000
1241 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001242 depends on SYS_HAS_CPU_R5000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001243 select CPU_SUPPORTS_32BIT_KERNEL
1244 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001245 help
1246 MIPS Technologies R5000-series processors other than the Nevada.
1247
1248config CPU_R5432
1249 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001250 depends on SYS_HAS_CPU_R5432
Ralf Baechle5e83d432005-10-29 19:32:41 +01001251 select CPU_SUPPORTS_32BIT_KERNEL
1252 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001253
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001254config CPU_R5500
1255 bool "R5500"
1256 depends on SYS_HAS_CPU_R5500
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001257 select CPU_SUPPORTS_32BIT_KERNEL
1258 select CPU_SUPPORTS_64BIT_KERNEL
David Daney9cffd152009-05-27 17:47:46 -07001259 select CPU_SUPPORTS_HUGEPAGES
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001260 help
1261 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1262 instruction set.
1263
Linus Torvalds1da177e2005-04-16 15:20:36 -07001264config CPU_R6000
1265 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001266 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001267 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001268 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001269 help
1270 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001271 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001272
1273config CPU_NEVADA
1274 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001275 depends on SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001276 select CPU_SUPPORTS_32BIT_KERNEL
1277 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001278 help
1279 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1280
1281config CPU_R8000
1282 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001283 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001284 depends on SYS_HAS_CPU_R8000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001285 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001286 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001287 help
1288 MIPS Technologies R8000 processors. Note these processors are
1289 uncommon and the support for them is incomplete.
1290
1291config CPU_R10000
1292 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001293 depends on SYS_HAS_CPU_R10000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001294 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001295 select CPU_SUPPORTS_32BIT_KERNEL
1296 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001297 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001298 help
1299 MIPS Technologies R10000-series processors.
1300
1301config CPU_RM7000
1302 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001303 depends on SYS_HAS_CPU_RM7000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001304 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001305 select CPU_SUPPORTS_32BIT_KERNEL
1306 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001307 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001308
1309config CPU_RM9000
1310 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001311 depends on SYS_HAS_CPU_RM9000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001312 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001313 select CPU_SUPPORTS_32BIT_KERNEL
1314 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001315 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001316 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001317
1318config CPU_SB1
1319 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001320 depends on SYS_HAS_CPU_SB1
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001321 select CPU_SUPPORTS_32BIT_KERNEL
1322 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001323 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001324 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001325
David Daneya86c7f72008-12-11 15:33:38 -08001326config CPU_CAVIUM_OCTEON
1327 bool "Cavium Octeon processor"
David Daney5e683382009-02-02 11:30:59 -08001328 depends on SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -08001329 select IRQ_CPU
1330 select IRQ_CPU_OCTEON
1331 select CPU_HAS_PREFETCH
1332 select CPU_SUPPORTS_64BIT_KERNEL
1333 select SYS_SUPPORTS_SMP
1334 select NR_CPUS_DEFAULT_16
1335 select WEAK_ORDERING
David Daneya86c7f72008-12-11 15:33:38 -08001336 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd152009-05-27 17:47:46 -07001337 select CPU_SUPPORTS_HUGEPAGES
David Daneya86c7f72008-12-11 15:33:38 -08001338 help
1339 The Cavium Octeon processor is a highly integrated chip containing
1340 many ethernet hardware widgets for networking tasks. The processor
1341 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1342 Full details can be found at http://www.caviumnetworks.com.
1343
Linus Torvalds1da177e2005-04-16 15:20:36 -07001344endchoice
1345
Wu Zhangjin622844b2010-04-10 20:04:42 +08001346if CPU_LOONGSON2F
1347config CPU_NOP_WORKAROUNDS
1348 bool
1349
1350config CPU_JUMP_WORKAROUNDS
1351 bool
1352
1353config CPU_LOONGSON2F_WORKAROUNDS
1354 bool "Loongson 2F Workarounds"
1355 default y
1356 select CPU_NOP_WORKAROUNDS
1357 select CPU_JUMP_WORKAROUNDS
1358 help
1359 Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1360 require workarounds. Without workarounds the system may hang
1361 unexpectedly. For more information please refer to the gas
1362 -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1363
1364 Loongson 2F03 and later have fixed these issues and no workarounds
1365 are needed. The workarounds have no significant side effect on them
1366 but may decrease the performance of the system so this option should
1367 be disabled unless the kernel is intended to be run on 2F01 or 2F02
1368 systems.
1369
1370 If unsure, please say Y.
1371endif # CPU_LOONGSON2F
1372
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +08001373config SYS_SUPPORTS_ZBOOT
1374 bool
1375 select HAVE_KERNEL_GZIP
1376 select HAVE_KERNEL_BZIP2
1377 select HAVE_KERNEL_LZMA
Wu Zhangjinfe1d45e2010-01-15 20:34:46 +08001378 select HAVE_KERNEL_LZO
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +08001379
1380config SYS_SUPPORTS_ZBOOT_UART16550
1381 bool
1382 select SYS_SUPPORTS_ZBOOT
1383
Wu Zhangjin3702bba2009-07-02 23:27:41 +08001384config CPU_LOONGSON2
1385 bool
1386 select CPU_SUPPORTS_32BIT_KERNEL
1387 select CPU_SUPPORTS_64BIT_KERNEL
1388 select CPU_SUPPORTS_HIGHMEM
1389
1390config SYS_HAS_CPU_LOONGSON2E
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001391 bool
1392
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001393config SYS_HAS_CPU_LOONGSON2F
1394 bool
Wu Zhangjin55045ff2009-11-11 13:39:12 +08001395 select CPU_SUPPORTS_CPUFREQ
1396 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
Wu Zhangjin22f1fdf2009-11-11 13:59:23 +08001397 select CPU_SUPPORTS_UNCACHED_ACCELERATED
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001398
Ralf Baechle7cf80532005-10-20 22:33:09 +01001399config SYS_HAS_CPU_MIPS32_R1
1400 bool
1401
1402config SYS_HAS_CPU_MIPS32_R2
1403 bool
1404
1405config SYS_HAS_CPU_MIPS64_R1
1406 bool
1407
1408config SYS_HAS_CPU_MIPS64_R2
1409 bool
1410
1411config SYS_HAS_CPU_R3000
1412 bool
1413
1414config SYS_HAS_CPU_TX39XX
1415 bool
1416
1417config SYS_HAS_CPU_VR41XX
1418 bool
1419
1420config SYS_HAS_CPU_R4300
1421 bool
1422
1423config SYS_HAS_CPU_R4X00
1424 bool
1425
1426config SYS_HAS_CPU_TX49XX
1427 bool
1428
1429config SYS_HAS_CPU_R5000
1430 bool
1431
1432config SYS_HAS_CPU_R5432
1433 bool
1434
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001435config SYS_HAS_CPU_R5500
1436 bool
1437
Ralf Baechle7cf80532005-10-20 22:33:09 +01001438config SYS_HAS_CPU_R6000
1439 bool
1440
1441config SYS_HAS_CPU_NEVADA
1442 bool
1443
1444config SYS_HAS_CPU_R8000
1445 bool
1446
1447config SYS_HAS_CPU_R10000
1448 bool
1449
1450config SYS_HAS_CPU_RM7000
1451 bool
1452
1453config SYS_HAS_CPU_RM9000
1454 bool
1455
1456config SYS_HAS_CPU_SB1
1457 bool
1458
David Daney5e683382009-02-02 11:30:59 -08001459config SYS_HAS_CPU_CAVIUM_OCTEON
1460 bool
1461
Ralf Baechle17099b12007-07-14 13:24:05 +01001462#
1463# CPU may reorder R->R, R->W, W->R, W->W
1464# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1465#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001466config WEAK_ORDERING
1467 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001468
1469#
1470# CPU may reorder reads and writes beyond LL/SC
1471# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1472#
1473config WEAK_REORDERING_BEYOND_LLSC
1474 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001475endmenu
1476
1477#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001478# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001479#
1480config CPU_MIPS32
1481 bool
1482 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1483
1484config CPU_MIPS64
1485 bool
1486 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1487
1488#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001489# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001490#
1491config CPU_MIPSR1
1492 bool
1493 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1494
1495config CPU_MIPSR2
1496 bool
David Daneya86c7f72008-12-11 15:33:38 -08001497 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
Ralf Baechle5e83d432005-10-29 19:32:41 +01001498
1499config SYS_SUPPORTS_32BIT_KERNEL
1500 bool
1501config SYS_SUPPORTS_64BIT_KERNEL
1502 bool
1503config CPU_SUPPORTS_32BIT_KERNEL
1504 bool
1505config CPU_SUPPORTS_64BIT_KERNEL
1506 bool
Wu Zhangjin55045ff2009-11-11 13:39:12 +08001507config CPU_SUPPORTS_CPUFREQ
1508 bool
1509config CPU_SUPPORTS_ADDRWINCFG
1510 bool
David Daney9cffd152009-05-27 17:47:46 -07001511config CPU_SUPPORTS_HUGEPAGES
1512 bool
Wu Zhangjin22f1fdf2009-11-11 13:59:23 +08001513config CPU_SUPPORTS_UNCACHED_ACCELERATED
1514 bool
David Daney82622282009-10-14 12:16:56 -07001515config MIPS_PGD_C0_CONTEXT
1516 bool
1517 default y if 64BIT && CPU_MIPSR2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001518
David Daney8192c9e2008-09-23 00:04:26 -07001519#
1520# Set to y for ptrace access to watch registers.
1521#
1522config HARDWARE_WATCHPOINTS
1523 bool
David Daneyf8394902009-01-05 15:29:14 -08001524 default y if CPU_MIPSR1 || CPU_MIPSR2
David Daney8192c9e2008-09-23 00:04:26 -07001525
Ralf Baechle5e83d432005-10-29 19:32:41 +01001526menu "Kernel type"
1527
1528choice
1529
1530 prompt "Kernel code model"
1531 help
1532 You should only select this option if you have a workload that
1533 actually benefits from 64-bit processing or if your machine has
1534 large memory. You will only be presented a single option in this
1535 menu if your system does not support both 32-bit and 64-bit kernels.
1536
1537config 32BIT
1538 bool "32-bit kernel"
1539 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1540 select TRAD_SIGNALS
1541 help
1542 Select this option if you want to build a 32-bit kernel.
1543config 64BIT
1544 bool "64-bit kernel"
1545 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechledbda6ac2009-02-08 16:00:26 +00001546 select HAVE_SYSCALL_WRAPPERS
Ralf Baechle5e83d432005-10-29 19:32:41 +01001547 help
1548 Select this option if you want to build a 64-bit kernel.
1549
1550endchoice
1551
Linus Torvalds1da177e2005-04-16 15:20:36 -07001552choice
1553 prompt "Kernel page size"
1554 default PAGE_SIZE_4KB
1555
1556config PAGE_SIZE_4KB
1557 bool "4kB"
Wu Zhangjin315fe622009-12-01 14:55:25 +08001558 depends on !CPU_LOONGSON2
Linus Torvalds1da177e2005-04-16 15:20:36 -07001559 help
1560 This option select the standard 4kB Linux page size. On some
1561 R3000-family processors this is the only available page size. Using
1562 4kB page size will minimize memory consumption and is therefore
1563 recommended for low memory systems.
1564
1565config PAGE_SIZE_8KB
1566 bool "8kB"
Ralf Baechlec52399b2009-04-02 14:07:10 +02001567 depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
Linus Torvalds1da177e2005-04-16 15:20:36 -07001568 help
1569 Using 8kB page size will result in higher performance kernel at
1570 the price of higher memory consumption. This option is available
Ralf Baechlec52399b2009-04-02 14:07:10 +02001571 only on R8000 and cnMIPS processors. Note that you will need a
1572 suitable Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001573
1574config PAGE_SIZE_16KB
1575 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001576 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001577 help
1578 Using 16kB page size will result in higher performance kernel at
1579 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001580 all non-R3000 family processors. Note that you will need a suitable
1581 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001582
Ralf Baechlec52399b2009-04-02 14:07:10 +02001583config PAGE_SIZE_32KB
1584 bool "32kB"
1585 depends on CPU_CAVIUM_OCTEON
1586 help
1587 Using 32kB page size will result in higher performance kernel at
1588 the price of higher memory consumption. This option is available
1589 only on cnMIPS cores. Note that you will need a suitable Linux
1590 distribution to support this.
1591
Linus Torvalds1da177e2005-04-16 15:20:36 -07001592config PAGE_SIZE_64KB
1593 bool "64kB"
1594 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1595 help
1596 Using 64kB page size will result in higher performance kernel at
1597 the price of higher memory consumption. This option is available on
1598 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001599 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001600
1601endchoice
1602
1603config BOARD_SCACHE
1604 bool
1605
1606config IP22_CPU_SCACHE
1607 bool
1608 select BOARD_SCACHE
1609
Chris Dearman9318c512006-06-20 17:15:20 +01001610#
1611# Support for a MIPS32 / MIPS64 style S-caches
1612#
1613config MIPS_CPU_SCACHE
1614 bool
1615 select BOARD_SCACHE
1616
Linus Torvalds1da177e2005-04-16 15:20:36 -07001617config R5000_CPU_SCACHE
1618 bool
1619 select BOARD_SCACHE
1620
1621config RM7000_CPU_SCACHE
1622 bool
1623 select BOARD_SCACHE
1624
1625config SIBYTE_DMA_PAGEOPS
1626 bool "Use DMA to clear/copy pages"
1627 depends on CPU_SB1
1628 help
1629 Instead of using the CPU to zero and copy pages, use a Data Mover
1630 channel. These DMA channels are otherwise unused by the standard
1631 SiByte Linux port. Seems to give a small performance benefit.
1632
1633config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001634 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001635
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001636choice
1637 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001638
1639config MIPS_MT_DISABLED
1640 bool "Disable multithreading support."
1641 help
1642 Use this option if your workload can't take advantage of
1643 MIPS hardware multithreading support. On systems that don't have
1644 the option of an MT-enabled processor this option will be the only
1645 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001646
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001647config MIPS_MT_SMP
1648 bool "Use 1 TC on each available VPE for SMP"
1649 depends on SYS_SUPPORTS_MULTITHREADING
1650 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001651 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001652 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001653 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001654 select SMP
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001655 select SYS_SUPPORTS_SCHED_SMT if SMP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001656 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001657 select SMP_UP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001658 help
Ralf Baechle25f12b32010-09-16 11:40:41 +01001659 This is a kernel model which is known a VSMP but lately has been
1660 marketesed into SMVP.
1661 Virtual SMP uses the processor's VPEs to implement virtual
1662 processors. In currently available configuration of the 34K processor
1663 this allows for a dual processor. Both processors will share the same
1664 primary caches; each will obtain the half of the TLB for it's own
1665 exclusive use. For a layman this model can be described as similar to
1666 what Intel calls Hyperthreading.
1667
1668 For further information see http://www.linux-mips.org/wiki/34K#VSMP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001669
Ralf Baechle41c594a2006-04-05 09:45:45 +01001670config MIPS_MT_SMTC
1671 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001672 depends on CPU_MIPS32_R2
1673 #depends on CPU_MIPS64_R2 # once there is hardware ...
1674 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001675 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001676 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001677 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001678 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001679 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001680 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001681 select SMP_UP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001682 help
1683 This is a kernel model which is known a SMTC or lately has been
1684 marketesed into SMVP.
Ralf Baechle25f12b32010-09-16 11:40:41 +01001685 is presenting the available TC's of the core as processors to Linux.
1686 On currently available 34K processors this means a Linux system will
1687 see up to 5 processors. The implementation of the SMTC kernel differs
1688 significantly from VSMP and cannot efficiently coexist in the same
1689 kernel binary so the choice between VSMP and SMTC is a compile time
1690 decision.
1691
1692 For further information see http://www.linux-mips.org/wiki/34K#SMTC
Ralf Baechle41c594a2006-04-05 09:45:45 +01001693
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001694endchoice
1695
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001696config MIPS_MT
1697 bool
1698
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001699config SCHED_SMT
1700 bool "SMT (multithreading) scheduler support"
1701 depends on SYS_SUPPORTS_SCHED_SMT
1702 default n
1703 help
1704 SMT scheduler support improves the CPU scheduler's decision making
1705 when dealing with MIPS MT enabled cores at a cost of slightly
1706 increased overhead in some places. If unsure say N here.
1707
1708config SYS_SUPPORTS_SCHED_SMT
1709 bool
1710
1711
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001712config SYS_SUPPORTS_MULTITHREADING
1713 bool
1714
Ralf Baechlef088fc82006-04-05 09:45:47 +01001715config MIPS_MT_FPAFF
1716 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001717 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001718 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1719
1720config MIPS_VPE_LOADER
1721 bool "VPE loader support."
1722 depends on SYS_SUPPORTS_MULTITHREADING
1723 select CPU_MIPSR2_IRQ_VI
1724 select CPU_MIPSR2_IRQ_EI
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001725 select MIPS_MT
1726 help
1727 Includes a loader for loading an elf relocatable object
1728 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001729
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001730config MIPS_MT_SMTC_IM_BACKSTOP
1731 bool "Use per-TC register bits as backstop for inhibited IM bits"
1732 depends on MIPS_MT_SMTC
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001733 default n
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001734 help
1735 To support multiple TC microthreads acting as "CPUs" within
1736 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1737 during interrupt handling. To support legacy drivers and interrupt
1738 controller management code, SMTC has a "backstop" to track and
1739 if necessary restore the interrupt mask. This has some performance
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001740 impact on interrupt service overhead.
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001741
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001742config MIPS_MT_SMTC_IRQAFF
1743 bool "Support IRQ affinity API"
1744 depends on MIPS_MT_SMTC
1745 default n
1746 help
1747 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1748 for SMTC Linux kernel. Requires platform support, of which
1749 an example can be found in the MIPS kernel i8259 and Malta
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001750 platform code. Adds some overhead to interrupt dispatch, and
1751 should be used only if you know what you are doing.
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001752
Ralf Baechlee01402b2005-07-14 15:57:16 +00001753config MIPS_VPE_LOADER_TOM
1754 bool "Load VPE program into memory hidden from linux"
1755 depends on MIPS_VPE_LOADER
1756 default y
1757 help
1758 The loader can use memory that is present but has been hidden from
1759 Linux using the kernel command line option "mem=xxMB". It's up to
1760 you to ensure the amount you put in the option and the space your
1761 program requires is less or equal to the amount physically present.
1762
1763# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1764config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001765 bool "Enable support for AP/SP API (RTLX)"
1766 depends on MIPS_VPE_LOADER
1767 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001768
Ralf Baechle26009902006-04-05 09:45:45 +01001769config MIPS_APSP_KSPD
1770 bool "Enable KSPD"
1771 depends on MIPS_VPE_APSP_API
1772 default y
1773 help
1774 KSPD is a kernel daemon that accepts syscall requests from the SP
1775 side, actions them and returns the results. It also handles the
1776 "exit" syscall notifying other kernel modules the SP program is
1777 exiting. You probably want to say yes here.
1778
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001779config MIPS_CMP
1780 bool "MIPS CMP framework support"
1781 depends on SYS_SUPPORTS_MIPS_CMP
Tim Andersoneb9b5142009-06-17 16:40:34 -07001782 select SYNC_R4K
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001783 select SYS_SUPPORTS_SMP
1784 select SYS_SUPPORTS_SCHED_SMT if SMP
1785 select WEAK_ORDERING
1786 default n
1787 help
1788 This is a placeholder option for the GCMP work. It will need to
1789 be handled differently...
1790
Linus Torvalds1da177e2005-04-16 15:20:36 -07001791config SB1_PASS_1_WORKAROUNDS
1792 bool
1793 depends on CPU_SB1_PASS_1
1794 default y
1795
1796config SB1_PASS_2_WORKAROUNDS
1797 bool
1798 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1799 default y
1800
1801config SB1_PASS_2_1_WORKAROUNDS
1802 bool
1803 depends on CPU_SB1 && CPU_SB1_PASS_2
1804 default y
1805
1806config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001807 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001808
pascal@pabr.org60ec6572010-01-03 13:39:12 +01001809config ARCH_PHYS_ADDR_T_64BIT
1810 def_bool 64BIT_PHYS_ADDR
1811
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001812config CPU_HAS_SMARTMIPS
1813 depends on SYS_SUPPORTS_SMARTMIPS
1814 bool "Support for the SmartMIPS ASE"
1815 help
1816 SmartMIPS is a extension of the MIPS32 architecture aimed at
1817 increased security at both hardware and software level for
1818 smartcards. Enabling this option will allow proper use of the
1819 SmartMIPS instructions by Linux applications. However a kernel with
1820 this option will not work on a MIPS core without SmartMIPS core. If
1821 you don't know you probably don't have SmartMIPS and should say N
1822 here.
1823
Linus Torvalds1da177e2005-04-16 15:20:36 -07001824config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001825 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001826
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001827#
1828# Vectored interrupt mode is an R2 feature
1829#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001830config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001831 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001832
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001833#
1834# Extended interrupt mode is an R2 feature
1835#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001836config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001837 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001838
Linus Torvalds1da177e2005-04-16 15:20:36 -07001839config CPU_HAS_SYNC
1840 bool
1841 depends on !CPU_R3000
1842 default y
1843
Ralf Baechleea580402007-10-11 23:46:09 +01001844config GENERIC_CLOCKEVENTS_BROADCAST
1845 bool
1846
Linus Torvalds1da177e2005-04-16 15:20:36 -07001847#
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +01001848# CPU non-features
1849#
1850config CPU_DADDI_WORKAROUNDS
1851 bool
1852
1853config CPU_R4000_WORKAROUNDS
1854 bool
1855 select CPU_R4400_WORKAROUNDS
1856
1857config CPU_R4400_WORKAROUNDS
1858 bool
1859
1860#
Ralf Baechle797798c2005-08-10 15:17:11 +00001861# Use the generic interrupt handling code in kernel/irq/:
1862#
1863config GENERIC_HARDIRQS
1864 bool
1865 default y
1866
1867config GENERIC_IRQ_PROBE
1868 bool
1869 default y
1870
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001871config IRQ_PER_CPU
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001872 bool
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001873
Ralf Baechle797798c2005-08-10 15:17:11 +00001874#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001875# - Highmem only makes sense for the 32-bit kernel.
1876# - The current highmem code will only work properly on physically indexed
1877# caches such as R3000, SB1, R7000 or those that look like they're virtually
1878# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1879# moment we protect the user and offer the highmem option only on machines
1880# where it's known to be safe. This will not offer highmem on a few systems
1881# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1882# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001883# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1884# know they might have memory configurations that could make use of highmem
1885# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001886#
1887config HIGHMEM
1888 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001889 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1890
1891config CPU_SUPPORTS_HIGHMEM
1892 bool
1893
1894config SYS_SUPPORTS_HIGHMEM
1895 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001896
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001897config SYS_SUPPORTS_SMARTMIPS
1898 bool
1899
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001900config ARCH_FLATMEM_ENABLE
1901 def_bool y
Wu Zhangjinf133f222009-12-01 14:55:42 +08001902 depends on !NUMA && !CPU_LOONGSON2
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001903
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001904config ARCH_DISCONTIGMEM_ENABLE
1905 bool
1906 default y if SGI_IP27
1907 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001908 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001909 for architectures which are either NUMA (Non-Uniform Memory Access)
1910 or have huge holes in the physical address space for other reasons.
1911 See <file:Documentation/vm/numa> for more.
1912
Ralf Baechlecce335a2007-11-03 02:05:43 +00001913config ARCH_POPULATES_NODE_MAP
1914 def_bool y
1915
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001916config ARCH_SPARSEMEM_ENABLE
1917 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001918 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001919
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001920config NUMA
1921 bool "NUMA Support"
1922 depends on SYS_SUPPORTS_NUMA
1923 help
1924 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1925 Access). This option improves performance on systems with more
1926 than two nodes; on two node systems it is generally better to
1927 leave it disabled; on single node systems disable this option
1928 disabled.
1929
1930config SYS_SUPPORTS_NUMA
1931 bool
1932
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07001933config NODES_SHIFT
1934 int
1935 default "6"
1936 depends on NEED_MULTIPLE_NODES
1937
Deng-Cheng Zhu14f70012010-10-12 19:37:22 +08001938config HW_PERF_EVENTS
1939 bool "Enable hardware performance counter support for perf events"
1940 depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && CPU_MIPS32
1941 default y
1942 help
1943 Enable hardware performance counter support for perf events. If
1944 disabled, perf events will use software events only.
1945
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001946source "mm/Kconfig"
1947
Linus Torvalds1da177e2005-04-16 15:20:36 -07001948config SMP
1949 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01001950 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01001951 select IRQ_PER_CPU
Jens Axboe2f304c02008-06-17 10:45:23 +02001952 select USE_GENERIC_SMP_HELPERS
Ralf Baechlee73ea272006-06-04 11:51:46 +01001953 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07001954 This enables support for systems with more than one CPU. If you have
1955 a system with only one CPU, like most personal computers, say N. If
1956 you have a system with more than one CPU, say Y.
1957
1958 If you say N here, the kernel will run on single and multiprocessor
1959 machines, but will use only one CPU of a multiprocessor machine. If
1960 you say Y here, the kernel will run on many, but not all,
1961 singleprocessor machines. On a singleprocessor machine, the kernel
1962 will run faster if you say N here.
1963
1964 People using multiprocessor machines who say Y here should also say
1965 Y to "Enhanced Real Time Clock Support", below.
1966
Adrian Bunk03502fa2008-02-03 15:50:21 +02001967 See also the SMP-HOWTO available at
1968 <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001969
1970 If you don't know what to do here, say N.
1971
Ralf Baechle87353d82007-11-19 12:23:51 +00001972config SMP_UP
1973 bool
1974
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001975config SYS_SUPPORTS_MIPS_CMP
1976 bool
1977
Ralf Baechlee73ea272006-06-04 11:51:46 +01001978config SYS_SUPPORTS_SMP
1979 bool
1980
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001981config NR_CPUS_DEFAULT_1
1982 bool
1983
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001984config NR_CPUS_DEFAULT_2
1985 bool
1986
1987config NR_CPUS_DEFAULT_4
1988 bool
1989
1990config NR_CPUS_DEFAULT_8
1991 bool
1992
1993config NR_CPUS_DEFAULT_16
1994 bool
1995
1996config NR_CPUS_DEFAULT_32
1997 bool
1998
1999config NR_CPUS_DEFAULT_64
2000 bool
2001
Linus Torvalds1da177e2005-04-16 15:20:36 -07002002config NR_CPUS
2003 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09002004 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07002005 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09002006 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00002007 default "2" if NR_CPUS_DEFAULT_2
2008 default "4" if NR_CPUS_DEFAULT_4
2009 default "8" if NR_CPUS_DEFAULT_8
2010 default "16" if NR_CPUS_DEFAULT_16
2011 default "32" if NR_CPUS_DEFAULT_32
2012 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07002013 help
2014 This allows you to specify the maximum number of CPUs which this
2015 kernel will support. The maximum supported value is 32 for 32-bit
2016 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09002017 sense is 1 for Qemu (useful only for kernel debugging purposes)
2018 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002019
2020 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09002021 approximately eight kilobytes to the kernel image. For best
2022 performance should round up your number of processors to the next
2023 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002024
Atsushi Nemotoc4eee282007-11-12 01:05:16 +09002025source "kernel/time/Kconfig"
2026
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09002027#
2028# Timer Interrupt Frequency Configuration
2029#
2030
2031choice
2032 prompt "Timer frequency"
2033 default HZ_250
2034 help
2035 Allows the configuration of the timer frequency.
2036
2037 config HZ_48
Ralf Baechle0f873582008-02-25 16:55:29 +00002038 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09002039
2040 config HZ_100
2041 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
2042
2043 config HZ_128
2044 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
2045
2046 config HZ_250
2047 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
2048
2049 config HZ_256
2050 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
2051
2052 config HZ_1000
2053 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
2054
2055 config HZ_1024
2056 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
2057
2058endchoice
2059
2060config SYS_SUPPORTS_48HZ
2061 bool
2062
2063config SYS_SUPPORTS_100HZ
2064 bool
2065
2066config SYS_SUPPORTS_128HZ
2067 bool
2068
2069config SYS_SUPPORTS_250HZ
2070 bool
2071
2072config SYS_SUPPORTS_256HZ
2073 bool
2074
2075config SYS_SUPPORTS_1000HZ
2076 bool
2077
2078config SYS_SUPPORTS_1024HZ
2079 bool
2080
2081config SYS_SUPPORTS_ARBIT_HZ
2082 bool
2083 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
2084 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
2085 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
2086 !SYS_SUPPORTS_1024HZ
2087
2088config HZ
2089 int
2090 default 48 if HZ_48
2091 default 100 if HZ_100
2092 default 128 if HZ_128
2093 default 250 if HZ_250
2094 default 256 if HZ_256
2095 default 1000 if HZ_1000
2096 default 1024 if HZ_1024
2097
Ralf Baechlee80de852005-07-11 20:45:51 +00002098source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07002099
Linus Torvalds1da177e2005-04-16 15:20:36 -07002100config MIPS_INSANE_LARGE
2101 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002102 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002103 help
2104 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
2105 previous 64-bit processors which only supported 40 bit / 1TB. If you
2106 need processes of more than 1TB virtual address space, say Y here.
2107 This will result in additional memory usage, so it is not
2108 recommended for normal users.
2109
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002110config KEXEC
2111 bool "Kexec system call (EXPERIMENTAL)"
2112 depends on EXPERIMENTAL
2113 help
2114 kexec is a system call that implements the ability to shutdown your
2115 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02002116 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002117 you can start any kernel with it, not just Linux.
2118
Matt LaPlante01dd2fb2007-10-20 01:34:40 +02002119 The name comes from the similarity to the exec system call.
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002120
2121 It is an ongoing process to be certain the hardware in a machine
2122 is properly shutdown, so do not be surprised if this code does not
2123 initially work for you. It may help to enable device hotplugging
2124 support. As of this writing the exact hardware interface is
2125 strongly in flux, so no good recommendation can be made.
2126
2127config SECCOMP
2128 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01002129 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002130 default y
2131 help
2132 This kernel feature is useful for number crunching applications
2133 that may need to compute untrusted bytecode during their
2134 execution. By using pipes or other transports made available to
2135 the process as file descriptors supporting the read/write
2136 syscalls, it's possible to isolate those applications in
2137 their own address space using seccomp. Once seccomp is
2138 enabled via /proc/<pid>/seccomp, it cannot be disabled
2139 and the task is only allowed to execute a few safe syscalls
2140 defined by each seccomp mode.
2141
2142 If unsure, say Y. Only embedded should say N here.
2143
Dezhong Diaof2ffa5a2010-10-13 00:52:46 -06002144config USE_OF
2145 bool "Flattened Device Tree support"
2146 select OF
2147 select OF_FLATTREE
2148 help
2149 Include support for flattened device tree machine descriptions.
2150
Ralf Baechle5e83d432005-10-29 19:32:41 +01002151endmenu
2152
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09002153config LOCKDEP_SUPPORT
2154 bool
2155 default y
2156
2157config STACKTRACE_SUPPORT
2158 bool
2159 default y
2160
Ralf Baechleb6c35392005-11-25 11:35:40 +00002161source "init/Kconfig"
2162
Matt Helsleydc52ddc2008-10-18 20:27:21 -07002163source "kernel/Kconfig.freezer"
2164
Linus Torvalds1da177e2005-04-16 15:20:36 -07002165menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2166
Ralf Baechle5e83d432005-10-29 19:32:41 +01002167config HW_HAS_EISA
2168 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002169config HW_HAS_PCI
2170 bool
2171
2172config PCI
2173 bool "Support for PCI controller"
2174 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01002175 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07002176 help
2177 Find out whether you have a PCI motherboard. PCI is the name of a
2178 bus system, i.e. the way the CPU talks to the other stuff inside
2179 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2180 say Y, otherwise N.
2181
Linus Torvalds1da177e2005-04-16 15:20:36 -07002182config PCI_DOMAINS
2183 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002184
2185source "drivers/pci/Kconfig"
2186
2187#
2188# ISA support is now enabled via select. Too many systems still have the one
2189# or other ISA chip on the board that users don't know about so don't expect
2190# users to choose the right thing ...
2191#
2192config ISA
2193 bool
2194
2195config EISA
2196 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002197 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002198 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00002199 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002200 ---help---
2201 The Extended Industry Standard Architecture (EISA) bus was
2202 developed as an open alternative to the IBM MicroChannel bus.
2203
2204 The EISA bus provided some of the features of the IBM MicroChannel
2205 bus while maintaining backward compatibility with cards made for
2206 the older ISA bus. The EISA bus saw limited use between 1988 and
2207 1995 when it was made obsolete by the PCI bus.
2208
2209 Say Y here if you are building a kernel for an EISA-based machine.
2210
2211 Otherwise, say N.
2212
2213source "drivers/eisa/Kconfig"
2214
2215config TC
2216 bool "TURBOchannel support"
2217 depends on MACH_DECSTATION
2218 help
Justin P. Mattock50a23e62010-10-16 10:36:23 -07002219 TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2220 processors. TURBOchannel programming specifications are available
2221 at:
2222 <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
2223 and:
2224 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
2225 Linux driver support status is documented at:
2226 <http://www.linux-mips.org/wiki/DECstation>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002227
2228#config ACCESSBUS
2229# bool "Access.Bus support"
2230# depends on TC
2231
2232config MMU
2233 bool
2234 default y
2235
Ralf Baechled865bea2007-10-11 23:46:10 +01002236config I8253
2237 bool
Wu Zhangjin9726b432009-11-17 01:32:58 +08002238 select MIPS_EXTERNAL_TIMER
Ralf Baechled865bea2007-10-11 23:46:10 +01002239
Ralf Baechlecce335a2007-11-03 02:05:43 +00002240config ZONE_DMA32
2241 bool
2242
Linus Torvalds1da177e2005-04-16 15:20:36 -07002243source "drivers/pcmcia/Kconfig"
2244
2245source "drivers/pci/hotplug/Kconfig"
2246
2247endmenu
2248
2249menu "Executable file formats"
2250
2251source "fs/Kconfig.binfmt"
2252
2253config TRAD_SIGNALS
2254 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002255
Linus Torvalds1da177e2005-04-16 15:20:36 -07002256config MIPS32_COMPAT
2257 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002258 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002259 help
2260 Select this option if you want Linux/MIPS 32-bit binary
2261 compatibility. Since all software available for Linux/MIPS is
2262 currently 32-bit you should say Y here.
2263
2264config COMPAT
2265 bool
2266 depends on MIPS32_COMPAT
2267 default y
2268
Atsushi Nemoto05e43962006-11-07 18:02:44 +09002269config SYSVIPC_COMPAT
2270 bool
2271 depends on COMPAT && SYSVIPC
2272 default y
2273
Linus Torvalds1da177e2005-04-16 15:20:36 -07002274config MIPS32_O32
2275 bool "Kernel support for o32 binaries"
2276 depends on MIPS32_COMPAT
2277 help
2278 Select this option if you want to run o32 binaries. These are pure
2279 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2280 existing binaries are in this format.
2281
2282 If unsure, say Y.
2283
2284config MIPS32_N32
2285 bool "Kernel support for n32 binaries"
2286 depends on MIPS32_COMPAT
2287 help
2288 Select this option if you want to run n32 binaries. These are
2289 64-bit binaries using 32-bit quantities for addressing and certain
2290 data that would normally be 64-bit. They are used in special
2291 cases.
2292
2293 If unsure, say N.
2294
2295config BINFMT_ELF32
2296 bool
2297 default y if MIPS32_O32 || MIPS32_N32
2298
Ralf Baechle21162452007-02-09 17:08:58 +00002299endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07002300
Ralf Baechle21162452007-02-09 17:08:58 +00002301menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002302
Wu Zhangjin363c55c2009-06-04 20:27:10 +08002303config ARCH_HIBERNATION_POSSIBLE
2304 def_bool y
Ralf Baechle3f5b3e12009-07-02 11:48:07 +01002305 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Wu Zhangjin363c55c2009-06-04 20:27:10 +08002306
Johannes Bergf4cb5702007-12-08 02:14:00 +01002307config ARCH_SUSPEND_POSSIBLE
2308 def_bool y
Ralf Baechle3f5b3e12009-07-02 11:48:07 +01002309 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Johannes Bergf4cb5702007-12-08 02:14:00 +01002310
Ralf Baechle21162452007-02-09 17:08:58 +00002311source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002312
Linus Torvalds1da177e2005-04-16 15:20:36 -07002313endmenu
2314
Wu Zhangjin9726b432009-11-17 01:32:58 +08002315source "arch/mips/kernel/cpufreq/Kconfig"
2316
Sam Ravnborgd5950b42005-07-11 21:03:49 -07002317source "net/Kconfig"
2318
Linus Torvalds1da177e2005-04-16 15:20:36 -07002319source "drivers/Kconfig"
2320
2321source "fs/Kconfig"
2322
2323source "arch/mips/Kconfig.debug"
2324
2325source "security/Kconfig"
2326
2327source "crypto/Kconfig"
2328
2329source "lib/Kconfig"