blob: 7750829b416a8ee3f9cceba0668c6c891923994f [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 Baechlea5ccfe52007-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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700404 select IP22_CPU_SCACHE
405 select IRQ_CPU
Ralf Baechleaa414df2006-11-30 01:14:51 +0000406 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700407 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100408 select SYS_HAS_CPU_R4X00
409 select SYS_HAS_CPU_R5000
Ralf Baechle36a88532007-03-01 11:56:43 +0000410 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700411 select SYS_SUPPORTS_32BIT_KERNEL
412 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100413 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700414 help
415 This are the SGI Indy, Challenge S and Indigo2, as well as certain
416 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
417 that runs on these, say Y here.
418
419config SGI_IP27
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200420 bool "SGI IP27 (Origin200/2000)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700421 select ARC
422 select ARC64
Ralf Baechle5e83d432005-10-29 19:32:41 +0100423 select BOOT_ELF64
Linus Torvalds1da177e2005-04-16 15:20:36 -0700424 select DMA_IP27
Ralf Baechle36a88532007-03-01 11:56:43 +0000425 select SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700426 select HW_HAS_PCI
Ralf Baechle130e2fb2007-02-06 16:53:15 +0000427 select NR_CPUS_DEFAULT_64
Ralf Baechle7cf80532005-10-20 22:33:09 +0100428 select SYS_HAS_CPU_R10000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700429 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100430 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000431 select SYS_SUPPORTS_KGDB
Ralf Baechled8cb4e12006-06-11 23:03:08 +0100432 select SYS_SUPPORTS_NUMA
Ralf Baechle1a5c5de2006-11-02 17:23:33 +0000433 select SYS_SUPPORTS_SMP
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100434 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700435 help
436 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
437 workstations. To compile a Linux kernel that runs on these, say Y
438 here.
439
Linus Torvalds1da177e2005-04-16 15:20:36 -0700440config SGI_IP32
Ralf Baechlecfd2afc2007-07-10 17:33:00 +0100441 bool "SGI IP32 (O2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700442 select ARC
443 select ARC32
444 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100445 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000446 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700447 select DMA_NONCOHERENT
448 select HW_HAS_PCI
Ralf Baechledd67b152007-10-14 14:02:26 +0100449 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700450 select R5000_CPU_SCACHE
451 select RM7000_CPU_SCACHE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100452 select SYS_HAS_CPU_R5000
453 select SYS_HAS_CPU_R10000 if BROKEN
454 select SYS_HAS_CPU_RM7000
Ralf Baechledd2f18f2006-01-19 14:55:42 +0000455 select SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700456 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100457 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700458 help
459 If you want this kernel to run on SGI O2 workstation, say Y here.
460
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900461config SIBYTE_CRHINE
462 bool "Sibyte BCM91120C-CRhine"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100463 depends on EXPERIMENTAL
464 select BOOT_ELF32
465 select DMA_COHERENT
466 select SIBYTE_BCM1120
467 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100468 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100469 select SYS_SUPPORTS_BIG_ENDIAN
470 select SYS_SUPPORTS_LITTLE_ENDIAN
471
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900472config SIBYTE_CARMEL
473 bool "Sibyte BCM91120x-Carmel"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100474 depends on EXPERIMENTAL
475 select BOOT_ELF32
476 select DMA_COHERENT
477 select SIBYTE_BCM1120
478 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100479 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100480 select SYS_SUPPORTS_BIG_ENDIAN
481 select SYS_SUPPORTS_LITTLE_ENDIAN
482
483config SIBYTE_CRHONE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200484 bool "Sibyte BCM91125C-CRhone"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100485 depends on EXPERIMENTAL
486 select BOOT_ELF32
487 select DMA_COHERENT
488 select SIBYTE_BCM1125
489 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100490 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100491 select SYS_SUPPORTS_BIG_ENDIAN
492 select SYS_SUPPORTS_HIGHMEM
493 select SYS_SUPPORTS_LITTLE_ENDIAN
494
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900495config SIBYTE_RHONE
496 bool "Sibyte BCM91125E-Rhone"
497 depends on EXPERIMENTAL
498 select BOOT_ELF32
499 select DMA_COHERENT
500 select SIBYTE_BCM1125H
501 select SWAP_IO_SPACE
502 select SYS_HAS_CPU_SB1
503 select SYS_SUPPORTS_BIG_ENDIAN
504 select SYS_SUPPORTS_LITTLE_ENDIAN
505
506config SIBYTE_SWARM
507 bool "Sibyte BCM91250A-SWARM"
508 select BOOT_ELF32
509 select DMA_COHERENT
510 select NR_CPUS_DEFAULT_2
511 select SIBYTE_SB1250
512 select SWAP_IO_SPACE
513 select SYS_HAS_CPU_SB1
514 select SYS_SUPPORTS_BIG_ENDIAN
515 select SYS_SUPPORTS_HIGHMEM
516 select SYS_SUPPORTS_KGDB
517 select SYS_SUPPORTS_LITTLE_ENDIAN
518
519config SIBYTE_LITTLESUR
520 bool "Sibyte BCM91250C2-LittleSur"
521 depends on EXPERIMENTAL
522 select BOOT_ELF32
523 select DMA_COHERENT
524 select NR_CPUS_DEFAULT_2
525 select SIBYTE_SB1250
526 select SWAP_IO_SPACE
527 select SYS_HAS_CPU_SB1
528 select SYS_SUPPORTS_BIG_ENDIAN
529 select SYS_SUPPORTS_HIGHMEM
530 select SYS_SUPPORTS_LITTLE_ENDIAN
531
532config SIBYTE_SENTOSA
533 bool "Sibyte BCM91250E-Sentosa"
534 depends on EXPERIMENTAL
535 select BOOT_ELF32
536 select DMA_COHERENT
537 select NR_CPUS_DEFAULT_2
538 select SIBYTE_SB1250
539 select SWAP_IO_SPACE
540 select SYS_HAS_CPU_SB1
541 select SYS_SUPPORTS_BIG_ENDIAN
542 select SYS_SUPPORTS_LITTLE_ENDIAN
543
544config SIBYTE_PTSWARM
545 bool "Sibyte BCM91250PT-PTSWARM"
546 depends on EXPERIMENTAL
547 select BOOT_ELF32
548 select DMA_COHERENT
549 select NR_CPUS_DEFAULT_2
550 select SIBYTE_SB1250
551 select SWAP_IO_SPACE
552 select SYS_HAS_CPU_SB1
553 select SYS_SUPPORTS_BIG_ENDIAN
554 select SYS_SUPPORTS_HIGHMEM
555 select SYS_SUPPORTS_LITTLE_ENDIAN
556
557config SIBYTE_BIGSUR
558 bool "Sibyte BCM91480B-BigSur"
559 select BOOT_ELF32
560 select DMA_COHERENT
561 select NR_CPUS_DEFAULT_4
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900562 select SIBYTE_BCM1x80
563 select SWAP_IO_SPACE
564 select SYS_HAS_CPU_SB1
565 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle651194f2007-11-01 21:55:39 +0000566 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900567 select SYS_SUPPORTS_LITTLE_ENDIAN
568
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100569config SNI_RM
570 bool "SNI RM200/300/400"
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200571 select ARC if CPU_LITTLE_ENDIAN
572 select ARC32 if CPU_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100573 select ARCH_MAY_HAVE_PC_FDC
574 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100575 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000576 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100577 select DMA_NONCOHERENT
578 select GENERIC_ISA_DMA
Ralf Baechle5e83d432005-10-29 19:32:41 +0100579 select HW_HAS_EISA
580 select HW_HAS_PCI
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100581 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100582 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100583 select I8259
584 select ISA
Ralf Baechlede61b542007-07-12 17:41:23 +0100585 select PCSPEAKER
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200586 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100587 select SYS_HAS_CPU_R4X00
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200588 select SYS_HAS_CPU_R5000
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100589 select SYS_HAS_CPU_R10000
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200590 select R5000_CPU_SCACHE
Ralf Baechle36a88532007-03-01 11:56:43 +0000591 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700592 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100593 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200594 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100595 select SYS_SUPPORTS_HIGHMEM
596 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700597 help
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100598 The SNI RM200/300/400 are MIPS-based machines manufactured by
599 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Ralf Baechle5e83d432005-10-29 19:32:41 +0100600 Technology and now in turn merged with Fujitsu. Say Y here to
601 support this machine type.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700602
Ralf Baechle5e83d432005-10-29 19:32:41 +0100603config TOSHIBA_JMR3927
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200604 bool "Toshiba JMR-TX3927 board"
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900605 select CEVT_TXX9
Ralf Baechle5e83d432005-10-29 19:32:41 +0100606 select DMA_NONCOHERENT
607 select HW_HAS_PCI
608 select MIPS_TX3927
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900609 select IRQ_TXX9
Ralf Baechle5e83d432005-10-29 19:32:41 +0100610 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100611 select SYS_HAS_CPU_TX39XX
Ralf Baechle5e83d432005-10-29 19:32:41 +0100612 select SYS_SUPPORTS_32BIT_KERNEL
Sergei Shtylyov6a2603a2007-02-07 20:39:05 +0300613 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100614 select SYS_SUPPORTS_BIG_ENDIAN
Atsushi Nemoto21274352007-03-15 00:58:28 +0900615 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100616
617config TOSHIBA_RBTX4927
Yoichi Yuasa08a91282007-07-27 15:20:24 +0900618 bool "Toshiba RBTX49[23]7 board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100619 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000620 select CSRC_R4K
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900621 select CEVT_TXX9
Ralf Baechle5e83d432005-10-29 19:32:41 +0100622 select DMA_NONCOHERENT
623 select HAS_TXX9_SERIAL
624 select HW_HAS_PCI
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900625 select IRQ_CPU
626 select IRQ_TXX9
627 select I8259 if TOSHIBA_FPCIB0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100628 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100629 select SYS_HAS_CPU_TX49XX
Ralf Baechle5e83d432005-10-29 19:32:41 +0100630 select SYS_SUPPORTS_32BIT_KERNEL
631 select SYS_SUPPORTS_64BIT_KERNEL
Sergei Shtylyov6a2603a2007-02-07 20:39:05 +0300632 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100633 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000634 select SYS_SUPPORTS_KGDB
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900635 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100636 help
637 This Toshiba board is based on the TX4927 processor. Say Y here to
638 support this machine type
Linus Torvalds1da177e2005-04-16 15:20:36 -0700639
Ralf Baechle23fbee92005-07-25 22:45:45 +0000640config TOSHIBA_RBTX4938
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200641 bool "Toshiba RBTX4938 board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100642 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000643 select CSRC_R4K
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900644 select CEVT_TXX9
Ralf Baechle23fbee92005-07-25 22:45:45 +0000645 select DMA_NONCOHERENT
Ralf Baechle23fbee92005-07-25 22:45:45 +0000646 select HAS_TXX9_SERIAL
647 select HW_HAS_PCI
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900648 select IRQ_CPU
649 select IRQ_TXX9
Ralf Baechle23fbee92005-07-25 22:45:45 +0000650 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100651 select SYS_HAS_CPU_TX49XX
Ralf Baechle23fbee92005-07-25 22:45:45 +0000652 select SYS_SUPPORTS_32BIT_KERNEL
653 select SYS_SUPPORTS_LITTLE_ENDIAN
654 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000655 select SYS_SUPPORTS_KGDB
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900656 select GENERIC_HARDIRQS_NO__DO_IRQ
Atsushi Nemoto3896b052007-06-22 23:21:55 +0900657 select GENERIC_GPIO
Ralf Baechle23fbee92005-07-25 22:45:45 +0000658 help
659 This Toshiba board is based on the TX4938 processor. Say Y here to
660 support this machine type
661
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900662config WR_PPMC
663 bool "Wind River PPMC board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100664 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000665 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900666 select IRQ_CPU
667 select BOOT_ELF32
668 select DMA_NONCOHERENT
669 select HW_HAS_PCI
670 select PCI_GT64XXX_PCI0
671 select SWAP_IO_SPACE
672 select SYS_HAS_CPU_MIPS32_R1
673 select SYS_HAS_CPU_MIPS32_R2
674 select SYS_HAS_CPU_MIPS64_R1
675 select SYS_HAS_CPU_NEVADA
676 select SYS_HAS_CPU_RM7000
677 select SYS_SUPPORTS_32BIT_KERNEL
678 select SYS_SUPPORTS_64BIT_KERNEL
679 select SYS_SUPPORTS_BIG_ENDIAN
680 select SYS_SUPPORTS_LITTLE_ENDIAN
681 help
682 This enables support for the Wind River MIPS32 4KC PPMC evaluation
683 board, which is based on GT64120 bridge chip.
684
Linus Torvalds1da177e2005-04-16 15:20:36 -0700685endchoice
686
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900687source "arch/mips/au1000/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100688source "arch/mips/jazz/Kconfig"
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200689source "arch/mips/lasat/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100690source "arch/mips/pmc-sierra/Kconfig"
Ralf Baechle29c48692005-02-07 01:27:14 +0000691source "arch/mips/sgi-ip27/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000692source "arch/mips/sibyte/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100693source "arch/mips/tx4927/Kconfig"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000694source "arch/mips/tx4938/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100695source "arch/mips/vr41xx/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000696
Ralf Baechle5e83d432005-10-29 19:32:41 +0100697endmenu
698
Linus Torvalds1da177e2005-04-16 15:20:36 -0700699config RWSEM_GENERIC_SPINLOCK
700 bool
701 default y
702
703config RWSEM_XCHGADD_ALGORITHM
704 bool
705
David Howellsf0d1b0b2006-12-08 02:37:49 -0800706config ARCH_HAS_ILOG2_U32
707 bool
708 default n
709
710config ARCH_HAS_ILOG2_U64
711 bool
712 default n
713
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800714config GENERIC_FIND_NEXT_BIT
715 bool
716 default y
717
718config GENERIC_HWEIGHT
719 bool
720 default y
721
Linus Torvalds1da177e2005-04-16 15:20:36 -0700722config GENERIC_CALIBRATE_DELAY
723 bool
724 default y
725
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100726config GENERIC_CLOCKEVENTS
727 bool
728 default y
729
Ralf Baechle8db02012006-10-02 16:54:48 +0100730config GENERIC_TIME
731 bool
732 default y
733
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100734config GENERIC_CMOS_UPDATE
735 bool
736 default y
737
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900738config SCHED_NO_NO_OMIT_FRAME_POINTER
739 bool
740 default y
741
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100742config GENERIC_HARDIRQS_NO__DO_IRQ
743 bool
744 default n
745
Linus Torvalds1da177e2005-04-16 15:20:36 -0700746#
747# Select some configuration options automatically based on user selections.
748#
749config ARC
750 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700751
Ralf Baechle61ed2422005-09-15 08:52:34 +0000752config ARCH_MAY_HAVE_PC_FDC
753 bool
754
Marc St-Jean9267a302007-06-14 15:55:31 -0600755config BOOT_RAW
756 bool
757
Ralf Baechle217dd112007-11-01 01:57:55 +0000758config CEVT_BCM1480
759 bool
760
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900761config CEVT_GT641XX
762 bool
763
Ralf Baechle42f77542007-10-18 17:48:11 +0100764config CEVT_R4K
765 bool
766
Ralf Baechle217dd112007-11-01 01:57:55 +0000767config CEVT_SB1250
768 bool
769
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900770config CEVT_TXX9
771 bool
772
Ralf Baechle217dd112007-11-01 01:57:55 +0000773config CSRC_BCM1480
774 bool
775
Ralf Baechle940f6b42007-11-24 22:33:28 +0000776config CSRC_R4K
777 bool
778
Ralf Baechle217dd112007-11-01 01:57:55 +0000779config CSRC_SB1250
780 bool
781
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200782config CFE
783 bool
784
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700785config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700786 bool
787
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700788config DMA_IP27
Linus Torvalds1da177e2005-04-16 15:20:36 -0700789 bool
790
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700791config DMA_IP32
792 bool
793 select DMA_NEED_PCI_MAP_STATE
794
795config DMA_NONCOHERENT
796 bool
797 select DMA_NEED_PCI_MAP_STATE
798
799config DMA_NEED_PCI_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700800 bool
801
802config EARLY_PRINTK
Ralf Baechle36a88532007-03-01 11:56:43 +0000803 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
804 depends on SYS_HAS_EARLY_PRINTK
805 default y
806 help
807 This option enables special console drivers which allow the kernel
808 to print messages very early in the bootup process.
809
810 This is useful for kernel debugging when your machine crashes very
Robert P. J. Day490dcc42007-05-20 12:11:07 -0400811 early before the console code is initialized. For normal operation,
812 it is not recommended because it looks ugly on some machines and
813 doesn't cooperate with an X server. You should normally say N here,
Ralf Baechle36a88532007-03-01 11:56:43 +0000814 unless you want to debug such a crash.
815
816config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700817 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700818
Ralf Baechledbb74542007-08-07 14:52:17 +0100819config HOTPLUG_CPU
820 bool
821 default n
822
Linus Torvalds1da177e2005-04-16 15:20:36 -0700823config I8259
824 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700825
Linus Torvalds1da177e2005-04-16 15:20:36 -0700826config MIPS_BONITO64
827 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700828
829config MIPS_MSC
830 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700831
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200832config MIPS_NILE4
833 bool
834
Linus Torvalds1da177e2005-04-16 15:20:36 -0700835config MIPS_DISABLE_OBSOLETE_IDE
836 bool
837
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100838config NO_IOPORT
839 def_bool n
840
Ralf Baechle8313da32007-08-24 16:48:30 +0100841config GENERIC_ISA_DMA
842 bool
843 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
844
Ralf Baechleaa414df2006-11-30 01:14:51 +0000845config GENERIC_ISA_DMA_SUPPORT_BROKEN
846 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100847 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000848
Yoichi Yuasa09663332007-05-22 00:05:58 +0900849config GENERIC_GPIO
850 bool
851
Ralf Baechle5e83d432005-10-29 19:32:41 +0100852#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100853# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100854# answer,so we try hard to limit the available choices. Also the use of a
855# choice statement should be more obvious to the user.
856#
857choice
858 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700859 help
860 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100861 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100862 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100863 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200864 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100865
866config CPU_BIG_ENDIAN
867 bool "Big endian"
868 depends on SYS_SUPPORTS_BIG_ENDIAN
869
870config CPU_LITTLE_ENDIAN
871 bool "Little endian"
872 depends on SYS_SUPPORTS_LITTLE_ENDIAN
873 help
874
875endchoice
876
Ralf Baechle21162452007-02-09 17:08:58 +0000877config SYS_SUPPORTS_APM_EMULATION
878 bool
879
Ralf Baechle5e83d432005-10-29 19:32:41 +0100880config SYS_SUPPORTS_BIG_ENDIAN
881 bool
882
883config SYS_SUPPORTS_LITTLE_ENDIAN
884 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700885
886config IRQ_CPU
887 bool
888
889config IRQ_CPU_RM7K
890 bool
891
Ralf Baechle5e83d432005-10-29 19:32:41 +0100892config IRQ_CPU_RM9K
893 bool
894
Marc St-Jean9267a302007-06-14 15:55:31 -0600895config IRQ_MSP_SLP
896 bool
897
898config IRQ_MSP_CIC
899 bool
900
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900901config IRQ_TXX9
902 bool
903
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900904config IRQ_GT641XX
905 bool
906
Linus Torvalds1da177e2005-04-16 15:20:36 -0700907config MIPS_BOARDS_GEN
908 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700909
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900910config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700911 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700912
Marc St-Jean9267a302007-06-14 15:55:31 -0600913config NO_EXCEPT_FILL
914 bool
915
Linus Torvalds1da177e2005-04-16 15:20:36 -0700916config MIPS_TX3927
917 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700918 select HAS_TXX9_SERIAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700919
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200920config MIPS_RM9122
921 bool
922 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200923
Pete Popovbdf21b12005-07-14 17:47:57 +0000924config PNX8550
925 bool
926 select SOC_PNX8550
927
928config SOC_PNX8550
929 bool
Pete Popovbdf21b12005-07-14 17:47:57 +0000930 select DMA_NONCOHERENT
931 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +0000932 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +0000933 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +0100934 select SYS_SUPPORTS_32BIT_KERNEL
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100935 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechlecc801072007-02-17 02:58:39 +0000936 select SYS_SUPPORTS_KGDB
Florian Fainelli4ead1682007-05-22 21:44:42 +0200937 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +0000938
Linus Torvalds1da177e2005-04-16 15:20:36 -0700939config SWAP_IO_SPACE
940 bool
941
dmitry pervushin355c4712006-05-21 14:53:06 +0400942config EMMA2RH
943 bool
944 depends on MARKEINS
945 default y
946
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200947config SERIAL_RM9000
948 bool
949
Ralf Baechle5e83d432005-10-29 19:32:41 +0100950config ARC32
951 bool
952
Linus Torvalds1da177e2005-04-16 15:20:36 -0700953config BOOT_ELF32
954 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700955
956config MIPS_L1_CACHE_SHIFT
957 int
Thomas Bogendoerfer06cf5582007-06-20 23:36:47 +0200958 default "4" if MACH_DECSTATION
959 default "7" if SGI_IP27 || SNI_RM
Marc St-Jean9267a302007-06-14 15:55:31 -0600960 default "4" if PMC_MSP4200_EVAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700961 default "5"
962
Linus Torvalds1da177e2005-04-16 15:20:36 -0700963config HAVE_STD_PC_SERIAL_PORT
964 bool
965
Linus Torvalds1da177e2005-04-16 15:20:36 -0700966config ARC_CONSOLE
967 bool "ARC console support"
Ralf Baechle36a88532007-03-01 11:56:43 +0000968 depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700969
970config ARC_MEMORY
971 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100972 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700973 default y
974
975config ARC_PROMLIB
976 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100977 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700978 default y
979
980config ARC64
981 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700982
983config BOOT_ELF64
984 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700985
Linus Torvalds1da177e2005-04-16 15:20:36 -0700986menu "CPU selection"
987
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100988source "kernel/time/Kconfig"
989
Linus Torvalds1da177e2005-04-16 15:20:36 -0700990choice
991 prompt "CPU type"
992 default CPU_R4X00
993
Fuxin Zhang2a21c732007-06-06 14:52:43 +0800994config CPU_LOONGSON2
995 bool "Loongson 2"
996 depends on SYS_HAS_CPU_LOONGSON2
997 select CPU_SUPPORTS_32BIT_KERNEL
998 select CPU_SUPPORTS_64BIT_KERNEL
999 select CPU_SUPPORTS_HIGHMEM
1000 help
1001 The Loongson 2E processor implements the MIPS III instruction set
1002 with many extensions.
1003
Ralf Baechle6e760c82005-07-06 12:08:11 +00001004config CPU_MIPS32_R1
1005 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001006 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001007 select CPU_HAS_LLSC
Ralf Baechle6e760c82005-07-06 12:08:11 +00001008 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001009 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001010 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001011 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001012 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001013 MIPS32 architecture. Most modern embedded systems with a 32-bit
1014 MIPS processor are based on a MIPS32 processor. If you know the
1015 specific type of processor in your system, choose those that one
1016 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1017 Release 2 of the MIPS32 architecture is available since several
1018 years so chances are you even have a MIPS32 Release 2 processor
1019 in which case you should choose CPU_MIPS32_R2 instead for better
1020 performance.
1021
1022config CPU_MIPS32_R2
1023 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001024 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001025 select CPU_HAS_LLSC
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001026 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001027 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001028 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001029 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001030 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +00001031 MIPS32 architecture. Most modern embedded systems with a 32-bit
1032 MIPS processor are based on a MIPS32 processor. If you know the
1033 specific type of processor in your system, choose those that one
1034 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001035
Ralf Baechle6e760c82005-07-06 12:08:11 +00001036config CPU_MIPS64_R1
1037 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001038 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001039 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +00001040 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001041 select CPU_SUPPORTS_32BIT_KERNEL
1042 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001043 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001044 help
1045 Choose this option to build a kernel for release 1 or later of the
1046 MIPS64 architecture. Many modern embedded systems with a 64-bit
1047 MIPS processor are based on a MIPS64 processor. If you know the
1048 specific type of processor in your system, choose those that one
1049 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001050 Release 2 of the MIPS64 architecture is available since several
1051 years so chances are you even have a MIPS64 Release 2 processor
1052 in which case you should choose CPU_MIPS64_R2 instead for better
1053 performance.
1054
1055config CPU_MIPS64_R2
1056 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001057 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001058 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +00001059 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001060 select CPU_SUPPORTS_32BIT_KERNEL
1061 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001062 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001063 help
1064 Choose this option to build a kernel for release 2 or later of the
1065 MIPS64 architecture. Many modern embedded systems with a 64-bit
1066 MIPS processor are based on a MIPS64 processor. If you know the
1067 specific type of processor in your system, choose those that one
1068 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001069
1070config CPU_R3000
1071 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001072 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001073 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001074 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001075 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001076 help
1077 Please make sure to pick the right CPU type. Linux/MIPS is not
1078 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1079 *not* work on R4000 machines and vice versa. However, since most
1080 of the supported machines have an R4000 (or similar) CPU, R4x00
1081 might be a safe bet. If the resulting kernel does not work,
1082 try to recompile with R3000.
1083
1084config CPU_TX39XX
1085 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001086 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001087 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001088
1089config CPU_VR41XX
1090 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001091 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001092 select CPU_SUPPORTS_32BIT_KERNEL
1093 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001094 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001095 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001096 Only choose this option if you have one of these processors as a
1097 kernel built with this option will not run on any other type of
1098 processor or vice versa.
1099
1100config CPU_R4300
1101 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001102 depends on SYS_HAS_CPU_R4300
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001103 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001104 select CPU_SUPPORTS_32BIT_KERNEL
1105 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001106 help
1107 MIPS Technologies R4300-series processors.
1108
1109config CPU_R4X00
1110 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001111 depends on SYS_HAS_CPU_R4X00
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001112 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001113 select CPU_SUPPORTS_32BIT_KERNEL
1114 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001115 help
1116 MIPS Technologies R4000-series processors other than 4300, including
1117 the R4000, R4400, R4600, and 4700.
1118
1119config CPU_TX49XX
1120 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001121 depends on SYS_HAS_CPU_TX49XX
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001122 select CPU_HAS_LLSC
Atsushi Nemotode862b42006-03-17 12:59:22 +09001123 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001124 select CPU_SUPPORTS_32BIT_KERNEL
1125 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001126
1127config CPU_R5000
1128 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001129 depends on SYS_HAS_CPU_R5000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001130 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001131 select CPU_SUPPORTS_32BIT_KERNEL
1132 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001133 help
1134 MIPS Technologies R5000-series processors other than the Nevada.
1135
1136config CPU_R5432
1137 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001138 depends on SYS_HAS_CPU_R5432
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001139 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001140 select CPU_SUPPORTS_32BIT_KERNEL
1141 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001142
1143config CPU_R6000
1144 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001145 depends on EXPERIMENTAL
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001146 select CPU_HAS_LLSC
Ralf Baechle7cf80532005-10-20 22:33:09 +01001147 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001148 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001149 help
1150 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001151 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001152
1153config CPU_NEVADA
1154 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001155 depends on SYS_HAS_CPU_NEVADA
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001156 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001157 select CPU_SUPPORTS_32BIT_KERNEL
1158 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001159 help
1160 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1161
1162config CPU_R8000
1163 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001164 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001165 depends on SYS_HAS_CPU_R8000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001166 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001167 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001168 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001169 help
1170 MIPS Technologies R8000 processors. Note these processors are
1171 uncommon and the support for them is incomplete.
1172
1173config CPU_R10000
1174 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001175 depends on SYS_HAS_CPU_R10000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001176 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001177 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001178 select CPU_SUPPORTS_32BIT_KERNEL
1179 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001180 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001181 help
1182 MIPS Technologies R10000-series processors.
1183
1184config CPU_RM7000
1185 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001186 depends on SYS_HAS_CPU_RM7000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001187 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001188 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001189 select CPU_SUPPORTS_32BIT_KERNEL
1190 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001191 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001192
1193config CPU_RM9000
1194 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001195 depends on SYS_HAS_CPU_RM9000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001196 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001197 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001198 select CPU_SUPPORTS_32BIT_KERNEL
1199 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001200 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001201 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001202
1203config CPU_SB1
1204 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001205 depends on SYS_HAS_CPU_SB1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001206 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001207 select CPU_SUPPORTS_32BIT_KERNEL
1208 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001209 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001210 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001211
1212endchoice
1213
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001214config SYS_HAS_CPU_LOONGSON2
1215 bool
1216
Ralf Baechle7cf80532005-10-20 22:33:09 +01001217config SYS_HAS_CPU_MIPS32_R1
1218 bool
1219
1220config SYS_HAS_CPU_MIPS32_R2
1221 bool
1222
1223config SYS_HAS_CPU_MIPS64_R1
1224 bool
1225
1226config SYS_HAS_CPU_MIPS64_R2
1227 bool
1228
1229config SYS_HAS_CPU_R3000
1230 bool
1231
1232config SYS_HAS_CPU_TX39XX
1233 bool
1234
1235config SYS_HAS_CPU_VR41XX
1236 bool
1237
1238config SYS_HAS_CPU_R4300
1239 bool
1240
1241config SYS_HAS_CPU_R4X00
1242 bool
1243
1244config SYS_HAS_CPU_TX49XX
1245 bool
1246
1247config SYS_HAS_CPU_R5000
1248 bool
1249
1250config SYS_HAS_CPU_R5432
1251 bool
1252
1253config SYS_HAS_CPU_R6000
1254 bool
1255
1256config SYS_HAS_CPU_NEVADA
1257 bool
1258
1259config SYS_HAS_CPU_R8000
1260 bool
1261
1262config SYS_HAS_CPU_R10000
1263 bool
1264
1265config SYS_HAS_CPU_RM7000
1266 bool
1267
1268config SYS_HAS_CPU_RM9000
1269 bool
1270
1271config SYS_HAS_CPU_SB1
1272 bool
1273
Ralf Baechle17099b12007-07-14 13:24:05 +01001274#
1275# CPU may reorder R->R, R->W, W->R, W->W
1276# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1277#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001278config WEAK_ORDERING
1279 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001280
1281#
1282# CPU may reorder reads and writes beyond LL/SC
1283# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1284#
1285config WEAK_REORDERING_BEYOND_LLSC
1286 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001287endmenu
1288
1289#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001290# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001291#
1292config CPU_MIPS32
1293 bool
1294 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1295
1296config CPU_MIPS64
1297 bool
1298 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1299
1300#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001301# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001302#
1303config CPU_MIPSR1
1304 bool
1305 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1306
1307config CPU_MIPSR2
1308 bool
1309 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1310
1311config SYS_SUPPORTS_32BIT_KERNEL
1312 bool
1313config SYS_SUPPORTS_64BIT_KERNEL
1314 bool
1315config CPU_SUPPORTS_32BIT_KERNEL
1316 bool
1317config CPU_SUPPORTS_64BIT_KERNEL
1318 bool
1319
1320menu "Kernel type"
1321
1322choice
1323
1324 prompt "Kernel code model"
1325 help
1326 You should only select this option if you have a workload that
1327 actually benefits from 64-bit processing or if your machine has
1328 large memory. You will only be presented a single option in this
1329 menu if your system does not support both 32-bit and 64-bit kernels.
1330
1331config 32BIT
1332 bool "32-bit kernel"
1333 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1334 select TRAD_SIGNALS
1335 help
1336 Select this option if you want to build a 32-bit kernel.
1337config 64BIT
1338 bool "64-bit kernel"
1339 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1340 help
1341 Select this option if you want to build a 64-bit kernel.
1342
1343endchoice
1344
Linus Torvalds1da177e2005-04-16 15:20:36 -07001345choice
1346 prompt "Kernel page size"
1347 default PAGE_SIZE_4KB
1348
1349config PAGE_SIZE_4KB
1350 bool "4kB"
1351 help
1352 This option select the standard 4kB Linux page size. On some
1353 R3000-family processors this is the only available page size. Using
1354 4kB page size will minimize memory consumption and is therefore
1355 recommended for low memory systems.
1356
1357config PAGE_SIZE_8KB
1358 bool "8kB"
1359 depends on EXPERIMENTAL && CPU_R8000
1360 help
1361 Using 8kB page size will result in higher performance kernel at
1362 the price of higher memory consumption. This option is available
1363 only on the R8000 processor. Not that at the time of this writing
1364 this option is still high experimental; there are also issues with
1365 compatibility of user applications.
1366
1367config PAGE_SIZE_16KB
1368 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001369 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001370 help
1371 Using 16kB page size will result in higher performance kernel at
1372 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001373 all non-R3000 family processors. Note that you will need a suitable
1374 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001375
1376config PAGE_SIZE_64KB
1377 bool "64kB"
1378 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1379 help
1380 Using 64kB page size will result in higher performance kernel at
1381 the price of higher memory consumption. This option is available on
1382 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001383 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001384
1385endchoice
1386
1387config BOARD_SCACHE
1388 bool
1389
1390config IP22_CPU_SCACHE
1391 bool
1392 select BOARD_SCACHE
1393
Chris Dearman9318c512006-06-20 17:15:20 +01001394#
1395# Support for a MIPS32 / MIPS64 style S-caches
1396#
1397config MIPS_CPU_SCACHE
1398 bool
1399 select BOARD_SCACHE
1400
Linus Torvalds1da177e2005-04-16 15:20:36 -07001401config R5000_CPU_SCACHE
1402 bool
1403 select BOARD_SCACHE
1404
1405config RM7000_CPU_SCACHE
1406 bool
1407 select BOARD_SCACHE
1408
1409config SIBYTE_DMA_PAGEOPS
1410 bool "Use DMA to clear/copy pages"
1411 depends on CPU_SB1
1412 help
1413 Instead of using the CPU to zero and copy pages, use a Data Mover
1414 channel. These DMA channels are otherwise unused by the standard
1415 SiByte Linux port. Seems to give a small performance benefit.
1416
1417config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001418 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001419
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001420choice
1421 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001422
1423config MIPS_MT_DISABLED
1424 bool "Disable multithreading support."
1425 help
1426 Use this option if your workload can't take advantage of
1427 MIPS hardware multithreading support. On systems that don't have
1428 the option of an MT-enabled processor this option will be the only
1429 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001430
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001431config MIPS_MT_SMP
1432 bool "Use 1 TC on each available VPE for SMP"
1433 depends on SYS_SUPPORTS_MULTITHREADING
1434 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001435 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001436 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001437 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001438 select SMP
1439 select SYS_SUPPORTS_SMP
1440 help
1441 This is a kernel model which is also known a VSMP or lately
1442 has been marketesed into SMVP.
1443
Ralf Baechle41c594a2006-04-05 09:45:45 +01001444config MIPS_MT_SMTC
1445 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001446 depends on CPU_MIPS32_R2
1447 #depends on CPU_MIPS64_R2 # once there is hardware ...
1448 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechleea580402007-10-11 23:46:09 +01001449 select GENERIC_CLOCKEVENTS_BROADCAST
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001450 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001451 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001452 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001453 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001454 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001455 select SYS_SUPPORTS_SMP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001456 help
1457 This is a kernel model which is known a SMTC or lately has been
1458 marketesed into SMVP.
Ralf Baechle41c594a2006-04-05 09:45:45 +01001459
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001460endchoice
1461
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001462config MIPS_MT
1463 bool
1464
1465config SYS_SUPPORTS_MULTITHREADING
1466 bool
1467
Ralf Baechlef088fc82006-04-05 09:45:47 +01001468config MIPS_MT_FPAFF
1469 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001470 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001471 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1472
1473config MIPS_VPE_LOADER
1474 bool "VPE loader support."
1475 depends on SYS_SUPPORTS_MULTITHREADING
1476 select CPU_MIPSR2_IRQ_VI
1477 select CPU_MIPSR2_IRQ_EI
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001478 select MIPS_MT
1479 help
1480 Includes a loader for loading an elf relocatable object
1481 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001482
Ralf Baechleac8be952007-01-20 00:18:01 +00001483config MIPS_MT_SMTC_INSTANT_REPLAY
1484 bool "Low-latency Dispatch of Deferred SMTC IPIs"
Ralf Baechle619af722007-03-26 15:13:57 +01001485 depends on MIPS_MT_SMTC && !PREEMPT
Ralf Baechleac8be952007-01-20 00:18:01 +00001486 default y
1487 help
1488 SMTC pseudo-interrupts between TCs are deferred and queued
1489 if the target TC is interrupt-inhibited (IXMT). In the first
1490 SMTC prototypes, these queued IPIs were serviced on return
1491 to user mode, or on entry into the kernel idle loop. The
1492 INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1493 processing, which adds runtime overhead (hence the option to turn
1494 it off), but ensures that IPIs are handled promptly even under
1495 heavy I/O interrupt load.
1496
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001497config MIPS_MT_SMTC_IM_BACKSTOP
1498 bool "Use per-TC register bits as backstop for inhibited IM bits"
1499 depends on MIPS_MT_SMTC
1500 default y
1501 help
1502 To support multiple TC microthreads acting as "CPUs" within
1503 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1504 during interrupt handling. To support legacy drivers and interrupt
1505 controller management code, SMTC has a "backstop" to track and
1506 if necessary restore the interrupt mask. This has some performance
1507 impact on interrupt service overhead. Disable it only if you know
1508 what you are doing.
1509
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001510config MIPS_MT_SMTC_IRQAFF
1511 bool "Support IRQ affinity API"
1512 depends on MIPS_MT_SMTC
1513 default n
1514 help
1515 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1516 for SMTC Linux kernel. Requires platform support, of which
1517 an example can be found in the MIPS kernel i8259 and Malta
1518 platform code. It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1519 be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1520 interrupt dispatch, and should be used only if you know what
1521 you are doing.
1522
Ralf Baechlee01402b2005-07-14 15:57:16 +00001523config MIPS_VPE_LOADER_TOM
1524 bool "Load VPE program into memory hidden from linux"
1525 depends on MIPS_VPE_LOADER
1526 default y
1527 help
1528 The loader can use memory that is present but has been hidden from
1529 Linux using the kernel command line option "mem=xxMB". It's up to
1530 you to ensure the amount you put in the option and the space your
1531 program requires is less or equal to the amount physically present.
1532
1533# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1534config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001535 bool "Enable support for AP/SP API (RTLX)"
1536 depends on MIPS_VPE_LOADER
1537 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001538
Ralf Baechle26009902006-04-05 09:45:45 +01001539config MIPS_APSP_KSPD
1540 bool "Enable KSPD"
1541 depends on MIPS_VPE_APSP_API
1542 default y
1543 help
1544 KSPD is a kernel daemon that accepts syscall requests from the SP
1545 side, actions them and returns the results. It also handles the
1546 "exit" syscall notifying other kernel modules the SP program is
1547 exiting. You probably want to say yes here.
1548
Linus Torvalds1da177e2005-04-16 15:20:36 -07001549config SB1_PASS_1_WORKAROUNDS
1550 bool
1551 depends on CPU_SB1_PASS_1
1552 default y
1553
1554config SB1_PASS_2_WORKAROUNDS
1555 bool
1556 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1557 default y
1558
1559config SB1_PASS_2_1_WORKAROUNDS
1560 bool
1561 depends on CPU_SB1 && CPU_SB1_PASS_2
1562 default y
1563
1564config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001565 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001566
Linus Torvalds1da177e2005-04-16 15:20:36 -07001567config CPU_HAS_LLSC
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001568 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001569
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001570config CPU_HAS_SMARTMIPS
1571 depends on SYS_SUPPORTS_SMARTMIPS
1572 bool "Support for the SmartMIPS ASE"
1573 help
1574 SmartMIPS is a extension of the MIPS32 architecture aimed at
1575 increased security at both hardware and software level for
1576 smartcards. Enabling this option will allow proper use of the
1577 SmartMIPS instructions by Linux applications. However a kernel with
1578 this option will not work on a MIPS core without SmartMIPS core. If
1579 you don't know you probably don't have SmartMIPS and should say N
1580 here.
1581
Linus Torvalds1da177e2005-04-16 15:20:36 -07001582config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001583 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001584
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001585config 64BIT_CONTEXT
1586 bool "Save 64bit integer registers"
1587 depends on 32BIT && CPU_LOONGSON2
1588 help
1589 Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
1590 registers can still be accessed as 64bit, mainly for multimedia
1591 instructions. We must have all 64bit save/restored to make sure
1592 those instructions to get correct result.
1593
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001594#
1595# Vectored interrupt mode is an R2 feature
1596#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001597config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001598 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001599
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001600#
1601# Extended interrupt mode is an R2 feature
1602#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001603config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001604 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001605
Linus Torvalds1da177e2005-04-16 15:20:36 -07001606config CPU_HAS_SYNC
1607 bool
1608 depends on !CPU_R3000
1609 default y
1610
Ralf Baechleea580402007-10-11 23:46:09 +01001611config GENERIC_CLOCKEVENTS_BROADCAST
1612 bool
1613
Linus Torvalds1da177e2005-04-16 15:20:36 -07001614#
Ralf Baechle797798c2005-08-10 15:17:11 +00001615# Use the generic interrupt handling code in kernel/irq/:
1616#
1617config GENERIC_HARDIRQS
1618 bool
1619 default y
1620
1621config GENERIC_IRQ_PROBE
1622 bool
1623 default y
1624
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001625config IRQ_PER_CPU
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001626 bool
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001627
Ralf Baechle797798c2005-08-10 15:17:11 +00001628#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001629# - Highmem only makes sense for the 32-bit kernel.
1630# - The current highmem code will only work properly on physically indexed
1631# caches such as R3000, SB1, R7000 or those that look like they're virtually
1632# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1633# moment we protect the user and offer the highmem option only on machines
1634# where it's known to be safe. This will not offer highmem on a few systems
1635# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1636# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001637# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1638# know they might have memory configurations that could make use of highmem
1639# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001640#
1641config HIGHMEM
1642 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001643 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1644
1645config CPU_SUPPORTS_HIGHMEM
1646 bool
1647
1648config SYS_SUPPORTS_HIGHMEM
1649 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001650
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001651config SYS_SUPPORTS_SMARTMIPS
1652 bool
1653
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001654config ARCH_FLATMEM_ENABLE
1655 def_bool y
1656 depends on !NUMA
1657
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001658config ARCH_DISCONTIGMEM_ENABLE
1659 bool
1660 default y if SGI_IP27
1661 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001662 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001663 for architectures which are either NUMA (Non-Uniform Memory Access)
1664 or have huge holes in the physical address space for other reasons.
1665 See <file:Documentation/vm/numa> for more.
1666
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001667config ARCH_SPARSEMEM_ENABLE
1668 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001669 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001670
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001671config NUMA
1672 bool "NUMA Support"
1673 depends on SYS_SUPPORTS_NUMA
1674 help
1675 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1676 Access). This option improves performance on systems with more
1677 than two nodes; on two node systems it is generally better to
1678 leave it disabled; on single node systems disable this option
1679 disabled.
1680
1681config SYS_SUPPORTS_NUMA
1682 bool
1683
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07001684config NODES_SHIFT
1685 int
1686 default "6"
1687 depends on NEED_MULTIPLE_NODES
1688
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001689source "mm/Kconfig"
1690
Linus Torvalds1da177e2005-04-16 15:20:36 -07001691config SMP
1692 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01001693 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01001694 select IRQ_PER_CPU
Ralf Baechlee73ea272006-06-04 11:51:46 +01001695 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07001696 This enables support for systems with more than one CPU. If you have
1697 a system with only one CPU, like most personal computers, say N. If
1698 you have a system with more than one CPU, say Y.
1699
1700 If you say N here, the kernel will run on single and multiprocessor
1701 machines, but will use only one CPU of a multiprocessor machine. If
1702 you say Y here, the kernel will run on many, but not all,
1703 singleprocessor machines. On a singleprocessor machine, the kernel
1704 will run faster if you say N here.
1705
1706 People using multiprocessor machines who say Y here should also say
1707 Y to "Enhanced Real Time Clock Support", below.
1708
1709 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1710 available at <http://www.tldp.org/docs.html#howto>.
1711
1712 If you don't know what to do here, say N.
1713
Ralf Baechlee73ea272006-06-04 11:51:46 +01001714config SYS_SUPPORTS_SMP
1715 bool
1716
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001717config NR_CPUS_DEFAULT_1
1718 bool
1719
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001720config NR_CPUS_DEFAULT_2
1721 bool
1722
1723config NR_CPUS_DEFAULT_4
1724 bool
1725
1726config NR_CPUS_DEFAULT_8
1727 bool
1728
1729config NR_CPUS_DEFAULT_16
1730 bool
1731
1732config NR_CPUS_DEFAULT_32
1733 bool
1734
1735config NR_CPUS_DEFAULT_64
1736 bool
1737
Linus Torvalds1da177e2005-04-16 15:20:36 -07001738config NR_CPUS
1739 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001740 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07001741 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001742 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001743 default "2" if NR_CPUS_DEFAULT_2
1744 default "4" if NR_CPUS_DEFAULT_4
1745 default "8" if NR_CPUS_DEFAULT_8
1746 default "16" if NR_CPUS_DEFAULT_16
1747 default "32" if NR_CPUS_DEFAULT_32
1748 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07001749 help
1750 This allows you to specify the maximum number of CPUs which this
1751 kernel will support. The maximum supported value is 32 for 32-bit
1752 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001753 sense is 1 for Qemu (useful only for kernel debugging purposes)
1754 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001755
1756 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001757 approximately eight kilobytes to the kernel image. For best
1758 performance should round up your number of processors to the next
1759 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001760
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001761#
1762# Timer Interrupt Frequency Configuration
1763#
1764
1765choice
1766 prompt "Timer frequency"
1767 default HZ_250
1768 help
1769 Allows the configuration of the timer frequency.
1770
1771 config HZ_48
1772 bool "48 HZ" if SYS_SUPPORTS_48HZ
1773
1774 config HZ_100
1775 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1776
1777 config HZ_128
1778 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1779
1780 config HZ_250
1781 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1782
1783 config HZ_256
1784 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1785
1786 config HZ_1000
1787 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1788
1789 config HZ_1024
1790 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1791
1792endchoice
1793
1794config SYS_SUPPORTS_48HZ
1795 bool
1796
1797config SYS_SUPPORTS_100HZ
1798 bool
1799
1800config SYS_SUPPORTS_128HZ
1801 bool
1802
1803config SYS_SUPPORTS_250HZ
1804 bool
1805
1806config SYS_SUPPORTS_256HZ
1807 bool
1808
1809config SYS_SUPPORTS_1000HZ
1810 bool
1811
1812config SYS_SUPPORTS_1024HZ
1813 bool
1814
1815config SYS_SUPPORTS_ARBIT_HZ
1816 bool
1817 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1818 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1819 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1820 !SYS_SUPPORTS_1024HZ
1821
1822config HZ
1823 int
1824 default 48 if HZ_48
1825 default 100 if HZ_100
1826 default 128 if HZ_128
1827 default 250 if HZ_250
1828 default 256 if HZ_256
1829 default 1000 if HZ_1000
1830 default 1024 if HZ_1024
1831
Ralf Baechlee80de852005-07-11 20:45:51 +00001832source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001833
Linus Torvalds1da177e2005-04-16 15:20:36 -07001834config MIPS_INSANE_LARGE
1835 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001836 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001837 help
1838 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1839 previous 64-bit processors which only supported 40 bit / 1TB. If you
1840 need processes of more than 1TB virtual address space, say Y here.
1841 This will result in additional memory usage, so it is not
1842 recommended for normal users.
1843
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001844config KEXEC
1845 bool "Kexec system call (EXPERIMENTAL)"
1846 depends on EXPERIMENTAL
1847 help
1848 kexec is a system call that implements the ability to shutdown your
1849 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02001850 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001851 you can start any kernel with it, not just Linux.
1852
Matt LaPlante01dd2fb2007-10-20 01:34:40 +02001853 The name comes from the similarity to the exec system call.
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001854
1855 It is an ongoing process to be certain the hardware in a machine
1856 is properly shutdown, so do not be surprised if this code does not
1857 initially work for you. It may help to enable device hotplugging
1858 support. As of this writing the exact hardware interface is
1859 strongly in flux, so no good recommendation can be made.
1860
1861config SECCOMP
1862 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01001863 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001864 default y
1865 help
1866 This kernel feature is useful for number crunching applications
1867 that may need to compute untrusted bytecode during their
1868 execution. By using pipes or other transports made available to
1869 the process as file descriptors supporting the read/write
1870 syscalls, it's possible to isolate those applications in
1871 their own address space using seccomp. Once seccomp is
1872 enabled via /proc/<pid>/seccomp, it cannot be disabled
1873 and the task is only allowed to execute a few safe syscalls
1874 defined by each seccomp mode.
1875
1876 If unsure, say Y. Only embedded should say N here.
1877
Ralf Baechle5e83d432005-10-29 19:32:41 +01001878endmenu
1879
Linus Torvalds1da177e2005-04-16 15:20:36 -07001880config RWSEM_GENERIC_SPINLOCK
1881 bool
1882 default y
1883
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09001884config LOCKDEP_SUPPORT
1885 bool
1886 default y
1887
1888config STACKTRACE_SUPPORT
1889 bool
1890 default y
1891
Ralf Baechleb6c35392005-11-25 11:35:40 +00001892source "init/Kconfig"
1893
Linus Torvalds1da177e2005-04-16 15:20:36 -07001894menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1895
Ralf Baechle5e83d432005-10-29 19:32:41 +01001896config HW_HAS_EISA
1897 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001898config HW_HAS_PCI
1899 bool
1900
1901config PCI
1902 bool "Support for PCI controller"
1903 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01001904 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07001905 help
1906 Find out whether you have a PCI motherboard. PCI is the name of a
1907 bus system, i.e. the way the CPU talks to the other stuff inside
1908 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1909 say Y, otherwise N.
1910
1911 The PCI-HOWTO, available from
1912 <http://www.tldp.org/docs.html#howto>, contains valuable
1913 information about which PCI hardware does work under Linux and which
1914 doesn't.
1915
1916config PCI_DOMAINS
1917 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001918
1919source "drivers/pci/Kconfig"
1920
1921#
1922# ISA support is now enabled via select. Too many systems still have the one
1923# or other ISA chip on the board that users don't know about so don't expect
1924# users to choose the right thing ...
1925#
1926config ISA
1927 bool
1928
1929config EISA
1930 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01001931 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07001932 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00001933 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07001934 ---help---
1935 The Extended Industry Standard Architecture (EISA) bus was
1936 developed as an open alternative to the IBM MicroChannel bus.
1937
1938 The EISA bus provided some of the features of the IBM MicroChannel
1939 bus while maintaining backward compatibility with cards made for
1940 the older ISA bus. The EISA bus saw limited use between 1988 and
1941 1995 when it was made obsolete by the PCI bus.
1942
1943 Say Y here if you are building a kernel for an EISA-based machine.
1944
1945 Otherwise, say N.
1946
1947source "drivers/eisa/Kconfig"
1948
1949config TC
1950 bool "TURBOchannel support"
1951 depends on MACH_DECSTATION
1952 help
1953 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
1954 processors. Documentation on writing device drivers for TurboChannel
1955 is available at:
1956 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
1957
1958#config ACCESSBUS
1959# bool "Access.Bus support"
1960# depends on TC
1961
1962config MMU
1963 bool
1964 default y
1965
Ralf Baechled865bea2007-10-11 23:46:10 +01001966config I8253
1967 bool
1968
Ralf Baechlede61b542007-07-12 17:41:23 +01001969config PCSPEAKER
Michael Neulinge5c6c8e2006-03-14 00:11:50 -05001970 bool
1971
Linus Torvalds1da177e2005-04-16 15:20:36 -07001972source "drivers/pcmcia/Kconfig"
1973
1974source "drivers/pci/hotplug/Kconfig"
1975
1976endmenu
1977
1978menu "Executable file formats"
1979
1980source "fs/Kconfig.binfmt"
1981
1982config TRAD_SIGNALS
1983 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001984
Linus Torvalds1da177e2005-04-16 15:20:36 -07001985config BINFMT_IRIX
1986 bool "Include IRIX binary compatibility"
Ralf Baechle5e83d432005-10-29 19:32:41 +01001987 depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -07001988
1989config MIPS32_COMPAT
1990 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001991 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001992 help
1993 Select this option if you want Linux/MIPS 32-bit binary
1994 compatibility. Since all software available for Linux/MIPS is
1995 currently 32-bit you should say Y here.
1996
1997config COMPAT
1998 bool
1999 depends on MIPS32_COMPAT
2000 default y
2001
Atsushi Nemoto05e43962006-11-07 18:02:44 +09002002config SYSVIPC_COMPAT
2003 bool
2004 depends on COMPAT && SYSVIPC
2005 default y
2006
Linus Torvalds1da177e2005-04-16 15:20:36 -07002007config MIPS32_O32
2008 bool "Kernel support for o32 binaries"
2009 depends on MIPS32_COMPAT
2010 help
2011 Select this option if you want to run o32 binaries. These are pure
2012 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2013 existing binaries are in this format.
2014
2015 If unsure, say Y.
2016
2017config MIPS32_N32
2018 bool "Kernel support for n32 binaries"
2019 depends on MIPS32_COMPAT
2020 help
2021 Select this option if you want to run n32 binaries. These are
2022 64-bit binaries using 32-bit quantities for addressing and certain
2023 data that would normally be 64-bit. They are used in special
2024 cases.
2025
2026 If unsure, say N.
2027
2028config BINFMT_ELF32
2029 bool
2030 default y if MIPS32_O32 || MIPS32_N32
2031
Ralf Baechle21162452007-02-09 17:08:58 +00002032endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07002033
Ralf Baechle21162452007-02-09 17:08:58 +00002034menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002035
Ralf Baechle21162452007-02-09 17:08:58 +00002036source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002037
Linus Torvalds1da177e2005-04-16 15:20:36 -07002038endmenu
2039
Sam Ravnborgd5950b42005-07-11 21:03:49 -07002040source "net/Kconfig"
2041
Linus Torvalds1da177e2005-04-16 15:20:36 -07002042source "drivers/Kconfig"
2043
2044source "fs/Kconfig"
2045
Mathieu Desnoyers09caded2007-10-18 23:41:05 -07002046source "kernel/Kconfig.instrumentation"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002047
Linus Torvalds1da177e2005-04-16 15:20:36 -07002048source "arch/mips/Kconfig.debug"
2049
2050source "security/Kconfig"
2051
2052source "crypto/Kconfig"
2053
2054source "lib/Kconfig"