blob: 291d368ffd281912b9570b6f940edfab6ce17223 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config MIPS
2 bool
3 default y
4 # Horrible source of confusion. Die, die, die ...
5 select EMBEDDED
Ralf Baechle90b02342007-10-11 23:46:09 +01006 select RTC_LIB
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
Linus Torvalds1da177e2005-04-16 15:20:36 -07008mainmenu "Linux/MIPS Kernel Configuration"
9
Linus Torvalds1da177e2005-04-16 15:20:36 -070010menu "Machine selection"
11
Christoph Lameter5ac6da62007-02-10 01:43:14 -080012config ZONE_DMA
13 bool
Christoph Lameter5ac6da62007-02-10 01:43:14 -080014
Ralf Baechle5e83d432005-10-29 19:32:41 +010015choice
16 prompt "System type"
17 default SGI_IP22
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Yoichi Yuasac3543e22007-05-11 20:44:30 +090019config MACH_ALCHEMY
20 bool "Alchemy processor based machines"
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Ralf Baechle35189fa2006-06-18 16:39:46 +010022config BASLER_EXCITE
Thomas Koellerbe915892007-02-23 01:40:34 +010023 bool "Basler eXcite smart camera"
Ralf Baechle42f77542007-10-18 17:48:11 +010024 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000025 select CSRC_R4K
Ralf Baechle35189fa2006-06-18 16:39:46 +010026 select DMA_COHERENT
27 select HW_HAS_PCI
28 select IRQ_CPU
29 select IRQ_CPU_RM7K
30 select IRQ_CPU_RM9K
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +020031 select MIPS_RM9122
Ralf Baechle35189fa2006-06-18 16:39:46 +010032 select SYS_HAS_CPU_RM9000
33 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle35189fa2006-06-18 16:39:46 +010034 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +000035 select SYS_SUPPORTS_KGDB
Ralf Baechle35189fa2006-06-18 16:39:46 +010036 help
37 The eXcite is a smart camera platform manufactured by
Thomas Koellerbe915892007-02-23 01:40:34 +010038 Basler Vision Technologies AG.
Ralf Baechle35189fa2006-06-18 16:39:46 +010039
40config BASLER_EXCITE_PROTOTYPE
41 bool "Support for pre-release units"
42 depends on BASLER_EXCITE
43 default n
44 help
45 Pre-series (prototype) units are different from later ones in
46 some ways. Select this option if you have one of these. Please
47 note that a kernel built with this option selected will not be
48 able to run on normal units.
49
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020050config BCM47XX
51 bool "BCM47XX based boards"
Ralf Baechle42f77542007-10-18 17:48:11 +010052 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000053 select CSRC_R4K
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020054 select DMA_NONCOHERENT
55 select HW_HAS_PCI
56 select IRQ_CPU
57 select SYS_HAS_CPU_MIPS32_R1
58 select SYS_SUPPORTS_32BIT_KERNEL
59 select SYS_SUPPORTS_LITTLE_ENDIAN
60 select SSB
61 select SSB_DRIVER_MIPS
62 select GENERIC_GPIO
Aurelien Jarno25e5fb92007-09-25 15:41:24 +020063 select SYS_HAS_EARLY_PRINTK
64 select CFE
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020065 help
66 Support for BCM47XX based boards
67
Linus Torvalds1da177e2005-04-16 15:20:36 -070068config MIPS_COBALT
Martin Michlmayr3fa986f2006-05-09 23:34:53 +020069 bool "Cobalt Server"
Ralf Baechle42f77542007-10-18 17:48:11 +010070 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000071 select CSRC_R4K
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +090072 select CEVT_GT641XX
Linus Torvalds1da177e2005-04-16 15:20:36 -070073 select DMA_NONCOHERENT
74 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +010075 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -070076 select I8259
77 select IRQ_CPU
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +090078 select IRQ_GT641XX
Yoichi Yuasa252161e2007-03-14 21:51:26 +090079 select PCI_GT64XXX_PCI0
Ralf Baechle7cf80532005-10-20 22:33:09 +010080 select SYS_HAS_CPU_NEVADA
Yoichi Yuasa0a22e0d2007-03-02 12:42:33 +090081 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -070082 select SYS_SUPPORTS_32BIT_KERNEL
83 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +010084 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +090085 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -070086
87config MACH_DECSTATION
Martin Michlmayr3fa986f2006-05-09 23:34:53 +020088 bool "DECstations"
Linus Torvalds1da177e2005-04-16 15:20:36 -070089 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +010090 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000091 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -070092 select DMA_NONCOHERENT
Maciej W. Rozyckid388d682007-05-29 15:08:07 +010093 select NO_IOPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -070094 select IRQ_CPU
Ralf Baechle7cf80532005-10-20 22:33:09 +010095 select SYS_HAS_CPU_R3000
96 select SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -070097 select SYS_SUPPORTS_32BIT_KERNEL
98 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +010099 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900100 select SYS_SUPPORTS_128HZ
101 select SYS_SUPPORTS_256HZ
102 select SYS_SUPPORTS_1024HZ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100103 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104 This enables support for DEC's MIPS based workstations. For details
105 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
106 DECstation porting pages on <http://decstation.unix-ag.org/>.
107
108 If you have one of the following DECstation Models you definitely
109 want to choose R4xx0 for the CPU Type:
110
Ralf Baechle93088162007-08-29 14:21:45 +0100111 DECstation 5000/50
112 DECstation 5000/150
113 DECstation 5000/260
114 DECsystem 5900/260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115
116 otherwise choose R3000.
117
Ralf Baechle5e83d432005-10-29 19:32:41 +0100118config MACH_JAZZ
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200119 bool "Jazz family of machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100120 select ARC
121 select ARC32
122 select ARCH_MAY_HAVE_PC_FDC
Ralf Baechle42f77542007-10-18 17:48:11 +0100123 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000124 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100125 select GENERIC_ISA_DMA
Thomas Bogendoerferea202c62007-08-25 11:01:50 +0200126 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100127 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100128 select I8259
129 select ISA
Ralf Baechlede61b542007-07-12 17:41:23 +0100130 select PCSPEAKER
Ralf Baechle7cf80532005-10-20 22:33:09 +0100131 select SYS_HAS_CPU_R4X00
Ralf Baechle5e83d432005-10-29 19:32:41 +0100132 select SYS_SUPPORTS_32BIT_KERNEL
133 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900134 select SYS_SUPPORTS_100HZ
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900135 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700136 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100137 This a family of machines based on the MIPS R4030 chipset which was
138 used by several vendors to build RISC/os and Windows NT workstations.
139 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
140 Olivetti M700-10 workstations.
141
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200142config LASAT
143 bool "LASAT Networks platforms"
Ralf Baechle42f77542007-10-18 17:48:11 +0100144 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000145 select CSRC_R4K
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200146 select DMA_NONCOHERENT
147 select SYS_HAS_EARLY_PRINTK
148 select HW_HAS_PCI
Ralf Baechlea5ccfe5c12007-10-14 23:49:33 +0100149 select IRQ_CPU
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200150 select PCI_GT64XXX_PCI0
151 select MIPS_NILE4
152 select R5000_CPU_SCACHE
153 select SYS_HAS_CPU_R5000
154 select SYS_SUPPORTS_32BIT_KERNEL
155 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
156 select SYS_SUPPORTS_LITTLE_ENDIAN
157 select GENERIC_HARDIRQS_NO__DO_IRQ
158
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900159config LEMOTE_FULONG
160 bool "Lemote Fulong mini-PC"
161 select ARCH_SPARSEMEM_ENABLE
Ralf Baechle42f77542007-10-18 17:48:11 +0100162 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000163 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900164 select SYS_HAS_CPU_LOONGSON2
165 select DMA_NONCOHERENT
166 select BOOT_ELF32
167 select BOARD_SCACHE
168 select HAVE_STD_PC_SERIAL_PORT
169 select HW_HAS_PCI
170 select I8259
171 select ISA
172 select IRQ_CPU
173 select SYS_SUPPORTS_32BIT_KERNEL
174 select SYS_SUPPORTS_64BIT_KERNEL
175 select SYS_SUPPORTS_LITTLE_ENDIAN
176 select SYS_SUPPORTS_HIGHMEM
177 select SYS_HAS_EARLY_PRINTK
178 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle23dd6d32007-08-24 16:49:23 +0100179 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900180 select CPU_HAS_WB
181 help
182 Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
183 an FPGA northbridge
184
Linus Torvalds1da177e2005-04-16 15:20:36 -0700185config MIPS_ATLAS
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200186 bool "MIPS Atlas board"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700187 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100188 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000189 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700190 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000191 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100192 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700193 select HW_HAS_PCI
Ralf Baechle5e83d432005-10-29 19:32:41 +0100194 select MIPS_BOARDS_GEN
195 select MIPS_BONITO64
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900196 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100197 select MIPS_MSC
Maciej W. Rozyckif4b7cdb2005-02-12 04:31:49 +0000198 select RM7000_CPU_SCACHE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700199 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100200 select SYS_HAS_CPU_MIPS32_R1
201 select SYS_HAS_CPU_MIPS32_R2
202 select SYS_HAS_CPU_MIPS64_R1
203 select SYS_HAS_CPU_NEVADA
204 select SYS_HAS_CPU_RM7000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700205 select SYS_SUPPORTS_32BIT_KERNEL
206 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100207 select SYS_SUPPORTS_BIG_ENDIAN
208 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100209 select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100210 select SYS_SUPPORTS_SMARTMIPS
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100211 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700212 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000213 This enables support for the MIPS Technologies Atlas evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214 board.
215
216config MIPS_MALTA
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200217 bool "MIPS Malta board"
Ralf Baechle61ed2422005-09-15 08:52:34 +0000218 select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100220 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000221 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700222 select DMA_NONCOHERENT
223 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000224 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100226 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700227 select I8259
Ralf Baechle5e83d432005-10-29 19:32:41 +0100228 select MIPS_BOARDS_GEN
229 select MIPS_BONITO64
Chris Dearman9318c512006-06-20 17:15:20 +0100230 select MIPS_CPU_SCACHE
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900231 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100232 select MIPS_MSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700233 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100234 select SYS_HAS_CPU_MIPS32_R1
235 select SYS_HAS_CPU_MIPS32_R2
236 select SYS_HAS_CPU_MIPS64_R1
237 select SYS_HAS_CPU_NEVADA
238 select SYS_HAS_CPU_RM7000
Ralf Baechle36a88532007-03-01 11:56:43 +0000239 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700240 select SYS_SUPPORTS_32BIT_KERNEL
241 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100242 select SYS_SUPPORTS_BIG_ENDIAN
243 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100244 select SYS_SUPPORTS_MULTITHREADING
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100245 select SYS_SUPPORTS_SMARTMIPS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000247 This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700248 board.
249
250config MIPS_SEAD
Ralf Baechled98cc842007-08-06 10:02:07 +0100251 bool "MIPS SEAD board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100252 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000253 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700254 select IRQ_CPU
255 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000256 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100257 select MIPS_BOARDS_GEN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100258 select SYS_HAS_CPU_MIPS32_R1
259 select SYS_HAS_CPU_MIPS32_R2
260 select SYS_HAS_CPU_MIPS64_R1
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700261 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100262 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
263 select SYS_SUPPORTS_BIG_ENDIAN
264 select SYS_SUPPORTS_LITTLE_ENDIAN
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100265 select SYS_SUPPORTS_SMARTMIPS
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000266 help
267 This enables support for the MIPS Technologies SEAD evaluation
268 board.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700269
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100270config MIPS_SIM
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200271 bool 'MIPS simulator (MIPSsim)'
Ralf Baechle42f77542007-10-18 17:48:11 +0100272 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000273 select CSRC_R4K
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100274 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000275 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100276 select IRQ_CPU
Marc St-Jean9267a302007-06-14 15:55:31 -0600277 select BOOT_RAW
Ralf Baechle7cf80532005-10-20 22:33:09 +0100278 select SYS_HAS_CPU_MIPS32_R1
279 select SYS_HAS_CPU_MIPS32_R2
Ralf Baechle36a88532007-03-01 11:56:43 +0000280 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100281 select SYS_SUPPORTS_32BIT_KERNEL
282 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlef6e23732007-07-10 17:32:56 +0100283 select SYS_SUPPORTS_MULTITHREADING
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100284 select SYS_SUPPORTS_LITTLE_ENDIAN
285 help
286 This option enables support for MIPS Technologies MIPSsim software
287 emulator.
288
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900289config MARKEINS
290 bool "NEC EMMA2RH Mark-eins"
Ralf Baechle42f77542007-10-18 17:48:11 +0100291 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000292 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900293 select DMA_NONCOHERENT
294 select HW_HAS_PCI
295 select IRQ_CPU
296 select SWAP_IO_SPACE
297 select SYS_SUPPORTS_32BIT_KERNEL
298 select SYS_SUPPORTS_BIG_ENDIAN
299 select SYS_SUPPORTS_LITTLE_ENDIAN
300 select SYS_HAS_CPU_R5000
301 help
302 This enables support for the R5432-based NEC Mark-eins
303 boards with R5500 CPU.
304
Ralf Baechle5e83d432005-10-29 19:32:41 +0100305config MACH_VR41XX
Yoichi Yuasa74142d62007-04-26 19:45:09 +0900306 bool "NEC VR4100 series based machines"
Ralf Baechle42f77542007-10-18 17:48:11 +0100307 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000308 select CSRC_R4K
Ralf Baechle7cf80532005-10-20 22:33:09 +0100309 select SYS_HAS_CPU_VR41XX
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900310 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100311
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900312config PNX8550_JBS
313 bool "Philips PNX8550 based JBS board"
314 select PNX8550
315 select SYS_SUPPORTS_LITTLE_ENDIAN
316
317config PNX8550_STB810
318 bool "Philips PNX8550 based STB810 board"
319 select PNX8550
320 select SYS_SUPPORTS_LITTLE_ENDIAN
321
Marc St-Jean9267a302007-06-14 15:55:31 -0600322config PMC_MSP
323 bool "PMC-Sierra MSP chipsets"
324 depends on EXPERIMENTAL
325 select DMA_NONCOHERENT
326 select SWAP_IO_SPACE
327 select NO_EXCEPT_FILL
328 select BOOT_RAW
329 select SYS_HAS_CPU_MIPS32_R1
330 select SYS_HAS_CPU_MIPS32_R2
331 select SYS_SUPPORTS_32BIT_KERNEL
332 select SYS_SUPPORTS_BIG_ENDIAN
333 select SYS_SUPPORTS_KGDB
334 select IRQ_CPU
335 select SERIAL_8250
336 select SERIAL_8250_CONSOLE
337 help
338 This adds support for the PMC-Sierra family of Multi-Service
339 Processor System-On-A-Chips. These parts include a number
340 of integrated peripherals, interfaces and DSPs in addition to
341 a variety of MIPS cores.
342
Ralf Baechle5e83d432005-10-29 19:32:41 +0100343config PMC_YOSEMITE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200344 bool "PMC-Sierra Yosemite eval board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100345 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000346 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100347 select DMA_COHERENT
348 select HW_HAS_PCI
349 select IRQ_CPU
350 select IRQ_CPU_RM7K
351 select IRQ_CPU_RM9K
352 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100353 select SYS_HAS_CPU_RM9000
Ralf Baechle36a88532007-03-01 11:56:43 +0000354 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100355 select SYS_SUPPORTS_32BIT_KERNEL
356 select SYS_SUPPORTS_64BIT_KERNEL
357 select SYS_SUPPORTS_BIG_ENDIAN
358 select SYS_SUPPORTS_HIGHMEM
Ralf Baechlecc801072007-02-17 02:58:39 +0000359 select SYS_SUPPORTS_KGDB
Ralf Baechlee73ea272006-06-04 11:51:46 +0100360 select SYS_SUPPORTS_SMP
Ralf Baechle5e83d432005-10-29 19:32:41 +0100361 help
362 Yosemite is an evaluation board for the RM9000x2 processor
363 manufactured by PMC-Sierra.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364
Ralf Baechle07119622005-09-03 15:56:11 -0700365config QEMU
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200366 bool "Qemu"
Ralf Baechle42f77542007-10-18 17:48:11 +0100367 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000368 select CSRC_R4K
Ralf Baechle07119622005-09-03 15:56:11 -0700369 select DMA_COHERENT
370 select GENERIC_ISA_DMA
371 select HAVE_STD_PC_SERIAL_PORT
Ralf Baechled865bea2007-10-11 23:46:10 +0100372 select I8253
Ralf Baechle07119622005-09-03 15:56:11 -0700373 select I8259
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100374 select IRQ_CPU
Ralf Baechle07119622005-09-03 15:56:11 -0700375 select ISA
Ralf Baechlede61b542007-07-12 17:41:23 +0100376 select PCSPEAKER
Ralf Baechle07119622005-09-03 15:56:11 -0700377 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100378 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechlea57c2282007-11-04 04:49:44 +0000379 select SYS_HAS_EARLY_PRINTK
Ralf Baechle07119622005-09-03 15:56:11 -0700380 select SYS_SUPPORTS_32BIT_KERNEL
381 select SYS_SUPPORTS_BIG_ENDIAN
Aurelien Jarnoc8cc9612006-09-27 23:07:25 +0200382 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900383 select GENERIC_HARDIRQS_NO__DO_IRQ
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +0900384 select NR_CPUS_DEFAULT_1
385 select SYS_SUPPORTS_SMP
Ralf Baechle07119622005-09-03 15:56:11 -0700386 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100387 Qemu is a software emulator which among other architectures also
388 can simulate a MIPS32 4Kc system. This patch adds support for the
389 system architecture that currently is being simulated by Qemu. It
390 will eventually be removed again when Qemu has the capability to
391 simulate actual MIPS hardware platforms. More information on Qemu
392 can be found at http://www.linux-mips.org/wiki/Qemu.
Ralf Baechle07119622005-09-03 15:56:11 -0700393
Linus Torvalds1da177e2005-04-16 15:20:36 -0700394config SGI_IP22
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200395 bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396 select ARC
397 select ARC32
398 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100399 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000400 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700401 select DMA_NONCOHERENT
Ralf Baechle5e83d432005-10-29 19:32:41 +0100402 select HW_HAS_EISA
Ralf Baechled865bea2007-10-11 23:46:10 +0100403 select I8253
Thomas Bogendoerfer68de4802007-11-23 20:34:16 +0100404 select I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700405 select IP22_CPU_SCACHE
406 select IRQ_CPU
Ralf Baechleaa414df2006-11-30 01:14:51 +0000407 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700408 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100409 select SYS_HAS_CPU_R4X00
410 select SYS_HAS_CPU_R5000
Ralf Baechle36a88532007-03-01 11:56:43 +0000411 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700412 select SYS_SUPPORTS_32BIT_KERNEL
413 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100414 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415 help
416 This are the SGI Indy, Challenge S and Indigo2, as well as certain
417 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
418 that runs on these, say Y here.
419
420config SGI_IP27
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200421 bool "SGI IP27 (Origin200/2000)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700422 select ARC
423 select ARC64
Ralf Baechle5e83d432005-10-29 19:32:41 +0100424 select BOOT_ELF64
Linus Torvalds1da177e2005-04-16 15:20:36 -0700425 select DMA_IP27
Ralf Baechle36a88532007-03-01 11:56:43 +0000426 select SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700427 select HW_HAS_PCI
Ralf Baechle130e2fb2007-02-06 16:53:15 +0000428 select NR_CPUS_DEFAULT_64
Ralf Baechle7cf80532005-10-20 22:33:09 +0100429 select SYS_HAS_CPU_R10000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700430 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100431 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000432 select SYS_SUPPORTS_KGDB
Ralf Baechled8cb4e12006-06-11 23:03:08 +0100433 select SYS_SUPPORTS_NUMA
Ralf Baechle1a5c5de2006-11-02 17:23:33 +0000434 select SYS_SUPPORTS_SMP
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100435 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700436 help
437 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
438 workstations. To compile a Linux kernel that runs on these, say Y
439 here.
440
Linus Torvalds1da177e2005-04-16 15:20:36 -0700441config SGI_IP32
Ralf Baechlecfd2afc2007-07-10 17:33:00 +0100442 bool "SGI IP32 (O2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700443 select ARC
444 select ARC32
445 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100446 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000447 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700448 select DMA_NONCOHERENT
449 select HW_HAS_PCI
Ralf Baechledd67b152007-10-14 14:02:26 +0100450 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700451 select R5000_CPU_SCACHE
452 select RM7000_CPU_SCACHE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100453 select SYS_HAS_CPU_R5000
454 select SYS_HAS_CPU_R10000 if BROKEN
455 select SYS_HAS_CPU_RM7000
Ralf Baechledd2f18f2006-01-19 14:55:42 +0000456 select SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700457 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100458 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700459 help
460 If you want this kernel to run on SGI O2 workstation, say Y here.
461
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900462config SIBYTE_CRHINE
463 bool "Sibyte BCM91120C-CRhine"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100464 depends on EXPERIMENTAL
465 select BOOT_ELF32
466 select DMA_COHERENT
467 select SIBYTE_BCM1120
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_LITTLE_ENDIAN
472
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900473config SIBYTE_CARMEL
474 bool "Sibyte BCM91120x-Carmel"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100475 depends on EXPERIMENTAL
476 select BOOT_ELF32
477 select DMA_COHERENT
478 select SIBYTE_BCM1120
479 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100480 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100481 select SYS_SUPPORTS_BIG_ENDIAN
482 select SYS_SUPPORTS_LITTLE_ENDIAN
483
484config SIBYTE_CRHONE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200485 bool "Sibyte BCM91125C-CRhone"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100486 depends on EXPERIMENTAL
487 select BOOT_ELF32
488 select DMA_COHERENT
489 select SIBYTE_BCM1125
490 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100491 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100492 select SYS_SUPPORTS_BIG_ENDIAN
493 select SYS_SUPPORTS_HIGHMEM
494 select SYS_SUPPORTS_LITTLE_ENDIAN
495
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900496config SIBYTE_RHONE
497 bool "Sibyte BCM91125E-Rhone"
498 depends on EXPERIMENTAL
499 select BOOT_ELF32
500 select DMA_COHERENT
501 select SIBYTE_BCM1125H
502 select SWAP_IO_SPACE
503 select SYS_HAS_CPU_SB1
504 select SYS_SUPPORTS_BIG_ENDIAN
505 select SYS_SUPPORTS_LITTLE_ENDIAN
506
507config SIBYTE_SWARM
508 bool "Sibyte BCM91250A-SWARM"
509 select BOOT_ELF32
510 select DMA_COHERENT
511 select NR_CPUS_DEFAULT_2
512 select SIBYTE_SB1250
513 select SWAP_IO_SPACE
514 select SYS_HAS_CPU_SB1
515 select SYS_SUPPORTS_BIG_ENDIAN
516 select SYS_SUPPORTS_HIGHMEM
517 select SYS_SUPPORTS_KGDB
518 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000519 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900520
521config SIBYTE_LITTLESUR
522 bool "Sibyte BCM91250C2-LittleSur"
523 depends on EXPERIMENTAL
524 select BOOT_ELF32
525 select DMA_COHERENT
526 select NR_CPUS_DEFAULT_2
527 select SIBYTE_SB1250
528 select SWAP_IO_SPACE
529 select SYS_HAS_CPU_SB1
530 select SYS_SUPPORTS_BIG_ENDIAN
531 select SYS_SUPPORTS_HIGHMEM
532 select SYS_SUPPORTS_LITTLE_ENDIAN
533
534config SIBYTE_SENTOSA
535 bool "Sibyte BCM91250E-Sentosa"
536 depends on EXPERIMENTAL
537 select BOOT_ELF32
538 select DMA_COHERENT
539 select NR_CPUS_DEFAULT_2
540 select SIBYTE_SB1250
541 select SWAP_IO_SPACE
542 select SYS_HAS_CPU_SB1
543 select SYS_SUPPORTS_BIG_ENDIAN
544 select SYS_SUPPORTS_LITTLE_ENDIAN
545
546config SIBYTE_PTSWARM
547 bool "Sibyte BCM91250PT-PTSWARM"
548 depends on EXPERIMENTAL
549 select BOOT_ELF32
550 select DMA_COHERENT
551 select NR_CPUS_DEFAULT_2
552 select SIBYTE_SB1250
553 select SWAP_IO_SPACE
554 select SYS_HAS_CPU_SB1
555 select SYS_SUPPORTS_BIG_ENDIAN
556 select SYS_SUPPORTS_HIGHMEM
557 select SYS_SUPPORTS_LITTLE_ENDIAN
558
559config SIBYTE_BIGSUR
560 bool "Sibyte BCM91480B-BigSur"
561 select BOOT_ELF32
562 select DMA_COHERENT
563 select NR_CPUS_DEFAULT_4
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900564 select SIBYTE_BCM1x80
565 select SWAP_IO_SPACE
566 select SYS_HAS_CPU_SB1
567 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle651194f2007-11-01 21:55:39 +0000568 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900569 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000570 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900571
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100572config SNI_RM
573 bool "SNI RM200/300/400"
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200574 select ARC if CPU_LITTLE_ENDIAN
575 select ARC32 if CPU_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100576 select ARCH_MAY_HAVE_PC_FDC
577 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100578 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000579 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100580 select DMA_NONCOHERENT
581 select GENERIC_ISA_DMA
Ralf Baechle5e83d432005-10-29 19:32:41 +0100582 select HW_HAS_EISA
583 select HW_HAS_PCI
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100584 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100585 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100586 select I8259
587 select ISA
Ralf Baechlede61b542007-07-12 17:41:23 +0100588 select PCSPEAKER
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200589 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100590 select SYS_HAS_CPU_R4X00
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200591 select SYS_HAS_CPU_R5000
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100592 select SYS_HAS_CPU_R10000
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200593 select R5000_CPU_SCACHE
Ralf Baechle36a88532007-03-01 11:56:43 +0000594 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700595 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100596 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200597 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100598 select SYS_SUPPORTS_HIGHMEM
599 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700600 help
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100601 The SNI RM200/300/400 are MIPS-based machines manufactured by
602 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Ralf Baechle5e83d432005-10-29 19:32:41 +0100603 Technology and now in turn merged with Fujitsu. Say Y here to
604 support this machine type.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700605
Ralf Baechle5e83d432005-10-29 19:32:41 +0100606config TOSHIBA_JMR3927
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200607 bool "Toshiba JMR-TX3927 board"
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900608 select CEVT_TXX9
Ralf Baechle5e83d432005-10-29 19:32:41 +0100609 select DMA_NONCOHERENT
610 select HW_HAS_PCI
611 select MIPS_TX3927
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900612 select IRQ_TXX9
Ralf Baechle5e83d432005-10-29 19:32:41 +0100613 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100614 select SYS_HAS_CPU_TX39XX
Ralf Baechle5e83d432005-10-29 19:32:41 +0100615 select SYS_SUPPORTS_32BIT_KERNEL
Sergei Shtylyov6a2603a2007-02-07 20:39:05 +0300616 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100617 select SYS_SUPPORTS_BIG_ENDIAN
Atsushi Nemoto2127435e2007-03-15 00:58:28 +0900618 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100619
620config TOSHIBA_RBTX4927
Yoichi Yuasa08a91282007-07-27 15:20:24 +0900621 bool "Toshiba RBTX49[23]7 board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100622 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000623 select CSRC_R4K
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900624 select CEVT_TXX9
Ralf Baechle5e83d432005-10-29 19:32:41 +0100625 select DMA_NONCOHERENT
626 select HAS_TXX9_SERIAL
627 select HW_HAS_PCI
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900628 select IRQ_CPU
629 select IRQ_TXX9
630 select I8259 if TOSHIBA_FPCIB0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100631 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100632 select SYS_HAS_CPU_TX49XX
Ralf Baechle5e83d432005-10-29 19:32:41 +0100633 select SYS_SUPPORTS_32BIT_KERNEL
634 select SYS_SUPPORTS_64BIT_KERNEL
Sergei Shtylyov6a2603a2007-02-07 20:39:05 +0300635 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100636 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000637 select SYS_SUPPORTS_KGDB
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900638 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100639 help
640 This Toshiba board is based on the TX4927 processor. Say Y here to
641 support this machine type
Linus Torvalds1da177e2005-04-16 15:20:36 -0700642
Ralf Baechle23fbee92005-07-25 22:45:45 +0000643config TOSHIBA_RBTX4938
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200644 bool "Toshiba RBTX4938 board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100645 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000646 select CSRC_R4K
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900647 select CEVT_TXX9
Ralf Baechle23fbee92005-07-25 22:45:45 +0000648 select DMA_NONCOHERENT
Ralf Baechle23fbee92005-07-25 22:45:45 +0000649 select HAS_TXX9_SERIAL
650 select HW_HAS_PCI
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900651 select IRQ_CPU
652 select IRQ_TXX9
Ralf Baechle23fbee92005-07-25 22:45:45 +0000653 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100654 select SYS_HAS_CPU_TX49XX
Ralf Baechle23fbee92005-07-25 22:45:45 +0000655 select SYS_SUPPORTS_32BIT_KERNEL
656 select SYS_SUPPORTS_LITTLE_ENDIAN
657 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000658 select SYS_SUPPORTS_KGDB
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900659 select GENERIC_HARDIRQS_NO__DO_IRQ
Atsushi Nemoto3896b052007-06-22 23:21:55 +0900660 select GENERIC_GPIO
Ralf Baechle23fbee92005-07-25 22:45:45 +0000661 help
662 This Toshiba board is based on the TX4938 processor. Say Y here to
663 support this machine type
664
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900665config WR_PPMC
666 bool "Wind River PPMC board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100667 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000668 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900669 select IRQ_CPU
670 select BOOT_ELF32
671 select DMA_NONCOHERENT
672 select HW_HAS_PCI
673 select PCI_GT64XXX_PCI0
674 select SWAP_IO_SPACE
675 select SYS_HAS_CPU_MIPS32_R1
676 select SYS_HAS_CPU_MIPS32_R2
677 select SYS_HAS_CPU_MIPS64_R1
678 select SYS_HAS_CPU_NEVADA
679 select SYS_HAS_CPU_RM7000
680 select SYS_SUPPORTS_32BIT_KERNEL
681 select SYS_SUPPORTS_64BIT_KERNEL
682 select SYS_SUPPORTS_BIG_ENDIAN
683 select SYS_SUPPORTS_LITTLE_ENDIAN
684 help
685 This enables support for the Wind River MIPS32 4KC PPMC evaluation
686 board, which is based on GT64120 bridge chip.
687
Linus Torvalds1da177e2005-04-16 15:20:36 -0700688endchoice
689
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900690source "arch/mips/au1000/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100691source "arch/mips/jazz/Kconfig"
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200692source "arch/mips/lasat/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100693source "arch/mips/pmc-sierra/Kconfig"
Ralf Baechle29c48692005-02-07 01:27:14 +0000694source "arch/mips/sgi-ip27/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000695source "arch/mips/sibyte/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100696source "arch/mips/tx4927/Kconfig"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000697source "arch/mips/tx4938/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100698source "arch/mips/vr41xx/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000699
Ralf Baechle5e83d432005-10-29 19:32:41 +0100700endmenu
701
Linus Torvalds1da177e2005-04-16 15:20:36 -0700702config RWSEM_GENERIC_SPINLOCK
703 bool
704 default y
705
706config RWSEM_XCHGADD_ALGORITHM
707 bool
708
David Howellsf0d1b0b2006-12-08 02:37:49 -0800709config ARCH_HAS_ILOG2_U32
710 bool
711 default n
712
713config ARCH_HAS_ILOG2_U64
714 bool
715 default n
716
Ralf Baechle00a58252007-12-06 16:53:19 +0000717config ARCH_SUPPORTS_OPROFILE
718 bool
719 default y if !MIPS_MT_SMTC
720
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800721config GENERIC_FIND_NEXT_BIT
722 bool
723 default y
724
725config GENERIC_HWEIGHT
726 bool
727 default y
728
Linus Torvalds1da177e2005-04-16 15:20:36 -0700729config GENERIC_CALIBRATE_DELAY
730 bool
731 default y
732
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100733config GENERIC_CLOCKEVENTS
734 bool
735 default y
736
Ralf Baechle8db02012006-10-02 16:54:48 +0100737config GENERIC_TIME
738 bool
739 default y
740
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100741config GENERIC_CMOS_UPDATE
742 bool
743 default y
744
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900745config SCHED_NO_NO_OMIT_FRAME_POINTER
746 bool
747 default y
748
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100749config GENERIC_HARDIRQS_NO__DO_IRQ
750 bool
751 default n
752
Linus Torvalds1da177e2005-04-16 15:20:36 -0700753#
754# Select some configuration options automatically based on user selections.
755#
756config ARC
757 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700758
Ralf Baechle61ed2422005-09-15 08:52:34 +0000759config ARCH_MAY_HAVE_PC_FDC
760 bool
761
Marc St-Jean9267a302007-06-14 15:55:31 -0600762config BOOT_RAW
763 bool
764
Ralf Baechle217dd112007-11-01 01:57:55 +0000765config CEVT_BCM1480
766 bool
767
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900768config CEVT_GT641XX
769 bool
770
Ralf Baechle42f77542007-10-18 17:48:11 +0100771config CEVT_R4K
772 bool
773
Ralf Baechle217dd112007-11-01 01:57:55 +0000774config CEVT_SB1250
775 bool
776
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900777config CEVT_TXX9
778 bool
779
Ralf Baechle217dd112007-11-01 01:57:55 +0000780config CSRC_BCM1480
781 bool
782
Ralf Baechle940f6b42007-11-24 22:33:28 +0000783config CSRC_R4K
784 bool
785
Ralf Baechle217dd112007-11-01 01:57:55 +0000786config CSRC_SB1250
787 bool
788
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200789config CFE
790 bool
791
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700792config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700793 bool
794
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700795config DMA_IP27
Linus Torvalds1da177e2005-04-16 15:20:36 -0700796 bool
797
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700798config DMA_IP32
799 bool
800 select DMA_NEED_PCI_MAP_STATE
801
802config DMA_NONCOHERENT
803 bool
804 select DMA_NEED_PCI_MAP_STATE
805
806config DMA_NEED_PCI_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700807 bool
808
809config EARLY_PRINTK
Ralf Baechle36a88532007-03-01 11:56:43 +0000810 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
811 depends on SYS_HAS_EARLY_PRINTK
812 default y
813 help
814 This option enables special console drivers which allow the kernel
815 to print messages very early in the bootup process.
816
817 This is useful for kernel debugging when your machine crashes very
Robert P. J. Day490dcc42007-05-20 12:11:07 -0400818 early before the console code is initialized. For normal operation,
819 it is not recommended because it looks ugly on some machines and
820 doesn't cooperate with an X server. You should normally say N here,
Ralf Baechle36a88532007-03-01 11:56:43 +0000821 unless you want to debug such a crash.
822
823config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700824 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700825
Ralf Baechledbb74542007-08-07 14:52:17 +0100826config HOTPLUG_CPU
827 bool
828 default n
829
Linus Torvalds1da177e2005-04-16 15:20:36 -0700830config I8259
831 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700832
Linus Torvalds1da177e2005-04-16 15:20:36 -0700833config MIPS_BONITO64
834 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700835
836config MIPS_MSC
837 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700838
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200839config MIPS_NILE4
840 bool
841
Linus Torvalds1da177e2005-04-16 15:20:36 -0700842config MIPS_DISABLE_OBSOLETE_IDE
843 bool
844
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100845config NO_IOPORT
846 def_bool n
847
Ralf Baechle8313da32007-08-24 16:48:30 +0100848config GENERIC_ISA_DMA
849 bool
850 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
851
Ralf Baechleaa414df2006-11-30 01:14:51 +0000852config GENERIC_ISA_DMA_SUPPORT_BROKEN
853 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100854 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000855
Yoichi Yuasa09663332007-05-22 00:05:58 +0900856config GENERIC_GPIO
857 bool
858
Ralf Baechle5e83d432005-10-29 19:32:41 +0100859#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100860# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100861# answer,so we try hard to limit the available choices. Also the use of a
862# choice statement should be more obvious to the user.
863#
864choice
865 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700866 help
867 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100868 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100869 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100870 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200871 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100872
873config CPU_BIG_ENDIAN
874 bool "Big endian"
875 depends on SYS_SUPPORTS_BIG_ENDIAN
876
877config CPU_LITTLE_ENDIAN
878 bool "Little endian"
879 depends on SYS_SUPPORTS_LITTLE_ENDIAN
880 help
881
882endchoice
883
Ralf Baechle21162452007-02-09 17:08:58 +0000884config SYS_SUPPORTS_APM_EMULATION
885 bool
886
Ralf Baechle5e83d432005-10-29 19:32:41 +0100887config SYS_SUPPORTS_BIG_ENDIAN
888 bool
889
890config SYS_SUPPORTS_LITTLE_ENDIAN
891 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700892
893config IRQ_CPU
894 bool
895
896config IRQ_CPU_RM7K
897 bool
898
Ralf Baechle5e83d432005-10-29 19:32:41 +0100899config IRQ_CPU_RM9K
900 bool
901
Marc St-Jean9267a302007-06-14 15:55:31 -0600902config IRQ_MSP_SLP
903 bool
904
905config IRQ_MSP_CIC
906 bool
907
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900908config IRQ_TXX9
909 bool
910
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900911config IRQ_GT641XX
912 bool
913
Linus Torvalds1da177e2005-04-16 15:20:36 -0700914config MIPS_BOARDS_GEN
915 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700916
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900917config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700918 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700919
Marc St-Jean9267a302007-06-14 15:55:31 -0600920config NO_EXCEPT_FILL
921 bool
922
Linus Torvalds1da177e2005-04-16 15:20:36 -0700923config MIPS_TX3927
924 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700925 select HAS_TXX9_SERIAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700926
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200927config MIPS_RM9122
928 bool
929 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200930
Pete Popovbdf21b12005-07-14 17:47:57 +0000931config PNX8550
932 bool
933 select SOC_PNX8550
934
935config SOC_PNX8550
936 bool
Pete Popovbdf21b12005-07-14 17:47:57 +0000937 select DMA_NONCOHERENT
938 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +0000939 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +0000940 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +0100941 select SYS_SUPPORTS_32BIT_KERNEL
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100942 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechlecc801072007-02-17 02:58:39 +0000943 select SYS_SUPPORTS_KGDB
Florian Fainelli4ead1682007-05-22 21:44:42 +0200944 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +0000945
Linus Torvalds1da177e2005-04-16 15:20:36 -0700946config SWAP_IO_SPACE
947 bool
948
dmitry pervushin355c4712006-05-21 14:53:06 +0400949config EMMA2RH
950 bool
951 depends on MARKEINS
952 default y
953
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200954config SERIAL_RM9000
955 bool
956
Ralf Baechle5e83d432005-10-29 19:32:41 +0100957config ARC32
958 bool
959
Linus Torvalds1da177e2005-04-16 15:20:36 -0700960config BOOT_ELF32
961 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700962
963config MIPS_L1_CACHE_SHIFT
964 int
Thomas Bogendoerfer06cf5582007-06-20 23:36:47 +0200965 default "4" if MACH_DECSTATION
966 default "7" if SGI_IP27 || SNI_RM
Marc St-Jean9267a302007-06-14 15:55:31 -0600967 default "4" if PMC_MSP4200_EVAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700968 default "5"
969
Linus Torvalds1da177e2005-04-16 15:20:36 -0700970config HAVE_STD_PC_SERIAL_PORT
971 bool
972
Linus Torvalds1da177e2005-04-16 15:20:36 -0700973config ARC_CONSOLE
974 bool "ARC console support"
Ralf Baechle36a88532007-03-01 11:56:43 +0000975 depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700976
977config ARC_MEMORY
978 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100979 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700980 default y
981
982config ARC_PROMLIB
983 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100984 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700985 default y
986
987config ARC64
988 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700989
990config BOOT_ELF64
991 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700992
Linus Torvalds1da177e2005-04-16 15:20:36 -0700993menu "CPU selection"
994
995choice
996 prompt "CPU type"
997 default CPU_R4X00
998
Fuxin Zhang2a21c732007-06-06 14:52:43 +0800999config CPU_LOONGSON2
1000 bool "Loongson 2"
1001 depends on SYS_HAS_CPU_LOONGSON2
1002 select CPU_SUPPORTS_32BIT_KERNEL
1003 select CPU_SUPPORTS_64BIT_KERNEL
1004 select CPU_SUPPORTS_HIGHMEM
1005 help
1006 The Loongson 2E processor implements the MIPS III instruction set
1007 with many extensions.
1008
Ralf Baechle6e760c82005-07-06 12:08:11 +00001009config CPU_MIPS32_R1
1010 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001011 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001012 select CPU_HAS_LLSC
Ralf Baechle6e760c82005-07-06 12:08:11 +00001013 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001014 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001015 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001016 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001017 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001018 MIPS32 architecture. Most modern embedded systems with a 32-bit
1019 MIPS processor are based on a MIPS32 processor. If you know the
1020 specific type of processor in your system, choose those that one
1021 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1022 Release 2 of the MIPS32 architecture is available since several
1023 years so chances are you even have a MIPS32 Release 2 processor
1024 in which case you should choose CPU_MIPS32_R2 instead for better
1025 performance.
1026
1027config CPU_MIPS32_R2
1028 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001029 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001030 select CPU_HAS_LLSC
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001031 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001032 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001033 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001034 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001035 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +00001036 MIPS32 architecture. Most modern embedded systems with a 32-bit
1037 MIPS processor are based on a MIPS32 processor. If you know the
1038 specific type of processor in your system, choose those that one
1039 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001040
Ralf Baechle6e760c82005-07-06 12:08:11 +00001041config CPU_MIPS64_R1
1042 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001043 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001044 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +00001045 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001046 select CPU_SUPPORTS_32BIT_KERNEL
1047 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001048 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001049 help
1050 Choose this option to build a kernel for release 1 or later of the
1051 MIPS64 architecture. Many modern embedded systems with a 64-bit
1052 MIPS processor are based on a MIPS64 processor. If you know the
1053 specific type of processor in your system, choose those that one
1054 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001055 Release 2 of the MIPS64 architecture is available since several
1056 years so chances are you even have a MIPS64 Release 2 processor
1057 in which case you should choose CPU_MIPS64_R2 instead for better
1058 performance.
1059
1060config CPU_MIPS64_R2
1061 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001062 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001063 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +00001064 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001065 select CPU_SUPPORTS_32BIT_KERNEL
1066 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001067 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001068 help
1069 Choose this option to build a kernel for release 2 or later of the
1070 MIPS64 architecture. Many modern embedded systems with a 64-bit
1071 MIPS processor are based on a MIPS64 processor. If you know the
1072 specific type of processor in your system, choose those that one
1073 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001074
1075config CPU_R3000
1076 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001077 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001078 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001079 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001080 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001081 help
1082 Please make sure to pick the right CPU type. Linux/MIPS is not
1083 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1084 *not* work on R4000 machines and vice versa. However, since most
1085 of the supported machines have an R4000 (or similar) CPU, R4x00
1086 might be a safe bet. If the resulting kernel does not work,
1087 try to recompile with R3000.
1088
1089config CPU_TX39XX
1090 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001091 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001092 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001093
1094config CPU_VR41XX
1095 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001096 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001097 select CPU_SUPPORTS_32BIT_KERNEL
1098 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001099 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001100 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001101 Only choose this option if you have one of these processors as a
1102 kernel built with this option will not run on any other type of
1103 processor or vice versa.
1104
1105config CPU_R4300
1106 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001107 depends on SYS_HAS_CPU_R4300
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001108 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001109 select CPU_SUPPORTS_32BIT_KERNEL
1110 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001111 help
1112 MIPS Technologies R4300-series processors.
1113
1114config CPU_R4X00
1115 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001116 depends on SYS_HAS_CPU_R4X00
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001117 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001118 select CPU_SUPPORTS_32BIT_KERNEL
1119 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001120 help
1121 MIPS Technologies R4000-series processors other than 4300, including
1122 the R4000, R4400, R4600, and 4700.
1123
1124config CPU_TX49XX
1125 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001126 depends on SYS_HAS_CPU_TX49XX
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001127 select CPU_HAS_LLSC
Atsushi Nemotode862b42006-03-17 12:59:22 +09001128 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001129 select CPU_SUPPORTS_32BIT_KERNEL
1130 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001131
1132config CPU_R5000
1133 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001134 depends on SYS_HAS_CPU_R5000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001135 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001136 select CPU_SUPPORTS_32BIT_KERNEL
1137 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001138 help
1139 MIPS Technologies R5000-series processors other than the Nevada.
1140
1141config CPU_R5432
1142 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001143 depends on SYS_HAS_CPU_R5432
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001144 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001145 select CPU_SUPPORTS_32BIT_KERNEL
1146 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001147
1148config CPU_R6000
1149 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001150 depends on EXPERIMENTAL
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001151 select CPU_HAS_LLSC
Ralf Baechle7cf80532005-10-20 22:33:09 +01001152 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001153 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001154 help
1155 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001156 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001157
1158config CPU_NEVADA
1159 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001160 depends on SYS_HAS_CPU_NEVADA
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001161 select CPU_HAS_LLSC
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 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1166
1167config CPU_R8000
1168 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001169 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001170 depends on SYS_HAS_CPU_R8000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001171 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001172 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001173 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001174 help
1175 MIPS Technologies R8000 processors. Note these processors are
1176 uncommon and the support for them is incomplete.
1177
1178config CPU_R10000
1179 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001180 depends on SYS_HAS_CPU_R10000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001181 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001182 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001183 select CPU_SUPPORTS_32BIT_KERNEL
1184 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001185 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001186 help
1187 MIPS Technologies R10000-series processors.
1188
1189config CPU_RM7000
1190 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001191 depends on SYS_HAS_CPU_RM7000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001192 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001193 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001194 select CPU_SUPPORTS_32BIT_KERNEL
1195 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001196 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001197
1198config CPU_RM9000
1199 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001200 depends on SYS_HAS_CPU_RM9000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001201 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001202 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001203 select CPU_SUPPORTS_32BIT_KERNEL
1204 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001205 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001206 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001207
1208config CPU_SB1
1209 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001210 depends on SYS_HAS_CPU_SB1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001211 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001212 select CPU_SUPPORTS_32BIT_KERNEL
1213 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001214 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001215 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001216
1217endchoice
1218
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001219config SYS_HAS_CPU_LOONGSON2
1220 bool
1221
Ralf Baechle7cf80532005-10-20 22:33:09 +01001222config SYS_HAS_CPU_MIPS32_R1
1223 bool
1224
1225config SYS_HAS_CPU_MIPS32_R2
1226 bool
1227
1228config SYS_HAS_CPU_MIPS64_R1
1229 bool
1230
1231config SYS_HAS_CPU_MIPS64_R2
1232 bool
1233
1234config SYS_HAS_CPU_R3000
1235 bool
1236
1237config SYS_HAS_CPU_TX39XX
1238 bool
1239
1240config SYS_HAS_CPU_VR41XX
1241 bool
1242
1243config SYS_HAS_CPU_R4300
1244 bool
1245
1246config SYS_HAS_CPU_R4X00
1247 bool
1248
1249config SYS_HAS_CPU_TX49XX
1250 bool
1251
1252config SYS_HAS_CPU_R5000
1253 bool
1254
1255config SYS_HAS_CPU_R5432
1256 bool
1257
1258config SYS_HAS_CPU_R6000
1259 bool
1260
1261config SYS_HAS_CPU_NEVADA
1262 bool
1263
1264config SYS_HAS_CPU_R8000
1265 bool
1266
1267config SYS_HAS_CPU_R10000
1268 bool
1269
1270config SYS_HAS_CPU_RM7000
1271 bool
1272
1273config SYS_HAS_CPU_RM9000
1274 bool
1275
1276config SYS_HAS_CPU_SB1
1277 bool
1278
Ralf Baechle17099b12007-07-14 13:24:05 +01001279#
1280# CPU may reorder R->R, R->W, W->R, W->W
1281# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1282#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001283config WEAK_ORDERING
1284 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001285
1286#
1287# CPU may reorder reads and writes beyond LL/SC
1288# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1289#
1290config WEAK_REORDERING_BEYOND_LLSC
1291 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001292endmenu
1293
1294#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001295# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001296#
1297config CPU_MIPS32
1298 bool
1299 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1300
1301config CPU_MIPS64
1302 bool
1303 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1304
1305#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001306# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001307#
1308config CPU_MIPSR1
1309 bool
1310 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1311
1312config CPU_MIPSR2
1313 bool
1314 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1315
1316config SYS_SUPPORTS_32BIT_KERNEL
1317 bool
1318config SYS_SUPPORTS_64BIT_KERNEL
1319 bool
1320config CPU_SUPPORTS_32BIT_KERNEL
1321 bool
1322config CPU_SUPPORTS_64BIT_KERNEL
1323 bool
1324
1325menu "Kernel type"
1326
1327choice
1328
1329 prompt "Kernel code model"
1330 help
1331 You should only select this option if you have a workload that
1332 actually benefits from 64-bit processing or if your machine has
1333 large memory. You will only be presented a single option in this
1334 menu if your system does not support both 32-bit and 64-bit kernels.
1335
1336config 32BIT
1337 bool "32-bit kernel"
1338 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1339 select TRAD_SIGNALS
1340 help
1341 Select this option if you want to build a 32-bit kernel.
1342config 64BIT
1343 bool "64-bit kernel"
1344 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1345 help
1346 Select this option if you want to build a 64-bit kernel.
1347
1348endchoice
1349
Linus Torvalds1da177e2005-04-16 15:20:36 -07001350choice
1351 prompt "Kernel page size"
1352 default PAGE_SIZE_4KB
1353
1354config PAGE_SIZE_4KB
1355 bool "4kB"
1356 help
1357 This option select the standard 4kB Linux page size. On some
1358 R3000-family processors this is the only available page size. Using
1359 4kB page size will minimize memory consumption and is therefore
1360 recommended for low memory systems.
1361
1362config PAGE_SIZE_8KB
1363 bool "8kB"
1364 depends on EXPERIMENTAL && CPU_R8000
1365 help
1366 Using 8kB page size will result in higher performance kernel at
1367 the price of higher memory consumption. This option is available
1368 only on the R8000 processor. Not that at the time of this writing
1369 this option is still high experimental; there are also issues with
1370 compatibility of user applications.
1371
1372config PAGE_SIZE_16KB
1373 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001374 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001375 help
1376 Using 16kB page size will result in higher performance kernel at
1377 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001378 all non-R3000 family processors. Note that you will need a suitable
1379 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001380
1381config PAGE_SIZE_64KB
1382 bool "64kB"
1383 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1384 help
1385 Using 64kB page size will result in higher performance kernel at
1386 the price of higher memory consumption. This option is available on
1387 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001388 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001389
1390endchoice
1391
1392config BOARD_SCACHE
1393 bool
1394
1395config IP22_CPU_SCACHE
1396 bool
1397 select BOARD_SCACHE
1398
Chris Dearman9318c512006-06-20 17:15:20 +01001399#
1400# Support for a MIPS32 / MIPS64 style S-caches
1401#
1402config MIPS_CPU_SCACHE
1403 bool
1404 select BOARD_SCACHE
1405
Linus Torvalds1da177e2005-04-16 15:20:36 -07001406config R5000_CPU_SCACHE
1407 bool
1408 select BOARD_SCACHE
1409
1410config RM7000_CPU_SCACHE
1411 bool
1412 select BOARD_SCACHE
1413
1414config SIBYTE_DMA_PAGEOPS
1415 bool "Use DMA to clear/copy pages"
1416 depends on CPU_SB1
1417 help
1418 Instead of using the CPU to zero and copy pages, use a Data Mover
1419 channel. These DMA channels are otherwise unused by the standard
1420 SiByte Linux port. Seems to give a small performance benefit.
1421
1422config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001423 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001424
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001425choice
1426 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001427
1428config MIPS_MT_DISABLED
1429 bool "Disable multithreading support."
1430 help
1431 Use this option if your workload can't take advantage of
1432 MIPS hardware multithreading support. On systems that don't have
1433 the option of an MT-enabled processor this option will be the only
1434 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001435
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001436config MIPS_MT_SMP
1437 bool "Use 1 TC on each available VPE for SMP"
1438 depends on SYS_SUPPORTS_MULTITHREADING
1439 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001440 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001441 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001442 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001443 select SMP
1444 select SYS_SUPPORTS_SMP
1445 help
1446 This is a kernel model which is also known a VSMP or lately
1447 has been marketesed into SMVP.
1448
Ralf Baechle41c594a2006-04-05 09:45:45 +01001449config MIPS_MT_SMTC
1450 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001451 depends on CPU_MIPS32_R2
1452 #depends on CPU_MIPS64_R2 # once there is hardware ...
1453 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechleea580402007-10-11 23:46:09 +01001454 select GENERIC_CLOCKEVENTS_BROADCAST
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001455 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001456 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001457 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001458 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001459 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001460 select SYS_SUPPORTS_SMP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001461 help
1462 This is a kernel model which is known a SMTC or lately has been
1463 marketesed into SMVP.
Ralf Baechle41c594a2006-04-05 09:45:45 +01001464
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001465endchoice
1466
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001467config MIPS_MT
1468 bool
1469
1470config SYS_SUPPORTS_MULTITHREADING
1471 bool
1472
Ralf Baechlef088fc82006-04-05 09:45:47 +01001473config MIPS_MT_FPAFF
1474 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001475 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001476 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1477
1478config MIPS_VPE_LOADER
1479 bool "VPE loader support."
1480 depends on SYS_SUPPORTS_MULTITHREADING
1481 select CPU_MIPSR2_IRQ_VI
1482 select CPU_MIPSR2_IRQ_EI
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001483 select MIPS_MT
1484 help
1485 Includes a loader for loading an elf relocatable object
1486 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001487
Ralf Baechleac8be952007-01-20 00:18:01 +00001488config MIPS_MT_SMTC_INSTANT_REPLAY
1489 bool "Low-latency Dispatch of Deferred SMTC IPIs"
Ralf Baechle619af722007-03-26 15:13:57 +01001490 depends on MIPS_MT_SMTC && !PREEMPT
Ralf Baechleac8be952007-01-20 00:18:01 +00001491 default y
1492 help
1493 SMTC pseudo-interrupts between TCs are deferred and queued
1494 if the target TC is interrupt-inhibited (IXMT). In the first
1495 SMTC prototypes, these queued IPIs were serviced on return
1496 to user mode, or on entry into the kernel idle loop. The
1497 INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1498 processing, which adds runtime overhead (hence the option to turn
1499 it off), but ensures that IPIs are handled promptly even under
1500 heavy I/O interrupt load.
1501
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001502config MIPS_MT_SMTC_IM_BACKSTOP
1503 bool "Use per-TC register bits as backstop for inhibited IM bits"
1504 depends on MIPS_MT_SMTC
1505 default y
1506 help
1507 To support multiple TC microthreads acting as "CPUs" within
1508 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1509 during interrupt handling. To support legacy drivers and interrupt
1510 controller management code, SMTC has a "backstop" to track and
1511 if necessary restore the interrupt mask. This has some performance
1512 impact on interrupt service overhead. Disable it only if you know
1513 what you are doing.
1514
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001515config MIPS_MT_SMTC_IRQAFF
1516 bool "Support IRQ affinity API"
1517 depends on MIPS_MT_SMTC
1518 default n
1519 help
1520 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1521 for SMTC Linux kernel. Requires platform support, of which
1522 an example can be found in the MIPS kernel i8259 and Malta
1523 platform code. It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1524 be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1525 interrupt dispatch, and should be used only if you know what
1526 you are doing.
1527
Ralf Baechlee01402b2005-07-14 15:57:16 +00001528config MIPS_VPE_LOADER_TOM
1529 bool "Load VPE program into memory hidden from linux"
1530 depends on MIPS_VPE_LOADER
1531 default y
1532 help
1533 The loader can use memory that is present but has been hidden from
1534 Linux using the kernel command line option "mem=xxMB". It's up to
1535 you to ensure the amount you put in the option and the space your
1536 program requires is less or equal to the amount physically present.
1537
1538# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1539config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001540 bool "Enable support for AP/SP API (RTLX)"
1541 depends on MIPS_VPE_LOADER
1542 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001543
Ralf Baechle26009902006-04-05 09:45:45 +01001544config MIPS_APSP_KSPD
1545 bool "Enable KSPD"
1546 depends on MIPS_VPE_APSP_API
1547 default y
1548 help
1549 KSPD is a kernel daemon that accepts syscall requests from the SP
1550 side, actions them and returns the results. It also handles the
1551 "exit" syscall notifying other kernel modules the SP program is
1552 exiting. You probably want to say yes here.
1553
Linus Torvalds1da177e2005-04-16 15:20:36 -07001554config SB1_PASS_1_WORKAROUNDS
1555 bool
1556 depends on CPU_SB1_PASS_1
1557 default y
1558
1559config SB1_PASS_2_WORKAROUNDS
1560 bool
1561 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1562 default y
1563
1564config SB1_PASS_2_1_WORKAROUNDS
1565 bool
1566 depends on CPU_SB1 && CPU_SB1_PASS_2
1567 default y
1568
1569config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001570 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001571
Linus Torvalds1da177e2005-04-16 15:20:36 -07001572config CPU_HAS_LLSC
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001573 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001574
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001575config CPU_HAS_SMARTMIPS
1576 depends on SYS_SUPPORTS_SMARTMIPS
1577 bool "Support for the SmartMIPS ASE"
1578 help
1579 SmartMIPS is a extension of the MIPS32 architecture aimed at
1580 increased security at both hardware and software level for
1581 smartcards. Enabling this option will allow proper use of the
1582 SmartMIPS instructions by Linux applications. However a kernel with
1583 this option will not work on a MIPS core without SmartMIPS core. If
1584 you don't know you probably don't have SmartMIPS and should say N
1585 here.
1586
Linus Torvalds1da177e2005-04-16 15:20:36 -07001587config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001588 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001589
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001590config 64BIT_CONTEXT
1591 bool "Save 64bit integer registers"
1592 depends on 32BIT && CPU_LOONGSON2
1593 help
1594 Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
1595 registers can still be accessed as 64bit, mainly for multimedia
1596 instructions. We must have all 64bit save/restored to make sure
1597 those instructions to get correct result.
1598
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001599#
1600# Vectored interrupt mode is an R2 feature
1601#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001602config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001603 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001604
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001605#
1606# Extended interrupt mode is an R2 feature
1607#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001608config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001609 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001610
Linus Torvalds1da177e2005-04-16 15:20:36 -07001611config CPU_HAS_SYNC
1612 bool
1613 depends on !CPU_R3000
1614 default y
1615
Ralf Baechleea580402007-10-11 23:46:09 +01001616config GENERIC_CLOCKEVENTS_BROADCAST
1617 bool
1618
Linus Torvalds1da177e2005-04-16 15:20:36 -07001619#
Ralf Baechle797798c2005-08-10 15:17:11 +00001620# Use the generic interrupt handling code in kernel/irq/:
1621#
1622config GENERIC_HARDIRQS
1623 bool
1624 default y
1625
1626config GENERIC_IRQ_PROBE
1627 bool
1628 default y
1629
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001630config IRQ_PER_CPU
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001631 bool
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001632
Ralf Baechle797798c2005-08-10 15:17:11 +00001633#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001634# - Highmem only makes sense for the 32-bit kernel.
1635# - The current highmem code will only work properly on physically indexed
1636# caches such as R3000, SB1, R7000 or those that look like they're virtually
1637# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1638# moment we protect the user and offer the highmem option only on machines
1639# where it's known to be safe. This will not offer highmem on a few systems
1640# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1641# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001642# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1643# know they might have memory configurations that could make use of highmem
1644# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001645#
1646config HIGHMEM
1647 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001648 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1649
1650config CPU_SUPPORTS_HIGHMEM
1651 bool
1652
1653config SYS_SUPPORTS_HIGHMEM
1654 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001655
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001656config SYS_SUPPORTS_SMARTMIPS
1657 bool
1658
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001659config ARCH_FLATMEM_ENABLE
1660 def_bool y
1661 depends on !NUMA
1662
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001663config ARCH_DISCONTIGMEM_ENABLE
1664 bool
1665 default y if SGI_IP27
1666 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001667 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001668 for architectures which are either NUMA (Non-Uniform Memory Access)
1669 or have huge holes in the physical address space for other reasons.
1670 See <file:Documentation/vm/numa> for more.
1671
Ralf Baechlecce335a2007-11-03 02:05:43 +00001672config ARCH_POPULATES_NODE_MAP
1673 def_bool y
1674
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001675config ARCH_SPARSEMEM_ENABLE
1676 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001677 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001678
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001679config NUMA
1680 bool "NUMA Support"
1681 depends on SYS_SUPPORTS_NUMA
1682 help
1683 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1684 Access). This option improves performance on systems with more
1685 than two nodes; on two node systems it is generally better to
1686 leave it disabled; on single node systems disable this option
1687 disabled.
1688
1689config SYS_SUPPORTS_NUMA
1690 bool
1691
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07001692config NODES_SHIFT
1693 int
1694 default "6"
1695 depends on NEED_MULTIPLE_NODES
1696
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001697source "mm/Kconfig"
1698
Linus Torvalds1da177e2005-04-16 15:20:36 -07001699config SMP
1700 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01001701 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01001702 select IRQ_PER_CPU
Ralf Baechlee73ea272006-06-04 11:51:46 +01001703 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07001704 This enables support for systems with more than one CPU. If you have
1705 a system with only one CPU, like most personal computers, say N. If
1706 you have a system with more than one CPU, say Y.
1707
1708 If you say N here, the kernel will run on single and multiprocessor
1709 machines, but will use only one CPU of a multiprocessor machine. If
1710 you say Y here, the kernel will run on many, but not all,
1711 singleprocessor machines. On a singleprocessor machine, the kernel
1712 will run faster if you say N here.
1713
1714 People using multiprocessor machines who say Y here should also say
1715 Y to "Enhanced Real Time Clock Support", below.
1716
1717 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1718 available at <http://www.tldp.org/docs.html#howto>.
1719
1720 If you don't know what to do here, say N.
1721
Ralf Baechlee73ea272006-06-04 11:51:46 +01001722config SYS_SUPPORTS_SMP
1723 bool
1724
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001725config NR_CPUS_DEFAULT_1
1726 bool
1727
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001728config NR_CPUS_DEFAULT_2
1729 bool
1730
1731config NR_CPUS_DEFAULT_4
1732 bool
1733
1734config NR_CPUS_DEFAULT_8
1735 bool
1736
1737config NR_CPUS_DEFAULT_16
1738 bool
1739
1740config NR_CPUS_DEFAULT_32
1741 bool
1742
1743config NR_CPUS_DEFAULT_64
1744 bool
1745
Linus Torvalds1da177e2005-04-16 15:20:36 -07001746config NR_CPUS
1747 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001748 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07001749 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001750 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001751 default "2" if NR_CPUS_DEFAULT_2
1752 default "4" if NR_CPUS_DEFAULT_4
1753 default "8" if NR_CPUS_DEFAULT_8
1754 default "16" if NR_CPUS_DEFAULT_16
1755 default "32" if NR_CPUS_DEFAULT_32
1756 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07001757 help
1758 This allows you to specify the maximum number of CPUs which this
1759 kernel will support. The maximum supported value is 32 for 32-bit
1760 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001761 sense is 1 for Qemu (useful only for kernel debugging purposes)
1762 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001763
1764 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001765 approximately eight kilobytes to the kernel image. For best
1766 performance should round up your number of processors to the next
1767 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001768
Atsushi Nemotoc4eee282007-11-12 01:05:16 +09001769source "kernel/time/Kconfig"
1770
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001771#
1772# Timer Interrupt Frequency Configuration
1773#
1774
1775choice
1776 prompt "Timer frequency"
1777 default HZ_250
1778 help
1779 Allows the configuration of the timer frequency.
1780
1781 config HZ_48
1782 bool "48 HZ" if SYS_SUPPORTS_48HZ
1783
1784 config HZ_100
1785 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1786
1787 config HZ_128
1788 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1789
1790 config HZ_250
1791 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1792
1793 config HZ_256
1794 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1795
1796 config HZ_1000
1797 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1798
1799 config HZ_1024
1800 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1801
1802endchoice
1803
1804config SYS_SUPPORTS_48HZ
1805 bool
1806
1807config SYS_SUPPORTS_100HZ
1808 bool
1809
1810config SYS_SUPPORTS_128HZ
1811 bool
1812
1813config SYS_SUPPORTS_250HZ
1814 bool
1815
1816config SYS_SUPPORTS_256HZ
1817 bool
1818
1819config SYS_SUPPORTS_1000HZ
1820 bool
1821
1822config SYS_SUPPORTS_1024HZ
1823 bool
1824
1825config SYS_SUPPORTS_ARBIT_HZ
1826 bool
1827 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1828 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1829 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1830 !SYS_SUPPORTS_1024HZ
1831
1832config HZ
1833 int
1834 default 48 if HZ_48
1835 default 100 if HZ_100
1836 default 128 if HZ_128
1837 default 250 if HZ_250
1838 default 256 if HZ_256
1839 default 1000 if HZ_1000
1840 default 1024 if HZ_1024
1841
Ralf Baechlee80de852005-07-11 20:45:51 +00001842source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001843
Linus Torvalds1da177e2005-04-16 15:20:36 -07001844config MIPS_INSANE_LARGE
1845 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001846 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001847 help
1848 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1849 previous 64-bit processors which only supported 40 bit / 1TB. If you
1850 need processes of more than 1TB virtual address space, say Y here.
1851 This will result in additional memory usage, so it is not
1852 recommended for normal users.
1853
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001854config KEXEC
1855 bool "Kexec system call (EXPERIMENTAL)"
1856 depends on EXPERIMENTAL
1857 help
1858 kexec is a system call that implements the ability to shutdown your
1859 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02001860 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001861 you can start any kernel with it, not just Linux.
1862
Matt LaPlante01dd2fb2007-10-20 01:34:40 +02001863 The name comes from the similarity to the exec system call.
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001864
1865 It is an ongoing process to be certain the hardware in a machine
1866 is properly shutdown, so do not be surprised if this code does not
1867 initially work for you. It may help to enable device hotplugging
1868 support. As of this writing the exact hardware interface is
1869 strongly in flux, so no good recommendation can be made.
1870
1871config SECCOMP
1872 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01001873 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001874 default y
1875 help
1876 This kernel feature is useful for number crunching applications
1877 that may need to compute untrusted bytecode during their
1878 execution. By using pipes or other transports made available to
1879 the process as file descriptors supporting the read/write
1880 syscalls, it's possible to isolate those applications in
1881 their own address space using seccomp. Once seccomp is
1882 enabled via /proc/<pid>/seccomp, it cannot be disabled
1883 and the task is only allowed to execute a few safe syscalls
1884 defined by each seccomp mode.
1885
1886 If unsure, say Y. Only embedded should say N here.
1887
Ralf Baechle5e83d432005-10-29 19:32:41 +01001888endmenu
1889
Linus Torvalds1da177e2005-04-16 15:20:36 -07001890config RWSEM_GENERIC_SPINLOCK
1891 bool
1892 default y
1893
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09001894config LOCKDEP_SUPPORT
1895 bool
1896 default y
1897
1898config STACKTRACE_SUPPORT
1899 bool
1900 default y
1901
Ralf Baechleb6c35392005-11-25 11:35:40 +00001902source "init/Kconfig"
1903
Linus Torvalds1da177e2005-04-16 15:20:36 -07001904menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1905
Ralf Baechle5e83d432005-10-29 19:32:41 +01001906config HW_HAS_EISA
1907 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001908config HW_HAS_PCI
1909 bool
1910
1911config PCI
1912 bool "Support for PCI controller"
1913 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01001914 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07001915 help
1916 Find out whether you have a PCI motherboard. PCI is the name of a
1917 bus system, i.e. the way the CPU talks to the other stuff inside
1918 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1919 say Y, otherwise N.
1920
1921 The PCI-HOWTO, available from
1922 <http://www.tldp.org/docs.html#howto>, contains valuable
1923 information about which PCI hardware does work under Linux and which
1924 doesn't.
1925
1926config PCI_DOMAINS
1927 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001928
1929source "drivers/pci/Kconfig"
1930
1931#
1932# ISA support is now enabled via select. Too many systems still have the one
1933# or other ISA chip on the board that users don't know about so don't expect
1934# users to choose the right thing ...
1935#
1936config ISA
1937 bool
1938
1939config EISA
1940 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01001941 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07001942 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00001943 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07001944 ---help---
1945 The Extended Industry Standard Architecture (EISA) bus was
1946 developed as an open alternative to the IBM MicroChannel bus.
1947
1948 The EISA bus provided some of the features of the IBM MicroChannel
1949 bus while maintaining backward compatibility with cards made for
1950 the older ISA bus. The EISA bus saw limited use between 1988 and
1951 1995 when it was made obsolete by the PCI bus.
1952
1953 Say Y here if you are building a kernel for an EISA-based machine.
1954
1955 Otherwise, say N.
1956
1957source "drivers/eisa/Kconfig"
1958
1959config TC
1960 bool "TURBOchannel support"
1961 depends on MACH_DECSTATION
1962 help
1963 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
1964 processors. Documentation on writing device drivers for TurboChannel
1965 is available at:
1966 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
1967
1968#config ACCESSBUS
1969# bool "Access.Bus support"
1970# depends on TC
1971
1972config MMU
1973 bool
1974 default y
1975
Ralf Baechled865bea2007-10-11 23:46:10 +01001976config I8253
1977 bool
1978
Ralf Baechlede61b542007-07-12 17:41:23 +01001979config PCSPEAKER
Michael Neulinge5c6c8e2006-03-14 00:11:50 -05001980 bool
1981
Ralf Baechlecce335a2007-11-03 02:05:43 +00001982config ZONE_DMA32
1983 bool
1984
Linus Torvalds1da177e2005-04-16 15:20:36 -07001985source "drivers/pcmcia/Kconfig"
1986
1987source "drivers/pci/hotplug/Kconfig"
1988
1989endmenu
1990
1991menu "Executable file formats"
1992
1993source "fs/Kconfig.binfmt"
1994
1995config TRAD_SIGNALS
1996 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001997
Linus Torvalds1da177e2005-04-16 15:20:36 -07001998config BINFMT_IRIX
1999 bool "Include IRIX binary compatibility"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002000 depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -07002001
2002config MIPS32_COMPAT
2003 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002004 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002005 help
2006 Select this option if you want Linux/MIPS 32-bit binary
2007 compatibility. Since all software available for Linux/MIPS is
2008 currently 32-bit you should say Y here.
2009
2010config COMPAT
2011 bool
2012 depends on MIPS32_COMPAT
2013 default y
2014
Atsushi Nemoto05e43962006-11-07 18:02:44 +09002015config SYSVIPC_COMPAT
2016 bool
2017 depends on COMPAT && SYSVIPC
2018 default y
2019
Linus Torvalds1da177e2005-04-16 15:20:36 -07002020config MIPS32_O32
2021 bool "Kernel support for o32 binaries"
2022 depends on MIPS32_COMPAT
2023 help
2024 Select this option if you want to run o32 binaries. These are pure
2025 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2026 existing binaries are in this format.
2027
2028 If unsure, say Y.
2029
2030config MIPS32_N32
2031 bool "Kernel support for n32 binaries"
2032 depends on MIPS32_COMPAT
2033 help
2034 Select this option if you want to run n32 binaries. These are
2035 64-bit binaries using 32-bit quantities for addressing and certain
2036 data that would normally be 64-bit. They are used in special
2037 cases.
2038
2039 If unsure, say N.
2040
2041config BINFMT_ELF32
2042 bool
2043 default y if MIPS32_O32 || MIPS32_N32
2044
Ralf Baechle21162452007-02-09 17:08:58 +00002045endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07002046
Ralf Baechle21162452007-02-09 17:08:58 +00002047menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002048
Ralf Baechle21162452007-02-09 17:08:58 +00002049source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002050
Linus Torvalds1da177e2005-04-16 15:20:36 -07002051endmenu
2052
Sam Ravnborgd5950b42005-07-11 21:03:49 -07002053source "net/Kconfig"
2054
Linus Torvalds1da177e2005-04-16 15:20:36 -07002055source "drivers/Kconfig"
2056
2057source "fs/Kconfig"
2058
Mathieu Desnoyers09caded2007-10-18 23:41:05 -07002059source "kernel/Kconfig.instrumentation"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002060
Linus Torvalds1da177e2005-04-16 15:20:36 -07002061source "arch/mips/Kconfig.debug"
2062
2063source "security/Kconfig"
2064
2065source "crypto/Kconfig"
2066
2067source "lib/Kconfig"