blob: 705a7a9170f32bc5aec7cc30865d1ace7eb1edf7 [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
Maxime Bizone7300d02009-08-18 13:23:37 +010083config BCM63XX
84 bool "Broadcom BCM63XX based boards"
85 select CEVT_R4K
86 select CSRC_R4K
87 select DMA_NONCOHERENT
88 select IRQ_CPU
89 select SYS_HAS_CPU_MIPS32_R1
90 select SYS_SUPPORTS_32BIT_KERNEL
91 select SYS_SUPPORTS_BIG_ENDIAN
92 select SYS_HAS_EARLY_PRINTK
93 select SWAP_IO_SPACE
94 select ARCH_REQUIRE_GPIOLIB
95 help
96 Support for BCM63XX based boards
97
Linus Torvalds1da177e2005-04-16 15:20:36 -070098config MIPS_COBALT
Martin Michlmayr3fa986f2006-05-09 23:34:53 +020099 bool "Cobalt Server"
Ralf Baechle42f77542007-10-18 17:48:11 +0100100 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000101 select CSRC_R4K
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900102 select CEVT_GT641XX
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103 select DMA_NONCOHERENT
104 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100105 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106 select I8259
107 select IRQ_CPU
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900108 select IRQ_GT641XX
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900109 select PCI_GT64XXX_PCI0
Yoichi Yuasae25bfc92009-06-02 23:17:07 +0900110 select PCI
Ralf Baechle7cf80532005-10-20 22:33:09 +0100111 select SYS_HAS_CPU_NEVADA
Yoichi Yuasa0a22e0d2007-03-02 12:42:33 +0900112 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700113 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli0e8774b2008-01-15 19:42:57 +0100114 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100115 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116
117config MACH_DECSTATION
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200118 bool "DECstations"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119 select BOOT_ELF32
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900120 select CEVT_DS1287
Ralf Baechle42f77542007-10-18 17:48:11 +0100121 select CEVT_R4K
Yoichi Yuasa42474172008-04-24 09:48:40 +0900122 select CSRC_IOASIC
Ralf Baechle940f6b42007-11-24 22:33:28 +0000123 select CSRC_R4K
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +0100124 select CPU_DADDI_WORKAROUNDS if 64BIT
125 select CPU_R4000_WORKAROUNDS if 64BIT
126 select CPU_R4400_WORKAROUNDS if 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700127 select DMA_NONCOHERENT
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100128 select NO_IOPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129 select IRQ_CPU
Ralf Baechle7cf80532005-10-20 22:33:09 +0100130 select SYS_HAS_CPU_R3000
131 select SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700132 select SYS_SUPPORTS_32BIT_KERNEL
133 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100134 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900135 select SYS_SUPPORTS_128HZ
136 select SYS_SUPPORTS_256HZ
137 select SYS_SUPPORTS_1024HZ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100138 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700139 This enables support for DEC's MIPS based workstations. For details
140 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
141 DECstation porting pages on <http://decstation.unix-ag.org/>.
142
143 If you have one of the following DECstation Models you definitely
144 want to choose R4xx0 for the CPU Type:
145
Ralf Baechle93088162007-08-29 14:21:45 +0100146 DECstation 5000/50
147 DECstation 5000/150
148 DECstation 5000/260
149 DECsystem 5900/260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150
151 otherwise choose R3000.
152
Ralf Baechle5e83d432005-10-29 19:32:41 +0100153config MACH_JAZZ
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200154 bool "Jazz family of machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100155 select ARC
156 select ARC32
157 select ARCH_MAY_HAVE_PC_FDC
Ralf Baechle42f77542007-10-18 17:48:11 +0100158 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000159 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100160 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100161 select GENERIC_ISA_DMA
Thomas Bogendoerferea202c62007-08-25 11:01:50 +0200162 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100163 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100164 select I8259
165 select ISA
Ralf Baechle7cf80532005-10-20 22:33:09 +0100166 select SYS_HAS_CPU_R4X00
Ralf Baechle5e83d432005-10-29 19:32:41 +0100167 select SYS_SUPPORTS_32BIT_KERNEL
168 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900169 select SYS_SUPPORTS_100HZ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100171 This a family of machines based on the MIPS R4030 chipset which was
172 used by several vendors to build RISC/os and Windows NT workstations.
Matt LaPlante692105b2009-01-26 11:12:25 +0100173 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
Ralf Baechle5e83d432005-10-29 19:32:41 +0100174 Olivetti M700-10 workstations.
175
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200176config LASAT
177 bool "LASAT Networks platforms"
Ralf Baechle42f77542007-10-18 17:48:11 +0100178 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000179 select CSRC_R4K
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200180 select DMA_NONCOHERENT
181 select SYS_HAS_EARLY_PRINTK
182 select HW_HAS_PCI
Ralf Baechlea5ccfe52007-10-14 23:49:33 +0100183 select IRQ_CPU
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200184 select PCI_GT64XXX_PCI0
185 select MIPS_NILE4
186 select R5000_CPU_SCACHE
187 select SYS_HAS_CPU_R5000
188 select SYS_SUPPORTS_32BIT_KERNEL
189 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
190 select SYS_SUPPORTS_LITTLE_ENDIAN
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200191
Wu Zhangjin85749d22009-07-02 23:26:45 +0800192config MACH_LOONGSON
193 bool "Loongson family of machines"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900194 help
Wu Zhangjin85749d22009-07-02 23:26:45 +0800195 This enables the support of Loongson family of machines.
196
197 Loongson is a family of general-purpose MIPS-compatible CPUs.
198 developed at Institute of Computing Technology (ICT),
199 Chinese Academy of Sciences (CAS) in the People's Republic
200 of China. The chief architect is Professor Weiwu Hu.
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900201
Linus Torvalds1da177e2005-04-16 15:20:36 -0700202config MIPS_MALTA
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200203 bool "MIPS Malta board"
Ralf Baechle61ed2422005-09-15 08:52:34 +0000204 select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205 select BOOT_ELF32
Ralf Baechlefa71c962008-01-29 10:15:00 +0000206 select BOOT_RAW
Ralf Baechle42f77542007-10-18 17:48:11 +0100207 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000208 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209 select DMA_NONCOHERENT
210 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000211 select IRQ_CPU
Ralf Baechle39b8d522008-04-28 17:14:26 +0100212 select IRQ_GIC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100214 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215 select I8259
Ralf Baechle5e83d432005-10-29 19:32:41 +0100216 select MIPS_BOARDS_GEN
217 select MIPS_BONITO64
Chris Dearman9318c512006-06-20 17:15:20 +0100218 select MIPS_CPU_SCACHE
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900219 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100220 select MIPS_MSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700221 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100222 select SYS_HAS_CPU_MIPS32_R1
223 select SYS_HAS_CPU_MIPS32_R2
224 select SYS_HAS_CPU_MIPS64_R1
225 select SYS_HAS_CPU_NEVADA
226 select SYS_HAS_CPU_RM7000
Ralf Baechle36a88532007-03-01 11:56:43 +0000227 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700228 select SYS_SUPPORTS_32BIT_KERNEL
229 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100230 select SYS_SUPPORTS_BIG_ENDIAN
231 select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson03650702009-06-17 16:22:53 -0700232 select SYS_SUPPORTS_MIPS_CMP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100233 select SYS_SUPPORTS_MULTITHREADING
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100234 select SYS_SUPPORTS_SMARTMIPS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700235 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000236 This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700237 board.
238
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100239config MIPS_SIM
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200240 bool 'MIPS simulator (MIPSsim)'
Ralf Baechle42f77542007-10-18 17:48:11 +0100241 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000242 select CSRC_R4K
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100243 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000244 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100245 select IRQ_CPU
Marc St-Jean9267a302007-06-14 15:55:31 -0600246 select BOOT_RAW
Ralf Baechle7cf80532005-10-20 22:33:09 +0100247 select SYS_HAS_CPU_MIPS32_R1
248 select SYS_HAS_CPU_MIPS32_R2
Ralf Baechle36a88532007-03-01 11:56:43 +0000249 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100250 select SYS_SUPPORTS_32BIT_KERNEL
251 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlef6e23732007-07-10 17:32:56 +0100252 select SYS_SUPPORTS_MULTITHREADING
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100253 select SYS_SUPPORTS_LITTLE_ENDIAN
254 help
255 This option enables support for MIPS Technologies MIPSsim software
256 emulator.
257
Ralf Baechlea83860c2009-03-13 21:17:57 +0100258config NEC_MARKEINS
259 bool "NEC EMMA2RH Mark-eins board"
260 select SOC_EMMA2RH
261 select HW_HAS_PCI
262 help
263 This enables support for the NEC Electronics Mark-eins boards.
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900264
Ralf Baechle5e83d432005-10-29 19:32:41 +0100265config MACH_VR41XX
Yoichi Yuasa74142d62007-04-26 19:45:09 +0900266 bool "NEC VR4100 series based machines"
Ralf Baechle42f77542007-10-18 17:48:11 +0100267 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000268 select CSRC_R4K
Ralf Baechle7cf80532005-10-20 22:33:09 +0100269 select SYS_HAS_CPU_VR41XX
Yoichi Yuasa27fdd322009-06-29 11:11:05 +0900270 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle5e83d432005-10-29 19:32:41 +0100271
Daniel Lairdedb63102008-06-16 15:49:21 +0100272config NXP_STB220
273 bool "NXP STB220 board"
274 select SOC_PNX833X
275 help
276 Support for NXP Semiconductors STB220 Development Board.
277
278config NXP_STB225
279 bool "NXP 225 board"
280 select SOC_PNX833X
281 select SOC_PNX8335
282 help
283 Support for NXP Semiconductors STB225 Development Board.
284
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900285config PNX8550_JBS
Daniel Lairda92b0582008-03-06 09:07:18 +0000286 bool "NXP PNX8550 based JBS board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900287 select PNX8550
288 select SYS_SUPPORTS_LITTLE_ENDIAN
289
290config PNX8550_STB810
Daniel Lairda92b0582008-03-06 09:07:18 +0000291 bool "NXP PNX8550 based STB810 board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900292 select PNX8550
293 select SYS_SUPPORTS_LITTLE_ENDIAN
294
Marc St-Jean9267a302007-06-14 15:55:31 -0600295config PMC_MSP
296 bool "PMC-Sierra MSP chipsets"
297 depends on EXPERIMENTAL
298 select DMA_NONCOHERENT
299 select SWAP_IO_SPACE
300 select NO_EXCEPT_FILL
301 select BOOT_RAW
302 select SYS_HAS_CPU_MIPS32_R1
303 select SYS_HAS_CPU_MIPS32_R2
304 select SYS_SUPPORTS_32BIT_KERNEL
305 select SYS_SUPPORTS_BIG_ENDIAN
Marc St-Jean9267a302007-06-14 15:55:31 -0600306 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 Baechle42f77542007-10-18 17:48:11 +0100317 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000318 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100319 select DMA_COHERENT
320 select HW_HAS_PCI
321 select IRQ_CPU
322 select IRQ_CPU_RM7K
323 select IRQ_CPU_RM9K
324 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100325 select SYS_HAS_CPU_RM9000
Ralf Baechle36a88532007-03-01 11:56:43 +0000326 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100327 select SYS_SUPPORTS_32BIT_KERNEL
328 select SYS_SUPPORTS_64BIT_KERNEL
329 select SYS_SUPPORTS_BIG_ENDIAN
330 select SYS_SUPPORTS_HIGHMEM
Ralf Baechlee73ea272006-06-04 11:51:46 +0100331 select SYS_SUPPORTS_SMP
Ralf Baechle5e83d432005-10-29 19:32:41 +0100332 help
333 Yosemite is an evaluation board for the RM9000x2 processor
334 manufactured by PMC-Sierra.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700335
Linus Torvalds1da177e2005-04-16 15:20:36 -0700336config SGI_IP22
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200337 bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700338 select ARC
339 select ARC32
340 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100341 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000342 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100343 select DEFAULT_SGI_PARTITION
Linus Torvalds1da177e2005-04-16 15:20:36 -0700344 select DMA_NONCOHERENT
Ralf Baechle5e83d432005-10-29 19:32:41 +0100345 select HW_HAS_EISA
Ralf Baechled865bea2007-10-11 23:46:10 +0100346 select I8253
Thomas Bogendoerfer68de4802007-11-23 20:34:16 +0100347 select I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348 select IP22_CPU_SCACHE
349 select IRQ_CPU
Ralf Baechleaa414df2006-11-30 01:14:51 +0000350 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100351 select SGI_HAS_I8042
352 select SGI_HAS_INDYDOG
Thomas Bogendoerfer36e5c212008-07-16 14:06:15 +0200353 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100354 select SGI_HAS_SEEQ
355 select SGI_HAS_WD93
356 select SGI_HAS_ZILOG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100358 select SYS_HAS_CPU_R4X00
359 select SYS_HAS_CPU_R5000
Ralf Baechle36a88532007-03-01 11:56:43 +0000360 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700361 select SYS_SUPPORTS_32BIT_KERNEL
362 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100363 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364 help
365 This are the SGI Indy, Challenge S and Indigo2, as well as certain
366 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
367 that runs on these, say Y here.
368
369config SGI_IP27
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200370 bool "SGI IP27 (Origin200/2000)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700371 select ARC
372 select ARC64
Ralf Baechle5e83d432005-10-29 19:32:41 +0100373 select BOOT_ELF64
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100374 select DEFAULT_SGI_PARTITION
Ralf Baechle634286f2009-01-28 17:48:40 +0000375 select DMA_COHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000376 select SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700377 select HW_HAS_PCI
Ralf Baechle130e2fb2007-02-06 16:53:15 +0000378 select NR_CPUS_DEFAULT_64
Ralf Baechle7cf80532005-10-20 22:33:09 +0100379 select SYS_HAS_CPU_R10000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700380 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100381 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechled8cb4e12006-06-11 23:03:08 +0100382 select SYS_SUPPORTS_NUMA
Ralf Baechle1a5c5de2006-11-02 17:23:33 +0000383 select SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700384 help
385 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
386 workstations. To compile a Linux kernel that runs on these, say Y
387 here.
388
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100389config SGI_IP28
390 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
391 depends on EXPERIMENTAL
392 select ARC
393 select ARC64
394 select BOOT_ELF64
395 select CEVT_R4K
396 select CSRC_R4K
397 select DEFAULT_SGI_PARTITION
398 select DMA_NONCOHERENT
399 select GENERIC_ISA_DMA_SUPPORT_BROKEN
400 select IRQ_CPU
401 select HW_HAS_EISA
402 select I8253
403 select I8259
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100404 select SGI_HAS_I8042
405 select SGI_HAS_INDYDOG
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +0200406 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100407 select SGI_HAS_SEEQ
408 select SGI_HAS_WD93
409 select SGI_HAS_ZILOG
410 select SWAP_IO_SPACE
411 select SYS_HAS_CPU_R10000
412 select SYS_HAS_EARLY_PRINTK
413 select SYS_SUPPORTS_64BIT_KERNEL
414 select SYS_SUPPORTS_BIG_ENDIAN
415 help
416 This is the SGI Indigo2 with R10000 processor. To compile a Linux
417 kernel that runs on these, say Y here.
418
Linus Torvalds1da177e2005-04-16 15:20:36 -0700419config SGI_IP32
Ralf Baechlecfd2afc2007-07-10 17:33:00 +0100420 bool "SGI IP32 (O2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700421 select ARC
422 select ARC32
423 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100424 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000425 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700426 select DMA_NONCOHERENT
427 select HW_HAS_PCI
Ralf Baechledd67b152007-10-14 14:02:26 +0100428 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700429 select R5000_CPU_SCACHE
430 select RM7000_CPU_SCACHE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100431 select SYS_HAS_CPU_R5000
432 select SYS_HAS_CPU_R10000 if BROKEN
433 select SYS_HAS_CPU_RM7000
Ralf Baechledd2f18f2006-01-19 14:55:42 +0000434 select SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700435 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100436 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700437 help
438 If you want this kernel to run on SGI O2 workstation, say Y here.
439
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900440config SIBYTE_CRHINE
441 bool "Sibyte BCM91120C-CRhine"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100442 depends on EXPERIMENTAL
443 select BOOT_ELF32
444 select DMA_COHERENT
445 select SIBYTE_BCM1120
446 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100447 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100448 select SYS_SUPPORTS_BIG_ENDIAN
449 select SYS_SUPPORTS_LITTLE_ENDIAN
450
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900451config SIBYTE_CARMEL
452 bool "Sibyte BCM91120x-Carmel"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100453 depends on EXPERIMENTAL
454 select BOOT_ELF32
455 select DMA_COHERENT
456 select SIBYTE_BCM1120
457 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100458 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100459 select SYS_SUPPORTS_BIG_ENDIAN
460 select SYS_SUPPORTS_LITTLE_ENDIAN
461
462config SIBYTE_CRHONE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200463 bool "Sibyte BCM91125C-CRhone"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100464 depends on EXPERIMENTAL
465 select BOOT_ELF32
466 select DMA_COHERENT
467 select SIBYTE_BCM1125
468 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100469 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100470 select SYS_SUPPORTS_BIG_ENDIAN
471 select SYS_SUPPORTS_HIGHMEM
472 select SYS_SUPPORTS_LITTLE_ENDIAN
473
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900474config SIBYTE_RHONE
475 bool "Sibyte BCM91125E-Rhone"
476 depends on EXPERIMENTAL
477 select BOOT_ELF32
478 select DMA_COHERENT
479 select SIBYTE_BCM1125H
480 select SWAP_IO_SPACE
481 select SYS_HAS_CPU_SB1
482 select SYS_SUPPORTS_BIG_ENDIAN
483 select SYS_SUPPORTS_LITTLE_ENDIAN
484
485config SIBYTE_SWARM
486 bool "Sibyte BCM91250A-SWARM"
487 select BOOT_ELF32
488 select DMA_COHERENT
489 select NR_CPUS_DEFAULT_2
490 select SIBYTE_SB1250
491 select SWAP_IO_SPACE
492 select SYS_HAS_CPU_SB1
493 select SYS_SUPPORTS_BIG_ENDIAN
494 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900495 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335ae2007-11-03 02:05:43 +0000496 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900497
498config SIBYTE_LITTLESUR
499 bool "Sibyte BCM91250C2-LittleSur"
500 depends on EXPERIMENTAL
501 select BOOT_ELF32
502 select DMA_COHERENT
503 select NR_CPUS_DEFAULT_2
504 select SIBYTE_SB1250
505 select SWAP_IO_SPACE
506 select SYS_HAS_CPU_SB1
507 select SYS_SUPPORTS_BIG_ENDIAN
508 select SYS_SUPPORTS_HIGHMEM
509 select SYS_SUPPORTS_LITTLE_ENDIAN
510
511config SIBYTE_SENTOSA
512 bool "Sibyte BCM91250E-Sentosa"
513 depends on EXPERIMENTAL
514 select BOOT_ELF32
515 select DMA_COHERENT
516 select NR_CPUS_DEFAULT_2
517 select SIBYTE_SB1250
518 select SWAP_IO_SPACE
519 select SYS_HAS_CPU_SB1
520 select SYS_SUPPORTS_BIG_ENDIAN
521 select SYS_SUPPORTS_LITTLE_ENDIAN
522
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900523config SIBYTE_BIGSUR
524 bool "Sibyte BCM91480B-BigSur"
525 select BOOT_ELF32
526 select DMA_COHERENT
527 select NR_CPUS_DEFAULT_4
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900528 select SIBYTE_BCM1x80
529 select SWAP_IO_SPACE
530 select SYS_HAS_CPU_SB1
531 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle651194f2007-11-01 21:55:39 +0000532 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900533 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335ae2007-11-03 02:05:43 +0000534 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900535
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100536config SNI_RM
537 bool "SNI RM200/300/400"
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200538 select ARC if CPU_LITTLE_ENDIAN
539 select ARC32 if CPU_LITTLE_ENDIAN
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +0100540 select SNIPROM if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100541 select ARCH_MAY_HAVE_PC_FDC
542 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100543 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000544 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100545 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100546 select DMA_NONCOHERENT
547 select GENERIC_ISA_DMA
Ralf Baechle5e83d432005-10-29 19:32:41 +0100548 select HW_HAS_EISA
549 select HW_HAS_PCI
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100550 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100551 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100552 select I8259
553 select ISA
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200554 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100555 select SYS_HAS_CPU_R4X00
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200556 select SYS_HAS_CPU_R5000
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100557 select SYS_HAS_CPU_R10000
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200558 select R5000_CPU_SCACHE
Ralf Baechle36a88532007-03-01 11:56:43 +0000559 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700560 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100561 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200562 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100563 select SYS_SUPPORTS_HIGHMEM
564 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700565 help
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100566 The SNI RM200/300/400 are MIPS-based machines manufactured by
567 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Ralf Baechle5e83d432005-10-29 19:32:41 +0100568 Technology and now in turn merged with Fujitsu. Say Y here to
569 support this machine type.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700570
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900571config MACH_TX39XX
572 bool "Toshiba TX39 series based machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100573
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900574config MACH_TX49XX
575 bool "Toshiba TX49 series based machines"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000576
Ralf Baechle73b43902008-07-16 16:12:25 +0100577config MIKROTIK_RB532
578 bool "Mikrotik RB532 boards"
579 select CEVT_R4K
580 select CSRC_R4K
581 select DMA_NONCOHERENT
Ralf Baechle73b43902008-07-16 16:12:25 +0100582 select HW_HAS_PCI
583 select IRQ_CPU
584 select SYS_HAS_CPU_MIPS32_R1
585 select SYS_SUPPORTS_32BIT_KERNEL
586 select SYS_SUPPORTS_LITTLE_ENDIAN
587 select SWAP_IO_SPACE
588 select BOOT_RAW
Florian Fainellid888e252008-08-23 18:54:34 +0200589 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle73b43902008-07-16 16:12:25 +0100590 help
591 Support the Mikrotik(tm) RouterBoard 532 series,
592 based on the IDT RC32434 SoC.
593
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900594config WR_PPMC
595 bool "Wind River PPMC board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100596 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000597 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900598 select IRQ_CPU
599 select BOOT_ELF32
600 select DMA_NONCOHERENT
601 select HW_HAS_PCI
602 select PCI_GT64XXX_PCI0
603 select SWAP_IO_SPACE
604 select SYS_HAS_CPU_MIPS32_R1
605 select SYS_HAS_CPU_MIPS32_R2
606 select SYS_HAS_CPU_MIPS64_R1
607 select SYS_HAS_CPU_NEVADA
608 select SYS_HAS_CPU_RM7000
609 select SYS_SUPPORTS_32BIT_KERNEL
610 select SYS_SUPPORTS_64BIT_KERNEL
611 select SYS_SUPPORTS_BIG_ENDIAN
612 select SYS_SUPPORTS_LITTLE_ENDIAN
613 help
614 This enables support for the Wind River MIPS32 4KC PPMC evaluation
615 board, which is based on GT64120 bridge chip.
616
David Daneya86c7f72008-12-11 15:33:38 -0800617config CAVIUM_OCTEON_SIMULATOR
Yoichi Yuasac9d89d92009-06-02 23:15:10 +0900618 bool "Cavium Networks Octeon Simulator"
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 Daney5e683382009-02-02 11:30:59 -0800626 select SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -0800627 help
628 The Octeon simulator is software performance model of the Cavium
629 Octeon Processor. It supports simulating Octeon processors on x86
630 hardware.
631
632config CAVIUM_OCTEON_REFERENCE_BOARD
Yoichi Yuasac9d89d92009-06-02 23:15:10 +0900633 bool "Cavium Networks Octeon reference board"
David Daneya86c7f72008-12-11 15:33:38 -0800634 select CEVT_R4K
635 select 64BIT_PHYS_ADDR
636 select DMA_COHERENT
637 select SYS_SUPPORTS_64BIT_KERNEL
638 select SYS_SUPPORTS_BIG_ENDIAN
639 select SYS_SUPPORTS_HIGHMEM
Ralf Baechle773cb772009-06-23 10:36:38 +0100640 select SYS_SUPPORTS_HOTPLUG_CPU
David Daneya86c7f72008-12-11 15:33:38 -0800641 select SYS_HAS_EARLY_PRINTK
David Daney5e683382009-02-02 11:30:59 -0800642 select SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -0800643 select SWAP_IO_SPACE
David Daneye8635b42009-04-23 17:44:38 -0700644 select HW_HAS_PCI
645 select ARCH_SUPPORTS_MSI
David Daneya86c7f72008-12-11 15:33:38 -0800646 help
647 This option supports all of the Octeon reference boards from Cavium
648 Networks. It builds a kernel that dynamically determines the Octeon
649 CPU type and supports all known board reference implementations.
650 Some of the supported boards are:
651 EBT3000
652 EBH3000
653 EBH3100
654 Thunder
655 Kodama
656 Hikari
657 Say Y here for most Octeon reference boards.
658
Linus Torvalds1da177e2005-04-16 15:20:36 -0700659endchoice
660
Ralf Baechlee8c7c482008-09-16 19:12:16 +0200661source "arch/mips/alchemy/Kconfig"
Yoichi Yuasa9c746ed2007-12-12 22:39:54 +0900662source "arch/mips/basler/excite/Kconfig"
Maxime Bizone7300d02009-08-18 13:23:37 +0100663source "arch/mips/bcm63xx/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100664source "arch/mips/jazz/Kconfig"
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200665source "arch/mips/lasat/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100666source "arch/mips/pmc-sierra/Kconfig"
Ralf Baechle29c48692005-02-07 01:27:14 +0000667source "arch/mips/sgi-ip27/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000668source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto22b1d702008-07-11 00:31:36 +0900669source "arch/mips/txx9/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100670source "arch/mips/vr41xx/Kconfig"
David Daneya86c7f72008-12-11 15:33:38 -0800671source "arch/mips/cavium-octeon/Kconfig"
Wu Zhangjin85749d22009-07-02 23:26:45 +0800672source "arch/mips/loongson/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000673
Ralf Baechle5e83d432005-10-29 19:32:41 +0100674endmenu
675
Linus Torvalds1da177e2005-04-16 15:20:36 -0700676config RWSEM_GENERIC_SPINLOCK
677 bool
678 default y
679
680config RWSEM_XCHGADD_ALGORITHM
681 bool
682
David Howellsf0d1b0b2006-12-08 02:37:49 -0800683config ARCH_HAS_ILOG2_U32
684 bool
685 default n
686
687config ARCH_HAS_ILOG2_U64
688 bool
689 default n
690
Ralf Baechle00a58252007-12-06 16:53:19 +0000691config ARCH_SUPPORTS_OPROFILE
692 bool
693 default y if !MIPS_MT_SMTC
694
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800695config GENERIC_FIND_NEXT_BIT
696 bool
697 default y
698
699config GENERIC_HWEIGHT
700 bool
701 default y
702
Linus Torvalds1da177e2005-04-16 15:20:36 -0700703config GENERIC_CALIBRATE_DELAY
704 bool
705 default y
706
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100707config GENERIC_CLOCKEVENTS
708 bool
709 default y
710
Ralf Baechle8db02012006-10-02 16:54:48 +0100711config GENERIC_TIME
712 bool
713 default y
714
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100715config GENERIC_CMOS_UPDATE
716 bool
717 default y
718
Ingo Molnarae1e9132008-11-11 09:05:16 +0100719config SCHED_OMIT_FRAME_POINTER
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900720 bool
721 default y
722
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100723config GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechlec87e0902009-03-30 14:49:44 +0200724 def_bool y
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100725
Linus Torvalds1da177e2005-04-16 15:20:36 -0700726#
727# Select some configuration options automatically based on user selections.
728#
729config ARC
730 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700731
Ralf Baechle61ed2422005-09-15 08:52:34 +0000732config ARCH_MAY_HAVE_PC_FDC
733 bool
734
Marc St-Jean9267a302007-06-14 15:55:31 -0600735config BOOT_RAW
736 bool
737
Ralf Baechle217dd112007-11-01 01:57:55 +0000738config CEVT_BCM1480
739 bool
740
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900741config CEVT_DS1287
742 bool
743
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900744config CEVT_GT641XX
745 bool
746
Manuel Lauss779e7d42008-12-21 09:26:22 +0100747config CEVT_R4K_LIB
748 bool
749
Ralf Baechle42f77542007-10-18 17:48:11 +0100750config CEVT_R4K
Manuel Lauss779e7d42008-12-21 09:26:22 +0100751 select CEVT_R4K_LIB
Ralf Baechle42f77542007-10-18 17:48:11 +0100752 bool
753
Ralf Baechle217dd112007-11-01 01:57:55 +0000754config CEVT_SB1250
755 bool
756
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900757config CEVT_TXX9
758 bool
759
Ralf Baechle217dd112007-11-01 01:57:55 +0000760config CSRC_BCM1480
761 bool
762
Yoichi Yuasa42474172008-04-24 09:48:40 +0900763config CSRC_IOASIC
764 bool
765
Manuel Lauss779e7d42008-12-21 09:26:22 +0100766config CSRC_R4K_LIB
767 bool
768
Ralf Baechle940f6b42007-11-24 22:33:28 +0000769config CSRC_R4K
Manuel Lauss779e7d42008-12-21 09:26:22 +0100770 select CSRC_R4K_LIB
Ralf Baechle940f6b42007-11-24 22:33:28 +0000771 bool
772
Ralf Baechle217dd112007-11-01 01:57:55 +0000773config CSRC_SB1250
774 bool
775
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900776config GPIO_TXX9
777 select GENERIC_GPIO
Michael Buesch7444a722008-07-25 01:46:11 -0700778 select ARCH_REQUIRE_GPIOLIB
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900779 bool
780
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200781config CFE
782 bool
783
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700784config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700785 bool
786
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700787config DMA_NONCOHERENT
788 bool
789 select DMA_NEED_PCI_MAP_STATE
790
791config DMA_NEED_PCI_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700792 bool
793
794config EARLY_PRINTK
Ralf Baechle36a88532007-03-01 11:56:43 +0000795 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
796 depends on SYS_HAS_EARLY_PRINTK
797 default y
798 help
799 This option enables special console drivers which allow the kernel
800 to print messages very early in the bootup process.
801
802 This is useful for kernel debugging when your machine crashes very
Robert P. J. Day490dcc42007-05-20 12:11:07 -0400803 early before the console code is initialized. For normal operation,
804 it is not recommended because it looks ugly on some machines and
805 doesn't cooperate with an X server. You should normally say N here,
Ralf Baechle36a88532007-03-01 11:56:43 +0000806 unless you want to debug such a crash.
807
808config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700809 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700810
Ralf Baechledbb74542007-08-07 14:52:17 +0100811config HOTPLUG_CPU
Ralf Baechle1b2bc752009-06-23 10:00:31 +0100812 bool "Support for hot-pluggable CPUs"
813 depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
814 help
815 Say Y here to allow turning CPUs off and on. CPUs can be
816 controlled through /sys/devices/system/cpu.
817 (Note: power management support will enable this option
818 automatically on SMP systems. )
819 Say N if you want to disable CPU hotplug.
820
821config SYS_SUPPORTS_HOTPLUG_CPU
Ralf Baechledbb74542007-08-07 14:52:17 +0100822 bool
Ralf Baechledbb74542007-08-07 14:52:17 +0100823
Linus Torvalds1da177e2005-04-16 15:20:36 -0700824config I8259
825 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700826
Linus Torvalds1da177e2005-04-16 15:20:36 -0700827config MIPS_BONITO64
828 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700829
830config MIPS_MSC
831 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700832
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200833config MIPS_NILE4
834 bool
835
Linus Torvalds1da177e2005-04-16 15:20:36 -0700836config MIPS_DISABLE_OBSOLETE_IDE
837 bool
838
Ralf Baechle39b8d522008-04-28 17:14:26 +0100839config SYNC_R4K
840 bool
841
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100842config NO_IOPORT
843 def_bool n
844
Ralf Baechle8313da32007-08-24 16:48:30 +0100845config GENERIC_ISA_DMA
846 bool
847 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
848
Ralf Baechleaa414df2006-11-30 01:14:51 +0000849config GENERIC_ISA_DMA_SUPPORT_BROKEN
850 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100851 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000852
Yoichi Yuasa09663332007-05-22 00:05:58 +0900853config GENERIC_GPIO
854 bool
855
Ralf Baechle5e83d432005-10-29 19:32:41 +0100856#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100857# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100858# answer,so we try hard to limit the available choices. Also the use of a
859# choice statement should be more obvious to the user.
860#
861choice
862 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700863 help
864 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100865 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100866 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100867 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200868 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100869
870config CPU_BIG_ENDIAN
871 bool "Big endian"
872 depends on SYS_SUPPORTS_BIG_ENDIAN
873
874config CPU_LITTLE_ENDIAN
875 bool "Little endian"
876 depends on SYS_SUPPORTS_LITTLE_ENDIAN
877 help
878
879endchoice
880
Ralf Baechle21162452007-02-09 17:08:58 +0000881config SYS_SUPPORTS_APM_EMULATION
882 bool
883
Ralf Baechle5e83d432005-10-29 19:32:41 +0100884config SYS_SUPPORTS_BIG_ENDIAN
885 bool
886
887config SYS_SUPPORTS_LITTLE_ENDIAN
888 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700889
David Daney9cffd152009-05-27 17:47:46 -0700890config SYS_SUPPORTS_HUGETLBFS
891 bool
892 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
893 default y
894
Linus Torvalds1da177e2005-04-16 15:20:36 -0700895config IRQ_CPU
896 bool
897
898config IRQ_CPU_RM7K
899 bool
900
Ralf Baechle5e83d432005-10-29 19:32:41 +0100901config IRQ_CPU_RM9K
902 bool
903
Marc St-Jean9267a302007-06-14 15:55:31 -0600904config IRQ_MSP_SLP
905 bool
906
907config IRQ_MSP_CIC
908 bool
909
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900910config IRQ_TXX9
911 bool
912
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900913config IRQ_GT641XX
914 bool
915
Ralf Baechle39b8d522008-04-28 17:14:26 +0100916config IRQ_GIC
917 bool
918
David Daneya86c7f72008-12-11 15:33:38 -0800919config IRQ_CPU_OCTEON
920 bool
921
Linus Torvalds1da177e2005-04-16 15:20:36 -0700922config MIPS_BOARDS_GEN
923 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700924
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900925config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700926 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700927
Marc St-Jean9267a302007-06-14 15:55:31 -0600928config NO_EXCEPT_FILL
929 bool
930
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200931config MIPS_RM9122
932 bool
933 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200934
Ralf Baechlea83860c2009-03-13 21:17:57 +0100935config SOC_EMMA2RH
936 bool
937 select CEVT_R4K
938 select CSRC_R4K
939 select DMA_NONCOHERENT
940 select IRQ_CPU
941 select SWAP_IO_SPACE
942 select SYS_HAS_CPU_R5500
943 select SYS_SUPPORTS_32BIT_KERNEL
944 select SYS_SUPPORTS_64BIT_KERNEL
945 select SYS_SUPPORTS_BIG_ENDIAN
946
Daniel Lairdedb63102008-06-16 15:49:21 +0100947config SOC_PNX833X
948 bool
949 select CEVT_R4K
950 select CSRC_R4K
951 select IRQ_CPU
952 select DMA_NONCOHERENT
953 select SYS_HAS_CPU_MIPS32_R2
954 select SYS_SUPPORTS_32BIT_KERNEL
955 select SYS_SUPPORTS_LITTLE_ENDIAN
956 select SYS_SUPPORTS_BIG_ENDIAN
Daniel Lairdedb63102008-06-16 15:49:21 +0100957 select GENERIC_GPIO
958 select CPU_MIPSR2_IRQ_VI
959
960config SOC_PNX8335
961 bool
962 select SOC_PNX833X
963
Pete Popovbdf21b12005-07-14 17:47:57 +0000964config PNX8550
965 bool
966 select SOC_PNX8550
967
968config SOC_PNX8550
969 bool
Pete Popovbdf21b12005-07-14 17:47:57 +0000970 select DMA_NONCOHERENT
971 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +0000972 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +0000973 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +0100974 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli4ead1682007-05-22 21:44:42 +0200975 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +0000976
Linus Torvalds1da177e2005-04-16 15:20:36 -0700977config SWAP_IO_SPACE
978 bool
979
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200980config SERIAL_RM9000
981 bool
982
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100983config SGI_HAS_INDYDOG
984 bool
985
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +0200986config SGI_HAS_HAL2
987 bool
988
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100989config SGI_HAS_SEEQ
990 bool
991
992config SGI_HAS_WD93
993 bool
994
995config SGI_HAS_ZILOG
996 bool
997
998config SGI_HAS_I8042
999 bool
1000
1001config DEFAULT_SGI_PARTITION
1002 bool
1003
Ralf Baechle5e83d432005-10-29 19:32:41 +01001004config ARC32
1005 bool
1006
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +01001007config SNIPROM
1008 bool
1009
Linus Torvalds1da177e2005-04-16 15:20:36 -07001010config BOOT_ELF32
1011 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001012
1013config MIPS_L1_CACHE_SHIFT
1014 int
Ralf Baechle73b43902008-07-16 16:12:25 +01001015 default "4" if MACH_DECSTATION || MIKROTIK_RB532
David Daneya86c7f72008-12-11 15:33:38 -08001016 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
Marc St-Jean9267a302007-06-14 15:55:31 -06001017 default "4" if PMC_MSP4200_EVAL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001018 default "5"
1019
Linus Torvalds1da177e2005-04-16 15:20:36 -07001020config HAVE_STD_PC_SERIAL_PORT
1021 bool
1022
Linus Torvalds1da177e2005-04-16 15:20:36 -07001023config ARC_CONSOLE
1024 bool "ARC console support"
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001025 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001026
1027config ARC_MEMORY
1028 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +01001029 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001030 default y
1031
1032config ARC_PROMLIB
1033 bool
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001034 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001035 default y
1036
1037config ARC64
1038 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001039
1040config BOOT_ELF64
1041 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001042
Linus Torvalds1da177e2005-04-16 15:20:36 -07001043menu "CPU selection"
1044
1045choice
1046 prompt "CPU type"
1047 default CPU_R4X00
1048
Wu Zhangjin3702bba2009-07-02 23:27:41 +08001049config CPU_LOONGSON2E
1050 bool "Loongson 2E"
1051 depends on SYS_HAS_CPU_LOONGSON2E
1052 select CPU_LOONGSON2
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001053 help
1054 The Loongson 2E processor implements the MIPS III instruction set
1055 with many extensions.
1056
Ralf Baechle6e760c82005-07-06 12:08:11 +00001057config CPU_MIPS32_R1
1058 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001059 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechle6e760c82005-07-06 12:08:11 +00001060 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001061 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001062 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001063 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001064 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001065 MIPS32 architecture. Most modern embedded systems with a 32-bit
1066 MIPS processor are based on a MIPS32 processor. If you know the
1067 specific type of processor in your system, choose those that one
1068 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1069 Release 2 of the MIPS32 architecture is available since several
1070 years so chances are you even have a MIPS32 Release 2 processor
1071 in which case you should choose CPU_MIPS32_R2 instead for better
1072 performance.
1073
1074config CPU_MIPS32_R2
1075 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001076 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001077 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001078 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001079 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001080 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001081 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +00001082 MIPS32 architecture. Most modern embedded systems with a 32-bit
1083 MIPS processor are based on a MIPS32 processor. If you know the
1084 specific type of processor in your system, choose those that one
1085 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001086
Ralf Baechle6e760c82005-07-06 12:08:11 +00001087config CPU_MIPS64_R1
1088 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001089 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechle797798c2005-08-10 15:17:11 +00001090 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001091 select CPU_SUPPORTS_32BIT_KERNEL
1092 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001093 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd152009-05-27 17:47:46 -07001094 select CPU_SUPPORTS_HUGEPAGES
Ralf Baechle6e760c82005-07-06 12:08:11 +00001095 help
1096 Choose this option to build a kernel for release 1 or later of the
1097 MIPS64 architecture. Many modern embedded systems with a 64-bit
1098 MIPS processor are based on a MIPS64 processor. If you know the
1099 specific type of processor in your system, choose those that one
1100 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001101 Release 2 of the MIPS64 architecture is available since several
1102 years so chances are you even have a MIPS64 Release 2 processor
1103 in which case you should choose CPU_MIPS64_R2 instead for better
1104 performance.
1105
1106config CPU_MIPS64_R2
1107 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001108 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechle797798c2005-08-10 15:17:11 +00001109 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001110 select CPU_SUPPORTS_32BIT_KERNEL
1111 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001112 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd152009-05-27 17:47:46 -07001113 select CPU_SUPPORTS_HUGEPAGES
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001114 help
1115 Choose this option to build a kernel for release 2 or later of the
1116 MIPS64 architecture. Many modern embedded systems with a 64-bit
1117 MIPS processor are based on a MIPS64 processor. If you know the
1118 specific type of processor in your system, choose those that one
1119 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001120
1121config CPU_R3000
1122 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001123 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001124 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001125 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001126 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001127 help
1128 Please make sure to pick the right CPU type. Linux/MIPS is not
1129 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1130 *not* work on R4000 machines and vice versa. However, since most
1131 of the supported machines have an R4000 (or similar) CPU, R4x00
1132 might be a safe bet. If the resulting kernel does not work,
1133 try to recompile with R3000.
1134
1135config CPU_TX39XX
1136 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001137 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001138 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001139
1140config CPU_VR41XX
1141 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001142 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001143 select CPU_SUPPORTS_32BIT_KERNEL
1144 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001145 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001146 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001147 Only choose this option if you have one of these processors as a
1148 kernel built with this option will not run on any other type of
1149 processor or vice versa.
1150
1151config CPU_R4300
1152 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001153 depends on SYS_HAS_CPU_R4300
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001154 select CPU_SUPPORTS_32BIT_KERNEL
1155 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001156 help
1157 MIPS Technologies R4300-series processors.
1158
1159config CPU_R4X00
1160 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001161 depends on SYS_HAS_CPU_R4X00
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 R4000-series processors other than 4300, including
1166 the R4000, R4400, R4600, and 4700.
1167
1168config CPU_TX49XX
1169 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001170 depends on SYS_HAS_CPU_TX49XX
Atsushi Nemotode862b42006-03-17 12:59:22 +09001171 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001172 select CPU_SUPPORTS_32BIT_KERNEL
1173 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001174
1175config CPU_R5000
1176 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001177 depends on SYS_HAS_CPU_R5000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001178 select CPU_SUPPORTS_32BIT_KERNEL
1179 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001180 help
1181 MIPS Technologies R5000-series processors other than the Nevada.
1182
1183config CPU_R5432
1184 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001185 depends on SYS_HAS_CPU_R5432
Ralf Baechle5e83d432005-10-29 19:32:41 +01001186 select CPU_SUPPORTS_32BIT_KERNEL
1187 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001188
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001189config CPU_R5500
1190 bool "R5500"
1191 depends on SYS_HAS_CPU_R5500
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001192 select CPU_SUPPORTS_32BIT_KERNEL
1193 select CPU_SUPPORTS_64BIT_KERNEL
David Daney9cffd152009-05-27 17:47:46 -07001194 select CPU_SUPPORTS_HUGEPAGES
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001195 help
1196 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1197 instruction set.
1198
Linus Torvalds1da177e2005-04-16 15:20:36 -07001199config CPU_R6000
1200 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001201 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001202 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001203 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001204 help
1205 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001206 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001207
1208config CPU_NEVADA
1209 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001210 depends on SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001211 select CPU_SUPPORTS_32BIT_KERNEL
1212 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001213 help
1214 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1215
1216config CPU_R8000
1217 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001218 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001219 depends on SYS_HAS_CPU_R8000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001220 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001221 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001222 help
1223 MIPS Technologies R8000 processors. Note these processors are
1224 uncommon and the support for them is incomplete.
1225
1226config CPU_R10000
1227 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001228 depends on SYS_HAS_CPU_R10000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001229 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001230 select CPU_SUPPORTS_32BIT_KERNEL
1231 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001232 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001233 help
1234 MIPS Technologies R10000-series processors.
1235
1236config CPU_RM7000
1237 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001238 depends on SYS_HAS_CPU_RM7000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001239 select CPU_HAS_PREFETCH
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
Linus Torvalds1da177e2005-04-16 15:20:36 -07001243
1244config CPU_RM9000
1245 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001246 depends on SYS_HAS_CPU_RM9000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001247 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001248 select CPU_SUPPORTS_32BIT_KERNEL
1249 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001250 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001251 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001252
1253config CPU_SB1
1254 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001255 depends on SYS_HAS_CPU_SB1
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001256 select CPU_SUPPORTS_32BIT_KERNEL
1257 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001258 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001259 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001260
David Daneya86c7f72008-12-11 15:33:38 -08001261config CPU_CAVIUM_OCTEON
1262 bool "Cavium Octeon processor"
David Daney5e683382009-02-02 11:30:59 -08001263 depends on SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -08001264 select IRQ_CPU
1265 select IRQ_CPU_OCTEON
1266 select CPU_HAS_PREFETCH
1267 select CPU_SUPPORTS_64BIT_KERNEL
1268 select SYS_SUPPORTS_SMP
1269 select NR_CPUS_DEFAULT_16
1270 select WEAK_ORDERING
1271 select WEAK_REORDERING_BEYOND_LLSC
1272 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd152009-05-27 17:47:46 -07001273 select CPU_SUPPORTS_HUGEPAGES
David Daneya86c7f72008-12-11 15:33:38 -08001274 help
1275 The Cavium Octeon processor is a highly integrated chip containing
1276 many ethernet hardware widgets for networking tasks. The processor
1277 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1278 Full details can be found at http://www.caviumnetworks.com.
1279
Linus Torvalds1da177e2005-04-16 15:20:36 -07001280endchoice
1281
Wu Zhangjin3702bba2009-07-02 23:27:41 +08001282config CPU_LOONGSON2
1283 bool
1284 select CPU_SUPPORTS_32BIT_KERNEL
1285 select CPU_SUPPORTS_64BIT_KERNEL
1286 select CPU_SUPPORTS_HIGHMEM
1287
1288config SYS_HAS_CPU_LOONGSON2E
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001289 bool
1290
Ralf Baechle7cf80532005-10-20 22:33:09 +01001291config SYS_HAS_CPU_MIPS32_R1
1292 bool
1293
1294config SYS_HAS_CPU_MIPS32_R2
1295 bool
1296
1297config SYS_HAS_CPU_MIPS64_R1
1298 bool
1299
1300config SYS_HAS_CPU_MIPS64_R2
1301 bool
1302
1303config SYS_HAS_CPU_R3000
1304 bool
1305
1306config SYS_HAS_CPU_TX39XX
1307 bool
1308
1309config SYS_HAS_CPU_VR41XX
1310 bool
1311
1312config SYS_HAS_CPU_R4300
1313 bool
1314
1315config SYS_HAS_CPU_R4X00
1316 bool
1317
1318config SYS_HAS_CPU_TX49XX
1319 bool
1320
1321config SYS_HAS_CPU_R5000
1322 bool
1323
1324config SYS_HAS_CPU_R5432
1325 bool
1326
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001327config SYS_HAS_CPU_R5500
1328 bool
1329
Ralf Baechle7cf80532005-10-20 22:33:09 +01001330config SYS_HAS_CPU_R6000
1331 bool
1332
1333config SYS_HAS_CPU_NEVADA
1334 bool
1335
1336config SYS_HAS_CPU_R8000
1337 bool
1338
1339config SYS_HAS_CPU_R10000
1340 bool
1341
1342config SYS_HAS_CPU_RM7000
1343 bool
1344
1345config SYS_HAS_CPU_RM9000
1346 bool
1347
1348config SYS_HAS_CPU_SB1
1349 bool
1350
David Daney5e683382009-02-02 11:30:59 -08001351config SYS_HAS_CPU_CAVIUM_OCTEON
1352 bool
1353
Ralf Baechle17099b12007-07-14 13:24:05 +01001354#
1355# CPU may reorder R->R, R->W, W->R, W->W
1356# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1357#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001358config WEAK_ORDERING
1359 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001360
1361#
1362# CPU may reorder reads and writes beyond LL/SC
1363# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1364#
1365config WEAK_REORDERING_BEYOND_LLSC
1366 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001367endmenu
1368
1369#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001370# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001371#
1372config CPU_MIPS32
1373 bool
1374 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1375
1376config CPU_MIPS64
1377 bool
1378 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1379
1380#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001381# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001382#
1383config CPU_MIPSR1
1384 bool
1385 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1386
1387config CPU_MIPSR2
1388 bool
David Daneya86c7f72008-12-11 15:33:38 -08001389 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
Ralf Baechle5e83d432005-10-29 19:32:41 +01001390
1391config SYS_SUPPORTS_32BIT_KERNEL
1392 bool
1393config SYS_SUPPORTS_64BIT_KERNEL
1394 bool
1395config CPU_SUPPORTS_32BIT_KERNEL
1396 bool
1397config CPU_SUPPORTS_64BIT_KERNEL
1398 bool
David Daney9cffd152009-05-27 17:47:46 -07001399config CPU_SUPPORTS_HUGEPAGES
1400 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001401
David Daney8192c9e2008-09-23 00:04:26 -07001402#
1403# Set to y for ptrace access to watch registers.
1404#
1405config HARDWARE_WATCHPOINTS
1406 bool
David Daneyf8394902009-01-05 15:29:14 -08001407 default y if CPU_MIPSR1 || CPU_MIPSR2
David Daney8192c9e2008-09-23 00:04:26 -07001408
Ralf Baechle5e83d432005-10-29 19:32:41 +01001409menu "Kernel type"
1410
1411choice
1412
1413 prompt "Kernel code model"
1414 help
1415 You should only select this option if you have a workload that
1416 actually benefits from 64-bit processing or if your machine has
1417 large memory. You will only be presented a single option in this
1418 menu if your system does not support both 32-bit and 64-bit kernels.
1419
1420config 32BIT
1421 bool "32-bit kernel"
1422 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1423 select TRAD_SIGNALS
1424 help
1425 Select this option if you want to build a 32-bit kernel.
1426config 64BIT
1427 bool "64-bit kernel"
1428 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechledbda6ac2009-02-08 16:00:26 +00001429 select HAVE_SYSCALL_WRAPPERS
Ralf Baechle5e83d432005-10-29 19:32:41 +01001430 help
1431 Select this option if you want to build a 64-bit kernel.
1432
1433endchoice
1434
Linus Torvalds1da177e2005-04-16 15:20:36 -07001435choice
1436 prompt "Kernel page size"
1437 default PAGE_SIZE_4KB
1438
1439config PAGE_SIZE_4KB
1440 bool "4kB"
1441 help
1442 This option select the standard 4kB Linux page size. On some
1443 R3000-family processors this is the only available page size. Using
1444 4kB page size will minimize memory consumption and is therefore
1445 recommended for low memory systems.
1446
1447config PAGE_SIZE_8KB
1448 bool "8kB"
Ralf Baechlec52399b2009-04-02 14:07:10 +02001449 depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
Linus Torvalds1da177e2005-04-16 15:20:36 -07001450 help
1451 Using 8kB page size will result in higher performance kernel at
1452 the price of higher memory consumption. This option is available
Ralf Baechlec52399b2009-04-02 14:07:10 +02001453 only on R8000 and cnMIPS processors. Note that you will need a
1454 suitable Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001455
1456config PAGE_SIZE_16KB
1457 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001458 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001459 help
1460 Using 16kB page size will result in higher performance kernel at
1461 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001462 all non-R3000 family processors. Note that you will need a suitable
1463 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001464
Ralf Baechlec52399b2009-04-02 14:07:10 +02001465config PAGE_SIZE_32KB
1466 bool "32kB"
1467 depends on CPU_CAVIUM_OCTEON
1468 help
1469 Using 32kB page size will result in higher performance kernel at
1470 the price of higher memory consumption. This option is available
1471 only on cnMIPS cores. Note that you will need a suitable Linux
1472 distribution to support this.
1473
Linus Torvalds1da177e2005-04-16 15:20:36 -07001474config PAGE_SIZE_64KB
1475 bool "64kB"
1476 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1477 help
1478 Using 64kB page size will result in higher performance kernel at
1479 the price of higher memory consumption. This option is available on
1480 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001481 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001482
1483endchoice
1484
1485config BOARD_SCACHE
1486 bool
1487
1488config IP22_CPU_SCACHE
1489 bool
1490 select BOARD_SCACHE
1491
Chris Dearman9318c512006-06-20 17:15:20 +01001492#
1493# Support for a MIPS32 / MIPS64 style S-caches
1494#
1495config MIPS_CPU_SCACHE
1496 bool
1497 select BOARD_SCACHE
1498
Linus Torvalds1da177e2005-04-16 15:20:36 -07001499config R5000_CPU_SCACHE
1500 bool
1501 select BOARD_SCACHE
1502
1503config RM7000_CPU_SCACHE
1504 bool
1505 select BOARD_SCACHE
1506
1507config SIBYTE_DMA_PAGEOPS
1508 bool "Use DMA to clear/copy pages"
1509 depends on CPU_SB1
1510 help
1511 Instead of using the CPU to zero and copy pages, use a Data Mover
1512 channel. These DMA channels are otherwise unused by the standard
1513 SiByte Linux port. Seems to give a small performance benefit.
1514
1515config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001516 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001517
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001518choice
1519 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001520
1521config MIPS_MT_DISABLED
1522 bool "Disable multithreading support."
1523 help
1524 Use this option if your workload can't take advantage of
1525 MIPS hardware multithreading support. On systems that don't have
1526 the option of an MT-enabled processor this option will be the only
1527 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001528
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001529config MIPS_MT_SMP
1530 bool "Use 1 TC on each available VPE for SMP"
1531 depends on SYS_SUPPORTS_MULTITHREADING
1532 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001533 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001534 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001535 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001536 select SMP
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001537 select SYS_SUPPORTS_SCHED_SMT if SMP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001538 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001539 select SMP_UP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001540 help
1541 This is a kernel model which is also known a VSMP or lately
1542 has been marketesed into SMVP.
1543
Ralf Baechle41c594a2006-04-05 09:45:45 +01001544config MIPS_MT_SMTC
1545 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001546 depends on CPU_MIPS32_R2
1547 #depends on CPU_MIPS64_R2 # once there is hardware ...
1548 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001549 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001550 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001551 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001552 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001553 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001554 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001555 select SMP_UP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001556 help
1557 This is a kernel model which is known a SMTC or lately has been
1558 marketesed into SMVP.
Ralf Baechle41c594a2006-04-05 09:45:45 +01001559
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001560endchoice
1561
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001562config MIPS_MT
1563 bool
1564
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001565config SCHED_SMT
1566 bool "SMT (multithreading) scheduler support"
1567 depends on SYS_SUPPORTS_SCHED_SMT
1568 default n
1569 help
1570 SMT scheduler support improves the CPU scheduler's decision making
1571 when dealing with MIPS MT enabled cores at a cost of slightly
1572 increased overhead in some places. If unsure say N here.
1573
1574config SYS_SUPPORTS_SCHED_SMT
1575 bool
1576
1577
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001578config SYS_SUPPORTS_MULTITHREADING
1579 bool
1580
Ralf Baechlef088fc82006-04-05 09:45:47 +01001581config MIPS_MT_FPAFF
1582 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001583 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001584 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1585
1586config MIPS_VPE_LOADER
1587 bool "VPE loader support."
1588 depends on SYS_SUPPORTS_MULTITHREADING
1589 select CPU_MIPSR2_IRQ_VI
1590 select CPU_MIPSR2_IRQ_EI
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001591 select MIPS_MT
1592 help
1593 Includes a loader for loading an elf relocatable object
1594 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001595
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001596config MIPS_MT_SMTC_IM_BACKSTOP
1597 bool "Use per-TC register bits as backstop for inhibited IM bits"
1598 depends on MIPS_MT_SMTC
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001599 default n
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001600 help
1601 To support multiple TC microthreads acting as "CPUs" within
1602 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1603 during interrupt handling. To support legacy drivers and interrupt
1604 controller management code, SMTC has a "backstop" to track and
1605 if necessary restore the interrupt mask. This has some performance
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001606 impact on interrupt service overhead.
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001607
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001608config MIPS_MT_SMTC_IRQAFF
1609 bool "Support IRQ affinity API"
1610 depends on MIPS_MT_SMTC
1611 default n
1612 help
1613 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1614 for SMTC Linux kernel. Requires platform support, of which
1615 an example can be found in the MIPS kernel i8259 and Malta
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001616 platform code. Adds some overhead to interrupt dispatch, and
1617 should be used only if you know what you are doing.
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001618
Ralf Baechlee01402b2005-07-14 15:57:16 +00001619config MIPS_VPE_LOADER_TOM
1620 bool "Load VPE program into memory hidden from linux"
1621 depends on MIPS_VPE_LOADER
1622 default y
1623 help
1624 The loader can use memory that is present but has been hidden from
1625 Linux using the kernel command line option "mem=xxMB". It's up to
1626 you to ensure the amount you put in the option and the space your
1627 program requires is less or equal to the amount physically present.
1628
1629# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1630config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001631 bool "Enable support for AP/SP API (RTLX)"
1632 depends on MIPS_VPE_LOADER
1633 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001634
Ralf Baechle26009902006-04-05 09:45:45 +01001635config MIPS_APSP_KSPD
1636 bool "Enable KSPD"
1637 depends on MIPS_VPE_APSP_API
1638 default y
1639 help
1640 KSPD is a kernel daemon that accepts syscall requests from the SP
1641 side, actions them and returns the results. It also handles the
1642 "exit" syscall notifying other kernel modules the SP program is
1643 exiting. You probably want to say yes here.
1644
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001645config MIPS_CMP
1646 bool "MIPS CMP framework support"
1647 depends on SYS_SUPPORTS_MIPS_CMP
Tim Andersoneb9b5142009-06-17 16:40:34 -07001648 select SYNC_R4K
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001649 select SYS_SUPPORTS_SMP
1650 select SYS_SUPPORTS_SCHED_SMT if SMP
1651 select WEAK_ORDERING
1652 default n
1653 help
1654 This is a placeholder option for the GCMP work. It will need to
1655 be handled differently...
1656
Linus Torvalds1da177e2005-04-16 15:20:36 -07001657config SB1_PASS_1_WORKAROUNDS
1658 bool
1659 depends on CPU_SB1_PASS_1
1660 default y
1661
1662config SB1_PASS_2_WORKAROUNDS
1663 bool
1664 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1665 default y
1666
1667config SB1_PASS_2_1_WORKAROUNDS
1668 bool
1669 depends on CPU_SB1 && CPU_SB1_PASS_2
1670 default y
1671
1672config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001673 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001674
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001675config CPU_HAS_SMARTMIPS
1676 depends on SYS_SUPPORTS_SMARTMIPS
1677 bool "Support for the SmartMIPS ASE"
1678 help
1679 SmartMIPS is a extension of the MIPS32 architecture aimed at
1680 increased security at both hardware and software level for
1681 smartcards. Enabling this option will allow proper use of the
1682 SmartMIPS instructions by Linux applications. However a kernel with
1683 this option will not work on a MIPS core without SmartMIPS core. If
1684 you don't know you probably don't have SmartMIPS and should say N
1685 here.
1686
Linus Torvalds1da177e2005-04-16 15:20:36 -07001687config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001688 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001689
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001690#
1691# Vectored interrupt mode is an R2 feature
1692#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001693config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001694 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001695
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001696#
1697# Extended interrupt mode is an R2 feature
1698#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001699config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001700 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001701
Linus Torvalds1da177e2005-04-16 15:20:36 -07001702config CPU_HAS_SYNC
1703 bool
1704 depends on !CPU_R3000
1705 default y
1706
Ralf Baechleea580402007-10-11 23:46:09 +01001707config GENERIC_CLOCKEVENTS_BROADCAST
1708 bool
1709
Linus Torvalds1da177e2005-04-16 15:20:36 -07001710#
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +01001711# CPU non-features
1712#
1713config CPU_DADDI_WORKAROUNDS
1714 bool
1715
1716config CPU_R4000_WORKAROUNDS
1717 bool
1718 select CPU_R4400_WORKAROUNDS
1719
1720config CPU_R4400_WORKAROUNDS
1721 bool
1722
1723#
Ralf Baechle797798c2005-08-10 15:17:11 +00001724# Use the generic interrupt handling code in kernel/irq/:
1725#
1726config GENERIC_HARDIRQS
1727 bool
1728 default y
1729
1730config GENERIC_IRQ_PROBE
1731 bool
1732 default y
1733
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001734config IRQ_PER_CPU
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001735 bool
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001736
Ralf Baechle797798c2005-08-10 15:17:11 +00001737#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001738# - Highmem only makes sense for the 32-bit kernel.
1739# - The current highmem code will only work properly on physically indexed
1740# caches such as R3000, SB1, R7000 or those that look like they're virtually
1741# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1742# moment we protect the user and offer the highmem option only on machines
1743# where it's known to be safe. This will not offer highmem on a few systems
1744# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1745# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001746# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1747# know they might have memory configurations that could make use of highmem
1748# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001749#
1750config HIGHMEM
1751 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001752 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1753
1754config CPU_SUPPORTS_HIGHMEM
1755 bool
1756
1757config SYS_SUPPORTS_HIGHMEM
1758 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001759
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001760config SYS_SUPPORTS_SMARTMIPS
1761 bool
1762
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001763config ARCH_FLATMEM_ENABLE
1764 def_bool y
1765 depends on !NUMA
1766
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001767config ARCH_DISCONTIGMEM_ENABLE
1768 bool
1769 default y if SGI_IP27
1770 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001771 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001772 for architectures which are either NUMA (Non-Uniform Memory Access)
1773 or have huge holes in the physical address space for other reasons.
1774 See <file:Documentation/vm/numa> for more.
1775
Ralf Baechlecce335ae2007-11-03 02:05:43 +00001776config ARCH_POPULATES_NODE_MAP
1777 def_bool y
1778
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001779config ARCH_SPARSEMEM_ENABLE
1780 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001781 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001782
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001783config NUMA
1784 bool "NUMA Support"
1785 depends on SYS_SUPPORTS_NUMA
1786 help
1787 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1788 Access). This option improves performance on systems with more
1789 than two nodes; on two node systems it is generally better to
1790 leave it disabled; on single node systems disable this option
1791 disabled.
1792
1793config SYS_SUPPORTS_NUMA
1794 bool
1795
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07001796config NODES_SHIFT
1797 int
1798 default "6"
1799 depends on NEED_MULTIPLE_NODES
1800
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001801source "mm/Kconfig"
1802
Linus Torvalds1da177e2005-04-16 15:20:36 -07001803config SMP
1804 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01001805 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01001806 select IRQ_PER_CPU
Jens Axboe2f304c02008-06-17 10:45:23 +02001807 select USE_GENERIC_SMP_HELPERS
Ralf Baechlee73ea272006-06-04 11:51:46 +01001808 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07001809 This enables support for systems with more than one CPU. If you have
1810 a system with only one CPU, like most personal computers, say N. If
1811 you have a system with more than one CPU, say Y.
1812
1813 If you say N here, the kernel will run on single and multiprocessor
1814 machines, but will use only one CPU of a multiprocessor machine. If
1815 you say Y here, the kernel will run on many, but not all,
1816 singleprocessor machines. On a singleprocessor machine, the kernel
1817 will run faster if you say N here.
1818
1819 People using multiprocessor machines who say Y here should also say
1820 Y to "Enhanced Real Time Clock Support", below.
1821
Adrian Bunk03502fa2008-02-03 15:50:21 +02001822 See also the SMP-HOWTO available at
1823 <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001824
1825 If you don't know what to do here, say N.
1826
Ralf Baechle87353d82007-11-19 12:23:51 +00001827config SMP_UP
1828 bool
1829
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001830config SYS_SUPPORTS_MIPS_CMP
1831 bool
1832
Ralf Baechlee73ea272006-06-04 11:51:46 +01001833config SYS_SUPPORTS_SMP
1834 bool
1835
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001836config NR_CPUS_DEFAULT_1
1837 bool
1838
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001839config NR_CPUS_DEFAULT_2
1840 bool
1841
1842config NR_CPUS_DEFAULT_4
1843 bool
1844
1845config NR_CPUS_DEFAULT_8
1846 bool
1847
1848config NR_CPUS_DEFAULT_16
1849 bool
1850
1851config NR_CPUS_DEFAULT_32
1852 bool
1853
1854config NR_CPUS_DEFAULT_64
1855 bool
1856
Linus Torvalds1da177e2005-04-16 15:20:36 -07001857config NR_CPUS
1858 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001859 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07001860 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001861 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001862 default "2" if NR_CPUS_DEFAULT_2
1863 default "4" if NR_CPUS_DEFAULT_4
1864 default "8" if NR_CPUS_DEFAULT_8
1865 default "16" if NR_CPUS_DEFAULT_16
1866 default "32" if NR_CPUS_DEFAULT_32
1867 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07001868 help
1869 This allows you to specify the maximum number of CPUs which this
1870 kernel will support. The maximum supported value is 32 for 32-bit
1871 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001872 sense is 1 for Qemu (useful only for kernel debugging purposes)
1873 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001874
1875 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001876 approximately eight kilobytes to the kernel image. For best
1877 performance should round up your number of processors to the next
1878 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001879
Atsushi Nemotoc4eee282007-11-12 01:05:16 +09001880source "kernel/time/Kconfig"
1881
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001882#
1883# Timer Interrupt Frequency Configuration
1884#
1885
1886choice
1887 prompt "Timer frequency"
1888 default HZ_250
1889 help
1890 Allows the configuration of the timer frequency.
1891
1892 config HZ_48
Ralf Baechle0f873582008-02-25 16:55:29 +00001893 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001894
1895 config HZ_100
1896 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1897
1898 config HZ_128
1899 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1900
1901 config HZ_250
1902 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1903
1904 config HZ_256
1905 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1906
1907 config HZ_1000
1908 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1909
1910 config HZ_1024
1911 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1912
1913endchoice
1914
1915config SYS_SUPPORTS_48HZ
1916 bool
1917
1918config SYS_SUPPORTS_100HZ
1919 bool
1920
1921config SYS_SUPPORTS_128HZ
1922 bool
1923
1924config SYS_SUPPORTS_250HZ
1925 bool
1926
1927config SYS_SUPPORTS_256HZ
1928 bool
1929
1930config SYS_SUPPORTS_1000HZ
1931 bool
1932
1933config SYS_SUPPORTS_1024HZ
1934 bool
1935
1936config SYS_SUPPORTS_ARBIT_HZ
1937 bool
1938 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1939 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1940 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1941 !SYS_SUPPORTS_1024HZ
1942
1943config HZ
1944 int
1945 default 48 if HZ_48
1946 default 100 if HZ_100
1947 default 128 if HZ_128
1948 default 250 if HZ_250
1949 default 256 if HZ_256
1950 default 1000 if HZ_1000
1951 default 1024 if HZ_1024
1952
Ralf Baechlee80de852005-07-11 20:45:51 +00001953source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001954
Linus Torvalds1da177e2005-04-16 15:20:36 -07001955config MIPS_INSANE_LARGE
1956 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001957 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001958 help
1959 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1960 previous 64-bit processors which only supported 40 bit / 1TB. If you
1961 need processes of more than 1TB virtual address space, say Y here.
1962 This will result in additional memory usage, so it is not
1963 recommended for normal users.
1964
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001965config KEXEC
1966 bool "Kexec system call (EXPERIMENTAL)"
1967 depends on EXPERIMENTAL
1968 help
1969 kexec is a system call that implements the ability to shutdown your
1970 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02001971 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001972 you can start any kernel with it, not just Linux.
1973
Matt LaPlante01dd2fb2007-10-20 01:34:40 +02001974 The name comes from the similarity to the exec system call.
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001975
1976 It is an ongoing process to be certain the hardware in a machine
1977 is properly shutdown, so do not be surprised if this code does not
1978 initially work for you. It may help to enable device hotplugging
1979 support. As of this writing the exact hardware interface is
1980 strongly in flux, so no good recommendation can be made.
1981
1982config SECCOMP
1983 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01001984 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001985 default y
1986 help
1987 This kernel feature is useful for number crunching applications
1988 that may need to compute untrusted bytecode during their
1989 execution. By using pipes or other transports made available to
1990 the process as file descriptors supporting the read/write
1991 syscalls, it's possible to isolate those applications in
1992 their own address space using seccomp. Once seccomp is
1993 enabled via /proc/<pid>/seccomp, it cannot be disabled
1994 and the task is only allowed to execute a few safe syscalls
1995 defined by each seccomp mode.
1996
1997 If unsure, say Y. Only embedded should say N here.
1998
Ralf Baechle5e83d432005-10-29 19:32:41 +01001999endmenu
2000
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09002001config LOCKDEP_SUPPORT
2002 bool
2003 default y
2004
2005config STACKTRACE_SUPPORT
2006 bool
2007 default y
2008
Ralf Baechleb6c35392005-11-25 11:35:40 +00002009source "init/Kconfig"
2010
Atsushi Nemoto00110362008-08-26 22:34:57 +09002011config PROBE_INITRD_HEADER
2012 bool "Probe initrd header created by addinitrd"
2013 depends on BLK_DEV_INITRD
2014 help
2015 Probe initrd header at the last page of kernel image.
2016 Say Y here if you are using arch/mips/boot/addinitrd.c to
2017 add initrd or initramfs image to the kernel image.
2018 Otherwise, say N.
2019
Matt Helsleydc52ddc2008-10-18 20:27:21 -07002020source "kernel/Kconfig.freezer"
2021
Linus Torvalds1da177e2005-04-16 15:20:36 -07002022menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2023
Ralf Baechle5e83d432005-10-29 19:32:41 +01002024config HW_HAS_EISA
2025 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002026config HW_HAS_PCI
2027 bool
2028
2029config PCI
2030 bool "Support for PCI controller"
2031 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01002032 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07002033 help
2034 Find out whether you have a PCI motherboard. PCI is the name of a
2035 bus system, i.e. the way the CPU talks to the other stuff inside
2036 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2037 say Y, otherwise N.
2038
Linus Torvalds1da177e2005-04-16 15:20:36 -07002039config PCI_DOMAINS
2040 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002041
2042source "drivers/pci/Kconfig"
2043
2044#
2045# ISA support is now enabled via select. Too many systems still have the one
2046# or other ISA chip on the board that users don't know about so don't expect
2047# users to choose the right thing ...
2048#
2049config ISA
2050 bool
2051
2052config EISA
2053 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002054 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002055 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00002056 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002057 ---help---
2058 The Extended Industry Standard Architecture (EISA) bus was
2059 developed as an open alternative to the IBM MicroChannel bus.
2060
2061 The EISA bus provided some of the features of the IBM MicroChannel
2062 bus while maintaining backward compatibility with cards made for
2063 the older ISA bus. The EISA bus saw limited use between 1988 and
2064 1995 when it was made obsolete by the PCI bus.
2065
2066 Say Y here if you are building a kernel for an EISA-based machine.
2067
2068 Otherwise, say N.
2069
2070source "drivers/eisa/Kconfig"
2071
2072config TC
2073 bool "TURBOchannel support"
2074 depends on MACH_DECSTATION
2075 help
2076 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2077 processors. Documentation on writing device drivers for TurboChannel
2078 is available at:
2079 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
2080
2081#config ACCESSBUS
2082# bool "Access.Bus support"
2083# depends on TC
2084
2085config MMU
2086 bool
2087 default y
2088
Ralf Baechled865bea2007-10-11 23:46:10 +01002089config I8253
2090 bool
2091
Ralf Baechlecce335ae2007-11-03 02:05:43 +00002092config ZONE_DMA32
2093 bool
2094
Linus Torvalds1da177e2005-04-16 15:20:36 -07002095source "drivers/pcmcia/Kconfig"
2096
2097source "drivers/pci/hotplug/Kconfig"
2098
2099endmenu
2100
2101menu "Executable file formats"
2102
2103source "fs/Kconfig.binfmt"
2104
2105config TRAD_SIGNALS
2106 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002107
Linus Torvalds1da177e2005-04-16 15:20:36 -07002108config MIPS32_COMPAT
2109 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002110 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002111 help
2112 Select this option if you want Linux/MIPS 32-bit binary
2113 compatibility. Since all software available for Linux/MIPS is
2114 currently 32-bit you should say Y here.
2115
2116config COMPAT
2117 bool
2118 depends on MIPS32_COMPAT
2119 default y
2120
Atsushi Nemoto05e43962006-11-07 18:02:44 +09002121config SYSVIPC_COMPAT
2122 bool
2123 depends on COMPAT && SYSVIPC
2124 default y
2125
Linus Torvalds1da177e2005-04-16 15:20:36 -07002126config MIPS32_O32
2127 bool "Kernel support for o32 binaries"
2128 depends on MIPS32_COMPAT
2129 help
2130 Select this option if you want to run o32 binaries. These are pure
2131 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2132 existing binaries are in this format.
2133
2134 If unsure, say Y.
2135
2136config MIPS32_N32
2137 bool "Kernel support for n32 binaries"
2138 depends on MIPS32_COMPAT
2139 help
2140 Select this option if you want to run n32 binaries. These are
2141 64-bit binaries using 32-bit quantities for addressing and certain
2142 data that would normally be 64-bit. They are used in special
2143 cases.
2144
2145 If unsure, say N.
2146
2147config BINFMT_ELF32
2148 bool
2149 default y if MIPS32_O32 || MIPS32_N32
2150
Ralf Baechle21162452007-02-09 17:08:58 +00002151endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07002152
Ralf Baechle21162452007-02-09 17:08:58 +00002153menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002154
Wu Zhangjin363c55c2009-06-04 20:27:10 +08002155config ARCH_HIBERNATION_POSSIBLE
2156 def_bool y
Ralf Baechle3f5b3e12009-07-02 11:48:07 +01002157 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Wu Zhangjin363c55c2009-06-04 20:27:10 +08002158
Johannes Bergf4cb5702007-12-08 02:14:00 +01002159config ARCH_SUSPEND_POSSIBLE
2160 def_bool y
Ralf Baechle3f5b3e12009-07-02 11:48:07 +01002161 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Johannes Bergf4cb5702007-12-08 02:14:00 +01002162
Ralf Baechle21162452007-02-09 17:08:58 +00002163source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002164
Linus Torvalds1da177e2005-04-16 15:20:36 -07002165endmenu
2166
Sam Ravnborgd5950b42005-07-11 21:03:49 -07002167source "net/Kconfig"
2168
Linus Torvalds1da177e2005-04-16 15:20:36 -07002169source "drivers/Kconfig"
2170
2171source "fs/Kconfig"
2172
2173source "arch/mips/Kconfig.debug"
2174
2175source "security/Kconfig"
2176
2177source "crypto/Kconfig"
2178
2179source "lib/Kconfig"