blob: f921235239f9fea887430a480063eadd8e31500b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config MIPS
2 bool
3 default y
4 # Horrible source of confusion. Die, die, die ...
5 select EMBEDDED
Ralf Baechle90b02342007-10-11 23:46:09 +01006 select RTC_LIB
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
Linus Torvalds1da177e2005-04-16 15:20:36 -07008mainmenu "Linux/MIPS Kernel Configuration"
9
Linus Torvalds1da177e2005-04-16 15:20:36 -070010menu "Machine selection"
11
Christoph Lameter5ac6da62007-02-10 01:43:14 -080012config ZONE_DMA
13 bool
Christoph Lameter5ac6da62007-02-10 01:43:14 -080014
Ralf Baechle5e83d432005-10-29 19:32:41 +010015choice
16 prompt "System type"
17 default SGI_IP22
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Yoichi Yuasac3543e22007-05-11 20:44:30 +090019config MACH_ALCHEMY
20 bool "Alchemy processor based machines"
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Ralf Baechle35189fa2006-06-18 16:39:46 +010022config BASLER_EXCITE
Thomas Koellerbe915892007-02-23 01:40:34 +010023 bool "Basler eXcite smart camera"
Ralf Baechle35189fa2006-06-18 16:39:46 +010024 select DMA_COHERENT
25 select HW_HAS_PCI
26 select IRQ_CPU
27 select IRQ_CPU_RM7K
28 select IRQ_CPU_RM9K
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +020029 select MIPS_RM9122
Ralf Baechle35189fa2006-06-18 16:39:46 +010030 select SYS_HAS_CPU_RM9000
31 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle35189fa2006-06-18 16:39:46 +010032 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +000033 select SYS_SUPPORTS_KGDB
Ralf Baechle35189fa2006-06-18 16:39:46 +010034 help
35 The eXcite is a smart camera platform manufactured by
Thomas Koellerbe915892007-02-23 01:40:34 +010036 Basler Vision Technologies AG.
Ralf Baechle35189fa2006-06-18 16:39:46 +010037
38config BASLER_EXCITE_PROTOTYPE
39 bool "Support for pre-release units"
40 depends on BASLER_EXCITE
41 default n
42 help
43 Pre-series (prototype) units are different from later ones in
44 some ways. Select this option if you have one of these. Please
45 note that a kernel built with this option selected will not be
46 able to run on normal units.
47
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020048config BCM47XX
49 bool "BCM47XX based boards"
50 select DMA_NONCOHERENT
51 select HW_HAS_PCI
52 select IRQ_CPU
53 select SYS_HAS_CPU_MIPS32_R1
54 select SYS_SUPPORTS_32BIT_KERNEL
55 select SYS_SUPPORTS_LITTLE_ENDIAN
56 select SSB
57 select SSB_DRIVER_MIPS
58 select GENERIC_GPIO
Aurelien Jarno25e5fb92007-09-25 15:41:24 +020059 select SYS_HAS_EARLY_PRINTK
60 select CFE
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020061 help
62 Support for BCM47XX based boards
63
Linus Torvalds1da177e2005-04-16 15:20:36 -070064config MIPS_COBALT
Martin Michlmayr3fa986f2006-05-09 23:34:53 +020065 bool "Cobalt Server"
Linus Torvalds1da177e2005-04-16 15:20:36 -070066 select DMA_NONCOHERENT
67 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +010068 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -070069 select I8259
70 select IRQ_CPU
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +090071 select IRQ_GT641XX
Yoichi Yuasa252161e2007-03-14 21:51:26 +090072 select PCI_GT64XXX_PCI0
Ralf Baechle7cf80532005-10-20 22:33:09 +010073 select SYS_HAS_CPU_NEVADA
Yoichi Yuasa0a22e0d2007-03-02 12:42:33 +090074 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -070075 select SYS_SUPPORTS_32BIT_KERNEL
76 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +010077 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +090078 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -070079
80config MACH_DECSTATION
Martin Michlmayr3fa986f2006-05-09 23:34:53 +020081 bool "DECstations"
Linus Torvalds1da177e2005-04-16 15:20:36 -070082 select BOOT_ELF32
83 select DMA_NONCOHERENT
Maciej W. Rozyckid388d682007-05-29 15:08:07 +010084 select NO_IOPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -070085 select IRQ_CPU
Ralf Baechle7cf80532005-10-20 22:33:09 +010086 select SYS_HAS_CPU_R3000
87 select SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -070088 select SYS_SUPPORTS_32BIT_KERNEL
89 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +010090 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +090091 select SYS_SUPPORTS_128HZ
92 select SYS_SUPPORTS_256HZ
93 select SYS_SUPPORTS_1024HZ
Ralf Baechle5e83d432005-10-29 19:32:41 +010094 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070095 This enables support for DEC's MIPS based workstations. For details
96 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
97 DECstation porting pages on <http://decstation.unix-ag.org/>.
98
99 If you have one of the following DECstation Models you definitely
100 want to choose R4xx0 for the CPU Type:
101
Ralf Baechle93088162007-08-29 14:21:45 +0100102 DECstation 5000/50
103 DECstation 5000/150
104 DECstation 5000/260
105 DECsystem 5900/260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106
107 otherwise choose R3000.
108
Ralf Baechle5e83d432005-10-29 19:32:41 +0100109config MACH_JAZZ
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200110 bool "Jazz family of machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100111 select ARC
112 select ARC32
113 select ARCH_MAY_HAVE_PC_FDC
114 select GENERIC_ISA_DMA
Thomas Bogendoerferea202c62007-08-25 11:01:50 +0200115 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100116 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100117 select I8259
118 select ISA
Ralf Baechlede61b542007-07-12 17:41:23 +0100119 select PCSPEAKER
Ralf Baechle7cf80532005-10-20 22:33:09 +0100120 select SYS_HAS_CPU_R4X00
Ralf Baechle5e83d432005-10-29 19:32:41 +0100121 select SYS_SUPPORTS_32BIT_KERNEL
122 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900123 select SYS_SUPPORTS_100HZ
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900124 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700125 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100126 This a family of machines based on the MIPS R4030 chipset which was
127 used by several vendors to build RISC/os and Windows NT workstations.
128 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
129 Olivetti M700-10 workstations.
130
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200131config LASAT
132 bool "LASAT Networks platforms"
133 select DMA_NONCOHERENT
134 select SYS_HAS_EARLY_PRINTK
135 select HW_HAS_PCI
136 select PCI_GT64XXX_PCI0
137 select MIPS_NILE4
138 select R5000_CPU_SCACHE
139 select SYS_HAS_CPU_R5000
140 select SYS_SUPPORTS_32BIT_KERNEL
141 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
142 select SYS_SUPPORTS_LITTLE_ENDIAN
143 select GENERIC_HARDIRQS_NO__DO_IRQ
144
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900145config LEMOTE_FULONG
146 bool "Lemote Fulong mini-PC"
147 select ARCH_SPARSEMEM_ENABLE
148 select SYS_HAS_CPU_LOONGSON2
149 select DMA_NONCOHERENT
150 select BOOT_ELF32
151 select BOARD_SCACHE
152 select HAVE_STD_PC_SERIAL_PORT
153 select HW_HAS_PCI
154 select I8259
155 select ISA
156 select IRQ_CPU
157 select SYS_SUPPORTS_32BIT_KERNEL
158 select SYS_SUPPORTS_64BIT_KERNEL
159 select SYS_SUPPORTS_LITTLE_ENDIAN
160 select SYS_SUPPORTS_HIGHMEM
161 select SYS_HAS_EARLY_PRINTK
162 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle23dd6d32007-08-24 16:49:23 +0100163 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900164 select CPU_HAS_WB
165 help
166 Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
167 an FPGA northbridge
168
Linus Torvalds1da177e2005-04-16 15:20:36 -0700169config MIPS_ATLAS
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200170 bool "MIPS Atlas board"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171 select BOOT_ELF32
172 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000173 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100174 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700175 select HW_HAS_PCI
Ralf Baechle5e83d432005-10-29 19:32:41 +0100176 select MIPS_BOARDS_GEN
177 select MIPS_BONITO64
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900178 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100179 select MIPS_MSC
Maciej W. Rozyckif4b7cdb2005-02-12 04:31:49 +0000180 select RM7000_CPU_SCACHE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100182 select SYS_HAS_CPU_MIPS32_R1
183 select SYS_HAS_CPU_MIPS32_R2
184 select SYS_HAS_CPU_MIPS64_R1
185 select SYS_HAS_CPU_NEVADA
186 select SYS_HAS_CPU_RM7000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700187 select SYS_SUPPORTS_32BIT_KERNEL
188 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100189 select SYS_SUPPORTS_BIG_ENDIAN
190 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100191 select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100192 select SYS_SUPPORTS_SMARTMIPS
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100193 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700194 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000195 This enables support for the MIPS Technologies Atlas evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700196 board.
197
198config MIPS_MALTA
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200199 bool "MIPS Malta board"
Ralf Baechle61ed2422005-09-15 08:52:34 +0000200 select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700201 select BOOT_ELF32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700202 select DMA_NONCOHERENT
203 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000204 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100206 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207 select I8259
Ralf Baechle5e83d432005-10-29 19:32:41 +0100208 select MIPS_BOARDS_GEN
209 select MIPS_BONITO64
Chris Dearman9318c512006-06-20 17:15:20 +0100210 select MIPS_CPU_SCACHE
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900211 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100212 select MIPS_MSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100214 select SYS_HAS_CPU_MIPS32_R1
215 select SYS_HAS_CPU_MIPS32_R2
216 select SYS_HAS_CPU_MIPS64_R1
217 select SYS_HAS_CPU_NEVADA
218 select SYS_HAS_CPU_RM7000
Ralf Baechle36a88532007-03-01 11:56:43 +0000219 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700220 select SYS_SUPPORTS_32BIT_KERNEL
221 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100222 select SYS_SUPPORTS_BIG_ENDIAN
223 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100224 select SYS_SUPPORTS_MULTITHREADING
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100225 select SYS_SUPPORTS_SMARTMIPS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000227 This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228 board.
229
230config MIPS_SEAD
Ralf Baechled98cc842007-08-06 10:02:07 +0100231 bool "MIPS SEAD board"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232 select IRQ_CPU
233 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000234 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100235 select MIPS_BOARDS_GEN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100236 select SYS_HAS_CPU_MIPS32_R1
237 select SYS_HAS_CPU_MIPS32_R2
238 select SYS_HAS_CPU_MIPS64_R1
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700239 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100240 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
241 select SYS_SUPPORTS_BIG_ENDIAN
242 select SYS_SUPPORTS_LITTLE_ENDIAN
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100243 select SYS_SUPPORTS_SMARTMIPS
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000244 help
245 This enables support for the MIPS Technologies SEAD evaluation
246 board.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100248config MIPS_SIM
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200249 bool 'MIPS simulator (MIPSsim)'
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100250 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000251 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100252 select IRQ_CPU
Marc St-Jean9267a302007-06-14 15:55:31 -0600253 select BOOT_RAW
Ralf Baechle7cf80532005-10-20 22:33:09 +0100254 select SYS_HAS_CPU_MIPS32_R1
255 select SYS_HAS_CPU_MIPS32_R2
Ralf Baechle36a88532007-03-01 11:56:43 +0000256 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100257 select SYS_SUPPORTS_32BIT_KERNEL
258 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlef6e23732007-07-10 17:32:56 +0100259 select SYS_SUPPORTS_MULTITHREADING
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100260 select SYS_SUPPORTS_LITTLE_ENDIAN
261 help
262 This option enables support for MIPS Technologies MIPSsim software
263 emulator.
264
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900265config MARKEINS
266 bool "NEC EMMA2RH Mark-eins"
267 select DMA_NONCOHERENT
268 select HW_HAS_PCI
269 select IRQ_CPU
270 select SWAP_IO_SPACE
271 select SYS_SUPPORTS_32BIT_KERNEL
272 select SYS_SUPPORTS_BIG_ENDIAN
273 select SYS_SUPPORTS_LITTLE_ENDIAN
274 select SYS_HAS_CPU_R5000
275 help
276 This enables support for the R5432-based NEC Mark-eins
277 boards with R5500 CPU.
278
Ralf Baechle5e83d432005-10-29 19:32:41 +0100279config MACH_VR41XX
Yoichi Yuasa74142d62007-04-26 19:45:09 +0900280 bool "NEC VR4100 series based machines"
Ralf Baechle7cf80532005-10-20 22:33:09 +0100281 select SYS_HAS_CPU_VR41XX
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900282 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100283
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900284config PNX8550_JBS
285 bool "Philips PNX8550 based JBS board"
286 select PNX8550
287 select SYS_SUPPORTS_LITTLE_ENDIAN
288
289config PNX8550_STB810
290 bool "Philips PNX8550 based STB810 board"
291 select PNX8550
292 select SYS_SUPPORTS_LITTLE_ENDIAN
293
Marc St-Jean9267a302007-06-14 15:55:31 -0600294config PMC_MSP
295 bool "PMC-Sierra MSP chipsets"
296 depends on EXPERIMENTAL
297 select DMA_NONCOHERENT
298 select SWAP_IO_SPACE
299 select NO_EXCEPT_FILL
300 select BOOT_RAW
301 select SYS_HAS_CPU_MIPS32_R1
302 select SYS_HAS_CPU_MIPS32_R2
303 select SYS_SUPPORTS_32BIT_KERNEL
304 select SYS_SUPPORTS_BIG_ENDIAN
305 select SYS_SUPPORTS_KGDB
306 select IRQ_CPU
307 select SERIAL_8250
308 select SERIAL_8250_CONSOLE
309 help
310 This adds support for the PMC-Sierra family of Multi-Service
311 Processor System-On-A-Chips. These parts include a number
312 of integrated peripherals, interfaces and DSPs in addition to
313 a variety of MIPS cores.
314
Ralf Baechle5e83d432005-10-29 19:32:41 +0100315config PMC_YOSEMITE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200316 bool "PMC-Sierra Yosemite eval board"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100317 select DMA_COHERENT
318 select HW_HAS_PCI
319 select IRQ_CPU
320 select IRQ_CPU_RM7K
321 select IRQ_CPU_RM9K
322 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100323 select SYS_HAS_CPU_RM9000
Ralf Baechle36a88532007-03-01 11:56:43 +0000324 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100325 select SYS_SUPPORTS_32BIT_KERNEL
326 select SYS_SUPPORTS_64BIT_KERNEL
327 select SYS_SUPPORTS_BIG_ENDIAN
328 select SYS_SUPPORTS_HIGHMEM
Ralf Baechlecc801072007-02-17 02:58:39 +0000329 select SYS_SUPPORTS_KGDB
Ralf Baechlee73ea272006-06-04 11:51:46 +0100330 select SYS_SUPPORTS_SMP
Ralf Baechle5e83d432005-10-29 19:32:41 +0100331 help
332 Yosemite is an evaluation board for the RM9000x2 processor
333 manufactured by PMC-Sierra.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700334
Ralf Baechle07119622005-09-03 15:56:11 -0700335config QEMU
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200336 bool "Qemu"
Ralf Baechle07119622005-09-03 15:56:11 -0700337 select DMA_COHERENT
338 select GENERIC_ISA_DMA
339 select HAVE_STD_PC_SERIAL_PORT
Ralf Baechled865bea2007-10-11 23:46:10 +0100340 select I8253
Ralf Baechle07119622005-09-03 15:56:11 -0700341 select I8259
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100342 select IRQ_CPU
Ralf Baechle07119622005-09-03 15:56:11 -0700343 select ISA
Ralf Baechlede61b542007-07-12 17:41:23 +0100344 select PCSPEAKER
Ralf Baechle07119622005-09-03 15:56:11 -0700345 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100346 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle07119622005-09-03 15:56:11 -0700347 select SYS_SUPPORTS_32BIT_KERNEL
348 select SYS_SUPPORTS_BIG_ENDIAN
Aurelien Jarnoc8cc9612006-09-27 23:07:25 +0200349 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +0900350 select ARCH_SPARSEMEM_ENABLE
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900351 select GENERIC_HARDIRQS_NO__DO_IRQ
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +0900352 select NR_CPUS_DEFAULT_1
353 select SYS_SUPPORTS_SMP
Ralf Baechle07119622005-09-03 15:56:11 -0700354 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100355 Qemu is a software emulator which among other architectures also
356 can simulate a MIPS32 4Kc system. This patch adds support for the
357 system architecture that currently is being simulated by Qemu. It
358 will eventually be removed again when Qemu has the capability to
359 simulate actual MIPS hardware platforms. More information on Qemu
360 can be found at http://www.linux-mips.org/wiki/Qemu.
Ralf Baechle07119622005-09-03 15:56:11 -0700361
Linus Torvalds1da177e2005-04-16 15:20:36 -0700362config SGI_IP22
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200363 bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364 select ARC
365 select ARC32
366 select BOOT_ELF32
367 select DMA_NONCOHERENT
Ralf Baechle5e83d432005-10-29 19:32:41 +0100368 select HW_HAS_EISA
Ralf Baechled865bea2007-10-11 23:46:10 +0100369 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700370 select IP22_CPU_SCACHE
371 select IRQ_CPU
Ralf Baechleaa414df2006-11-30 01:14:51 +0000372 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700373 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100374 select SYS_HAS_CPU_R4X00
375 select SYS_HAS_CPU_R5000
Ralf Baechle36a88532007-03-01 11:56:43 +0000376 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700377 select SYS_SUPPORTS_32BIT_KERNEL
378 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100379 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700380 help
381 This are the SGI Indy, Challenge S and Indigo2, as well as certain
382 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
383 that runs on these, say Y here.
384
385config SGI_IP27
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200386 bool "SGI IP27 (Origin200/2000)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700387 select ARC
388 select ARC64
Ralf Baechle5e83d432005-10-29 19:32:41 +0100389 select BOOT_ELF64
Linus Torvalds1da177e2005-04-16 15:20:36 -0700390 select DMA_IP27
Ralf Baechle36a88532007-03-01 11:56:43 +0000391 select SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700392 select HW_HAS_PCI
Ralf Baechle130e2fb2007-02-06 16:53:15 +0000393 select NR_CPUS_DEFAULT_64
Ralf Baechle7cf80532005-10-20 22:33:09 +0100394 select SYS_HAS_CPU_R10000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700395 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100396 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000397 select SYS_SUPPORTS_KGDB
Ralf Baechled8cb4e12006-06-11 23:03:08 +0100398 select SYS_SUPPORTS_NUMA
Ralf Baechle1a5c5de2006-11-02 17:23:33 +0000399 select SYS_SUPPORTS_SMP
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100400 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700401 help
402 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
403 workstations. To compile a Linux kernel that runs on these, say Y
404 here.
405
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406config SGI_IP32
Ralf Baechlecfd2afc2007-07-10 17:33:00 +0100407 bool "SGI IP32 (O2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700408 select ARC
409 select ARC32
410 select BOOT_ELF32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700411 select DMA_NONCOHERENT
412 select HW_HAS_PCI
Ralf Baechledd67b152007-10-14 14:02:26 +0100413 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700414 select R5000_CPU_SCACHE
415 select RM7000_CPU_SCACHE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100416 select SYS_HAS_CPU_R5000
417 select SYS_HAS_CPU_R10000 if BROKEN
418 select SYS_HAS_CPU_RM7000
Ralf Baechledd2f18f2006-01-19 14:55:42 +0000419 select SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700420 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100421 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700422 help
423 If you want this kernel to run on SGI O2 workstation, say Y here.
424
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900425config SIBYTE_CRHINE
426 bool "Sibyte BCM91120C-CRhine"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100427 depends on EXPERIMENTAL
428 select BOOT_ELF32
429 select DMA_COHERENT
430 select SIBYTE_BCM1120
431 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100432 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100433 select SYS_SUPPORTS_BIG_ENDIAN
434 select SYS_SUPPORTS_LITTLE_ENDIAN
435
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900436config SIBYTE_CARMEL
437 bool "Sibyte BCM91120x-Carmel"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100438 depends on EXPERIMENTAL
439 select BOOT_ELF32
440 select DMA_COHERENT
441 select SIBYTE_BCM1120
442 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100443 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100444 select SYS_SUPPORTS_BIG_ENDIAN
445 select SYS_SUPPORTS_LITTLE_ENDIAN
446
447config SIBYTE_CRHONE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200448 bool "Sibyte BCM91125C-CRhone"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100449 depends on EXPERIMENTAL
450 select BOOT_ELF32
451 select DMA_COHERENT
452 select SIBYTE_BCM1125
453 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100454 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100455 select SYS_SUPPORTS_BIG_ENDIAN
456 select SYS_SUPPORTS_HIGHMEM
457 select SYS_SUPPORTS_LITTLE_ENDIAN
458
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900459config SIBYTE_RHONE
460 bool "Sibyte BCM91125E-Rhone"
461 depends on EXPERIMENTAL
462 select BOOT_ELF32
463 select DMA_COHERENT
464 select SIBYTE_BCM1125H
465 select SWAP_IO_SPACE
466 select SYS_HAS_CPU_SB1
467 select SYS_SUPPORTS_BIG_ENDIAN
468 select SYS_SUPPORTS_LITTLE_ENDIAN
469
470config SIBYTE_SWARM
471 bool "Sibyte BCM91250A-SWARM"
472 select BOOT_ELF32
473 select DMA_COHERENT
474 select NR_CPUS_DEFAULT_2
475 select SIBYTE_SB1250
476 select SWAP_IO_SPACE
477 select SYS_HAS_CPU_SB1
478 select SYS_SUPPORTS_BIG_ENDIAN
479 select SYS_SUPPORTS_HIGHMEM
480 select SYS_SUPPORTS_KGDB
481 select SYS_SUPPORTS_LITTLE_ENDIAN
482
483config SIBYTE_LITTLESUR
484 bool "Sibyte BCM91250C2-LittleSur"
485 depends on EXPERIMENTAL
486 select BOOT_ELF32
487 select DMA_COHERENT
488 select NR_CPUS_DEFAULT_2
489 select SIBYTE_SB1250
490 select SWAP_IO_SPACE
491 select SYS_HAS_CPU_SB1
492 select SYS_SUPPORTS_BIG_ENDIAN
493 select SYS_SUPPORTS_HIGHMEM
494 select SYS_SUPPORTS_LITTLE_ENDIAN
495
496config SIBYTE_SENTOSA
497 bool "Sibyte BCM91250E-Sentosa"
498 depends on EXPERIMENTAL
499 select BOOT_ELF32
500 select DMA_COHERENT
501 select NR_CPUS_DEFAULT_2
502 select SIBYTE_SB1250
503 select SWAP_IO_SPACE
504 select SYS_HAS_CPU_SB1
505 select SYS_SUPPORTS_BIG_ENDIAN
506 select SYS_SUPPORTS_LITTLE_ENDIAN
507
508config SIBYTE_PTSWARM
509 bool "Sibyte BCM91250PT-PTSWARM"
510 depends on EXPERIMENTAL
511 select BOOT_ELF32
512 select DMA_COHERENT
513 select NR_CPUS_DEFAULT_2
514 select SIBYTE_SB1250
515 select SWAP_IO_SPACE
516 select SYS_HAS_CPU_SB1
517 select SYS_SUPPORTS_BIG_ENDIAN
518 select SYS_SUPPORTS_HIGHMEM
519 select SYS_SUPPORTS_LITTLE_ENDIAN
520
521config SIBYTE_BIGSUR
522 bool "Sibyte BCM91480B-BigSur"
523 select BOOT_ELF32
524 select DMA_COHERENT
525 select NR_CPUS_DEFAULT_4
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900526 select SIBYTE_BCM1x80
527 select SWAP_IO_SPACE
528 select SYS_HAS_CPU_SB1
529 select SYS_SUPPORTS_BIG_ENDIAN
530 select SYS_SUPPORTS_LITTLE_ENDIAN
531
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100532config SNI_RM
533 bool "SNI RM200/300/400"
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200534 select ARC if CPU_LITTLE_ENDIAN
535 select ARC32 if CPU_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100536 select ARCH_MAY_HAVE_PC_FDC
537 select BOOT_ELF32
538 select DMA_NONCOHERENT
539 select GENERIC_ISA_DMA
Ralf Baechle5e83d432005-10-29 19:32:41 +0100540 select HW_HAS_EISA
541 select HW_HAS_PCI
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100542 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100543 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100544 select I8259
545 select ISA
Ralf Baechlede61b542007-07-12 17:41:23 +0100546 select PCSPEAKER
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200547 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100548 select SYS_HAS_CPU_R4X00
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200549 select SYS_HAS_CPU_R5000
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100550 select SYS_HAS_CPU_R10000
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200551 select R5000_CPU_SCACHE
Ralf Baechle36a88532007-03-01 11:56:43 +0000552 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700553 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100554 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200555 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100556 select SYS_SUPPORTS_HIGHMEM
557 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700558 help
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100559 The SNI RM200/300/400 are MIPS-based machines manufactured by
560 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Ralf Baechle5e83d432005-10-29 19:32:41 +0100561 Technology and now in turn merged with Fujitsu. Say Y here to
562 support this machine type.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700563
Ralf Baechle5e83d432005-10-29 19:32:41 +0100564config TOSHIBA_JMR3927
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200565 bool "Toshiba JMR-TX3927 board"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100566 select DMA_NONCOHERENT
567 select HW_HAS_PCI
568 select MIPS_TX3927
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900569 select IRQ_TXX9
Ralf Baechle5e83d432005-10-29 19:32:41 +0100570 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100571 select SYS_HAS_CPU_TX39XX
Ralf Baechle5e83d432005-10-29 19:32:41 +0100572 select SYS_SUPPORTS_32BIT_KERNEL
Sergei Shtylyov6a2603a2007-02-07 20:39:05 +0300573 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100574 select SYS_SUPPORTS_BIG_ENDIAN
Atsushi Nemoto21274352007-03-15 00:58:28 +0900575 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100576
577config TOSHIBA_RBTX4927
Yoichi Yuasa08a91282007-07-27 15:20:24 +0900578 bool "Toshiba RBTX49[23]7 board"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100579 select DMA_NONCOHERENT
580 select HAS_TXX9_SERIAL
581 select HW_HAS_PCI
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900582 select IRQ_CPU
583 select IRQ_TXX9
584 select I8259 if TOSHIBA_FPCIB0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100585 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100586 select SYS_HAS_CPU_TX49XX
Ralf Baechle5e83d432005-10-29 19:32:41 +0100587 select SYS_SUPPORTS_32BIT_KERNEL
588 select SYS_SUPPORTS_64BIT_KERNEL
Sergei Shtylyov6a2603a2007-02-07 20:39:05 +0300589 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100590 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000591 select SYS_SUPPORTS_KGDB
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900592 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100593 help
594 This Toshiba board is based on the TX4927 processor. Say Y here to
595 support this machine type
Linus Torvalds1da177e2005-04-16 15:20:36 -0700596
Ralf Baechle23fbee92005-07-25 22:45:45 +0000597config TOSHIBA_RBTX4938
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200598 bool "Toshiba RBTX4938 board"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000599 select DMA_NONCOHERENT
Ralf Baechle23fbee92005-07-25 22:45:45 +0000600 select HAS_TXX9_SERIAL
601 select HW_HAS_PCI
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900602 select IRQ_CPU
603 select IRQ_TXX9
Ralf Baechle23fbee92005-07-25 22:45:45 +0000604 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100605 select SYS_HAS_CPU_TX49XX
Ralf Baechle23fbee92005-07-25 22:45:45 +0000606 select SYS_SUPPORTS_32BIT_KERNEL
607 select SYS_SUPPORTS_LITTLE_ENDIAN
608 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000609 select SYS_SUPPORTS_KGDB
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900610 select GENERIC_HARDIRQS_NO__DO_IRQ
Atsushi Nemoto3896b052007-06-22 23:21:55 +0900611 select GENERIC_GPIO
Ralf Baechle23fbee92005-07-25 22:45:45 +0000612 help
613 This Toshiba board is based on the TX4938 processor. Say Y here to
614 support this machine type
615
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900616config WR_PPMC
617 bool "Wind River PPMC board"
618 select IRQ_CPU
619 select BOOT_ELF32
620 select DMA_NONCOHERENT
621 select HW_HAS_PCI
622 select PCI_GT64XXX_PCI0
623 select SWAP_IO_SPACE
624 select SYS_HAS_CPU_MIPS32_R1
625 select SYS_HAS_CPU_MIPS32_R2
626 select SYS_HAS_CPU_MIPS64_R1
627 select SYS_HAS_CPU_NEVADA
628 select SYS_HAS_CPU_RM7000
629 select SYS_SUPPORTS_32BIT_KERNEL
630 select SYS_SUPPORTS_64BIT_KERNEL
631 select SYS_SUPPORTS_BIG_ENDIAN
632 select SYS_SUPPORTS_LITTLE_ENDIAN
633 help
634 This enables support for the Wind River MIPS32 4KC PPMC evaluation
635 board, which is based on GT64120 bridge chip.
636
Linus Torvalds1da177e2005-04-16 15:20:36 -0700637endchoice
638
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900639source "arch/mips/au1000/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100640source "arch/mips/jazz/Kconfig"
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200641source "arch/mips/lasat/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100642source "arch/mips/pmc-sierra/Kconfig"
Ralf Baechle29c48692005-02-07 01:27:14 +0000643source "arch/mips/sgi-ip27/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000644source "arch/mips/sibyte/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100645source "arch/mips/tx4927/Kconfig"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000646source "arch/mips/tx4938/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100647source "arch/mips/vr41xx/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000648
Ralf Baechle5e83d432005-10-29 19:32:41 +0100649endmenu
650
Linus Torvalds1da177e2005-04-16 15:20:36 -0700651config RWSEM_GENERIC_SPINLOCK
652 bool
653 default y
654
655config RWSEM_XCHGADD_ALGORITHM
656 bool
657
David Howellsf0d1b0b2006-12-08 02:37:49 -0800658config ARCH_HAS_ILOG2_U32
659 bool
660 default n
661
662config ARCH_HAS_ILOG2_U64
663 bool
664 default n
665
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800666config GENERIC_FIND_NEXT_BIT
667 bool
668 default y
669
670config GENERIC_HWEIGHT
671 bool
672 default y
673
Linus Torvalds1da177e2005-04-16 15:20:36 -0700674config GENERIC_CALIBRATE_DELAY
675 bool
676 default y
677
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100678config GENERIC_CLOCKEVENTS
679 bool
680 default y
681
Ralf Baechle8db02012006-10-02 16:54:48 +0100682config GENERIC_TIME
683 bool
684 default y
685
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100686config GENERIC_CMOS_UPDATE
687 bool
688 default y
689
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900690config SCHED_NO_NO_OMIT_FRAME_POINTER
691 bool
692 default y
693
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100694config GENERIC_HARDIRQS_NO__DO_IRQ
695 bool
696 default n
697
Linus Torvalds1da177e2005-04-16 15:20:36 -0700698#
699# Select some configuration options automatically based on user selections.
700#
701config ARC
702 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700703
Ralf Baechle61ed2422005-09-15 08:52:34 +0000704config ARCH_MAY_HAVE_PC_FDC
705 bool
706
Marc St-Jean9267a302007-06-14 15:55:31 -0600707config BOOT_RAW
708 bool
709
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200710config CFE
711 bool
712
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700713config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700714 bool
715
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700716config DMA_IP27
Linus Torvalds1da177e2005-04-16 15:20:36 -0700717 bool
718
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700719config DMA_IP32
720 bool
721 select DMA_NEED_PCI_MAP_STATE
722
723config DMA_NONCOHERENT
724 bool
725 select DMA_NEED_PCI_MAP_STATE
726
727config DMA_NEED_PCI_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700728 bool
729
730config EARLY_PRINTK
Ralf Baechle36a88532007-03-01 11:56:43 +0000731 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
732 depends on SYS_HAS_EARLY_PRINTK
733 default y
734 help
735 This option enables special console drivers which allow the kernel
736 to print messages very early in the bootup process.
737
738 This is useful for kernel debugging when your machine crashes very
Robert P. J. Day490dcc42007-05-20 12:11:07 -0400739 early before the console code is initialized. For normal operation,
740 it is not recommended because it looks ugly on some machines and
741 doesn't cooperate with an X server. You should normally say N here,
Ralf Baechle36a88532007-03-01 11:56:43 +0000742 unless you want to debug such a crash.
743
744config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700745 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700746
Ralf Baechledbb74542007-08-07 14:52:17 +0100747config HOTPLUG_CPU
748 bool
749 default n
750
Linus Torvalds1da177e2005-04-16 15:20:36 -0700751config I8259
752 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700753
Linus Torvalds1da177e2005-04-16 15:20:36 -0700754config MIPS_BONITO64
755 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700756
757config MIPS_MSC
758 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700759
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200760config MIPS_NILE4
761 bool
762
Linus Torvalds1da177e2005-04-16 15:20:36 -0700763config MIPS_DISABLE_OBSOLETE_IDE
764 bool
765
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100766config NO_IOPORT
767 def_bool n
768
Ralf Baechle8313da32007-08-24 16:48:30 +0100769config GENERIC_ISA_DMA
770 bool
771 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
772
Ralf Baechleaa414df2006-11-30 01:14:51 +0000773config GENERIC_ISA_DMA_SUPPORT_BROKEN
774 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100775 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000776
Yoichi Yuasa09663332007-05-22 00:05:58 +0900777config GENERIC_GPIO
778 bool
779
Ralf Baechle5e83d432005-10-29 19:32:41 +0100780#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100781# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100782# answer,so we try hard to limit the available choices. Also the use of a
783# choice statement should be more obvious to the user.
784#
785choice
786 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700787 help
788 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100789 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100790 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100791 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200792 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100793
794config CPU_BIG_ENDIAN
795 bool "Big endian"
796 depends on SYS_SUPPORTS_BIG_ENDIAN
797
798config CPU_LITTLE_ENDIAN
799 bool "Little endian"
800 depends on SYS_SUPPORTS_LITTLE_ENDIAN
801 help
802
803endchoice
804
Ralf Baechle21162452007-02-09 17:08:58 +0000805config SYS_SUPPORTS_APM_EMULATION
806 bool
807
Ralf Baechle5e83d432005-10-29 19:32:41 +0100808config SYS_SUPPORTS_BIG_ENDIAN
809 bool
810
811config SYS_SUPPORTS_LITTLE_ENDIAN
812 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700813
814config IRQ_CPU
815 bool
816
817config IRQ_CPU_RM7K
818 bool
819
Ralf Baechle5e83d432005-10-29 19:32:41 +0100820config IRQ_CPU_RM9K
821 bool
822
Marc St-Jean9267a302007-06-14 15:55:31 -0600823config IRQ_MSP_SLP
824 bool
825
826config IRQ_MSP_CIC
827 bool
828
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900829config IRQ_TXX9
830 bool
831
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900832config IRQ_GT641XX
833 bool
834
Linus Torvalds1da177e2005-04-16 15:20:36 -0700835config MIPS_BOARDS_GEN
836 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700837
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900838config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700839 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700840
Marc St-Jean9267a302007-06-14 15:55:31 -0600841config NO_EXCEPT_FILL
842 bool
843
Linus Torvalds1da177e2005-04-16 15:20:36 -0700844config MIPS_TX3927
845 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700846 select HAS_TXX9_SERIAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700847
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200848config MIPS_RM9122
849 bool
850 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200851
Pete Popovbdf21b12005-07-14 17:47:57 +0000852config PNX8550
853 bool
854 select SOC_PNX8550
855
856config SOC_PNX8550
857 bool
Pete Popovbdf21b12005-07-14 17:47:57 +0000858 select DMA_NONCOHERENT
859 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +0000860 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +0000861 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +0100862 select SYS_SUPPORTS_32BIT_KERNEL
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100863 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechlecc801072007-02-17 02:58:39 +0000864 select SYS_SUPPORTS_KGDB
Florian Fainelli4ead1682007-05-22 21:44:42 +0200865 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +0000866
Linus Torvalds1da177e2005-04-16 15:20:36 -0700867config SWAP_IO_SPACE
868 bool
869
dmitry pervushin355c4712006-05-21 14:53:06 +0400870config EMMA2RH
871 bool
872 depends on MARKEINS
873 default y
874
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200875config SERIAL_RM9000
876 bool
877
Ralf Baechle5e83d432005-10-29 19:32:41 +0100878config ARC32
879 bool
880
Linus Torvalds1da177e2005-04-16 15:20:36 -0700881config BOOT_ELF32
882 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700883
884config MIPS_L1_CACHE_SHIFT
885 int
Thomas Bogendoerfer06cf5582007-06-20 23:36:47 +0200886 default "4" if MACH_DECSTATION
887 default "7" if SGI_IP27 || SNI_RM
Marc St-Jean9267a302007-06-14 15:55:31 -0600888 default "4" if PMC_MSP4200_EVAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700889 default "5"
890
Linus Torvalds1da177e2005-04-16 15:20:36 -0700891config HAVE_STD_PC_SERIAL_PORT
892 bool
893
Linus Torvalds1da177e2005-04-16 15:20:36 -0700894config ARC_CONSOLE
895 bool "ARC console support"
Ralf Baechle36a88532007-03-01 11:56:43 +0000896 depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700897
898config ARC_MEMORY
899 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100900 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700901 default y
902
903config ARC_PROMLIB
904 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100905 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700906 default y
907
908config ARC64
909 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700910
911config BOOT_ELF64
912 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700913
Linus Torvalds1da177e2005-04-16 15:20:36 -0700914menu "CPU selection"
915
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100916source "kernel/time/Kconfig"
917
Linus Torvalds1da177e2005-04-16 15:20:36 -0700918choice
919 prompt "CPU type"
920 default CPU_R4X00
921
Fuxin Zhang2a21c732007-06-06 14:52:43 +0800922config CPU_LOONGSON2
923 bool "Loongson 2"
924 depends on SYS_HAS_CPU_LOONGSON2
925 select CPU_SUPPORTS_32BIT_KERNEL
926 select CPU_SUPPORTS_64BIT_KERNEL
927 select CPU_SUPPORTS_HIGHMEM
928 help
929 The Loongson 2E processor implements the MIPS III instruction set
930 with many extensions.
931
Ralf Baechle6e760c82005-07-06 12:08:11 +0000932config CPU_MIPS32_R1
933 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +0100934 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +0100935 select CPU_HAS_LLSC
Ralf Baechle6e760c82005-07-06 12:08:11 +0000936 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +0000937 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +0000938 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +0000939 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100940 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +0000941 MIPS32 architecture. Most modern embedded systems with a 32-bit
942 MIPS processor are based on a MIPS32 processor. If you know the
943 specific type of processor in your system, choose those that one
944 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
945 Release 2 of the MIPS32 architecture is available since several
946 years so chances are you even have a MIPS32 Release 2 processor
947 in which case you should choose CPU_MIPS32_R2 instead for better
948 performance.
949
950config CPU_MIPS32_R2
951 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +0100952 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +0100953 select CPU_HAS_LLSC
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +0000954 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +0000955 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +0000956 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +0000957 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100958 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +0000959 MIPS32 architecture. Most modern embedded systems with a 32-bit
960 MIPS processor are based on a MIPS32 processor. If you know the
961 specific type of processor in your system, choose those that one
962 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700963
Ralf Baechle6e760c82005-07-06 12:08:11 +0000964config CPU_MIPS64_R1
965 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +0100966 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +0100967 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +0000968 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700969 select CPU_SUPPORTS_32BIT_KERNEL
970 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +0000971 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +0000972 help
973 Choose this option to build a kernel for release 1 or later of the
974 MIPS64 architecture. Many modern embedded systems with a 64-bit
975 MIPS processor are based on a MIPS64 processor. If you know the
976 specific type of processor in your system, choose those that one
977 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +0000978 Release 2 of the MIPS64 architecture is available since several
979 years so chances are you even have a MIPS64 Release 2 processor
980 in which case you should choose CPU_MIPS64_R2 instead for better
981 performance.
982
983config CPU_MIPS64_R2
984 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +0100985 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +0100986 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +0000987 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +0000988 select CPU_SUPPORTS_32BIT_KERNEL
989 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +0000990 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +0000991 help
992 Choose this option to build a kernel for release 2 or later of the
993 MIPS64 architecture. Many modern embedded systems with a 64-bit
994 MIPS processor are based on a MIPS64 processor. If you know the
995 specific type of processor in your system, choose those that one
996 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700997
998config CPU_R3000
999 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001000 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001001 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001002 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001003 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001004 help
1005 Please make sure to pick the right CPU type. Linux/MIPS is not
1006 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1007 *not* work on R4000 machines and vice versa. However, since most
1008 of the supported machines have an R4000 (or similar) CPU, R4x00
1009 might be a safe bet. If the resulting kernel does not work,
1010 try to recompile with R3000.
1011
1012config CPU_TX39XX
1013 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001014 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001015 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001016
1017config CPU_VR41XX
1018 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001019 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001020 select CPU_SUPPORTS_32BIT_KERNEL
1021 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001022 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001023 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001024 Only choose this option if you have one of these processors as a
1025 kernel built with this option will not run on any other type of
1026 processor or vice versa.
1027
1028config CPU_R4300
1029 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001030 depends on SYS_HAS_CPU_R4300
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001031 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001032 select CPU_SUPPORTS_32BIT_KERNEL
1033 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001034 help
1035 MIPS Technologies R4300-series processors.
1036
1037config CPU_R4X00
1038 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001039 depends on SYS_HAS_CPU_R4X00
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001040 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001041 select CPU_SUPPORTS_32BIT_KERNEL
1042 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001043 help
1044 MIPS Technologies R4000-series processors other than 4300, including
1045 the R4000, R4400, R4600, and 4700.
1046
1047config CPU_TX49XX
1048 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001049 depends on SYS_HAS_CPU_TX49XX
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001050 select CPU_HAS_LLSC
Atsushi Nemotode862b42006-03-17 12:59:22 +09001051 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001052 select CPU_SUPPORTS_32BIT_KERNEL
1053 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001054
1055config CPU_R5000
1056 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001057 depends on SYS_HAS_CPU_R5000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001058 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001059 select CPU_SUPPORTS_32BIT_KERNEL
1060 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001061 help
1062 MIPS Technologies R5000-series processors other than the Nevada.
1063
1064config CPU_R5432
1065 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001066 depends on SYS_HAS_CPU_R5432
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001067 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001068 select CPU_SUPPORTS_32BIT_KERNEL
1069 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001070
1071config CPU_R6000
1072 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001073 depends on EXPERIMENTAL
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001074 select CPU_HAS_LLSC
Ralf Baechle7cf80532005-10-20 22:33:09 +01001075 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001076 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001077 help
1078 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001079 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001080
1081config CPU_NEVADA
1082 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001083 depends on SYS_HAS_CPU_NEVADA
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001084 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001085 select CPU_SUPPORTS_32BIT_KERNEL
1086 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001087 help
1088 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1089
1090config CPU_R8000
1091 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001092 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001093 depends on SYS_HAS_CPU_R8000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001094 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001095 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001096 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001097 help
1098 MIPS Technologies R8000 processors. Note these processors are
1099 uncommon and the support for them is incomplete.
1100
1101config CPU_R10000
1102 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001103 depends on SYS_HAS_CPU_R10000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001104 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001105 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001106 select CPU_SUPPORTS_32BIT_KERNEL
1107 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001108 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001109 help
1110 MIPS Technologies R10000-series processors.
1111
1112config CPU_RM7000
1113 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001114 depends on SYS_HAS_CPU_RM7000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001115 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001116 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001117 select CPU_SUPPORTS_32BIT_KERNEL
1118 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001119 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001120
1121config CPU_RM9000
1122 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001123 depends on SYS_HAS_CPU_RM9000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001124 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001125 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001126 select CPU_SUPPORTS_32BIT_KERNEL
1127 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001128 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001129 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001130
1131config CPU_SB1
1132 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001133 depends on SYS_HAS_CPU_SB1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001134 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001135 select CPU_SUPPORTS_32BIT_KERNEL
1136 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001137 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001138 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001139
1140endchoice
1141
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001142config SYS_HAS_CPU_LOONGSON2
1143 bool
1144
Ralf Baechle7cf80532005-10-20 22:33:09 +01001145config SYS_HAS_CPU_MIPS32_R1
1146 bool
1147
1148config SYS_HAS_CPU_MIPS32_R2
1149 bool
1150
1151config SYS_HAS_CPU_MIPS64_R1
1152 bool
1153
1154config SYS_HAS_CPU_MIPS64_R2
1155 bool
1156
1157config SYS_HAS_CPU_R3000
1158 bool
1159
1160config SYS_HAS_CPU_TX39XX
1161 bool
1162
1163config SYS_HAS_CPU_VR41XX
1164 bool
1165
1166config SYS_HAS_CPU_R4300
1167 bool
1168
1169config SYS_HAS_CPU_R4X00
1170 bool
1171
1172config SYS_HAS_CPU_TX49XX
1173 bool
1174
1175config SYS_HAS_CPU_R5000
1176 bool
1177
1178config SYS_HAS_CPU_R5432
1179 bool
1180
1181config SYS_HAS_CPU_R6000
1182 bool
1183
1184config SYS_HAS_CPU_NEVADA
1185 bool
1186
1187config SYS_HAS_CPU_R8000
1188 bool
1189
1190config SYS_HAS_CPU_R10000
1191 bool
1192
1193config SYS_HAS_CPU_RM7000
1194 bool
1195
1196config SYS_HAS_CPU_RM9000
1197 bool
1198
1199config SYS_HAS_CPU_SB1
1200 bool
1201
Ralf Baechle17099b12007-07-14 13:24:05 +01001202#
1203# CPU may reorder R->R, R->W, W->R, W->W
1204# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1205#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001206config WEAK_ORDERING
1207 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001208
1209#
1210# CPU may reorder reads and writes beyond LL/SC
1211# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1212#
1213config WEAK_REORDERING_BEYOND_LLSC
1214 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001215endmenu
1216
1217#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001218# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001219#
1220config CPU_MIPS32
1221 bool
1222 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1223
1224config CPU_MIPS64
1225 bool
1226 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1227
1228#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001229# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001230#
1231config CPU_MIPSR1
1232 bool
1233 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1234
1235config CPU_MIPSR2
1236 bool
1237 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1238
1239config SYS_SUPPORTS_32BIT_KERNEL
1240 bool
1241config SYS_SUPPORTS_64BIT_KERNEL
1242 bool
1243config CPU_SUPPORTS_32BIT_KERNEL
1244 bool
1245config CPU_SUPPORTS_64BIT_KERNEL
1246 bool
1247
1248menu "Kernel type"
1249
1250choice
1251
1252 prompt "Kernel code model"
1253 help
1254 You should only select this option if you have a workload that
1255 actually benefits from 64-bit processing or if your machine has
1256 large memory. You will only be presented a single option in this
1257 menu if your system does not support both 32-bit and 64-bit kernels.
1258
1259config 32BIT
1260 bool "32-bit kernel"
1261 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1262 select TRAD_SIGNALS
1263 help
1264 Select this option if you want to build a 32-bit kernel.
1265config 64BIT
1266 bool "64-bit kernel"
1267 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1268 help
1269 Select this option if you want to build a 64-bit kernel.
1270
1271endchoice
1272
Linus Torvalds1da177e2005-04-16 15:20:36 -07001273choice
1274 prompt "Kernel page size"
1275 default PAGE_SIZE_4KB
1276
1277config PAGE_SIZE_4KB
1278 bool "4kB"
1279 help
1280 This option select the standard 4kB Linux page size. On some
1281 R3000-family processors this is the only available page size. Using
1282 4kB page size will minimize memory consumption and is therefore
1283 recommended for low memory systems.
1284
1285config PAGE_SIZE_8KB
1286 bool "8kB"
1287 depends on EXPERIMENTAL && CPU_R8000
1288 help
1289 Using 8kB page size will result in higher performance kernel at
1290 the price of higher memory consumption. This option is available
1291 only on the R8000 processor. Not that at the time of this writing
1292 this option is still high experimental; there are also issues with
1293 compatibility of user applications.
1294
1295config PAGE_SIZE_16KB
1296 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001297 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001298 help
1299 Using 16kB page size will result in higher performance kernel at
1300 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001301 all non-R3000 family processors. Note that you will need a suitable
1302 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001303
1304config PAGE_SIZE_64KB
1305 bool "64kB"
1306 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1307 help
1308 Using 64kB page size will result in higher performance kernel at
1309 the price of higher memory consumption. This option is available on
1310 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001311 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001312
1313endchoice
1314
1315config BOARD_SCACHE
1316 bool
1317
1318config IP22_CPU_SCACHE
1319 bool
1320 select BOARD_SCACHE
1321
Chris Dearman9318c512006-06-20 17:15:20 +01001322#
1323# Support for a MIPS32 / MIPS64 style S-caches
1324#
1325config MIPS_CPU_SCACHE
1326 bool
1327 select BOARD_SCACHE
1328
Linus Torvalds1da177e2005-04-16 15:20:36 -07001329config R5000_CPU_SCACHE
1330 bool
1331 select BOARD_SCACHE
1332
1333config RM7000_CPU_SCACHE
1334 bool
1335 select BOARD_SCACHE
1336
1337config SIBYTE_DMA_PAGEOPS
1338 bool "Use DMA to clear/copy pages"
1339 depends on CPU_SB1
1340 help
1341 Instead of using the CPU to zero and copy pages, use a Data Mover
1342 channel. These DMA channels are otherwise unused by the standard
1343 SiByte Linux port. Seems to give a small performance benefit.
1344
1345config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001346 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001347
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001348choice
1349 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001350
1351config MIPS_MT_DISABLED
1352 bool "Disable multithreading support."
1353 help
1354 Use this option if your workload can't take advantage of
1355 MIPS hardware multithreading support. On systems that don't have
1356 the option of an MT-enabled processor this option will be the only
1357 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001358
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001359config MIPS_MT_SMP
1360 bool "Use 1 TC on each available VPE for SMP"
1361 depends on SYS_SUPPORTS_MULTITHREADING
1362 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001363 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001364 select CPU_MIPSR2_SRS
1365 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001366 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001367 select SMP
1368 select SYS_SUPPORTS_SMP
1369 help
1370 This is a kernel model which is also known a VSMP or lately
1371 has been marketesed into SMVP.
1372
Ralf Baechle41c594a2006-04-05 09:45:45 +01001373config MIPS_MT_SMTC
1374 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001375 depends on CPU_MIPS32_R2
1376 #depends on CPU_MIPS64_R2 # once there is hardware ...
1377 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechleea580402007-10-11 23:46:09 +01001378 select GENERIC_CLOCKEVENTS_BROADCAST
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001379 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001380 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001381 select CPU_MIPSR2_SRS
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001382 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001383 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001384 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001385 select SYS_SUPPORTS_SMP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001386 help
1387 This is a kernel model which is known a SMTC or lately has been
1388 marketesed into SMVP.
Ralf Baechle41c594a2006-04-05 09:45:45 +01001389
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001390endchoice
1391
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001392config MIPS_MT
1393 bool
1394
1395config SYS_SUPPORTS_MULTITHREADING
1396 bool
1397
Ralf Baechlef088fc82006-04-05 09:45:47 +01001398config MIPS_MT_FPAFF
1399 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001400 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001401 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1402
1403config MIPS_VPE_LOADER
1404 bool "VPE loader support."
1405 depends on SYS_SUPPORTS_MULTITHREADING
1406 select CPU_MIPSR2_IRQ_VI
1407 select CPU_MIPSR2_IRQ_EI
1408 select CPU_MIPSR2_SRS
1409 select MIPS_MT
1410 help
1411 Includes a loader for loading an elf relocatable object
1412 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001413
Ralf Baechleac8be952007-01-20 00:18:01 +00001414config MIPS_MT_SMTC_INSTANT_REPLAY
1415 bool "Low-latency Dispatch of Deferred SMTC IPIs"
Ralf Baechle619af722007-03-26 15:13:57 +01001416 depends on MIPS_MT_SMTC && !PREEMPT
Ralf Baechleac8be952007-01-20 00:18:01 +00001417 default y
1418 help
1419 SMTC pseudo-interrupts between TCs are deferred and queued
1420 if the target TC is interrupt-inhibited (IXMT). In the first
1421 SMTC prototypes, these queued IPIs were serviced on return
1422 to user mode, or on entry into the kernel idle loop. The
1423 INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1424 processing, which adds runtime overhead (hence the option to turn
1425 it off), but ensures that IPIs are handled promptly even under
1426 heavy I/O interrupt load.
1427
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001428config MIPS_MT_SMTC_IM_BACKSTOP
1429 bool "Use per-TC register bits as backstop for inhibited IM bits"
1430 depends on MIPS_MT_SMTC
1431 default y
1432 help
1433 To support multiple TC microthreads acting as "CPUs" within
1434 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1435 during interrupt handling. To support legacy drivers and interrupt
1436 controller management code, SMTC has a "backstop" to track and
1437 if necessary restore the interrupt mask. This has some performance
1438 impact on interrupt service overhead. Disable it only if you know
1439 what you are doing.
1440
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001441config MIPS_MT_SMTC_IRQAFF
1442 bool "Support IRQ affinity API"
1443 depends on MIPS_MT_SMTC
1444 default n
1445 help
1446 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1447 for SMTC Linux kernel. Requires platform support, of which
1448 an example can be found in the MIPS kernel i8259 and Malta
1449 platform code. It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1450 be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1451 interrupt dispatch, and should be used only if you know what
1452 you are doing.
1453
Ralf Baechlee01402b2005-07-14 15:57:16 +00001454config MIPS_VPE_LOADER_TOM
1455 bool "Load VPE program into memory hidden from linux"
1456 depends on MIPS_VPE_LOADER
1457 default y
1458 help
1459 The loader can use memory that is present but has been hidden from
1460 Linux using the kernel command line option "mem=xxMB". It's up to
1461 you to ensure the amount you put in the option and the space your
1462 program requires is less or equal to the amount physically present.
1463
1464# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1465config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001466 bool "Enable support for AP/SP API (RTLX)"
1467 depends on MIPS_VPE_LOADER
1468 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001469
Ralf Baechle26009902006-04-05 09:45:45 +01001470config MIPS_APSP_KSPD
1471 bool "Enable KSPD"
1472 depends on MIPS_VPE_APSP_API
1473 default y
1474 help
1475 KSPD is a kernel daemon that accepts syscall requests from the SP
1476 side, actions them and returns the results. It also handles the
1477 "exit" syscall notifying other kernel modules the SP program is
1478 exiting. You probably want to say yes here.
1479
Linus Torvalds1da177e2005-04-16 15:20:36 -07001480config SB1_PASS_1_WORKAROUNDS
1481 bool
1482 depends on CPU_SB1_PASS_1
1483 default y
1484
1485config SB1_PASS_2_WORKAROUNDS
1486 bool
1487 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1488 default y
1489
1490config SB1_PASS_2_1_WORKAROUNDS
1491 bool
1492 depends on CPU_SB1 && CPU_SB1_PASS_2
1493 default y
1494
1495config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001496 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001497
Linus Torvalds1da177e2005-04-16 15:20:36 -07001498config CPU_HAS_LLSC
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001499 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001500
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001501config CPU_HAS_SMARTMIPS
1502 depends on SYS_SUPPORTS_SMARTMIPS
1503 bool "Support for the SmartMIPS ASE"
1504 help
1505 SmartMIPS is a extension of the MIPS32 architecture aimed at
1506 increased security at both hardware and software level for
1507 smartcards. Enabling this option will allow proper use of the
1508 SmartMIPS instructions by Linux applications. However a kernel with
1509 this option will not work on a MIPS core without SmartMIPS core. If
1510 you don't know you probably don't have SmartMIPS and should say N
1511 here.
1512
Linus Torvalds1da177e2005-04-16 15:20:36 -07001513config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001514 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001515
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001516config 64BIT_CONTEXT
1517 bool "Save 64bit integer registers"
1518 depends on 32BIT && CPU_LOONGSON2
1519 help
1520 Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
1521 registers can still be accessed as 64bit, mainly for multimedia
1522 instructions. We must have all 64bit save/restored to make sure
1523 those instructions to get correct result.
1524
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001525#
1526# Vectored interrupt mode is an R2 feature
1527#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001528config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001529 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001530
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001531#
1532# Extended interrupt mode is an R2 feature
1533#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001534config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001535 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001536
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001537#
1538# Shadow registers are an R2 feature
1539#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001540config CPU_MIPSR2_SRS
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001541 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001542
Linus Torvalds1da177e2005-04-16 15:20:36 -07001543config CPU_HAS_SYNC
1544 bool
1545 depends on !CPU_R3000
1546 default y
1547
Ralf Baechleea580402007-10-11 23:46:09 +01001548config GENERIC_CLOCKEVENTS_BROADCAST
1549 bool
1550
Linus Torvalds1da177e2005-04-16 15:20:36 -07001551#
Ralf Baechle797798c2005-08-10 15:17:11 +00001552# Use the generic interrupt handling code in kernel/irq/:
1553#
1554config GENERIC_HARDIRQS
1555 bool
1556 default y
1557
1558config GENERIC_IRQ_PROBE
1559 bool
1560 default y
1561
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001562config IRQ_PER_CPU
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001563 bool
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001564
Ralf Baechle797798c2005-08-10 15:17:11 +00001565#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001566# - Highmem only makes sense for the 32-bit kernel.
1567# - The current highmem code will only work properly on physically indexed
1568# caches such as R3000, SB1, R7000 or those that look like they're virtually
1569# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1570# moment we protect the user and offer the highmem option only on machines
1571# where it's known to be safe. This will not offer highmem on a few systems
1572# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1573# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001574# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1575# know they might have memory configurations that could make use of highmem
1576# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001577#
1578config HIGHMEM
1579 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001580 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1581
1582config CPU_SUPPORTS_HIGHMEM
1583 bool
1584
1585config SYS_SUPPORTS_HIGHMEM
1586 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001587
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001588config SYS_SUPPORTS_SMARTMIPS
1589 bool
1590
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001591config ARCH_FLATMEM_ENABLE
1592 def_bool y
1593 depends on !NUMA
1594
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001595config ARCH_DISCONTIGMEM_ENABLE
1596 bool
1597 default y if SGI_IP27
1598 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001599 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001600 for architectures which are either NUMA (Non-Uniform Memory Access)
1601 or have huge holes in the physical address space for other reasons.
1602 See <file:Documentation/vm/numa> for more.
1603
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001604config ARCH_SPARSEMEM_ENABLE
1605 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001606 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001607
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001608config NUMA
1609 bool "NUMA Support"
1610 depends on SYS_SUPPORTS_NUMA
1611 help
1612 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1613 Access). This option improves performance on systems with more
1614 than two nodes; on two node systems it is generally better to
1615 leave it disabled; on single node systems disable this option
1616 disabled.
1617
1618config SYS_SUPPORTS_NUMA
1619 bool
1620
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07001621config NODES_SHIFT
1622 int
1623 default "6"
1624 depends on NEED_MULTIPLE_NODES
1625
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001626source "mm/Kconfig"
1627
Linus Torvalds1da177e2005-04-16 15:20:36 -07001628config SMP
1629 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01001630 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01001631 select IRQ_PER_CPU
Ralf Baechlee73ea272006-06-04 11:51:46 +01001632 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07001633 This enables support for systems with more than one CPU. If you have
1634 a system with only one CPU, like most personal computers, say N. If
1635 you have a system with more than one CPU, say Y.
1636
1637 If you say N here, the kernel will run on single and multiprocessor
1638 machines, but will use only one CPU of a multiprocessor machine. If
1639 you say Y here, the kernel will run on many, but not all,
1640 singleprocessor machines. On a singleprocessor machine, the kernel
1641 will run faster if you say N here.
1642
1643 People using multiprocessor machines who say Y here should also say
1644 Y to "Enhanced Real Time Clock Support", below.
1645
1646 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1647 available at <http://www.tldp.org/docs.html#howto>.
1648
1649 If you don't know what to do here, say N.
1650
Ralf Baechlee73ea272006-06-04 11:51:46 +01001651config SYS_SUPPORTS_SMP
1652 bool
1653
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001654config NR_CPUS_DEFAULT_1
1655 bool
1656
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001657config NR_CPUS_DEFAULT_2
1658 bool
1659
1660config NR_CPUS_DEFAULT_4
1661 bool
1662
1663config NR_CPUS_DEFAULT_8
1664 bool
1665
1666config NR_CPUS_DEFAULT_16
1667 bool
1668
1669config NR_CPUS_DEFAULT_32
1670 bool
1671
1672config NR_CPUS_DEFAULT_64
1673 bool
1674
Linus Torvalds1da177e2005-04-16 15:20:36 -07001675config NR_CPUS
1676 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001677 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07001678 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001679 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001680 default "2" if NR_CPUS_DEFAULT_2
1681 default "4" if NR_CPUS_DEFAULT_4
1682 default "8" if NR_CPUS_DEFAULT_8
1683 default "16" if NR_CPUS_DEFAULT_16
1684 default "32" if NR_CPUS_DEFAULT_32
1685 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07001686 help
1687 This allows you to specify the maximum number of CPUs which this
1688 kernel will support. The maximum supported value is 32 for 32-bit
1689 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001690 sense is 1 for Qemu (useful only for kernel debugging purposes)
1691 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001692
1693 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001694 approximately eight kilobytes to the kernel image. For best
1695 performance should round up your number of processors to the next
1696 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001697
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001698#
1699# Timer Interrupt Frequency Configuration
1700#
1701
1702choice
1703 prompt "Timer frequency"
1704 default HZ_250
1705 help
1706 Allows the configuration of the timer frequency.
1707
1708 config HZ_48
1709 bool "48 HZ" if SYS_SUPPORTS_48HZ
1710
1711 config HZ_100
1712 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1713
1714 config HZ_128
1715 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1716
1717 config HZ_250
1718 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1719
1720 config HZ_256
1721 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1722
1723 config HZ_1000
1724 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1725
1726 config HZ_1024
1727 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1728
1729endchoice
1730
1731config SYS_SUPPORTS_48HZ
1732 bool
1733
1734config SYS_SUPPORTS_100HZ
1735 bool
1736
1737config SYS_SUPPORTS_128HZ
1738 bool
1739
1740config SYS_SUPPORTS_250HZ
1741 bool
1742
1743config SYS_SUPPORTS_256HZ
1744 bool
1745
1746config SYS_SUPPORTS_1000HZ
1747 bool
1748
1749config SYS_SUPPORTS_1024HZ
1750 bool
1751
1752config SYS_SUPPORTS_ARBIT_HZ
1753 bool
1754 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1755 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1756 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1757 !SYS_SUPPORTS_1024HZ
1758
1759config HZ
1760 int
1761 default 48 if HZ_48
1762 default 100 if HZ_100
1763 default 128 if HZ_128
1764 default 250 if HZ_250
1765 default 256 if HZ_256
1766 default 1000 if HZ_1000
1767 default 1024 if HZ_1024
1768
Ralf Baechlee80de852005-07-11 20:45:51 +00001769source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001770
Linus Torvalds1da177e2005-04-16 15:20:36 -07001771config MIPS_INSANE_LARGE
1772 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001773 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001774 help
1775 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1776 previous 64-bit processors which only supported 40 bit / 1TB. If you
1777 need processes of more than 1TB virtual address space, say Y here.
1778 This will result in additional memory usage, so it is not
1779 recommended for normal users.
1780
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001781config KEXEC
1782 bool "Kexec system call (EXPERIMENTAL)"
1783 depends on EXPERIMENTAL
1784 help
1785 kexec is a system call that implements the ability to shutdown your
1786 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02001787 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001788 you can start any kernel with it, not just Linux.
1789
1790 The name comes from the similiarity to the exec system call.
1791
1792 It is an ongoing process to be certain the hardware in a machine
1793 is properly shutdown, so do not be surprised if this code does not
1794 initially work for you. It may help to enable device hotplugging
1795 support. As of this writing the exact hardware interface is
1796 strongly in flux, so no good recommendation can be made.
1797
1798config SECCOMP
1799 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01001800 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001801 default y
1802 help
1803 This kernel feature is useful for number crunching applications
1804 that may need to compute untrusted bytecode during their
1805 execution. By using pipes or other transports made available to
1806 the process as file descriptors supporting the read/write
1807 syscalls, it's possible to isolate those applications in
1808 their own address space using seccomp. Once seccomp is
1809 enabled via /proc/<pid>/seccomp, it cannot be disabled
1810 and the task is only allowed to execute a few safe syscalls
1811 defined by each seccomp mode.
1812
1813 If unsure, say Y. Only embedded should say N here.
1814
Ralf Baechle5e83d432005-10-29 19:32:41 +01001815endmenu
1816
Linus Torvalds1da177e2005-04-16 15:20:36 -07001817config RWSEM_GENERIC_SPINLOCK
1818 bool
1819 default y
1820
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09001821config LOCKDEP_SUPPORT
1822 bool
1823 default y
1824
1825config STACKTRACE_SUPPORT
1826 bool
1827 default y
1828
Ralf Baechleb6c35392005-11-25 11:35:40 +00001829source "init/Kconfig"
1830
Linus Torvalds1da177e2005-04-16 15:20:36 -07001831menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1832
Ralf Baechle5e83d432005-10-29 19:32:41 +01001833config HW_HAS_EISA
1834 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001835config HW_HAS_PCI
1836 bool
1837
1838config PCI
1839 bool "Support for PCI controller"
1840 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01001841 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07001842 help
1843 Find out whether you have a PCI motherboard. PCI is the name of a
1844 bus system, i.e. the way the CPU talks to the other stuff inside
1845 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1846 say Y, otherwise N.
1847
1848 The PCI-HOWTO, available from
1849 <http://www.tldp.org/docs.html#howto>, contains valuable
1850 information about which PCI hardware does work under Linux and which
1851 doesn't.
1852
1853config PCI_DOMAINS
1854 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001855
1856source "drivers/pci/Kconfig"
1857
1858#
1859# ISA support is now enabled via select. Too many systems still have the one
1860# or other ISA chip on the board that users don't know about so don't expect
1861# users to choose the right thing ...
1862#
1863config ISA
1864 bool
1865
1866config EISA
1867 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01001868 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07001869 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00001870 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07001871 ---help---
1872 The Extended Industry Standard Architecture (EISA) bus was
1873 developed as an open alternative to the IBM MicroChannel bus.
1874
1875 The EISA bus provided some of the features of the IBM MicroChannel
1876 bus while maintaining backward compatibility with cards made for
1877 the older ISA bus. The EISA bus saw limited use between 1988 and
1878 1995 when it was made obsolete by the PCI bus.
1879
1880 Say Y here if you are building a kernel for an EISA-based machine.
1881
1882 Otherwise, say N.
1883
1884source "drivers/eisa/Kconfig"
1885
1886config TC
1887 bool "TURBOchannel support"
1888 depends on MACH_DECSTATION
1889 help
1890 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
1891 processors. Documentation on writing device drivers for TurboChannel
1892 is available at:
1893 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
1894
1895#config ACCESSBUS
1896# bool "Access.Bus support"
1897# depends on TC
1898
1899config MMU
1900 bool
1901 default y
1902
Ralf Baechled865bea2007-10-11 23:46:10 +01001903config I8253
1904 bool
1905
Ralf Baechlede61b542007-07-12 17:41:23 +01001906config PCSPEAKER
Michael Neulinge5c6c8e2006-03-14 00:11:50 -05001907 bool
1908
Linus Torvalds1da177e2005-04-16 15:20:36 -07001909source "drivers/pcmcia/Kconfig"
1910
1911source "drivers/pci/hotplug/Kconfig"
1912
1913endmenu
1914
1915menu "Executable file formats"
1916
1917source "fs/Kconfig.binfmt"
1918
1919config TRAD_SIGNALS
1920 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001921
Linus Torvalds1da177e2005-04-16 15:20:36 -07001922config BINFMT_IRIX
1923 bool "Include IRIX binary compatibility"
Ralf Baechle5e83d432005-10-29 19:32:41 +01001924 depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -07001925
1926config MIPS32_COMPAT
1927 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001928 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001929 help
1930 Select this option if you want Linux/MIPS 32-bit binary
1931 compatibility. Since all software available for Linux/MIPS is
1932 currently 32-bit you should say Y here.
1933
1934config COMPAT
1935 bool
1936 depends on MIPS32_COMPAT
1937 default y
1938
Atsushi Nemoto05e43962006-11-07 18:02:44 +09001939config SYSVIPC_COMPAT
1940 bool
1941 depends on COMPAT && SYSVIPC
1942 default y
1943
Linus Torvalds1da177e2005-04-16 15:20:36 -07001944config MIPS32_O32
1945 bool "Kernel support for o32 binaries"
1946 depends on MIPS32_COMPAT
1947 help
1948 Select this option if you want to run o32 binaries. These are pure
1949 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
1950 existing binaries are in this format.
1951
1952 If unsure, say Y.
1953
1954config MIPS32_N32
1955 bool "Kernel support for n32 binaries"
1956 depends on MIPS32_COMPAT
1957 help
1958 Select this option if you want to run n32 binaries. These are
1959 64-bit binaries using 32-bit quantities for addressing and certain
1960 data that would normally be 64-bit. They are used in special
1961 cases.
1962
1963 If unsure, say N.
1964
1965config BINFMT_ELF32
1966 bool
1967 default y if MIPS32_O32 || MIPS32_N32
1968
Ralf Baechle21162452007-02-09 17:08:58 +00001969endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07001970
Ralf Baechle21162452007-02-09 17:08:58 +00001971menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02001972
Ralf Baechle21162452007-02-09 17:08:58 +00001973source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02001974
Linus Torvalds1da177e2005-04-16 15:20:36 -07001975endmenu
1976
Sam Ravnborgd5950b42005-07-11 21:03:49 -07001977source "net/Kconfig"
1978
Linus Torvalds1da177e2005-04-16 15:20:36 -07001979source "drivers/Kconfig"
1980
1981source "fs/Kconfig"
1982
Ralf Baechle5e83d432005-10-29 19:32:41 +01001983source "arch/mips/oprofile/Kconfig"
1984
Linus Torvalds1da177e2005-04-16 15:20:36 -07001985source "arch/mips/Kconfig.debug"
1986
1987source "security/Kconfig"
1988
1989source "crypto/Kconfig"
1990
1991source "lib/Kconfig"