blob: 224e548f0fc8dacc53b077e1769f1607721d0ee6 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config MIPS
2 bool
3 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +01004 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -05005 select HAVE_OPROFILE
Jason Wessel88547002008-07-29 15:58:53 -05006 select HAVE_ARCH_KGDB
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 # Horrible source of confusion. Die, die, die ...
8 select EMBEDDED
Wu Zhangjin8e497112009-07-02 23:26:08 +08009 select RTC_LIB if !LEMOTE_FULOONG2E
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Linus Torvalds1da177e2005-04-16 15:20:36 -070011mainmenu "Linux/MIPS Kernel Configuration"
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013menu "Machine selection"
14
Christoph Lameter5ac6da62007-02-10 01:43:14 -080015config ZONE_DMA
16 bool
Christoph Lameter5ac6da62007-02-10 01:43:14 -080017
Ralf Baechle5e83d432005-10-29 19:32:41 +010018choice
19 prompt "System type"
20 default SGI_IP22
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Yoichi Yuasac3543e22007-05-11 20:44:30 +090022config MACH_ALCHEMY
23 bool "Alchemy processor based machines"
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
Florian Fainelli7ca5dc12009-06-24 11:12:57 +020025config AR7
26 bool "Texas Instruments AR7"
27 select BOOT_ELF32
28 select DMA_NONCOHERENT
29 select CEVT_R4K
30 select CSRC_R4K
31 select IRQ_CPU
32 select NO_EXCEPT_FILL
33 select SWAP_IO_SPACE
34 select SYS_HAS_CPU_MIPS32_R1
35 select SYS_HAS_EARLY_PRINTK
36 select SYS_SUPPORTS_32BIT_KERNEL
37 select SYS_SUPPORTS_LITTLE_ENDIAN
38 select GENERIC_GPIO
39 select GCD
40 select VLYNQ
41 help
42 Support for the Texas Instruments AR7 System-on-a-Chip
43 family: TNETD7100, 7200 and 7300.
44
Ralf Baechle35189fa2006-06-18 16:39:46 +010045config BASLER_EXCITE
Thomas Koellerbe915892007-02-23 01:40:34 +010046 bool "Basler eXcite smart camera"
Ralf Baechle42f77542007-10-18 17:48:11 +010047 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000048 select CSRC_R4K
Ralf Baechle35189fa2006-06-18 16:39:46 +010049 select DMA_COHERENT
50 select HW_HAS_PCI
51 select IRQ_CPU
52 select IRQ_CPU_RM7K
53 select IRQ_CPU_RM9K
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +020054 select MIPS_RM9122
Ralf Baechle35189fa2006-06-18 16:39:46 +010055 select SYS_HAS_CPU_RM9000
56 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle35189fa2006-06-18 16:39:46 +010057 select SYS_SUPPORTS_BIG_ENDIAN
58 help
59 The eXcite is a smart camera platform manufactured by
Thomas Koellerbe915892007-02-23 01:40:34 +010060 Basler Vision Technologies AG.
Ralf Baechle35189fa2006-06-18 16:39:46 +010061
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020062config BCM47XX
63 bool "BCM47XX based boards"
Ralf Baechle42f77542007-10-18 17:48:11 +010064 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000065 select CSRC_R4K
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020066 select DMA_NONCOHERENT
67 select HW_HAS_PCI
68 select IRQ_CPU
69 select SYS_HAS_CPU_MIPS32_R1
70 select SYS_SUPPORTS_32BIT_KERNEL
71 select SYS_SUPPORTS_LITTLE_ENDIAN
72 select SSB
73 select SSB_DRIVER_MIPS
Aurelien Jarno2f02c152007-12-11 11:30:34 +010074 select SSB_DRIVER_EXTIF
Aurelien Jarnob06f3e12008-10-14 11:44:26 +020075 select SSB_EMBEDDED
Aurelien Jarno2f02c152007-12-11 11:30:34 +010076 select SSB_PCICORE_HOSTMODE if PCI
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020077 select GENERIC_GPIO
Aurelien Jarno25e5fb92007-09-25 15:41:24 +020078 select SYS_HAS_EARLY_PRINTK
79 select CFE
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020080 help
81 Support for BCM47XX based boards
82
Linus Torvalds1da177e2005-04-16 15:20:36 -070083config MIPS_COBALT
Martin Michlmayr3fa986f2006-05-09 23:34:53 +020084 bool "Cobalt Server"
Ralf Baechle42f77542007-10-18 17:48:11 +010085 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000086 select CSRC_R4K
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +090087 select CEVT_GT641XX
Linus Torvalds1da177e2005-04-16 15:20:36 -070088 select DMA_NONCOHERENT
89 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +010090 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -070091 select I8259
92 select IRQ_CPU
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +090093 select IRQ_GT641XX
Yoichi Yuasa252161e2007-03-14 21:51:26 +090094 select PCI_GT64XXX_PCI0
Yoichi Yuasae25bfc92009-06-02 23:17:07 +090095 select PCI
Ralf Baechle7cf80532005-10-20 22:33:09 +010096 select SYS_HAS_CPU_NEVADA
Yoichi Yuasa0a22e0d2007-03-02 12:42:33 +090097 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -070098 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli0e8774b2008-01-15 19:42:57 +010099 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100100 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101
102config MACH_DECSTATION
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200103 bool "DECstations"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104 select BOOT_ELF32
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900105 select CEVT_DS1287
Ralf Baechle42f77542007-10-18 17:48:11 +0100106 select CEVT_R4K
Yoichi Yuasa42474172008-04-24 09:48:40 +0900107 select CSRC_IOASIC
Ralf Baechle940f6b42007-11-24 22:33:28 +0000108 select CSRC_R4K
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +0100109 select CPU_DADDI_WORKAROUNDS if 64BIT
110 select CPU_R4000_WORKAROUNDS if 64BIT
111 select CPU_R4400_WORKAROUNDS if 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112 select DMA_NONCOHERENT
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100113 select NO_IOPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 select IRQ_CPU
Ralf Baechle7cf80532005-10-20 22:33:09 +0100115 select SYS_HAS_CPU_R3000
116 select SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700117 select SYS_SUPPORTS_32BIT_KERNEL
118 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100119 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900120 select SYS_SUPPORTS_128HZ
121 select SYS_SUPPORTS_256HZ
122 select SYS_SUPPORTS_1024HZ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100123 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124 This enables support for DEC's MIPS based workstations. For details
125 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
126 DECstation porting pages on <http://decstation.unix-ag.org/>.
127
128 If you have one of the following DECstation Models you definitely
129 want to choose R4xx0 for the CPU Type:
130
Ralf Baechle93088162007-08-29 14:21:45 +0100131 DECstation 5000/50
132 DECstation 5000/150
133 DECstation 5000/260
134 DECsystem 5900/260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700135
136 otherwise choose R3000.
137
Ralf Baechle5e83d432005-10-29 19:32:41 +0100138config MACH_JAZZ
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200139 bool "Jazz family of machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100140 select ARC
141 select ARC32
142 select ARCH_MAY_HAVE_PC_FDC
Ralf Baechle42f77542007-10-18 17:48:11 +0100143 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000144 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100145 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100146 select GENERIC_ISA_DMA
Thomas Bogendoerferea202c62007-08-25 11:01:50 +0200147 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100148 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100149 select I8259
150 select ISA
Ralf Baechle7cf80532005-10-20 22:33:09 +0100151 select SYS_HAS_CPU_R4X00
Ralf Baechle5e83d432005-10-29 19:32:41 +0100152 select SYS_SUPPORTS_32BIT_KERNEL
153 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900154 select SYS_SUPPORTS_100HZ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100156 This a family of machines based on the MIPS R4030 chipset which was
157 used by several vendors to build RISC/os and Windows NT workstations.
Matt LaPlante692105b2009-01-26 11:12:25 +0100158 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
Ralf Baechle5e83d432005-10-29 19:32:41 +0100159 Olivetti M700-10 workstations.
160
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200161config LASAT
162 bool "LASAT Networks platforms"
Ralf Baechle42f77542007-10-18 17:48:11 +0100163 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000164 select CSRC_R4K
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200165 select DMA_NONCOHERENT
166 select SYS_HAS_EARLY_PRINTK
167 select HW_HAS_PCI
Ralf Baechlea5ccfe52007-10-14 23:49:33 +0100168 select IRQ_CPU
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200169 select PCI_GT64XXX_PCI0
170 select MIPS_NILE4
171 select R5000_CPU_SCACHE
172 select SYS_HAS_CPU_R5000
173 select SYS_SUPPORTS_32BIT_KERNEL
174 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
175 select SYS_SUPPORTS_LITTLE_ENDIAN
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200176
Wu Zhangjin85749d22009-07-02 23:26:45 +0800177config MACH_LOONGSON
178 bool "Loongson family of machines"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900179 help
Wu Zhangjin85749d22009-07-02 23:26:45 +0800180 This enables the support of Loongson family of machines.
181
182 Loongson is a family of general-purpose MIPS-compatible CPUs.
183 developed at Institute of Computing Technology (ICT),
184 Chinese Academy of Sciences (CAS) in the People's Republic
185 of China. The chief architect is Professor Weiwu Hu.
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900186
Linus Torvalds1da177e2005-04-16 15:20:36 -0700187config MIPS_MALTA
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200188 bool "MIPS Malta board"
Ralf Baechle61ed2422005-09-15 08:52:34 +0000189 select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700190 select BOOT_ELF32
Ralf Baechlefa71c962008-01-29 10:15:00 +0000191 select BOOT_RAW
Ralf Baechle42f77542007-10-18 17:48:11 +0100192 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000193 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700194 select DMA_NONCOHERENT
195 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000196 select IRQ_CPU
Ralf Baechle39b8d522008-04-28 17:14:26 +0100197 select IRQ_GIC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700198 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100199 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700200 select I8259
Ralf Baechle5e83d432005-10-29 19:32:41 +0100201 select MIPS_BOARDS_GEN
202 select MIPS_BONITO64
Chris Dearman9318c512006-06-20 17:15:20 +0100203 select MIPS_CPU_SCACHE
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900204 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100205 select MIPS_MSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700206 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100207 select SYS_HAS_CPU_MIPS32_R1
208 select SYS_HAS_CPU_MIPS32_R2
209 select SYS_HAS_CPU_MIPS64_R1
210 select SYS_HAS_CPU_NEVADA
211 select SYS_HAS_CPU_RM7000
Ralf Baechle36a88532007-03-01 11:56:43 +0000212 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700213 select SYS_SUPPORTS_32BIT_KERNEL
214 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100215 select SYS_SUPPORTS_BIG_ENDIAN
216 select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson03650702009-06-17 16:22:53 -0700217 select SYS_SUPPORTS_MIPS_CMP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100218 select SYS_SUPPORTS_MULTITHREADING
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100219 select SYS_SUPPORTS_SMARTMIPS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700220 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000221 This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700222 board.
223
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100224config MIPS_SIM
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200225 bool 'MIPS simulator (MIPSsim)'
Ralf Baechle42f77542007-10-18 17:48:11 +0100226 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000227 select CSRC_R4K
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100228 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000229 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100230 select IRQ_CPU
Marc St-Jean9267a302007-06-14 15:55:31 -0600231 select BOOT_RAW
Ralf Baechle7cf80532005-10-20 22:33:09 +0100232 select SYS_HAS_CPU_MIPS32_R1
233 select SYS_HAS_CPU_MIPS32_R2
Ralf Baechle36a88532007-03-01 11:56:43 +0000234 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100235 select SYS_SUPPORTS_32BIT_KERNEL
236 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlef6e23732007-07-10 17:32:56 +0100237 select SYS_SUPPORTS_MULTITHREADING
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100238 select SYS_SUPPORTS_LITTLE_ENDIAN
239 help
240 This option enables support for MIPS Technologies MIPSsim software
241 emulator.
242
Ralf Baechlea83860c2009-03-13 21:17:57 +0100243config NEC_MARKEINS
244 bool "NEC EMMA2RH Mark-eins board"
245 select SOC_EMMA2RH
246 select HW_HAS_PCI
247 help
248 This enables support for the NEC Electronics Mark-eins boards.
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900249
Ralf Baechle5e83d432005-10-29 19:32:41 +0100250config MACH_VR41XX
Yoichi Yuasa74142d62007-04-26 19:45:09 +0900251 bool "NEC VR4100 series based machines"
Ralf Baechle42f77542007-10-18 17:48:11 +0100252 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000253 select CSRC_R4K
Ralf Baechle7cf80532005-10-20 22:33:09 +0100254 select SYS_HAS_CPU_VR41XX
Yoichi Yuasa27fdd322009-06-29 11:11:05 +0900255 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle5e83d432005-10-29 19:32:41 +0100256
Daniel Lairdedb63102008-06-16 15:49:21 +0100257config NXP_STB220
258 bool "NXP STB220 board"
259 select SOC_PNX833X
260 help
261 Support for NXP Semiconductors STB220 Development Board.
262
263config NXP_STB225
264 bool "NXP 225 board"
265 select SOC_PNX833X
266 select SOC_PNX8335
267 help
268 Support for NXP Semiconductors STB225 Development Board.
269
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900270config PNX8550_JBS
Daniel Lairda92b0582008-03-06 09:07:18 +0000271 bool "NXP PNX8550 based JBS board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900272 select PNX8550
273 select SYS_SUPPORTS_LITTLE_ENDIAN
274
275config PNX8550_STB810
Daniel Lairda92b0582008-03-06 09:07:18 +0000276 bool "NXP PNX8550 based STB810 board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900277 select PNX8550
278 select SYS_SUPPORTS_LITTLE_ENDIAN
279
Marc St-Jean9267a302007-06-14 15:55:31 -0600280config PMC_MSP
281 bool "PMC-Sierra MSP chipsets"
282 depends on EXPERIMENTAL
283 select DMA_NONCOHERENT
284 select SWAP_IO_SPACE
285 select NO_EXCEPT_FILL
286 select BOOT_RAW
287 select SYS_HAS_CPU_MIPS32_R1
288 select SYS_HAS_CPU_MIPS32_R2
289 select SYS_SUPPORTS_32BIT_KERNEL
290 select SYS_SUPPORTS_BIG_ENDIAN
Marc St-Jean9267a302007-06-14 15:55:31 -0600291 select IRQ_CPU
292 select SERIAL_8250
293 select SERIAL_8250_CONSOLE
294 help
295 This adds support for the PMC-Sierra family of Multi-Service
296 Processor System-On-A-Chips. These parts include a number
297 of integrated peripherals, interfaces and DSPs in addition to
298 a variety of MIPS cores.
299
Ralf Baechle5e83d432005-10-29 19:32:41 +0100300config PMC_YOSEMITE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200301 bool "PMC-Sierra Yosemite eval board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100302 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000303 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100304 select DMA_COHERENT
305 select HW_HAS_PCI
306 select IRQ_CPU
307 select IRQ_CPU_RM7K
308 select IRQ_CPU_RM9K
309 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100310 select SYS_HAS_CPU_RM9000
Ralf Baechle36a88532007-03-01 11:56:43 +0000311 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100312 select SYS_SUPPORTS_32BIT_KERNEL
313 select SYS_SUPPORTS_64BIT_KERNEL
314 select SYS_SUPPORTS_BIG_ENDIAN
315 select SYS_SUPPORTS_HIGHMEM
Ralf Baechlee73ea272006-06-04 11:51:46 +0100316 select SYS_SUPPORTS_SMP
Ralf Baechle5e83d432005-10-29 19:32:41 +0100317 help
318 Yosemite is an evaluation board for the RM9000x2 processor
319 manufactured by PMC-Sierra.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700320
Linus Torvalds1da177e2005-04-16 15:20:36 -0700321config SGI_IP22
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200322 bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700323 select ARC
324 select ARC32
325 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100326 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000327 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100328 select DEFAULT_SGI_PARTITION
Linus Torvalds1da177e2005-04-16 15:20:36 -0700329 select DMA_NONCOHERENT
Ralf Baechle5e83d432005-10-29 19:32:41 +0100330 select HW_HAS_EISA
Ralf Baechled865bea2007-10-11 23:46:10 +0100331 select I8253
Thomas Bogendoerfer68de4802007-11-23 20:34:16 +0100332 select I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700333 select IP22_CPU_SCACHE
334 select IRQ_CPU
Ralf Baechleaa414df2006-11-30 01:14:51 +0000335 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100336 select SGI_HAS_I8042
337 select SGI_HAS_INDYDOG
Thomas Bogendoerfer36e5c212008-07-16 14:06:15 +0200338 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100339 select SGI_HAS_SEEQ
340 select SGI_HAS_WD93
341 select SGI_HAS_ZILOG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700342 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100343 select SYS_HAS_CPU_R4X00
344 select SYS_HAS_CPU_R5000
Ralf Baechle36a88532007-03-01 11:56:43 +0000345 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700346 select SYS_SUPPORTS_32BIT_KERNEL
347 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100348 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700349 help
350 This are the SGI Indy, Challenge S and Indigo2, as well as certain
351 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
352 that runs on these, say Y here.
353
354config SGI_IP27
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200355 bool "SGI IP27 (Origin200/2000)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700356 select ARC
357 select ARC64
Ralf Baechle5e83d432005-10-29 19:32:41 +0100358 select BOOT_ELF64
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100359 select DEFAULT_SGI_PARTITION
Ralf Baechle634286f2009-01-28 17:48:40 +0000360 select DMA_COHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000361 select SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700362 select HW_HAS_PCI
Ralf Baechle130e2fb2007-02-06 16:53:15 +0000363 select NR_CPUS_DEFAULT_64
Ralf Baechle7cf80532005-10-20 22:33:09 +0100364 select SYS_HAS_CPU_R10000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700365 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100366 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechled8cb4e12006-06-11 23:03:08 +0100367 select SYS_SUPPORTS_NUMA
Ralf Baechle1a5c5de2006-11-02 17:23:33 +0000368 select SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700369 help
370 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
371 workstations. To compile a Linux kernel that runs on these, say Y
372 here.
373
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100374config SGI_IP28
375 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
376 depends on EXPERIMENTAL
377 select ARC
378 select ARC64
379 select BOOT_ELF64
380 select CEVT_R4K
381 select CSRC_R4K
382 select DEFAULT_SGI_PARTITION
383 select DMA_NONCOHERENT
384 select GENERIC_ISA_DMA_SUPPORT_BROKEN
385 select IRQ_CPU
386 select HW_HAS_EISA
387 select I8253
388 select I8259
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100389 select SGI_HAS_I8042
390 select SGI_HAS_INDYDOG
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +0200391 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100392 select SGI_HAS_SEEQ
393 select SGI_HAS_WD93
394 select SGI_HAS_ZILOG
395 select SWAP_IO_SPACE
396 select SYS_HAS_CPU_R10000
397 select SYS_HAS_EARLY_PRINTK
398 select SYS_SUPPORTS_64BIT_KERNEL
399 select SYS_SUPPORTS_BIG_ENDIAN
400 help
401 This is the SGI Indigo2 with R10000 processor. To compile a Linux
402 kernel that runs on these, say Y here.
403
Linus Torvalds1da177e2005-04-16 15:20:36 -0700404config SGI_IP32
Ralf Baechlecfd2afc2007-07-10 17:33:00 +0100405 bool "SGI IP32 (O2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406 select ARC
407 select ARC32
408 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100409 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000410 select CSRC_R4K
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
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900480 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000481 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900482
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
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900508config SIBYTE_BIGSUR
509 bool "Sibyte BCM91480B-BigSur"
510 select BOOT_ELF32
511 select DMA_COHERENT
512 select NR_CPUS_DEFAULT_4
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900513 select SIBYTE_BCM1x80
514 select SWAP_IO_SPACE
515 select SYS_HAS_CPU_SB1
516 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle651194f2007-11-01 21:55:39 +0000517 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900518 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000519 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900520
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100521config SNI_RM
522 bool "SNI RM200/300/400"
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200523 select ARC if CPU_LITTLE_ENDIAN
524 select ARC32 if CPU_LITTLE_ENDIAN
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +0100525 select SNIPROM if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100526 select ARCH_MAY_HAVE_PC_FDC
527 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100528 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000529 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100530 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100531 select DMA_NONCOHERENT
532 select GENERIC_ISA_DMA
Ralf Baechle5e83d432005-10-29 19:32:41 +0100533 select HW_HAS_EISA
534 select HW_HAS_PCI
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100535 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100536 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100537 select I8259
538 select ISA
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200539 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100540 select SYS_HAS_CPU_R4X00
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200541 select SYS_HAS_CPU_R5000
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100542 select SYS_HAS_CPU_R10000
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200543 select R5000_CPU_SCACHE
Ralf Baechle36a88532007-03-01 11:56:43 +0000544 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700545 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100546 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200547 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100548 select SYS_SUPPORTS_HIGHMEM
549 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700550 help
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100551 The SNI RM200/300/400 are MIPS-based machines manufactured by
552 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Ralf Baechle5e83d432005-10-29 19:32:41 +0100553 Technology and now in turn merged with Fujitsu. Say Y here to
554 support this machine type.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700555
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900556config MACH_TX39XX
557 bool "Toshiba TX39 series based machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100558
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900559config MACH_TX49XX
560 bool "Toshiba TX49 series based machines"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000561
Ralf Baechle73b43902008-07-16 16:12:25 +0100562config MIKROTIK_RB532
563 bool "Mikrotik RB532 boards"
564 select CEVT_R4K
565 select CSRC_R4K
566 select DMA_NONCOHERENT
Ralf Baechle73b43902008-07-16 16:12:25 +0100567 select HW_HAS_PCI
568 select IRQ_CPU
569 select SYS_HAS_CPU_MIPS32_R1
570 select SYS_SUPPORTS_32BIT_KERNEL
571 select SYS_SUPPORTS_LITTLE_ENDIAN
572 select SWAP_IO_SPACE
573 select BOOT_RAW
Florian Fainellid888e252008-08-23 18:54:34 +0200574 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle73b43902008-07-16 16:12:25 +0100575 help
576 Support the Mikrotik(tm) RouterBoard 532 series,
577 based on the IDT RC32434 SoC.
578
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900579config WR_PPMC
580 bool "Wind River PPMC board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100581 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000582 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900583 select IRQ_CPU
584 select BOOT_ELF32
585 select DMA_NONCOHERENT
586 select HW_HAS_PCI
587 select PCI_GT64XXX_PCI0
588 select SWAP_IO_SPACE
589 select SYS_HAS_CPU_MIPS32_R1
590 select SYS_HAS_CPU_MIPS32_R2
591 select SYS_HAS_CPU_MIPS64_R1
592 select SYS_HAS_CPU_NEVADA
593 select SYS_HAS_CPU_RM7000
594 select SYS_SUPPORTS_32BIT_KERNEL
595 select SYS_SUPPORTS_64BIT_KERNEL
596 select SYS_SUPPORTS_BIG_ENDIAN
597 select SYS_SUPPORTS_LITTLE_ENDIAN
598 help
599 This enables support for the Wind River MIPS32 4KC PPMC evaluation
600 board, which is based on GT64120 bridge chip.
601
David Daneya86c7f72008-12-11 15:33:38 -0800602config CAVIUM_OCTEON_SIMULATOR
Yoichi Yuasac9d89d92009-06-02 23:15:10 +0900603 bool "Cavium Networks Octeon Simulator"
David Daneya86c7f72008-12-11 15:33:38 -0800604 select CEVT_R4K
605 select 64BIT_PHYS_ADDR
606 select DMA_COHERENT
607 select SYS_SUPPORTS_64BIT_KERNEL
608 select SYS_SUPPORTS_BIG_ENDIAN
609 select SYS_SUPPORTS_HIGHMEM
Ralf Baechle773cb772009-06-23 10:36:38 +0100610 select SYS_SUPPORTS_HOTPLUG_CPU
David Daney5e683382009-02-02 11:30:59 -0800611 select SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -0800612 help
613 The Octeon simulator is software performance model of the Cavium
614 Octeon Processor. It supports simulating Octeon processors on x86
615 hardware.
616
617config CAVIUM_OCTEON_REFERENCE_BOARD
Yoichi Yuasac9d89d92009-06-02 23:15:10 +0900618 bool "Cavium Networks Octeon reference board"
David Daneya86c7f72008-12-11 15:33:38 -0800619 select CEVT_R4K
620 select 64BIT_PHYS_ADDR
621 select DMA_COHERENT
622 select SYS_SUPPORTS_64BIT_KERNEL
623 select SYS_SUPPORTS_BIG_ENDIAN
624 select SYS_SUPPORTS_HIGHMEM
Ralf Baechle773cb772009-06-23 10:36:38 +0100625 select SYS_SUPPORTS_HOTPLUG_CPU
David Daneya86c7f72008-12-11 15:33:38 -0800626 select SYS_HAS_EARLY_PRINTK
David Daney5e683382009-02-02 11:30:59 -0800627 select SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -0800628 select SWAP_IO_SPACE
David Daneye8635b42009-04-23 17:44:38 -0700629 select HW_HAS_PCI
630 select ARCH_SUPPORTS_MSI
David Daneya86c7f72008-12-11 15:33:38 -0800631 help
632 This option supports all of the Octeon reference boards from Cavium
633 Networks. It builds a kernel that dynamically determines the Octeon
634 CPU type and supports all known board reference implementations.
635 Some of the supported boards are:
636 EBT3000
637 EBH3000
638 EBH3100
639 Thunder
640 Kodama
641 Hikari
642 Say Y here for most Octeon reference boards.
643
Linus Torvalds1da177e2005-04-16 15:20:36 -0700644endchoice
645
Ralf Baechlee8c7c482008-09-16 19:12:16 +0200646source "arch/mips/alchemy/Kconfig"
Yoichi Yuasa9c746ed2007-12-12 22:39:54 +0900647source "arch/mips/basler/excite/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100648source "arch/mips/jazz/Kconfig"
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200649source "arch/mips/lasat/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100650source "arch/mips/pmc-sierra/Kconfig"
Ralf Baechle29c48692005-02-07 01:27:14 +0000651source "arch/mips/sgi-ip27/Kconfig"
Ralf Baechle38b18f72005-02-03 14:28:23 +0000652source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto22b1d702008-07-11 00:31:36 +0900653source "arch/mips/txx9/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100654source "arch/mips/vr41xx/Kconfig"
David Daneya86c7f72008-12-11 15:33:38 -0800655source "arch/mips/cavium-octeon/Kconfig"
Wu Zhangjin85749d22009-07-02 23:26:45 +0800656source "arch/mips/loongson/Kconfig"
Ralf Baechle38b18f72005-02-03 14:28:23 +0000657
Ralf Baechle5e83d432005-10-29 19:32:41 +0100658endmenu
659
Linus Torvalds1da177e2005-04-16 15:20:36 -0700660config RWSEM_GENERIC_SPINLOCK
661 bool
662 default y
663
664config RWSEM_XCHGADD_ALGORITHM
665 bool
666
David Howellsf0d1b0b2006-12-08 02:37:49 -0800667config ARCH_HAS_ILOG2_U32
668 bool
669 default n
670
671config ARCH_HAS_ILOG2_U64
672 bool
673 default n
674
Ralf Baechle00a58252007-12-06 16:53:19 +0000675config ARCH_SUPPORTS_OPROFILE
676 bool
677 default y if !MIPS_MT_SMTC
678
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800679config GENERIC_FIND_NEXT_BIT
680 bool
681 default y
682
683config GENERIC_HWEIGHT
684 bool
685 default y
686
Linus Torvalds1da177e2005-04-16 15:20:36 -0700687config GENERIC_CALIBRATE_DELAY
688 bool
689 default y
690
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100691config GENERIC_CLOCKEVENTS
692 bool
693 default y
694
Ralf Baechle8db02012006-10-02 16:54:48 +0100695config GENERIC_TIME
696 bool
697 default y
698
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100699config GENERIC_CMOS_UPDATE
700 bool
701 default y
702
Ingo Molnarae1e9132008-11-11 09:05:16 +0100703config SCHED_OMIT_FRAME_POINTER
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900704 bool
705 default y
706
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100707config GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechlec87e0902009-03-30 14:49:44 +0200708 def_bool y
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100709
Linus Torvalds1da177e2005-04-16 15:20:36 -0700710#
711# Select some configuration options automatically based on user selections.
712#
713config ARC
714 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700715
Ralf Baechle61ed2422005-09-15 08:52:34 +0000716config ARCH_MAY_HAVE_PC_FDC
717 bool
718
Marc St-Jean9267a302007-06-14 15:55:31 -0600719config BOOT_RAW
720 bool
721
Ralf Baechle217dd112007-11-01 01:57:55 +0000722config CEVT_BCM1480
723 bool
724
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900725config CEVT_DS1287
726 bool
727
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900728config CEVT_GT641XX
729 bool
730
Manuel Lauss779e7d42008-12-21 09:26:22 +0100731config CEVT_R4K_LIB
732 bool
733
Ralf Baechle42f77542007-10-18 17:48:11 +0100734config CEVT_R4K
Manuel Lauss779e7d42008-12-21 09:26:22 +0100735 select CEVT_R4K_LIB
Ralf Baechle42f77542007-10-18 17:48:11 +0100736 bool
737
Ralf Baechle217dd112007-11-01 01:57:55 +0000738config CEVT_SB1250
739 bool
740
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900741config CEVT_TXX9
742 bool
743
Ralf Baechle217dd112007-11-01 01:57:55 +0000744config CSRC_BCM1480
745 bool
746
Yoichi Yuasa42474172008-04-24 09:48:40 +0900747config CSRC_IOASIC
748 bool
749
Manuel Lauss779e7d42008-12-21 09:26:22 +0100750config CSRC_R4K_LIB
751 bool
752
Ralf Baechle940f6b42007-11-24 22:33:28 +0000753config CSRC_R4K
Manuel Lauss779e7d42008-12-21 09:26:22 +0100754 select CSRC_R4K_LIB
Ralf Baechle940f6b42007-11-24 22:33:28 +0000755 bool
756
Ralf Baechle217dd112007-11-01 01:57:55 +0000757config CSRC_SB1250
758 bool
759
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900760config GPIO_TXX9
761 select GENERIC_GPIO
Michael Buesch7444a722008-07-25 01:46:11 -0700762 select ARCH_REQUIRE_GPIOLIB
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900763 bool
764
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200765config CFE
766 bool
767
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700768config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700769 bool
770
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700771config DMA_NONCOHERENT
772 bool
773 select DMA_NEED_PCI_MAP_STATE
774
775config DMA_NEED_PCI_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700776 bool
777
778config EARLY_PRINTK
Ralf Baechle36a88532007-03-01 11:56:43 +0000779 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
780 depends on SYS_HAS_EARLY_PRINTK
781 default y
782 help
783 This option enables special console drivers which allow the kernel
784 to print messages very early in the bootup process.
785
786 This is useful for kernel debugging when your machine crashes very
Robert P. J. Day490dcc42007-05-20 12:11:07 -0400787 early before the console code is initialized. For normal operation,
788 it is not recommended because it looks ugly on some machines and
789 doesn't cooperate with an X server. You should normally say N here,
Ralf Baechle36a88532007-03-01 11:56:43 +0000790 unless you want to debug such a crash.
791
792config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700793 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700794
Ralf Baechledbb74542007-08-07 14:52:17 +0100795config HOTPLUG_CPU
Ralf Baechle1b2bc752009-06-23 10:00:31 +0100796 bool "Support for hot-pluggable CPUs"
797 depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
798 help
799 Say Y here to allow turning CPUs off and on. CPUs can be
800 controlled through /sys/devices/system/cpu.
801 (Note: power management support will enable this option
802 automatically on SMP systems. )
803 Say N if you want to disable CPU hotplug.
804
805config SYS_SUPPORTS_HOTPLUG_CPU
Ralf Baechledbb74542007-08-07 14:52:17 +0100806 bool
Ralf Baechledbb74542007-08-07 14:52:17 +0100807
Linus Torvalds1da177e2005-04-16 15:20:36 -0700808config I8259
809 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700810
Linus Torvalds1da177e2005-04-16 15:20:36 -0700811config MIPS_BONITO64
812 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700813
814config MIPS_MSC
815 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700816
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200817config MIPS_NILE4
818 bool
819
Linus Torvalds1da177e2005-04-16 15:20:36 -0700820config MIPS_DISABLE_OBSOLETE_IDE
821 bool
822
Ralf Baechle39b8d522008-04-28 17:14:26 +0100823config SYNC_R4K
824 bool
825
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100826config NO_IOPORT
827 def_bool n
828
Ralf Baechle8313da32007-08-24 16:48:30 +0100829config GENERIC_ISA_DMA
830 bool
831 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
832
Ralf Baechleaa414df2006-11-30 01:14:51 +0000833config GENERIC_ISA_DMA_SUPPORT_BROKEN
834 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100835 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000836
Yoichi Yuasa09663332007-05-22 00:05:58 +0900837config GENERIC_GPIO
838 bool
839
Ralf Baechle5e83d432005-10-29 19:32:41 +0100840#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100841# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100842# answer,so we try hard to limit the available choices. Also the use of a
843# choice statement should be more obvious to the user.
844#
845choice
846 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700847 help
848 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100849 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100850 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100851 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200852 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100853
854config CPU_BIG_ENDIAN
855 bool "Big endian"
856 depends on SYS_SUPPORTS_BIG_ENDIAN
857
858config CPU_LITTLE_ENDIAN
859 bool "Little endian"
860 depends on SYS_SUPPORTS_LITTLE_ENDIAN
861 help
862
863endchoice
864
Ralf Baechle21162452007-02-09 17:08:58 +0000865config SYS_SUPPORTS_APM_EMULATION
866 bool
867
Ralf Baechle5e83d432005-10-29 19:32:41 +0100868config SYS_SUPPORTS_BIG_ENDIAN
869 bool
870
871config SYS_SUPPORTS_LITTLE_ENDIAN
872 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700873
David Daney9cffd152009-05-27 17:47:46 -0700874config SYS_SUPPORTS_HUGETLBFS
875 bool
876 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
877 default y
878
Linus Torvalds1da177e2005-04-16 15:20:36 -0700879config IRQ_CPU
880 bool
881
882config IRQ_CPU_RM7K
883 bool
884
Ralf Baechle5e83d432005-10-29 19:32:41 +0100885config IRQ_CPU_RM9K
886 bool
887
Marc St-Jean9267a302007-06-14 15:55:31 -0600888config IRQ_MSP_SLP
889 bool
890
891config IRQ_MSP_CIC
892 bool
893
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900894config IRQ_TXX9
895 bool
896
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900897config IRQ_GT641XX
898 bool
899
Ralf Baechle39b8d522008-04-28 17:14:26 +0100900config IRQ_GIC
901 bool
902
David Daneya86c7f72008-12-11 15:33:38 -0800903config IRQ_CPU_OCTEON
904 bool
905
Linus Torvalds1da177e2005-04-16 15:20:36 -0700906config MIPS_BOARDS_GEN
907 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700908
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900909config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700910 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700911
Marc St-Jean9267a302007-06-14 15:55:31 -0600912config NO_EXCEPT_FILL
913 bool
914
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200915config MIPS_RM9122
916 bool
917 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200918
Ralf Baechlea83860c2009-03-13 21:17:57 +0100919config SOC_EMMA2RH
920 bool
921 select CEVT_R4K
922 select CSRC_R4K
923 select DMA_NONCOHERENT
924 select IRQ_CPU
925 select SWAP_IO_SPACE
926 select SYS_HAS_CPU_R5500
927 select SYS_SUPPORTS_32BIT_KERNEL
928 select SYS_SUPPORTS_64BIT_KERNEL
929 select SYS_SUPPORTS_BIG_ENDIAN
930
Daniel Lairdedb63102008-06-16 15:49:21 +0100931config SOC_PNX833X
932 bool
933 select CEVT_R4K
934 select CSRC_R4K
935 select IRQ_CPU
936 select DMA_NONCOHERENT
937 select SYS_HAS_CPU_MIPS32_R2
938 select SYS_SUPPORTS_32BIT_KERNEL
939 select SYS_SUPPORTS_LITTLE_ENDIAN
940 select SYS_SUPPORTS_BIG_ENDIAN
Daniel Lairdedb63102008-06-16 15:49:21 +0100941 select GENERIC_GPIO
942 select CPU_MIPSR2_IRQ_VI
943
944config SOC_PNX8335
945 bool
946 select SOC_PNX833X
947
Pete Popovbdf21b12005-07-14 17:47:57 +0000948config PNX8550
949 bool
950 select SOC_PNX8550
951
952config SOC_PNX8550
953 bool
Pete Popovbdf21b12005-07-14 17:47:57 +0000954 select DMA_NONCOHERENT
955 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +0000956 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +0000957 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +0100958 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli4ead1682007-05-22 21:44:42 +0200959 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +0000960
Linus Torvalds1da177e2005-04-16 15:20:36 -0700961config SWAP_IO_SPACE
962 bool
963
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200964config SERIAL_RM9000
965 bool
966
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100967config SGI_HAS_INDYDOG
968 bool
969
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +0200970config SGI_HAS_HAL2
971 bool
972
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100973config SGI_HAS_SEEQ
974 bool
975
976config SGI_HAS_WD93
977 bool
978
979config SGI_HAS_ZILOG
980 bool
981
982config SGI_HAS_I8042
983 bool
984
985config DEFAULT_SGI_PARTITION
986 bool
987
Ralf Baechle5e83d432005-10-29 19:32:41 +0100988config ARC32
989 bool
990
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +0100991config SNIPROM
992 bool
993
Linus Torvalds1da177e2005-04-16 15:20:36 -0700994config BOOT_ELF32
995 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700996
997config MIPS_L1_CACHE_SHIFT
998 int
Ralf Baechle73b43902008-07-16 16:12:25 +0100999 default "4" if MACH_DECSTATION || MIKROTIK_RB532
David Daneya86c7f72008-12-11 15:33:38 -08001000 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
Marc St-Jean9267a302007-06-14 15:55:31 -06001001 default "4" if PMC_MSP4200_EVAL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001002 default "5"
1003
Linus Torvalds1da177e2005-04-16 15:20:36 -07001004config HAVE_STD_PC_SERIAL_PORT
1005 bool
1006
Linus Torvalds1da177e2005-04-16 15:20:36 -07001007config ARC_CONSOLE
1008 bool "ARC console support"
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001009 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001010
1011config ARC_MEMORY
1012 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +01001013 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001014 default y
1015
1016config ARC_PROMLIB
1017 bool
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001018 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001019 default y
1020
1021config ARC64
1022 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001023
1024config BOOT_ELF64
1025 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001026
Linus Torvalds1da177e2005-04-16 15:20:36 -07001027menu "CPU selection"
1028
1029choice
1030 prompt "CPU type"
1031 default CPU_R4X00
1032
Wu Zhangjin3702bba2009-07-02 23:27:41 +08001033config CPU_LOONGSON2E
1034 bool "Loongson 2E"
1035 depends on SYS_HAS_CPU_LOONGSON2E
1036 select CPU_LOONGSON2
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001037 help
1038 The Loongson 2E processor implements the MIPS III instruction set
1039 with many extensions.
1040
Ralf Baechle6e760c82005-07-06 12:08:11 +00001041config CPU_MIPS32_R1
1042 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001043 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechle6e760c82005-07-06 12:08:11 +00001044 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001045 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001046 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001047 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001048 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001049 MIPS32 architecture. Most modern embedded systems with a 32-bit
1050 MIPS processor are based on a MIPS32 processor. If you know the
1051 specific type of processor in your system, choose those that one
1052 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1053 Release 2 of the MIPS32 architecture is available since several
1054 years so chances are you even have a MIPS32 Release 2 processor
1055 in which case you should choose CPU_MIPS32_R2 instead for better
1056 performance.
1057
1058config CPU_MIPS32_R2
1059 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001060 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001061 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001062 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001063 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001064 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001065 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +00001066 MIPS32 architecture. Most modern embedded systems with a 32-bit
1067 MIPS processor are based on a MIPS32 processor. If you know the
1068 specific type of processor in your system, choose those that one
1069 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001070
Ralf Baechle6e760c82005-07-06 12:08:11 +00001071config CPU_MIPS64_R1
1072 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001073 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechle797798c2005-08-10 15:17:11 +00001074 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001075 select CPU_SUPPORTS_32BIT_KERNEL
1076 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001077 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd152009-05-27 17:47:46 -07001078 select CPU_SUPPORTS_HUGEPAGES
Ralf Baechle6e760c82005-07-06 12:08:11 +00001079 help
1080 Choose this option to build a kernel for release 1 or later of the
1081 MIPS64 architecture. Many modern embedded systems with a 64-bit
1082 MIPS processor are based on a MIPS64 processor. If you know the
1083 specific type of processor in your system, choose those that one
1084 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001085 Release 2 of the MIPS64 architecture is available since several
1086 years so chances are you even have a MIPS64 Release 2 processor
1087 in which case you should choose CPU_MIPS64_R2 instead for better
1088 performance.
1089
1090config CPU_MIPS64_R2
1091 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001092 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechle797798c2005-08-10 15:17:11 +00001093 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001094 select CPU_SUPPORTS_32BIT_KERNEL
1095 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001096 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd152009-05-27 17:47:46 -07001097 select CPU_SUPPORTS_HUGEPAGES
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001098 help
1099 Choose this option to build a kernel for release 2 or later of the
1100 MIPS64 architecture. Many modern embedded systems with a 64-bit
1101 MIPS processor are based on a MIPS64 processor. If you know the
1102 specific type of processor in your system, choose those that one
1103 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001104
1105config CPU_R3000
1106 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001107 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001108 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001109 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001110 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001111 help
1112 Please make sure to pick the right CPU type. Linux/MIPS is not
1113 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1114 *not* work on R4000 machines and vice versa. However, since most
1115 of the supported machines have an R4000 (or similar) CPU, R4x00
1116 might be a safe bet. If the resulting kernel does not work,
1117 try to recompile with R3000.
1118
1119config CPU_TX39XX
1120 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001121 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001122 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001123
1124config CPU_VR41XX
1125 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001126 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001127 select CPU_SUPPORTS_32BIT_KERNEL
1128 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001129 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001130 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001131 Only choose this option if you have one of these processors as a
1132 kernel built with this option will not run on any other type of
1133 processor or vice versa.
1134
1135config CPU_R4300
1136 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001137 depends on SYS_HAS_CPU_R4300
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001138 select CPU_SUPPORTS_32BIT_KERNEL
1139 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001140 help
1141 MIPS Technologies R4300-series processors.
1142
1143config CPU_R4X00
1144 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001145 depends on SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001146 select CPU_SUPPORTS_32BIT_KERNEL
1147 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001148 help
1149 MIPS Technologies R4000-series processors other than 4300, including
1150 the R4000, R4400, R4600, and 4700.
1151
1152config CPU_TX49XX
1153 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001154 depends on SYS_HAS_CPU_TX49XX
Atsushi Nemotode862b42006-03-17 12:59:22 +09001155 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001156 select CPU_SUPPORTS_32BIT_KERNEL
1157 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001158
1159config CPU_R5000
1160 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001161 depends on SYS_HAS_CPU_R5000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001162 select CPU_SUPPORTS_32BIT_KERNEL
1163 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001164 help
1165 MIPS Technologies R5000-series processors other than the Nevada.
1166
1167config CPU_R5432
1168 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001169 depends on SYS_HAS_CPU_R5432
Ralf Baechle5e83d432005-10-29 19:32:41 +01001170 select CPU_SUPPORTS_32BIT_KERNEL
1171 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001172
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001173config CPU_R5500
1174 bool "R5500"
1175 depends on SYS_HAS_CPU_R5500
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001176 select CPU_SUPPORTS_32BIT_KERNEL
1177 select CPU_SUPPORTS_64BIT_KERNEL
David Daney9cffd152009-05-27 17:47:46 -07001178 select CPU_SUPPORTS_HUGEPAGES
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001179 help
1180 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1181 instruction set.
1182
Linus Torvalds1da177e2005-04-16 15:20:36 -07001183config CPU_R6000
1184 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001185 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001186 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001187 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001188 help
1189 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001190 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001191
1192config CPU_NEVADA
1193 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001194 depends on SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001195 select CPU_SUPPORTS_32BIT_KERNEL
1196 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001197 help
1198 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1199
1200config CPU_R8000
1201 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001202 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001203 depends on SYS_HAS_CPU_R8000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001204 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001205 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001206 help
1207 MIPS Technologies R8000 processors. Note these processors are
1208 uncommon and the support for them is incomplete.
1209
1210config CPU_R10000
1211 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001212 depends on SYS_HAS_CPU_R10000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001213 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001214 select CPU_SUPPORTS_32BIT_KERNEL
1215 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001216 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001217 help
1218 MIPS Technologies R10000-series processors.
1219
1220config CPU_RM7000
1221 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001222 depends on SYS_HAS_CPU_RM7000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001223 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001224 select CPU_SUPPORTS_32BIT_KERNEL
1225 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001226 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001227
1228config CPU_RM9000
1229 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001230 depends on SYS_HAS_CPU_RM9000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001231 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001232 select CPU_SUPPORTS_32BIT_KERNEL
1233 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001234 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001235 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001236
1237config CPU_SB1
1238 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001239 depends on SYS_HAS_CPU_SB1
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001240 select CPU_SUPPORTS_32BIT_KERNEL
1241 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001242 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001243 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001244
David Daneya86c7f72008-12-11 15:33:38 -08001245config CPU_CAVIUM_OCTEON
1246 bool "Cavium Octeon processor"
David Daney5e683382009-02-02 11:30:59 -08001247 depends on SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -08001248 select IRQ_CPU
1249 select IRQ_CPU_OCTEON
1250 select CPU_HAS_PREFETCH
1251 select CPU_SUPPORTS_64BIT_KERNEL
1252 select SYS_SUPPORTS_SMP
1253 select NR_CPUS_DEFAULT_16
1254 select WEAK_ORDERING
1255 select WEAK_REORDERING_BEYOND_LLSC
1256 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd152009-05-27 17:47:46 -07001257 select CPU_SUPPORTS_HUGEPAGES
David Daneya86c7f72008-12-11 15:33:38 -08001258 help
1259 The Cavium Octeon processor is a highly integrated chip containing
1260 many ethernet hardware widgets for networking tasks. The processor
1261 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1262 Full details can be found at http://www.caviumnetworks.com.
1263
Linus Torvalds1da177e2005-04-16 15:20:36 -07001264endchoice
1265
Wu Zhangjin3702bba2009-07-02 23:27:41 +08001266config CPU_LOONGSON2
1267 bool
1268 select CPU_SUPPORTS_32BIT_KERNEL
1269 select CPU_SUPPORTS_64BIT_KERNEL
1270 select CPU_SUPPORTS_HIGHMEM
1271
1272config SYS_HAS_CPU_LOONGSON2E
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001273 bool
1274
Ralf Baechle7cf80532005-10-20 22:33:09 +01001275config SYS_HAS_CPU_MIPS32_R1
1276 bool
1277
1278config SYS_HAS_CPU_MIPS32_R2
1279 bool
1280
1281config SYS_HAS_CPU_MIPS64_R1
1282 bool
1283
1284config SYS_HAS_CPU_MIPS64_R2
1285 bool
1286
1287config SYS_HAS_CPU_R3000
1288 bool
1289
1290config SYS_HAS_CPU_TX39XX
1291 bool
1292
1293config SYS_HAS_CPU_VR41XX
1294 bool
1295
1296config SYS_HAS_CPU_R4300
1297 bool
1298
1299config SYS_HAS_CPU_R4X00
1300 bool
1301
1302config SYS_HAS_CPU_TX49XX
1303 bool
1304
1305config SYS_HAS_CPU_R5000
1306 bool
1307
1308config SYS_HAS_CPU_R5432
1309 bool
1310
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001311config SYS_HAS_CPU_R5500
1312 bool
1313
Ralf Baechle7cf80532005-10-20 22:33:09 +01001314config SYS_HAS_CPU_R6000
1315 bool
1316
1317config SYS_HAS_CPU_NEVADA
1318 bool
1319
1320config SYS_HAS_CPU_R8000
1321 bool
1322
1323config SYS_HAS_CPU_R10000
1324 bool
1325
1326config SYS_HAS_CPU_RM7000
1327 bool
1328
1329config SYS_HAS_CPU_RM9000
1330 bool
1331
1332config SYS_HAS_CPU_SB1
1333 bool
1334
David Daney5e683382009-02-02 11:30:59 -08001335config SYS_HAS_CPU_CAVIUM_OCTEON
1336 bool
1337
Ralf Baechle17099b12007-07-14 13:24:05 +01001338#
1339# CPU may reorder R->R, R->W, W->R, W->W
1340# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1341#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001342config WEAK_ORDERING
1343 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001344
1345#
1346# CPU may reorder reads and writes beyond LL/SC
1347# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1348#
1349config WEAK_REORDERING_BEYOND_LLSC
1350 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001351endmenu
1352
1353#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001354# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001355#
1356config CPU_MIPS32
1357 bool
1358 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1359
1360config CPU_MIPS64
1361 bool
1362 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1363
1364#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001365# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001366#
1367config CPU_MIPSR1
1368 bool
1369 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1370
1371config CPU_MIPSR2
1372 bool
David Daneya86c7f72008-12-11 15:33:38 -08001373 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
Ralf Baechle5e83d432005-10-29 19:32:41 +01001374
1375config SYS_SUPPORTS_32BIT_KERNEL
1376 bool
1377config SYS_SUPPORTS_64BIT_KERNEL
1378 bool
1379config CPU_SUPPORTS_32BIT_KERNEL
1380 bool
1381config CPU_SUPPORTS_64BIT_KERNEL
1382 bool
David Daney9cffd152009-05-27 17:47:46 -07001383config CPU_SUPPORTS_HUGEPAGES
1384 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001385
David Daney8192c9e2008-09-23 00:04:26 -07001386#
1387# Set to y for ptrace access to watch registers.
1388#
1389config HARDWARE_WATCHPOINTS
1390 bool
David Daneyf8394902009-01-05 15:29:14 -08001391 default y if CPU_MIPSR1 || CPU_MIPSR2
David Daney8192c9e2008-09-23 00:04:26 -07001392
Ralf Baechle5e83d432005-10-29 19:32:41 +01001393menu "Kernel type"
1394
1395choice
1396
1397 prompt "Kernel code model"
1398 help
1399 You should only select this option if you have a workload that
1400 actually benefits from 64-bit processing or if your machine has
1401 large memory. You will only be presented a single option in this
1402 menu if your system does not support both 32-bit and 64-bit kernels.
1403
1404config 32BIT
1405 bool "32-bit kernel"
1406 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1407 select TRAD_SIGNALS
1408 help
1409 Select this option if you want to build a 32-bit kernel.
1410config 64BIT
1411 bool "64-bit kernel"
1412 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechledbda6ac2009-02-08 16:00:26 +00001413 select HAVE_SYSCALL_WRAPPERS
Ralf Baechle5e83d432005-10-29 19:32:41 +01001414 help
1415 Select this option if you want to build a 64-bit kernel.
1416
1417endchoice
1418
Linus Torvalds1da177e2005-04-16 15:20:36 -07001419choice
1420 prompt "Kernel page size"
1421 default PAGE_SIZE_4KB
1422
1423config PAGE_SIZE_4KB
1424 bool "4kB"
1425 help
1426 This option select the standard 4kB Linux page size. On some
1427 R3000-family processors this is the only available page size. Using
1428 4kB page size will minimize memory consumption and is therefore
1429 recommended for low memory systems.
1430
1431config PAGE_SIZE_8KB
1432 bool "8kB"
Ralf Baechlec52399b2009-04-02 14:07:10 +02001433 depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
Linus Torvalds1da177e2005-04-16 15:20:36 -07001434 help
1435 Using 8kB page size will result in higher performance kernel at
1436 the price of higher memory consumption. This option is available
Ralf Baechlec52399b2009-04-02 14:07:10 +02001437 only on R8000 and cnMIPS processors. Note that you will need a
1438 suitable Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001439
1440config PAGE_SIZE_16KB
1441 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001442 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001443 help
1444 Using 16kB page size will result in higher performance kernel at
1445 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001446 all non-R3000 family processors. Note that you will need a suitable
1447 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001448
Ralf Baechlec52399b2009-04-02 14:07:10 +02001449config PAGE_SIZE_32KB
1450 bool "32kB"
1451 depends on CPU_CAVIUM_OCTEON
1452 help
1453 Using 32kB page size will result in higher performance kernel at
1454 the price of higher memory consumption. This option is available
1455 only on cnMIPS cores. Note that you will need a suitable Linux
1456 distribution to support this.
1457
Linus Torvalds1da177e2005-04-16 15:20:36 -07001458config PAGE_SIZE_64KB
1459 bool "64kB"
1460 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1461 help
1462 Using 64kB page size will result in higher performance kernel at
1463 the price of higher memory consumption. This option is available on
1464 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001465 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001466
1467endchoice
1468
1469config BOARD_SCACHE
1470 bool
1471
1472config IP22_CPU_SCACHE
1473 bool
1474 select BOARD_SCACHE
1475
Chris Dearman9318c512006-06-20 17:15:20 +01001476#
1477# Support for a MIPS32 / MIPS64 style S-caches
1478#
1479config MIPS_CPU_SCACHE
1480 bool
1481 select BOARD_SCACHE
1482
Linus Torvalds1da177e2005-04-16 15:20:36 -07001483config R5000_CPU_SCACHE
1484 bool
1485 select BOARD_SCACHE
1486
1487config RM7000_CPU_SCACHE
1488 bool
1489 select BOARD_SCACHE
1490
1491config SIBYTE_DMA_PAGEOPS
1492 bool "Use DMA to clear/copy pages"
1493 depends on CPU_SB1
1494 help
1495 Instead of using the CPU to zero and copy pages, use a Data Mover
1496 channel. These DMA channels are otherwise unused by the standard
1497 SiByte Linux port. Seems to give a small performance benefit.
1498
1499config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001500 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001501
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001502choice
1503 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001504
1505config MIPS_MT_DISABLED
1506 bool "Disable multithreading support."
1507 help
1508 Use this option if your workload can't take advantage of
1509 MIPS hardware multithreading support. On systems that don't have
1510 the option of an MT-enabled processor this option will be the only
1511 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001512
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001513config MIPS_MT_SMP
1514 bool "Use 1 TC on each available VPE for SMP"
1515 depends on SYS_SUPPORTS_MULTITHREADING
1516 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001517 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001518 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001519 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001520 select SMP
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001521 select SYS_SUPPORTS_SCHED_SMT if SMP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001522 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001523 select SMP_UP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001524 help
1525 This is a kernel model which is also known a VSMP or lately
1526 has been marketesed into SMVP.
1527
Ralf Baechle41c594a2006-04-05 09:45:45 +01001528config MIPS_MT_SMTC
1529 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001530 depends on CPU_MIPS32_R2
1531 #depends on CPU_MIPS64_R2 # once there is hardware ...
1532 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001533 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001534 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001535 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001536 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001537 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001538 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001539 select SMP_UP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001540 help
1541 This is a kernel model which is known a SMTC or lately has been
1542 marketesed into SMVP.
Ralf Baechle41c594a2006-04-05 09:45:45 +01001543
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001544endchoice
1545
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001546config MIPS_MT
1547 bool
1548
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001549config SCHED_SMT
1550 bool "SMT (multithreading) scheduler support"
1551 depends on SYS_SUPPORTS_SCHED_SMT
1552 default n
1553 help
1554 SMT scheduler support improves the CPU scheduler's decision making
1555 when dealing with MIPS MT enabled cores at a cost of slightly
1556 increased overhead in some places. If unsure say N here.
1557
1558config SYS_SUPPORTS_SCHED_SMT
1559 bool
1560
1561
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001562config SYS_SUPPORTS_MULTITHREADING
1563 bool
1564
Ralf Baechlef088fc82006-04-05 09:45:47 +01001565config MIPS_MT_FPAFF
1566 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001567 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001568 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1569
1570config MIPS_VPE_LOADER
1571 bool "VPE loader support."
1572 depends on SYS_SUPPORTS_MULTITHREADING
1573 select CPU_MIPSR2_IRQ_VI
1574 select CPU_MIPSR2_IRQ_EI
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001575 select MIPS_MT
1576 help
1577 Includes a loader for loading an elf relocatable object
1578 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001579
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001580config MIPS_MT_SMTC_IM_BACKSTOP
1581 bool "Use per-TC register bits as backstop for inhibited IM bits"
1582 depends on MIPS_MT_SMTC
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001583 default n
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001584 help
1585 To support multiple TC microthreads acting as "CPUs" within
1586 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1587 during interrupt handling. To support legacy drivers and interrupt
1588 controller management code, SMTC has a "backstop" to track and
1589 if necessary restore the interrupt mask. This has some performance
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001590 impact on interrupt service overhead.
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001591
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001592config MIPS_MT_SMTC_IRQAFF
1593 bool "Support IRQ affinity API"
1594 depends on MIPS_MT_SMTC
1595 default n
1596 help
1597 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1598 for SMTC Linux kernel. Requires platform support, of which
1599 an example can be found in the MIPS kernel i8259 and Malta
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001600 platform code. Adds some overhead to interrupt dispatch, and
1601 should be used only if you know what you are doing.
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001602
Ralf Baechlee01402b2005-07-14 15:57:16 +00001603config MIPS_VPE_LOADER_TOM
1604 bool "Load VPE program into memory hidden from linux"
1605 depends on MIPS_VPE_LOADER
1606 default y
1607 help
1608 The loader can use memory that is present but has been hidden from
1609 Linux using the kernel command line option "mem=xxMB". It's up to
1610 you to ensure the amount you put in the option and the space your
1611 program requires is less or equal to the amount physically present.
1612
1613# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1614config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001615 bool "Enable support for AP/SP API (RTLX)"
1616 depends on MIPS_VPE_LOADER
1617 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001618
Ralf Baechle26009902006-04-05 09:45:45 +01001619config MIPS_APSP_KSPD
1620 bool "Enable KSPD"
1621 depends on MIPS_VPE_APSP_API
1622 default y
1623 help
1624 KSPD is a kernel daemon that accepts syscall requests from the SP
1625 side, actions them and returns the results. It also handles the
1626 "exit" syscall notifying other kernel modules the SP program is
1627 exiting. You probably want to say yes here.
1628
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001629config MIPS_CMP
1630 bool "MIPS CMP framework support"
1631 depends on SYS_SUPPORTS_MIPS_CMP
Tim Andersoneb9b5142009-06-17 16:40:34 -07001632 select SYNC_R4K
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001633 select SYS_SUPPORTS_SMP
1634 select SYS_SUPPORTS_SCHED_SMT if SMP
1635 select WEAK_ORDERING
1636 default n
1637 help
1638 This is a placeholder option for the GCMP work. It will need to
1639 be handled differently...
1640
Linus Torvalds1da177e2005-04-16 15:20:36 -07001641config SB1_PASS_1_WORKAROUNDS
1642 bool
1643 depends on CPU_SB1_PASS_1
1644 default y
1645
1646config SB1_PASS_2_WORKAROUNDS
1647 bool
1648 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1649 default y
1650
1651config SB1_PASS_2_1_WORKAROUNDS
1652 bool
1653 depends on CPU_SB1 && CPU_SB1_PASS_2
1654 default y
1655
1656config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001657 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001658
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001659config CPU_HAS_SMARTMIPS
1660 depends on SYS_SUPPORTS_SMARTMIPS
1661 bool "Support for the SmartMIPS ASE"
1662 help
1663 SmartMIPS is a extension of the MIPS32 architecture aimed at
1664 increased security at both hardware and software level for
1665 smartcards. Enabling this option will allow proper use of the
1666 SmartMIPS instructions by Linux applications. However a kernel with
1667 this option will not work on a MIPS core without SmartMIPS core. If
1668 you don't know you probably don't have SmartMIPS and should say N
1669 here.
1670
Linus Torvalds1da177e2005-04-16 15:20:36 -07001671config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001672 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001673
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001674#
1675# Vectored interrupt mode is an R2 feature
1676#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001677config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001678 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001679
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001680#
1681# Extended interrupt mode is an R2 feature
1682#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001683config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001684 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001685
Linus Torvalds1da177e2005-04-16 15:20:36 -07001686config CPU_HAS_SYNC
1687 bool
1688 depends on !CPU_R3000
1689 default y
1690
Ralf Baechleea580402007-10-11 23:46:09 +01001691config GENERIC_CLOCKEVENTS_BROADCAST
1692 bool
1693
Linus Torvalds1da177e2005-04-16 15:20:36 -07001694#
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +01001695# CPU non-features
1696#
1697config CPU_DADDI_WORKAROUNDS
1698 bool
1699
1700config CPU_R4000_WORKAROUNDS
1701 bool
1702 select CPU_R4400_WORKAROUNDS
1703
1704config CPU_R4400_WORKAROUNDS
1705 bool
1706
1707#
Ralf Baechle797798c2005-08-10 15:17:11 +00001708# Use the generic interrupt handling code in kernel/irq/:
1709#
1710config GENERIC_HARDIRQS
1711 bool
1712 default y
1713
1714config GENERIC_IRQ_PROBE
1715 bool
1716 default y
1717
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001718config IRQ_PER_CPU
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001719 bool
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001720
Ralf Baechle797798c2005-08-10 15:17:11 +00001721#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001722# - Highmem only makes sense for the 32-bit kernel.
1723# - The current highmem code will only work properly on physically indexed
1724# caches such as R3000, SB1, R7000 or those that look like they're virtually
1725# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1726# moment we protect the user and offer the highmem option only on machines
1727# where it's known to be safe. This will not offer highmem on a few systems
1728# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1729# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001730# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1731# know they might have memory configurations that could make use of highmem
1732# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001733#
1734config HIGHMEM
1735 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001736 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1737
1738config CPU_SUPPORTS_HIGHMEM
1739 bool
1740
1741config SYS_SUPPORTS_HIGHMEM
1742 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001743
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001744config SYS_SUPPORTS_SMARTMIPS
1745 bool
1746
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001747config ARCH_FLATMEM_ENABLE
1748 def_bool y
1749 depends on !NUMA
1750
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001751config ARCH_DISCONTIGMEM_ENABLE
1752 bool
1753 default y if SGI_IP27
1754 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001755 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001756 for architectures which are either NUMA (Non-Uniform Memory Access)
1757 or have huge holes in the physical address space for other reasons.
1758 See <file:Documentation/vm/numa> for more.
1759
Ralf Baechlecce335a2007-11-03 02:05:43 +00001760config ARCH_POPULATES_NODE_MAP
1761 def_bool y
1762
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001763config ARCH_SPARSEMEM_ENABLE
1764 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001765 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001766
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001767config NUMA
1768 bool "NUMA Support"
1769 depends on SYS_SUPPORTS_NUMA
1770 help
1771 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1772 Access). This option improves performance on systems with more
1773 than two nodes; on two node systems it is generally better to
1774 leave it disabled; on single node systems disable this option
1775 disabled.
1776
1777config SYS_SUPPORTS_NUMA
1778 bool
1779
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07001780config NODES_SHIFT
1781 int
1782 default "6"
1783 depends on NEED_MULTIPLE_NODES
1784
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001785source "mm/Kconfig"
1786
Linus Torvalds1da177e2005-04-16 15:20:36 -07001787config SMP
1788 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01001789 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01001790 select IRQ_PER_CPU
Jens Axboe2f304c02008-06-17 10:45:23 +02001791 select USE_GENERIC_SMP_HELPERS
Ralf Baechlee73ea272006-06-04 11:51:46 +01001792 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07001793 This enables support for systems with more than one CPU. If you have
1794 a system with only one CPU, like most personal computers, say N. If
1795 you have a system with more than one CPU, say Y.
1796
1797 If you say N here, the kernel will run on single and multiprocessor
1798 machines, but will use only one CPU of a multiprocessor machine. If
1799 you say Y here, the kernel will run on many, but not all,
1800 singleprocessor machines. On a singleprocessor machine, the kernel
1801 will run faster if you say N here.
1802
1803 People using multiprocessor machines who say Y here should also say
1804 Y to "Enhanced Real Time Clock Support", below.
1805
Adrian Bunk03502fa2008-02-03 15:50:21 +02001806 See also the SMP-HOWTO available at
1807 <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001808
1809 If you don't know what to do here, say N.
1810
Ralf Baechle87353d82007-11-19 12:23:51 +00001811config SMP_UP
1812 bool
1813
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001814config SYS_SUPPORTS_MIPS_CMP
1815 bool
1816
Ralf Baechlee73ea272006-06-04 11:51:46 +01001817config SYS_SUPPORTS_SMP
1818 bool
1819
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001820config NR_CPUS_DEFAULT_1
1821 bool
1822
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001823config NR_CPUS_DEFAULT_2
1824 bool
1825
1826config NR_CPUS_DEFAULT_4
1827 bool
1828
1829config NR_CPUS_DEFAULT_8
1830 bool
1831
1832config NR_CPUS_DEFAULT_16
1833 bool
1834
1835config NR_CPUS_DEFAULT_32
1836 bool
1837
1838config NR_CPUS_DEFAULT_64
1839 bool
1840
Linus Torvalds1da177e2005-04-16 15:20:36 -07001841config NR_CPUS
1842 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001843 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07001844 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001845 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001846 default "2" if NR_CPUS_DEFAULT_2
1847 default "4" if NR_CPUS_DEFAULT_4
1848 default "8" if NR_CPUS_DEFAULT_8
1849 default "16" if NR_CPUS_DEFAULT_16
1850 default "32" if NR_CPUS_DEFAULT_32
1851 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07001852 help
1853 This allows you to specify the maximum number of CPUs which this
1854 kernel will support. The maximum supported value is 32 for 32-bit
1855 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001856 sense is 1 for Qemu (useful only for kernel debugging purposes)
1857 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001858
1859 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001860 approximately eight kilobytes to the kernel image. For best
1861 performance should round up your number of processors to the next
1862 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001863
Atsushi Nemotoc4eee282007-11-12 01:05:16 +09001864source "kernel/time/Kconfig"
1865
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001866#
1867# Timer Interrupt Frequency Configuration
1868#
1869
1870choice
1871 prompt "Timer frequency"
1872 default HZ_250
1873 help
1874 Allows the configuration of the timer frequency.
1875
1876 config HZ_48
Ralf Baechle0f873582008-02-25 16:55:29 +00001877 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001878
1879 config HZ_100
1880 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1881
1882 config HZ_128
1883 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1884
1885 config HZ_250
1886 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1887
1888 config HZ_256
1889 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1890
1891 config HZ_1000
1892 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1893
1894 config HZ_1024
1895 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1896
1897endchoice
1898
1899config SYS_SUPPORTS_48HZ
1900 bool
1901
1902config SYS_SUPPORTS_100HZ
1903 bool
1904
1905config SYS_SUPPORTS_128HZ
1906 bool
1907
1908config SYS_SUPPORTS_250HZ
1909 bool
1910
1911config SYS_SUPPORTS_256HZ
1912 bool
1913
1914config SYS_SUPPORTS_1000HZ
1915 bool
1916
1917config SYS_SUPPORTS_1024HZ
1918 bool
1919
1920config SYS_SUPPORTS_ARBIT_HZ
1921 bool
1922 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1923 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1924 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1925 !SYS_SUPPORTS_1024HZ
1926
1927config HZ
1928 int
1929 default 48 if HZ_48
1930 default 100 if HZ_100
1931 default 128 if HZ_128
1932 default 250 if HZ_250
1933 default 256 if HZ_256
1934 default 1000 if HZ_1000
1935 default 1024 if HZ_1024
1936
Ralf Baechlee80de852005-07-11 20:45:51 +00001937source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001938
Linus Torvalds1da177e2005-04-16 15:20:36 -07001939config MIPS_INSANE_LARGE
1940 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001941 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001942 help
1943 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1944 previous 64-bit processors which only supported 40 bit / 1TB. If you
1945 need processes of more than 1TB virtual address space, say Y here.
1946 This will result in additional memory usage, so it is not
1947 recommended for normal users.
1948
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001949config KEXEC
1950 bool "Kexec system call (EXPERIMENTAL)"
1951 depends on EXPERIMENTAL
1952 help
1953 kexec is a system call that implements the ability to shutdown your
1954 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02001955 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001956 you can start any kernel with it, not just Linux.
1957
Matt LaPlante01dd2fb2007-10-20 01:34:40 +02001958 The name comes from the similarity to the exec system call.
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001959
1960 It is an ongoing process to be certain the hardware in a machine
1961 is properly shutdown, so do not be surprised if this code does not
1962 initially work for you. It may help to enable device hotplugging
1963 support. As of this writing the exact hardware interface is
1964 strongly in flux, so no good recommendation can be made.
1965
1966config SECCOMP
1967 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01001968 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001969 default y
1970 help
1971 This kernel feature is useful for number crunching applications
1972 that may need to compute untrusted bytecode during their
1973 execution. By using pipes or other transports made available to
1974 the process as file descriptors supporting the read/write
1975 syscalls, it's possible to isolate those applications in
1976 their own address space using seccomp. Once seccomp is
1977 enabled via /proc/<pid>/seccomp, it cannot be disabled
1978 and the task is only allowed to execute a few safe syscalls
1979 defined by each seccomp mode.
1980
1981 If unsure, say Y. Only embedded should say N here.
1982
Ralf Baechle5e83d432005-10-29 19:32:41 +01001983endmenu
1984
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09001985config LOCKDEP_SUPPORT
1986 bool
1987 default y
1988
1989config STACKTRACE_SUPPORT
1990 bool
1991 default y
1992
Ralf Baechleb6c35392005-11-25 11:35:40 +00001993source "init/Kconfig"
1994
Atsushi Nemoto00110362008-08-26 22:34:57 +09001995config PROBE_INITRD_HEADER
1996 bool "Probe initrd header created by addinitrd"
1997 depends on BLK_DEV_INITRD
1998 help
1999 Probe initrd header at the last page of kernel image.
2000 Say Y here if you are using arch/mips/boot/addinitrd.c to
2001 add initrd or initramfs image to the kernel image.
2002 Otherwise, say N.
2003
Matt Helsleydc52ddc2008-10-18 20:27:21 -07002004source "kernel/Kconfig.freezer"
2005
Linus Torvalds1da177e2005-04-16 15:20:36 -07002006menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2007
Ralf Baechle5e83d432005-10-29 19:32:41 +01002008config HW_HAS_EISA
2009 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002010config HW_HAS_PCI
2011 bool
2012
2013config PCI
2014 bool "Support for PCI controller"
2015 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01002016 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07002017 help
2018 Find out whether you have a PCI motherboard. PCI is the name of a
2019 bus system, i.e. the way the CPU talks to the other stuff inside
2020 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2021 say Y, otherwise N.
2022
Linus Torvalds1da177e2005-04-16 15:20:36 -07002023config PCI_DOMAINS
2024 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002025
2026source "drivers/pci/Kconfig"
2027
2028#
2029# ISA support is now enabled via select. Too many systems still have the one
2030# or other ISA chip on the board that users don't know about so don't expect
2031# users to choose the right thing ...
2032#
2033config ISA
2034 bool
2035
2036config EISA
2037 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002038 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002039 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00002040 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002041 ---help---
2042 The Extended Industry Standard Architecture (EISA) bus was
2043 developed as an open alternative to the IBM MicroChannel bus.
2044
2045 The EISA bus provided some of the features of the IBM MicroChannel
2046 bus while maintaining backward compatibility with cards made for
2047 the older ISA bus. The EISA bus saw limited use between 1988 and
2048 1995 when it was made obsolete by the PCI bus.
2049
2050 Say Y here if you are building a kernel for an EISA-based machine.
2051
2052 Otherwise, say N.
2053
2054source "drivers/eisa/Kconfig"
2055
2056config TC
2057 bool "TURBOchannel support"
2058 depends on MACH_DECSTATION
2059 help
2060 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2061 processors. Documentation on writing device drivers for TurboChannel
2062 is available at:
2063 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
2064
2065#config ACCESSBUS
2066# bool "Access.Bus support"
2067# depends on TC
2068
2069config MMU
2070 bool
2071 default y
2072
Ralf Baechled865bea2007-10-11 23:46:10 +01002073config I8253
2074 bool
2075
Ralf Baechlecce335a2007-11-03 02:05:43 +00002076config ZONE_DMA32
2077 bool
2078
Linus Torvalds1da177e2005-04-16 15:20:36 -07002079source "drivers/pcmcia/Kconfig"
2080
2081source "drivers/pci/hotplug/Kconfig"
2082
2083endmenu
2084
2085menu "Executable file formats"
2086
2087source "fs/Kconfig.binfmt"
2088
2089config TRAD_SIGNALS
2090 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002091
Linus Torvalds1da177e2005-04-16 15:20:36 -07002092config MIPS32_COMPAT
2093 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002094 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002095 help
2096 Select this option if you want Linux/MIPS 32-bit binary
2097 compatibility. Since all software available for Linux/MIPS is
2098 currently 32-bit you should say Y here.
2099
2100config COMPAT
2101 bool
2102 depends on MIPS32_COMPAT
2103 default y
2104
Atsushi Nemoto05e43962006-11-07 18:02:44 +09002105config SYSVIPC_COMPAT
2106 bool
2107 depends on COMPAT && SYSVIPC
2108 default y
2109
Linus Torvalds1da177e2005-04-16 15:20:36 -07002110config MIPS32_O32
2111 bool "Kernel support for o32 binaries"
2112 depends on MIPS32_COMPAT
2113 help
2114 Select this option if you want to run o32 binaries. These are pure
2115 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2116 existing binaries are in this format.
2117
2118 If unsure, say Y.
2119
2120config MIPS32_N32
2121 bool "Kernel support for n32 binaries"
2122 depends on MIPS32_COMPAT
2123 help
2124 Select this option if you want to run n32 binaries. These are
2125 64-bit binaries using 32-bit quantities for addressing and certain
2126 data that would normally be 64-bit. They are used in special
2127 cases.
2128
2129 If unsure, say N.
2130
2131config BINFMT_ELF32
2132 bool
2133 default y if MIPS32_O32 || MIPS32_N32
2134
Ralf Baechle21162452007-02-09 17:08:58 +00002135endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07002136
Ralf Baechle21162452007-02-09 17:08:58 +00002137menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002138
Wu Zhangjin363c55c2009-06-04 20:27:10 +08002139config ARCH_HIBERNATION_POSSIBLE
2140 def_bool y
Ralf Baechle3f5b3e12009-07-02 11:48:07 +01002141 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Wu Zhangjin363c55c2009-06-04 20:27:10 +08002142
Johannes Bergf4cb5702007-12-08 02:14:00 +01002143config ARCH_SUSPEND_POSSIBLE
2144 def_bool y
Ralf Baechle3f5b3e12009-07-02 11:48:07 +01002145 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Johannes Bergf4cb5702007-12-08 02:14:00 +01002146
Ralf Baechle21162452007-02-09 17:08:58 +00002147source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002148
Linus Torvalds1da177e2005-04-16 15:20:36 -07002149endmenu
2150
Sam Ravnborgd5950b42005-07-11 21:03:49 -07002151source "net/Kconfig"
2152
Linus Torvalds1da177e2005-04-16 15:20:36 -07002153source "drivers/Kconfig"
2154
2155source "fs/Kconfig"
2156
2157source "arch/mips/Kconfig.debug"
2158
2159source "security/Kconfig"
2160
2161source "crypto/Kconfig"
2162
2163source "lib/Kconfig"