blob: 455bd1f560aa2adc80cfc2891665c93acdb9ec4f [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 Baechle61ed242d2005-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 Nemoto21274352007-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
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800717config GENERIC_FIND_NEXT_BIT
718 bool
719 default y
720
721config GENERIC_HWEIGHT
722 bool
723 default y
724
Linus Torvalds1da177e2005-04-16 15:20:36 -0700725config GENERIC_CALIBRATE_DELAY
726 bool
727 default y
728
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100729config GENERIC_CLOCKEVENTS
730 bool
731 default y
732
Ralf Baechle8db02012006-10-02 16:54:48 +0100733config GENERIC_TIME
734 bool
735 default y
736
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100737config GENERIC_CMOS_UPDATE
738 bool
739 default y
740
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900741config SCHED_NO_NO_OMIT_FRAME_POINTER
742 bool
743 default y
744
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100745config GENERIC_HARDIRQS_NO__DO_IRQ
746 bool
747 default n
748
Linus Torvalds1da177e2005-04-16 15:20:36 -0700749#
750# Select some configuration options automatically based on user selections.
751#
752config ARC
753 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700754
Ralf Baechle61ed242d2005-09-15 08:52:34 +0000755config ARCH_MAY_HAVE_PC_FDC
756 bool
757
Marc St-Jean9267a302007-06-14 15:55:31 -0600758config BOOT_RAW
759 bool
760
Ralf Baechle217dd112007-11-01 01:57:55 +0000761config CEVT_BCM1480
762 bool
763
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900764config CEVT_GT641XX
765 bool
766
Ralf Baechle42f77542007-10-18 17:48:11 +0100767config CEVT_R4K
768 bool
769
Ralf Baechle217dd112007-11-01 01:57:55 +0000770config CEVT_SB1250
771 bool
772
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900773config CEVT_TXX9
774 bool
775
Ralf Baechle217dd112007-11-01 01:57:55 +0000776config CSRC_BCM1480
777 bool
778
Ralf Baechle940f6b42007-11-24 22:33:28 +0000779config CSRC_R4K
780 bool
781
Ralf Baechle217dd112007-11-01 01:57:55 +0000782config CSRC_SB1250
783 bool
784
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200785config CFE
786 bool
787
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700788config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700789 bool
790
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700791config DMA_IP27
Linus Torvalds1da177e2005-04-16 15:20:36 -0700792 bool
793
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700794config DMA_IP32
795 bool
796 select DMA_NEED_PCI_MAP_STATE
797
798config DMA_NONCOHERENT
799 bool
800 select DMA_NEED_PCI_MAP_STATE
801
802config DMA_NEED_PCI_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700803 bool
804
805config EARLY_PRINTK
Ralf Baechle36a88532007-03-01 11:56:43 +0000806 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
807 depends on SYS_HAS_EARLY_PRINTK
808 default y
809 help
810 This option enables special console drivers which allow the kernel
811 to print messages very early in the bootup process.
812
813 This is useful for kernel debugging when your machine crashes very
Robert P. J. Day490dcc42007-05-20 12:11:07 -0400814 early before the console code is initialized. For normal operation,
815 it is not recommended because it looks ugly on some machines and
816 doesn't cooperate with an X server. You should normally say N here,
Ralf Baechle36a88532007-03-01 11:56:43 +0000817 unless you want to debug such a crash.
818
819config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700820 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700821
Ralf Baechledbb74542007-08-07 14:52:17 +0100822config HOTPLUG_CPU
823 bool
824 default n
825
Linus Torvalds1da177e2005-04-16 15:20:36 -0700826config I8259
827 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700828
Linus Torvalds1da177e2005-04-16 15:20:36 -0700829config MIPS_BONITO64
830 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700831
832config MIPS_MSC
833 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700834
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200835config MIPS_NILE4
836 bool
837
Linus Torvalds1da177e2005-04-16 15:20:36 -0700838config MIPS_DISABLE_OBSOLETE_IDE
839 bool
840
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100841config NO_IOPORT
842 def_bool n
843
Ralf Baechle8313da32007-08-24 16:48:30 +0100844config GENERIC_ISA_DMA
845 bool
846 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
847
Ralf Baechleaa414df2006-11-30 01:14:51 +0000848config GENERIC_ISA_DMA_SUPPORT_BROKEN
849 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100850 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000851
Yoichi Yuasa09663332007-05-22 00:05:58 +0900852config GENERIC_GPIO
853 bool
854
Ralf Baechle5e83d432005-10-29 19:32:41 +0100855#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100856# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100857# answer,so we try hard to limit the available choices. Also the use of a
858# choice statement should be more obvious to the user.
859#
860choice
861 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700862 help
863 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100864 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100865 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100866 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200867 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100868
869config CPU_BIG_ENDIAN
870 bool "Big endian"
871 depends on SYS_SUPPORTS_BIG_ENDIAN
872
873config CPU_LITTLE_ENDIAN
874 bool "Little endian"
875 depends on SYS_SUPPORTS_LITTLE_ENDIAN
876 help
877
878endchoice
879
Ralf Baechle21162452007-02-09 17:08:58 +0000880config SYS_SUPPORTS_APM_EMULATION
881 bool
882
Ralf Baechle5e83d432005-10-29 19:32:41 +0100883config SYS_SUPPORTS_BIG_ENDIAN
884 bool
885
886config SYS_SUPPORTS_LITTLE_ENDIAN
887 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700888
889config IRQ_CPU
890 bool
891
892config IRQ_CPU_RM7K
893 bool
894
Ralf Baechle5e83d432005-10-29 19:32:41 +0100895config IRQ_CPU_RM9K
896 bool
897
Marc St-Jean9267a302007-06-14 15:55:31 -0600898config IRQ_MSP_SLP
899 bool
900
901config IRQ_MSP_CIC
902 bool
903
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900904config IRQ_TXX9
905 bool
906
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900907config IRQ_GT641XX
908 bool
909
Linus Torvalds1da177e2005-04-16 15:20:36 -0700910config MIPS_BOARDS_GEN
911 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700912
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900913config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700914 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700915
Marc St-Jean9267a302007-06-14 15:55:31 -0600916config NO_EXCEPT_FILL
917 bool
918
Linus Torvalds1da177e2005-04-16 15:20:36 -0700919config MIPS_TX3927
920 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700921 select HAS_TXX9_SERIAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700922
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200923config MIPS_RM9122
924 bool
925 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200926
Pete Popovbdf21b12005-07-14 17:47:57 +0000927config PNX8550
928 bool
929 select SOC_PNX8550
930
931config SOC_PNX8550
932 bool
Pete Popovbdf21b12005-07-14 17:47:57 +0000933 select DMA_NONCOHERENT
934 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +0000935 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +0000936 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +0100937 select SYS_SUPPORTS_32BIT_KERNEL
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100938 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechlecc801072007-02-17 02:58:39 +0000939 select SYS_SUPPORTS_KGDB
Florian Fainelli4ead1682007-05-22 21:44:42 +0200940 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +0000941
Linus Torvalds1da177e2005-04-16 15:20:36 -0700942config SWAP_IO_SPACE
943 bool
944
dmitry pervushin355c4712006-05-21 14:53:06 +0400945config EMMA2RH
946 bool
947 depends on MARKEINS
948 default y
949
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200950config SERIAL_RM9000
951 bool
952
Ralf Baechle5e83d432005-10-29 19:32:41 +0100953config ARC32
954 bool
955
Linus Torvalds1da177e2005-04-16 15:20:36 -0700956config BOOT_ELF32
957 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700958
959config MIPS_L1_CACHE_SHIFT
960 int
Thomas Bogendoerfer06cf5582007-06-20 23:36:47 +0200961 default "4" if MACH_DECSTATION
962 default "7" if SGI_IP27 || SNI_RM
Marc St-Jean9267a302007-06-14 15:55:31 -0600963 default "4" if PMC_MSP4200_EVAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700964 default "5"
965
Linus Torvalds1da177e2005-04-16 15:20:36 -0700966config HAVE_STD_PC_SERIAL_PORT
967 bool
968
Linus Torvalds1da177e2005-04-16 15:20:36 -0700969config ARC_CONSOLE
970 bool "ARC console support"
Ralf Baechle36a88532007-03-01 11:56:43 +0000971 depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700972
973config ARC_MEMORY
974 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100975 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700976 default y
977
978config ARC_PROMLIB
979 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100980 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700981 default y
982
983config ARC64
984 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700985
986config BOOT_ELF64
987 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700988
Linus Torvalds1da177e2005-04-16 15:20:36 -0700989menu "CPU selection"
990
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100991source "kernel/time/Kconfig"
992
Linus Torvalds1da177e2005-04-16 15:20:36 -0700993choice
994 prompt "CPU type"
995 default CPU_R4X00
996
Fuxin Zhang2a21c732007-06-06 14:52:43 +0800997config CPU_LOONGSON2
998 bool "Loongson 2"
999 depends on SYS_HAS_CPU_LOONGSON2
1000 select CPU_SUPPORTS_32BIT_KERNEL
1001 select CPU_SUPPORTS_64BIT_KERNEL
1002 select CPU_SUPPORTS_HIGHMEM
1003 help
1004 The Loongson 2E processor implements the MIPS III instruction set
1005 with many extensions.
1006
Ralf Baechle6e760c82005-07-06 12:08:11 +00001007config CPU_MIPS32_R1
1008 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001009 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001010 select CPU_HAS_LLSC
Ralf Baechle6e760c82005-07-06 12:08:11 +00001011 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001012 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001013 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001014 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001015 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001016 MIPS32 architecture. Most modern embedded systems with a 32-bit
1017 MIPS processor are based on a MIPS32 processor. If you know the
1018 specific type of processor in your system, choose those that one
1019 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1020 Release 2 of the MIPS32 architecture is available since several
1021 years so chances are you even have a MIPS32 Release 2 processor
1022 in which case you should choose CPU_MIPS32_R2 instead for better
1023 performance.
1024
1025config CPU_MIPS32_R2
1026 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001027 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001028 select CPU_HAS_LLSC
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001029 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001030 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001031 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001032 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001033 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +00001034 MIPS32 architecture. Most modern embedded systems with a 32-bit
1035 MIPS processor are based on a MIPS32 processor. If you know the
1036 specific type of processor in your system, choose those that one
1037 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001038
Ralf Baechle6e760c82005-07-06 12:08:11 +00001039config CPU_MIPS64_R1
1040 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001041 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001042 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +00001043 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001044 select CPU_SUPPORTS_32BIT_KERNEL
1045 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001046 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001047 help
1048 Choose this option to build a kernel for release 1 or later of the
1049 MIPS64 architecture. Many modern embedded systems with a 64-bit
1050 MIPS processor are based on a MIPS64 processor. If you know the
1051 specific type of processor in your system, choose those that one
1052 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001053 Release 2 of the MIPS64 architecture is available since several
1054 years so chances are you even have a MIPS64 Release 2 processor
1055 in which case you should choose CPU_MIPS64_R2 instead for better
1056 performance.
1057
1058config CPU_MIPS64_R2
1059 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001060 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001061 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +00001062 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001063 select CPU_SUPPORTS_32BIT_KERNEL
1064 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001065 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001066 help
1067 Choose this option to build a kernel for release 2 or later of the
1068 MIPS64 architecture. Many modern embedded systems with a 64-bit
1069 MIPS processor are based on a MIPS64 processor. If you know the
1070 specific type of processor in your system, choose those that one
1071 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001072
1073config CPU_R3000
1074 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001075 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001076 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001077 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001078 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001079 help
1080 Please make sure to pick the right CPU type. Linux/MIPS is not
1081 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1082 *not* work on R4000 machines and vice versa. However, since most
1083 of the supported machines have an R4000 (or similar) CPU, R4x00
1084 might be a safe bet. If the resulting kernel does not work,
1085 try to recompile with R3000.
1086
1087config CPU_TX39XX
1088 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001089 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001090 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001091
1092config CPU_VR41XX
1093 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001094 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001095 select CPU_SUPPORTS_32BIT_KERNEL
1096 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001097 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001098 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001099 Only choose this option if you have one of these processors as a
1100 kernel built with this option will not run on any other type of
1101 processor or vice versa.
1102
1103config CPU_R4300
1104 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001105 depends on SYS_HAS_CPU_R4300
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001106 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001107 select CPU_SUPPORTS_32BIT_KERNEL
1108 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001109 help
1110 MIPS Technologies R4300-series processors.
1111
1112config CPU_R4X00
1113 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001114 depends on SYS_HAS_CPU_R4X00
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001115 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001116 select CPU_SUPPORTS_32BIT_KERNEL
1117 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001118 help
1119 MIPS Technologies R4000-series processors other than 4300, including
1120 the R4000, R4400, R4600, and 4700.
1121
1122config CPU_TX49XX
1123 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001124 depends on SYS_HAS_CPU_TX49XX
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001125 select CPU_HAS_LLSC
Atsushi Nemotode862b42006-03-17 12:59:22 +09001126 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001127 select CPU_SUPPORTS_32BIT_KERNEL
1128 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001129
1130config CPU_R5000
1131 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001132 depends on SYS_HAS_CPU_R5000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001133 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001134 select CPU_SUPPORTS_32BIT_KERNEL
1135 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001136 help
1137 MIPS Technologies R5000-series processors other than the Nevada.
1138
1139config CPU_R5432
1140 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001141 depends on SYS_HAS_CPU_R5432
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001142 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001143 select CPU_SUPPORTS_32BIT_KERNEL
1144 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001145
1146config CPU_R6000
1147 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001148 depends on EXPERIMENTAL
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001149 select CPU_HAS_LLSC
Ralf Baechle7cf80532005-10-20 22:33:09 +01001150 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001151 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001152 help
1153 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001154 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001155
1156config CPU_NEVADA
1157 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001158 depends on SYS_HAS_CPU_NEVADA
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001159 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001160 select CPU_SUPPORTS_32BIT_KERNEL
1161 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001162 help
1163 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1164
1165config CPU_R8000
1166 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001167 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001168 depends on SYS_HAS_CPU_R8000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001169 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001170 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001171 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001172 help
1173 MIPS Technologies R8000 processors. Note these processors are
1174 uncommon and the support for them is incomplete.
1175
1176config CPU_R10000
1177 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001178 depends on SYS_HAS_CPU_R10000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001179 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001180 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001181 select CPU_SUPPORTS_32BIT_KERNEL
1182 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001183 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001184 help
1185 MIPS Technologies R10000-series processors.
1186
1187config CPU_RM7000
1188 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001189 depends on SYS_HAS_CPU_RM7000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001190 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001191 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001192 select CPU_SUPPORTS_32BIT_KERNEL
1193 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001194 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001195
1196config CPU_RM9000
1197 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001198 depends on SYS_HAS_CPU_RM9000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001199 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001200 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001201 select CPU_SUPPORTS_32BIT_KERNEL
1202 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001203 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001204 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001205
1206config CPU_SB1
1207 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001208 depends on SYS_HAS_CPU_SB1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001209 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001210 select CPU_SUPPORTS_32BIT_KERNEL
1211 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001212 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001213 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001214
1215endchoice
1216
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001217config SYS_HAS_CPU_LOONGSON2
1218 bool
1219
Ralf Baechle7cf80532005-10-20 22:33:09 +01001220config SYS_HAS_CPU_MIPS32_R1
1221 bool
1222
1223config SYS_HAS_CPU_MIPS32_R2
1224 bool
1225
1226config SYS_HAS_CPU_MIPS64_R1
1227 bool
1228
1229config SYS_HAS_CPU_MIPS64_R2
1230 bool
1231
1232config SYS_HAS_CPU_R3000
1233 bool
1234
1235config SYS_HAS_CPU_TX39XX
1236 bool
1237
1238config SYS_HAS_CPU_VR41XX
1239 bool
1240
1241config SYS_HAS_CPU_R4300
1242 bool
1243
1244config SYS_HAS_CPU_R4X00
1245 bool
1246
1247config SYS_HAS_CPU_TX49XX
1248 bool
1249
1250config SYS_HAS_CPU_R5000
1251 bool
1252
1253config SYS_HAS_CPU_R5432
1254 bool
1255
1256config SYS_HAS_CPU_R6000
1257 bool
1258
1259config SYS_HAS_CPU_NEVADA
1260 bool
1261
1262config SYS_HAS_CPU_R8000
1263 bool
1264
1265config SYS_HAS_CPU_R10000
1266 bool
1267
1268config SYS_HAS_CPU_RM7000
1269 bool
1270
1271config SYS_HAS_CPU_RM9000
1272 bool
1273
1274config SYS_HAS_CPU_SB1
1275 bool
1276
Ralf Baechle17099b12007-07-14 13:24:05 +01001277#
1278# CPU may reorder R->R, R->W, W->R, W->W
1279# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1280#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001281config WEAK_ORDERING
1282 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001283
1284#
1285# CPU may reorder reads and writes beyond LL/SC
1286# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1287#
1288config WEAK_REORDERING_BEYOND_LLSC
1289 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001290endmenu
1291
1292#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001293# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001294#
1295config CPU_MIPS32
1296 bool
1297 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1298
1299config CPU_MIPS64
1300 bool
1301 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1302
1303#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001304# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001305#
1306config CPU_MIPSR1
1307 bool
1308 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1309
1310config CPU_MIPSR2
1311 bool
1312 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1313
1314config SYS_SUPPORTS_32BIT_KERNEL
1315 bool
1316config SYS_SUPPORTS_64BIT_KERNEL
1317 bool
1318config CPU_SUPPORTS_32BIT_KERNEL
1319 bool
1320config CPU_SUPPORTS_64BIT_KERNEL
1321 bool
1322
1323menu "Kernel type"
1324
1325choice
1326
1327 prompt "Kernel code model"
1328 help
1329 You should only select this option if you have a workload that
1330 actually benefits from 64-bit processing or if your machine has
1331 large memory. You will only be presented a single option in this
1332 menu if your system does not support both 32-bit and 64-bit kernels.
1333
1334config 32BIT
1335 bool "32-bit kernel"
1336 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1337 select TRAD_SIGNALS
1338 help
1339 Select this option if you want to build a 32-bit kernel.
1340config 64BIT
1341 bool "64-bit kernel"
1342 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1343 help
1344 Select this option if you want to build a 64-bit kernel.
1345
1346endchoice
1347
Linus Torvalds1da177e2005-04-16 15:20:36 -07001348choice
1349 prompt "Kernel page size"
1350 default PAGE_SIZE_4KB
1351
1352config PAGE_SIZE_4KB
1353 bool "4kB"
1354 help
1355 This option select the standard 4kB Linux page size. On some
1356 R3000-family processors this is the only available page size. Using
1357 4kB page size will minimize memory consumption and is therefore
1358 recommended for low memory systems.
1359
1360config PAGE_SIZE_8KB
1361 bool "8kB"
1362 depends on EXPERIMENTAL && CPU_R8000
1363 help
1364 Using 8kB page size will result in higher performance kernel at
1365 the price of higher memory consumption. This option is available
1366 only on the R8000 processor. Not that at the time of this writing
1367 this option is still high experimental; there are also issues with
1368 compatibility of user applications.
1369
1370config PAGE_SIZE_16KB
1371 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001372 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001373 help
1374 Using 16kB page size will result in higher performance kernel at
1375 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001376 all non-R3000 family processors. Note that you will need a suitable
1377 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001378
1379config PAGE_SIZE_64KB
1380 bool "64kB"
1381 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1382 help
1383 Using 64kB page size will result in higher performance kernel at
1384 the price of higher memory consumption. This option is available on
1385 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001386 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001387
1388endchoice
1389
1390config BOARD_SCACHE
1391 bool
1392
1393config IP22_CPU_SCACHE
1394 bool
1395 select BOARD_SCACHE
1396
Chris Dearman9318c512006-06-20 17:15:20 +01001397#
1398# Support for a MIPS32 / MIPS64 style S-caches
1399#
1400config MIPS_CPU_SCACHE
1401 bool
1402 select BOARD_SCACHE
1403
Linus Torvalds1da177e2005-04-16 15:20:36 -07001404config R5000_CPU_SCACHE
1405 bool
1406 select BOARD_SCACHE
1407
1408config RM7000_CPU_SCACHE
1409 bool
1410 select BOARD_SCACHE
1411
1412config SIBYTE_DMA_PAGEOPS
1413 bool "Use DMA to clear/copy pages"
1414 depends on CPU_SB1
1415 help
1416 Instead of using the CPU to zero and copy pages, use a Data Mover
1417 channel. These DMA channels are otherwise unused by the standard
1418 SiByte Linux port. Seems to give a small performance benefit.
1419
1420config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001421 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001422
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001423choice
1424 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001425
1426config MIPS_MT_DISABLED
1427 bool "Disable multithreading support."
1428 help
1429 Use this option if your workload can't take advantage of
1430 MIPS hardware multithreading support. On systems that don't have
1431 the option of an MT-enabled processor this option will be the only
1432 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001433
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001434config MIPS_MT_SMP
1435 bool "Use 1 TC on each available VPE for SMP"
1436 depends on SYS_SUPPORTS_MULTITHREADING
1437 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001438 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001439 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001440 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001441 select SMP
1442 select SYS_SUPPORTS_SMP
1443 help
1444 This is a kernel model which is also known a VSMP or lately
1445 has been marketesed into SMVP.
1446
Ralf Baechle41c594a2006-04-05 09:45:45 +01001447config MIPS_MT_SMTC
1448 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001449 depends on CPU_MIPS32_R2
1450 #depends on CPU_MIPS64_R2 # once there is hardware ...
1451 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechleea580402007-10-11 23:46:09 +01001452 select GENERIC_CLOCKEVENTS_BROADCAST
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001453 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001454 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001455 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001456 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001457 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001458 select SYS_SUPPORTS_SMP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001459 help
1460 This is a kernel model which is known a SMTC or lately has been
1461 marketesed into SMVP.
Ralf Baechle41c594a2006-04-05 09:45:45 +01001462
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001463endchoice
1464
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001465config MIPS_MT
1466 bool
1467
1468config SYS_SUPPORTS_MULTITHREADING
1469 bool
1470
Ralf Baechlef088fc82006-04-05 09:45:47 +01001471config MIPS_MT_FPAFF
1472 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001473 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001474 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1475
1476config MIPS_VPE_LOADER
1477 bool "VPE loader support."
1478 depends on SYS_SUPPORTS_MULTITHREADING
1479 select CPU_MIPSR2_IRQ_VI
1480 select CPU_MIPSR2_IRQ_EI
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001481 select MIPS_MT
1482 help
1483 Includes a loader for loading an elf relocatable object
1484 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001485
Ralf Baechleac8be952007-01-20 00:18:01 +00001486config MIPS_MT_SMTC_INSTANT_REPLAY
1487 bool "Low-latency Dispatch of Deferred SMTC IPIs"
Ralf Baechle619af722007-03-26 15:13:57 +01001488 depends on MIPS_MT_SMTC && !PREEMPT
Ralf Baechleac8be952007-01-20 00:18:01 +00001489 default y
1490 help
1491 SMTC pseudo-interrupts between TCs are deferred and queued
1492 if the target TC is interrupt-inhibited (IXMT). In the first
1493 SMTC prototypes, these queued IPIs were serviced on return
1494 to user mode, or on entry into the kernel idle loop. The
1495 INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1496 processing, which adds runtime overhead (hence the option to turn
1497 it off), but ensures that IPIs are handled promptly even under
1498 heavy I/O interrupt load.
1499
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001500config MIPS_MT_SMTC_IM_BACKSTOP
1501 bool "Use per-TC register bits as backstop for inhibited IM bits"
1502 depends on MIPS_MT_SMTC
1503 default y
1504 help
1505 To support multiple TC microthreads acting as "CPUs" within
1506 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1507 during interrupt handling. To support legacy drivers and interrupt
1508 controller management code, SMTC has a "backstop" to track and
1509 if necessary restore the interrupt mask. This has some performance
1510 impact on interrupt service overhead. Disable it only if you know
1511 what you are doing.
1512
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001513config MIPS_MT_SMTC_IRQAFF
1514 bool "Support IRQ affinity API"
1515 depends on MIPS_MT_SMTC
1516 default n
1517 help
1518 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1519 for SMTC Linux kernel. Requires platform support, of which
1520 an example can be found in the MIPS kernel i8259 and Malta
1521 platform code. It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1522 be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1523 interrupt dispatch, and should be used only if you know what
1524 you are doing.
1525
Ralf Baechlee01402b2005-07-14 15:57:16 +00001526config MIPS_VPE_LOADER_TOM
1527 bool "Load VPE program into memory hidden from linux"
1528 depends on MIPS_VPE_LOADER
1529 default y
1530 help
1531 The loader can use memory that is present but has been hidden from
1532 Linux using the kernel command line option "mem=xxMB". It's up to
1533 you to ensure the amount you put in the option and the space your
1534 program requires is less or equal to the amount physically present.
1535
1536# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1537config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001538 bool "Enable support for AP/SP API (RTLX)"
1539 depends on MIPS_VPE_LOADER
1540 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001541
Ralf Baechle26009902006-04-05 09:45:45 +01001542config MIPS_APSP_KSPD
1543 bool "Enable KSPD"
1544 depends on MIPS_VPE_APSP_API
1545 default y
1546 help
1547 KSPD is a kernel daemon that accepts syscall requests from the SP
1548 side, actions them and returns the results. It also handles the
1549 "exit" syscall notifying other kernel modules the SP program is
1550 exiting. You probably want to say yes here.
1551
Linus Torvalds1da177e2005-04-16 15:20:36 -07001552config SB1_PASS_1_WORKAROUNDS
1553 bool
1554 depends on CPU_SB1_PASS_1
1555 default y
1556
1557config SB1_PASS_2_WORKAROUNDS
1558 bool
1559 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1560 default y
1561
1562config SB1_PASS_2_1_WORKAROUNDS
1563 bool
1564 depends on CPU_SB1 && CPU_SB1_PASS_2
1565 default y
1566
1567config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001568 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001569
Linus Torvalds1da177e2005-04-16 15:20:36 -07001570config CPU_HAS_LLSC
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001571 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001572
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001573config CPU_HAS_SMARTMIPS
1574 depends on SYS_SUPPORTS_SMARTMIPS
1575 bool "Support for the SmartMIPS ASE"
1576 help
1577 SmartMIPS is a extension of the MIPS32 architecture aimed at
1578 increased security at both hardware and software level for
1579 smartcards. Enabling this option will allow proper use of the
1580 SmartMIPS instructions by Linux applications. However a kernel with
1581 this option will not work on a MIPS core without SmartMIPS core. If
1582 you don't know you probably don't have SmartMIPS and should say N
1583 here.
1584
Linus Torvalds1da177e2005-04-16 15:20:36 -07001585config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001586 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001587
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001588config 64BIT_CONTEXT
1589 bool "Save 64bit integer registers"
1590 depends on 32BIT && CPU_LOONGSON2
1591 help
1592 Loongson2 CPU is 64bit , when used in 32BIT mode, its integer
1593 registers can still be accessed as 64bit, mainly for multimedia
1594 instructions. We must have all 64bit save/restored to make sure
1595 those instructions to get correct result.
1596
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001597#
1598# Vectored interrupt mode is an R2 feature
1599#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001600config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001601 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001602
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001603#
1604# Extended interrupt mode is an R2 feature
1605#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001606config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001607 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001608
Linus Torvalds1da177e2005-04-16 15:20:36 -07001609config CPU_HAS_SYNC
1610 bool
1611 depends on !CPU_R3000
1612 default y
1613
Ralf Baechleea580402007-10-11 23:46:09 +01001614config GENERIC_CLOCKEVENTS_BROADCAST
1615 bool
1616
Linus Torvalds1da177e2005-04-16 15:20:36 -07001617#
Ralf Baechle797798c2005-08-10 15:17:11 +00001618# Use the generic interrupt handling code in kernel/irq/:
1619#
1620config GENERIC_HARDIRQS
1621 bool
1622 default y
1623
1624config GENERIC_IRQ_PROBE
1625 bool
1626 default y
1627
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001628config IRQ_PER_CPU
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001629 bool
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001630
Ralf Baechle797798c2005-08-10 15:17:11 +00001631#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001632# - Highmem only makes sense for the 32-bit kernel.
1633# - The current highmem code will only work properly on physically indexed
1634# caches such as R3000, SB1, R7000 or those that look like they're virtually
1635# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1636# moment we protect the user and offer the highmem option only on machines
1637# where it's known to be safe. This will not offer highmem on a few systems
1638# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1639# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001640# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1641# know they might have memory configurations that could make use of highmem
1642# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001643#
1644config HIGHMEM
1645 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001646 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1647
1648config CPU_SUPPORTS_HIGHMEM
1649 bool
1650
1651config SYS_SUPPORTS_HIGHMEM
1652 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001653
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001654config SYS_SUPPORTS_SMARTMIPS
1655 bool
1656
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001657config ARCH_FLATMEM_ENABLE
1658 def_bool y
1659 depends on !NUMA
1660
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001661config ARCH_DISCONTIGMEM_ENABLE
1662 bool
1663 default y if SGI_IP27
1664 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001665 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001666 for architectures which are either NUMA (Non-Uniform Memory Access)
1667 or have huge holes in the physical address space for other reasons.
1668 See <file:Documentation/vm/numa> for more.
1669
Ralf Baechlecce335a2007-11-03 02:05:43 +00001670config ARCH_POPULATES_NODE_MAP
1671 def_bool y
1672
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001673config ARCH_SPARSEMEM_ENABLE
1674 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001675 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001676
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001677config NUMA
1678 bool "NUMA Support"
1679 depends on SYS_SUPPORTS_NUMA
1680 help
1681 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1682 Access). This option improves performance on systems with more
1683 than two nodes; on two node systems it is generally better to
1684 leave it disabled; on single node systems disable this option
1685 disabled.
1686
1687config SYS_SUPPORTS_NUMA
1688 bool
1689
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07001690config NODES_SHIFT
1691 int
1692 default "6"
1693 depends on NEED_MULTIPLE_NODES
1694
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001695source "mm/Kconfig"
1696
Linus Torvalds1da177e2005-04-16 15:20:36 -07001697config SMP
1698 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01001699 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01001700 select IRQ_PER_CPU
Ralf Baechlee73ea272006-06-04 11:51:46 +01001701 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07001702 This enables support for systems with more than one CPU. If you have
1703 a system with only one CPU, like most personal computers, say N. If
1704 you have a system with more than one CPU, say Y.
1705
1706 If you say N here, the kernel will run on single and multiprocessor
1707 machines, but will use only one CPU of a multiprocessor machine. If
1708 you say Y here, the kernel will run on many, but not all,
1709 singleprocessor machines. On a singleprocessor machine, the kernel
1710 will run faster if you say N here.
1711
1712 People using multiprocessor machines who say Y here should also say
1713 Y to "Enhanced Real Time Clock Support", below.
1714
1715 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1716 available at <http://www.tldp.org/docs.html#howto>.
1717
1718 If you don't know what to do here, say N.
1719
Ralf Baechlee73ea272006-06-04 11:51:46 +01001720config SYS_SUPPORTS_SMP
1721 bool
1722
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001723config NR_CPUS_DEFAULT_1
1724 bool
1725
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001726config NR_CPUS_DEFAULT_2
1727 bool
1728
1729config NR_CPUS_DEFAULT_4
1730 bool
1731
1732config NR_CPUS_DEFAULT_8
1733 bool
1734
1735config NR_CPUS_DEFAULT_16
1736 bool
1737
1738config NR_CPUS_DEFAULT_32
1739 bool
1740
1741config NR_CPUS_DEFAULT_64
1742 bool
1743
Linus Torvalds1da177e2005-04-16 15:20:36 -07001744config NR_CPUS
1745 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001746 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07001747 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001748 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001749 default "2" if NR_CPUS_DEFAULT_2
1750 default "4" if NR_CPUS_DEFAULT_4
1751 default "8" if NR_CPUS_DEFAULT_8
1752 default "16" if NR_CPUS_DEFAULT_16
1753 default "32" if NR_CPUS_DEFAULT_32
1754 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07001755 help
1756 This allows you to specify the maximum number of CPUs which this
1757 kernel will support. The maximum supported value is 32 for 32-bit
1758 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001759 sense is 1 for Qemu (useful only for kernel debugging purposes)
1760 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001761
1762 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001763 approximately eight kilobytes to the kernel image. For best
1764 performance should round up your number of processors to the next
1765 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001766
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001767#
1768# Timer Interrupt Frequency Configuration
1769#
1770
1771choice
1772 prompt "Timer frequency"
1773 default HZ_250
1774 help
1775 Allows the configuration of the timer frequency.
1776
1777 config HZ_48
1778 bool "48 HZ" if SYS_SUPPORTS_48HZ
1779
1780 config HZ_100
1781 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1782
1783 config HZ_128
1784 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1785
1786 config HZ_250
1787 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1788
1789 config HZ_256
1790 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1791
1792 config HZ_1000
1793 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1794
1795 config HZ_1024
1796 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1797
1798endchoice
1799
1800config SYS_SUPPORTS_48HZ
1801 bool
1802
1803config SYS_SUPPORTS_100HZ
1804 bool
1805
1806config SYS_SUPPORTS_128HZ
1807 bool
1808
1809config SYS_SUPPORTS_250HZ
1810 bool
1811
1812config SYS_SUPPORTS_256HZ
1813 bool
1814
1815config SYS_SUPPORTS_1000HZ
1816 bool
1817
1818config SYS_SUPPORTS_1024HZ
1819 bool
1820
1821config SYS_SUPPORTS_ARBIT_HZ
1822 bool
1823 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1824 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1825 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1826 !SYS_SUPPORTS_1024HZ
1827
1828config HZ
1829 int
1830 default 48 if HZ_48
1831 default 100 if HZ_100
1832 default 128 if HZ_128
1833 default 250 if HZ_250
1834 default 256 if HZ_256
1835 default 1000 if HZ_1000
1836 default 1024 if HZ_1024
1837
Ralf Baechlee80de852005-07-11 20:45:51 +00001838source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001839
Linus Torvalds1da177e2005-04-16 15:20:36 -07001840config MIPS_INSANE_LARGE
1841 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001842 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001843 help
1844 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1845 previous 64-bit processors which only supported 40 bit / 1TB. If you
1846 need processes of more than 1TB virtual address space, say Y here.
1847 This will result in additional memory usage, so it is not
1848 recommended for normal users.
1849
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001850config KEXEC
1851 bool "Kexec system call (EXPERIMENTAL)"
1852 depends on EXPERIMENTAL
1853 help
1854 kexec is a system call that implements the ability to shutdown your
1855 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02001856 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001857 you can start any kernel with it, not just Linux.
1858
Matt LaPlante01dd2fb2007-10-20 01:34:40 +02001859 The name comes from the similarity to the exec system call.
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001860
1861 It is an ongoing process to be certain the hardware in a machine
1862 is properly shutdown, so do not be surprised if this code does not
1863 initially work for you. It may help to enable device hotplugging
1864 support. As of this writing the exact hardware interface is
1865 strongly in flux, so no good recommendation can be made.
1866
1867config SECCOMP
1868 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01001869 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001870 default y
1871 help
1872 This kernel feature is useful for number crunching applications
1873 that may need to compute untrusted bytecode during their
1874 execution. By using pipes or other transports made available to
1875 the process as file descriptors supporting the read/write
1876 syscalls, it's possible to isolate those applications in
1877 their own address space using seccomp. Once seccomp is
1878 enabled via /proc/<pid>/seccomp, it cannot be disabled
1879 and the task is only allowed to execute a few safe syscalls
1880 defined by each seccomp mode.
1881
1882 If unsure, say Y. Only embedded should say N here.
1883
Ralf Baechle5e83d432005-10-29 19:32:41 +01001884endmenu
1885
Linus Torvalds1da177e2005-04-16 15:20:36 -07001886config RWSEM_GENERIC_SPINLOCK
1887 bool
1888 default y
1889
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09001890config LOCKDEP_SUPPORT
1891 bool
1892 default y
1893
1894config STACKTRACE_SUPPORT
1895 bool
1896 default y
1897
Ralf Baechleb6c35392005-11-25 11:35:40 +00001898source "init/Kconfig"
1899
Linus Torvalds1da177e2005-04-16 15:20:36 -07001900menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1901
Ralf Baechle5e83d432005-10-29 19:32:41 +01001902config HW_HAS_EISA
1903 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001904config HW_HAS_PCI
1905 bool
1906
1907config PCI
1908 bool "Support for PCI controller"
1909 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01001910 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07001911 help
1912 Find out whether you have a PCI motherboard. PCI is the name of a
1913 bus system, i.e. the way the CPU talks to the other stuff inside
1914 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1915 say Y, otherwise N.
1916
1917 The PCI-HOWTO, available from
1918 <http://www.tldp.org/docs.html#howto>, contains valuable
1919 information about which PCI hardware does work under Linux and which
1920 doesn't.
1921
1922config PCI_DOMAINS
1923 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001924
1925source "drivers/pci/Kconfig"
1926
1927#
1928# ISA support is now enabled via select. Too many systems still have the one
1929# or other ISA chip on the board that users don't know about so don't expect
1930# users to choose the right thing ...
1931#
1932config ISA
1933 bool
1934
1935config EISA
1936 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01001937 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07001938 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00001939 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07001940 ---help---
1941 The Extended Industry Standard Architecture (EISA) bus was
1942 developed as an open alternative to the IBM MicroChannel bus.
1943
1944 The EISA bus provided some of the features of the IBM MicroChannel
1945 bus while maintaining backward compatibility with cards made for
1946 the older ISA bus. The EISA bus saw limited use between 1988 and
1947 1995 when it was made obsolete by the PCI bus.
1948
1949 Say Y here if you are building a kernel for an EISA-based machine.
1950
1951 Otherwise, say N.
1952
1953source "drivers/eisa/Kconfig"
1954
1955config TC
1956 bool "TURBOchannel support"
1957 depends on MACH_DECSTATION
1958 help
1959 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
1960 processors. Documentation on writing device drivers for TurboChannel
1961 is available at:
1962 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
1963
1964#config ACCESSBUS
1965# bool "Access.Bus support"
1966# depends on TC
1967
1968config MMU
1969 bool
1970 default y
1971
Ralf Baechled865bea2007-10-11 23:46:10 +01001972config I8253
1973 bool
1974
Ralf Baechlede61b542007-07-12 17:41:23 +01001975config PCSPEAKER
Michael Neulinge5c6c8e2006-03-14 00:11:50 -05001976 bool
1977
Ralf Baechlecce335a2007-11-03 02:05:43 +00001978config ZONE_DMA32
1979 bool
1980
Linus Torvalds1da177e2005-04-16 15:20:36 -07001981source "drivers/pcmcia/Kconfig"
1982
1983source "drivers/pci/hotplug/Kconfig"
1984
1985endmenu
1986
1987menu "Executable file formats"
1988
1989source "fs/Kconfig.binfmt"
1990
1991config TRAD_SIGNALS
1992 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001993
Linus Torvalds1da177e2005-04-16 15:20:36 -07001994config BINFMT_IRIX
1995 bool "Include IRIX binary compatibility"
Ralf Baechle5e83d432005-10-29 19:32:41 +01001996 depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -07001997
1998config MIPS32_COMPAT
1999 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002000 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002001 help
2002 Select this option if you want Linux/MIPS 32-bit binary
2003 compatibility. Since all software available for Linux/MIPS is
2004 currently 32-bit you should say Y here.
2005
2006config COMPAT
2007 bool
2008 depends on MIPS32_COMPAT
2009 default y
2010
Atsushi Nemoto05e43962006-11-07 18:02:44 +09002011config SYSVIPC_COMPAT
2012 bool
2013 depends on COMPAT && SYSVIPC
2014 default y
2015
Linus Torvalds1da177e2005-04-16 15:20:36 -07002016config MIPS32_O32
2017 bool "Kernel support for o32 binaries"
2018 depends on MIPS32_COMPAT
2019 help
2020 Select this option if you want to run o32 binaries. These are pure
2021 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2022 existing binaries are in this format.
2023
2024 If unsure, say Y.
2025
2026config MIPS32_N32
2027 bool "Kernel support for n32 binaries"
2028 depends on MIPS32_COMPAT
2029 help
2030 Select this option if you want to run n32 binaries. These are
2031 64-bit binaries using 32-bit quantities for addressing and certain
2032 data that would normally be 64-bit. They are used in special
2033 cases.
2034
2035 If unsure, say N.
2036
2037config BINFMT_ELF32
2038 bool
2039 default y if MIPS32_O32 || MIPS32_N32
2040
Ralf Baechle21162452007-02-09 17:08:58 +00002041endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07002042
Ralf Baechle21162452007-02-09 17:08:58 +00002043menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002044
Ralf Baechle21162452007-02-09 17:08:58 +00002045source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002046
Linus Torvalds1da177e2005-04-16 15:20:36 -07002047endmenu
2048
Sam Ravnborgd5950b42005-07-11 21:03:49 -07002049source "net/Kconfig"
2050
Linus Torvalds1da177e2005-04-16 15:20:36 -07002051source "drivers/Kconfig"
2052
2053source "fs/Kconfig"
2054
Mathieu Desnoyers09caded2007-10-18 23:41:05 -07002055source "kernel/Kconfig.instrumentation"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002056
Linus Torvalds1da177e2005-04-16 15:20:36 -07002057source "arch/mips/Kconfig.debug"
2058
2059source "security/Kconfig"
2060
2061source "crypto/Kconfig"
2062
2063source "lib/Kconfig"