blob: ff9cc18d456a2315f1ec3608ed2ab9d13e48dd6a [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
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020040config BCM47XX
41 bool "BCM47XX based boards"
Ralf Baechle42f77542007-10-18 17:48:11 +010042 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000043 select CSRC_R4K
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020044 select DMA_NONCOHERENT
45 select HW_HAS_PCI
46 select IRQ_CPU
47 select SYS_HAS_CPU_MIPS32_R1
48 select SYS_SUPPORTS_32BIT_KERNEL
49 select SYS_SUPPORTS_LITTLE_ENDIAN
50 select SSB
51 select SSB_DRIVER_MIPS
Aurelien Jarno2f02c152007-12-11 11:30:34 +010052 select SSB_DRIVER_EXTIF
53 select SSB_PCICORE_HOSTMODE if PCI
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020054 select GENERIC_GPIO
Aurelien Jarno25e5fb92007-09-25 15:41:24 +020055 select SYS_HAS_EARLY_PRINTK
56 select CFE
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020057 help
58 Support for BCM47XX based boards
59
Linus Torvalds1da177e2005-04-16 15:20:36 -070060config MIPS_COBALT
Martin Michlmayr3fa986f2006-05-09 23:34:53 +020061 bool "Cobalt Server"
Ralf Baechle42f77542007-10-18 17:48:11 +010062 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000063 select CSRC_R4K
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +090064 select CEVT_GT641XX
Linus Torvalds1da177e2005-04-16 15:20:36 -070065 select DMA_NONCOHERENT
66 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +010067 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -070068 select I8259
69 select IRQ_CPU
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +090070 select IRQ_GT641XX
Yoichi Yuasa252161e2007-03-14 21:51:26 +090071 select PCI_GT64XXX_PCI0
Ralf Baechle7cf80532005-10-20 22:33:09 +010072 select SYS_HAS_CPU_NEVADA
Yoichi Yuasa0a22e0d2007-03-02 12:42:33 +090073 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -070074 select SYS_SUPPORTS_32BIT_KERNEL
75 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +010076 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +090077 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -070078
79config MACH_DECSTATION
Martin Michlmayr3fa986f2006-05-09 23:34:53 +020080 bool "DECstations"
Linus Torvalds1da177e2005-04-16 15:20:36 -070081 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +010082 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000083 select CSRC_R4K
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +010084 select CPU_DADDI_WORKAROUNDS if 64BIT
85 select CPU_R4000_WORKAROUNDS if 64BIT
86 select CPU_R4400_WORKAROUNDS if 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070087 select DMA_NONCOHERENT
Maciej W. Rozyckid388d682007-05-29 15:08:07 +010088 select NO_IOPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -070089 select IRQ_CPU
Ralf Baechle7cf80532005-10-20 22:33:09 +010090 select SYS_HAS_CPU_R3000
91 select SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -070092 select SYS_SUPPORTS_32BIT_KERNEL
93 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +010094 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +090095 select SYS_SUPPORTS_128HZ
96 select SYS_SUPPORTS_256HZ
97 select SYS_SUPPORTS_1024HZ
Ralf Baechle5e83d432005-10-29 19:32:41 +010098 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070099 This enables support for DEC's MIPS based workstations. For details
100 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
101 DECstation porting pages on <http://decstation.unix-ag.org/>.
102
103 If you have one of the following DECstation Models you definitely
104 want to choose R4xx0 for the CPU Type:
105
Ralf Baechle93088162007-08-29 14:21:45 +0100106 DECstation 5000/50
107 DECstation 5000/150
108 DECstation 5000/260
109 DECsystem 5900/260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110
111 otherwise choose R3000.
112
Ralf Baechle5e83d432005-10-29 19:32:41 +0100113config MACH_JAZZ
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200114 bool "Jazz family of machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100115 select ARC
116 select ARC32
117 select ARCH_MAY_HAVE_PC_FDC
Ralf Baechle42f77542007-10-18 17:48:11 +0100118 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000119 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100120 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100121 select GENERIC_ISA_DMA
Thomas Bogendoerferea202c62007-08-25 11:01:50 +0200122 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100123 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100124 select I8259
125 select ISA
Ralf Baechle7cf80532005-10-20 22:33:09 +0100126 select SYS_HAS_CPU_R4X00
Ralf Baechle5e83d432005-10-29 19:32:41 +0100127 select SYS_SUPPORTS_32BIT_KERNEL
128 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900129 select SYS_SUPPORTS_100HZ
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900130 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700131 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100132 This a family of machines based on the MIPS R4030 chipset which was
133 used by several vendors to build RISC/os and Windows NT workstations.
134 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
135 Olivetti M700-10 workstations.
136
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200137config LASAT
138 bool "LASAT Networks platforms"
Ralf Baechle42f77542007-10-18 17:48:11 +0100139 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000140 select CSRC_R4K
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200141 select DMA_NONCOHERENT
142 select SYS_HAS_EARLY_PRINTK
143 select HW_HAS_PCI
Ralf Baechlea5ccfe52007-10-14 23:49:33 +0100144 select IRQ_CPU
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200145 select PCI_GT64XXX_PCI0
146 select MIPS_NILE4
147 select R5000_CPU_SCACHE
148 select SYS_HAS_CPU_R5000
149 select SYS_SUPPORTS_32BIT_KERNEL
150 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
151 select SYS_SUPPORTS_LITTLE_ENDIAN
152 select GENERIC_HARDIRQS_NO__DO_IRQ
153
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900154config LEMOTE_FULONG
155 bool "Lemote Fulong mini-PC"
156 select ARCH_SPARSEMEM_ENABLE
Ralf Baechle42f77542007-10-18 17:48:11 +0100157 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000158 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900159 select SYS_HAS_CPU_LOONGSON2
160 select DMA_NONCOHERENT
161 select BOOT_ELF32
162 select BOARD_SCACHE
163 select HAVE_STD_PC_SERIAL_PORT
164 select HW_HAS_PCI
165 select I8259
166 select ISA
167 select IRQ_CPU
168 select SYS_SUPPORTS_32BIT_KERNEL
169 select SYS_SUPPORTS_64BIT_KERNEL
170 select SYS_SUPPORTS_LITTLE_ENDIAN
171 select SYS_SUPPORTS_HIGHMEM
172 select SYS_HAS_EARLY_PRINTK
173 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle23dd6d32007-08-24 16:49:23 +0100174 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900175 select CPU_HAS_WB
176 help
177 Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
178 an FPGA northbridge
179
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180config MIPS_ATLAS
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200181 bool "MIPS Atlas board"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700182 select BOOT_ELF32
Ralf Baechlefa71c962008-01-29 10:15:00 +0000183 select BOOT_RAW
Ralf Baechle42f77542007-10-18 17:48:11 +0100184 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000185 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700186 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000187 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100188 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700189 select HW_HAS_PCI
Ralf Baechle5e83d432005-10-29 19:32:41 +0100190 select MIPS_BOARDS_GEN
191 select MIPS_BONITO64
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900192 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100193 select MIPS_MSC
Maciej W. Rozyckif4b7cdb2005-02-12 04:31:49 +0000194 select RM7000_CPU_SCACHE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700195 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100196 select SYS_HAS_CPU_MIPS32_R1
197 select SYS_HAS_CPU_MIPS32_R2
198 select SYS_HAS_CPU_MIPS64_R1
199 select SYS_HAS_CPU_NEVADA
200 select SYS_HAS_CPU_RM7000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700201 select SYS_SUPPORTS_32BIT_KERNEL
202 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100203 select SYS_SUPPORTS_BIG_ENDIAN
204 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100205 select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100206 select SYS_SUPPORTS_SMARTMIPS
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100207 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700208 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000209 This enables support for the MIPS Technologies Atlas evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700210 board.
211
212config MIPS_MALTA
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200213 bool "MIPS Malta board"
Ralf Baechle61ed2422005-09-15 08:52:34 +0000214 select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215 select BOOT_ELF32
Ralf Baechlefa71c962008-01-29 10:15:00 +0000216 select BOOT_RAW
Ralf Baechle42f77542007-10-18 17:48:11 +0100217 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000218 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219 select DMA_NONCOHERENT
220 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000221 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700222 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100223 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700224 select I8259
Ralf Baechle5e83d432005-10-29 19:32:41 +0100225 select MIPS_BOARDS_GEN
226 select MIPS_BONITO64
Chris Dearman9318c512006-06-20 17:15:20 +0100227 select MIPS_CPU_SCACHE
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900228 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100229 select MIPS_MSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100231 select SYS_HAS_CPU_MIPS32_R1
232 select SYS_HAS_CPU_MIPS32_R2
233 select SYS_HAS_CPU_MIPS64_R1
234 select SYS_HAS_CPU_NEVADA
235 select SYS_HAS_CPU_RM7000
Ralf Baechle36a88532007-03-01 11:56:43 +0000236 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700237 select SYS_SUPPORTS_32BIT_KERNEL
238 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100239 select SYS_SUPPORTS_BIG_ENDIAN
240 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100241 select SYS_SUPPORTS_MULTITHREADING
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100242 select SYS_SUPPORTS_SMARTMIPS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000244 This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700245 board.
246
247config MIPS_SEAD
Ralf Baechled98cc842007-08-06 10:02:07 +0100248 bool "MIPS SEAD board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100249 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000250 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700251 select IRQ_CPU
252 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000253 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100254 select MIPS_BOARDS_GEN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100255 select SYS_HAS_CPU_MIPS32_R1
256 select SYS_HAS_CPU_MIPS32_R2
257 select SYS_HAS_CPU_MIPS64_R1
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700258 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100259 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
260 select SYS_SUPPORTS_BIG_ENDIAN
261 select SYS_SUPPORTS_LITTLE_ENDIAN
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100262 select SYS_SUPPORTS_SMARTMIPS
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000263 help
264 This enables support for the MIPS Technologies SEAD evaluation
265 board.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700266
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100267config MIPS_SIM
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200268 bool 'MIPS simulator (MIPSsim)'
Ralf Baechle42f77542007-10-18 17:48:11 +0100269 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000270 select CSRC_R4K
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100271 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000272 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100273 select IRQ_CPU
Marc St-Jean9267a302007-06-14 15:55:31 -0600274 select BOOT_RAW
Ralf Baechle7cf80532005-10-20 22:33:09 +0100275 select SYS_HAS_CPU_MIPS32_R1
276 select SYS_HAS_CPU_MIPS32_R2
Ralf Baechle36a88532007-03-01 11:56:43 +0000277 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100278 select SYS_SUPPORTS_32BIT_KERNEL
279 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlef6e23732007-07-10 17:32:56 +0100280 select SYS_SUPPORTS_MULTITHREADING
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100281 select SYS_SUPPORTS_LITTLE_ENDIAN
282 help
283 This option enables support for MIPS Technologies MIPSsim software
284 emulator.
285
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900286config MARKEINS
287 bool "NEC EMMA2RH Mark-eins"
Ralf Baechle42f77542007-10-18 17:48:11 +0100288 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000289 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900290 select DMA_NONCOHERENT
291 select HW_HAS_PCI
292 select IRQ_CPU
293 select SWAP_IO_SPACE
294 select SYS_SUPPORTS_32BIT_KERNEL
295 select SYS_SUPPORTS_BIG_ENDIAN
296 select SYS_SUPPORTS_LITTLE_ENDIAN
297 select SYS_HAS_CPU_R5000
298 help
299 This enables support for the R5432-based NEC Mark-eins
300 boards with R5500 CPU.
301
Ralf Baechle5e83d432005-10-29 19:32:41 +0100302config MACH_VR41XX
Yoichi Yuasa74142d62007-04-26 19:45:09 +0900303 bool "NEC VR4100 series based machines"
Ralf Baechle42f77542007-10-18 17:48:11 +0100304 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000305 select CSRC_R4K
Ralf Baechle7cf80532005-10-20 22:33:09 +0100306 select SYS_HAS_CPU_VR41XX
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900307 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100308
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900309config PNX8550_JBS
310 bool "Philips PNX8550 based JBS board"
311 select PNX8550
312 select SYS_SUPPORTS_LITTLE_ENDIAN
313
314config PNX8550_STB810
315 bool "Philips PNX8550 based STB810 board"
316 select PNX8550
317 select SYS_SUPPORTS_LITTLE_ENDIAN
318
Marc St-Jean9267a302007-06-14 15:55:31 -0600319config PMC_MSP
320 bool "PMC-Sierra MSP chipsets"
321 depends on EXPERIMENTAL
322 select DMA_NONCOHERENT
323 select SWAP_IO_SPACE
324 select NO_EXCEPT_FILL
325 select BOOT_RAW
326 select SYS_HAS_CPU_MIPS32_R1
327 select SYS_HAS_CPU_MIPS32_R2
328 select SYS_SUPPORTS_32BIT_KERNEL
329 select SYS_SUPPORTS_BIG_ENDIAN
330 select SYS_SUPPORTS_KGDB
331 select IRQ_CPU
332 select SERIAL_8250
333 select SERIAL_8250_CONSOLE
334 help
335 This adds support for the PMC-Sierra family of Multi-Service
336 Processor System-On-A-Chips. These parts include a number
337 of integrated peripherals, interfaces and DSPs in addition to
338 a variety of MIPS cores.
339
Ralf Baechle5e83d432005-10-29 19:32:41 +0100340config PMC_YOSEMITE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200341 bool "PMC-Sierra Yosemite eval board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100342 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000343 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100344 select DMA_COHERENT
345 select HW_HAS_PCI
346 select IRQ_CPU
347 select IRQ_CPU_RM7K
348 select IRQ_CPU_RM9K
349 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100350 select SYS_HAS_CPU_RM9000
Ralf Baechle36a88532007-03-01 11:56:43 +0000351 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100352 select SYS_SUPPORTS_32BIT_KERNEL
353 select SYS_SUPPORTS_64BIT_KERNEL
354 select SYS_SUPPORTS_BIG_ENDIAN
355 select SYS_SUPPORTS_HIGHMEM
Ralf Baechlecc801072007-02-17 02:58:39 +0000356 select SYS_SUPPORTS_KGDB
Ralf Baechlee73ea272006-06-04 11:51:46 +0100357 select SYS_SUPPORTS_SMP
Ralf Baechle5e83d432005-10-29 19:32:41 +0100358 help
359 Yosemite is an evaluation board for the RM9000x2 processor
360 manufactured by PMC-Sierra.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700361
Ralf Baechle07119622005-09-03 15:56:11 -0700362config QEMU
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200363 bool "Qemu"
Ralf Baechle42f77542007-10-18 17:48:11 +0100364 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000365 select CSRC_R4K
Ralf Baechle07119622005-09-03 15:56:11 -0700366 select DMA_COHERENT
367 select GENERIC_ISA_DMA
368 select HAVE_STD_PC_SERIAL_PORT
Ralf Baechled865bea2007-10-11 23:46:10 +0100369 select I8253
Ralf Baechle07119622005-09-03 15:56:11 -0700370 select I8259
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100371 select IRQ_CPU
Ralf Baechle07119622005-09-03 15:56:11 -0700372 select ISA
373 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100374 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechlea57c2282007-11-04 04:49:44 +0000375 select SYS_HAS_EARLY_PRINTK
Ralf Baechle07119622005-09-03 15:56:11 -0700376 select SYS_SUPPORTS_32BIT_KERNEL
377 select SYS_SUPPORTS_BIG_ENDIAN
Aurelien Jarnoc8cc9612006-09-27 23:07:25 +0200378 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900379 select GENERIC_HARDIRQS_NO__DO_IRQ
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +0900380 select NR_CPUS_DEFAULT_1
381 select SYS_SUPPORTS_SMP
Ralf Baechle07119622005-09-03 15:56:11 -0700382 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100383 Qemu is a software emulator which among other architectures also
384 can simulate a MIPS32 4Kc system. This patch adds support for the
385 system architecture that currently is being simulated by Qemu. It
386 will eventually be removed again when Qemu has the capability to
387 simulate actual MIPS hardware platforms. More information on Qemu
388 can be found at http://www.linux-mips.org/wiki/Qemu.
Ralf Baechle07119622005-09-03 15:56:11 -0700389
Linus Torvalds1da177e2005-04-16 15:20:36 -0700390config SGI_IP22
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200391 bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700392 select ARC
393 select ARC32
394 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100395 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000396 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100397 select DEFAULT_SGI_PARTITION
Linus Torvalds1da177e2005-04-16 15:20:36 -0700398 select DMA_NONCOHERENT
Ralf Baechle5e83d432005-10-29 19:32:41 +0100399 select HW_HAS_EISA
Ralf Baechled865bea2007-10-11 23:46:10 +0100400 select I8253
Thomas Bogendoerfer68de4802007-11-23 20:34:16 +0100401 select I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700402 select IP22_CPU_SCACHE
403 select IRQ_CPU
Ralf Baechleaa414df2006-11-30 01:14:51 +0000404 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100405 select SGI_HAS_DS1286
406 select SGI_HAS_I8042
407 select SGI_HAS_INDYDOG
408 select SGI_HAS_SEEQ
409 select SGI_HAS_WD93
410 select SGI_HAS_ZILOG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700411 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100412 select SYS_HAS_CPU_R4X00
413 select SYS_HAS_CPU_R5000
Ralf Baechle36a88532007-03-01 11:56:43 +0000414 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700415 select SYS_SUPPORTS_32BIT_KERNEL
416 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100417 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700418 help
419 This are the SGI Indy, Challenge S and Indigo2, as well as certain
420 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
421 that runs on these, say Y here.
422
423config SGI_IP27
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200424 bool "SGI IP27 (Origin200/2000)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700425 select ARC
426 select ARC64
Ralf Baechle5e83d432005-10-29 19:32:41 +0100427 select BOOT_ELF64
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100428 select DEFAULT_SGI_PARTITION
Linus Torvalds1da177e2005-04-16 15:20:36 -0700429 select DMA_IP27
Ralf Baechle36a88532007-03-01 11:56:43 +0000430 select SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700431 select HW_HAS_PCI
Ralf Baechle130e2fb2007-02-06 16:53:15 +0000432 select NR_CPUS_DEFAULT_64
Ralf Baechle7cf80532005-10-20 22:33:09 +0100433 select SYS_HAS_CPU_R10000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700434 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100435 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000436 select SYS_SUPPORTS_KGDB
Ralf Baechled8cb4e12006-06-11 23:03:08 +0100437 select SYS_SUPPORTS_NUMA
Ralf Baechle1a5c5de2006-11-02 17:23:33 +0000438 select SYS_SUPPORTS_SMP
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100439 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700440 help
441 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
442 workstations. To compile a Linux kernel that runs on these, say Y
443 here.
444
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100445config SGI_IP28
446 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
447 depends on EXPERIMENTAL
448 select ARC
449 select ARC64
450 select BOOT_ELF64
451 select CEVT_R4K
452 select CSRC_R4K
453 select DEFAULT_SGI_PARTITION
454 select DMA_NONCOHERENT
455 select GENERIC_ISA_DMA_SUPPORT_BROKEN
456 select IRQ_CPU
457 select HW_HAS_EISA
458 select I8253
459 select I8259
460 select SGI_HAS_DS1286
461 select SGI_HAS_I8042
462 select SGI_HAS_INDYDOG
463 select SGI_HAS_SEEQ
464 select SGI_HAS_WD93
465 select SGI_HAS_ZILOG
466 select SWAP_IO_SPACE
467 select SYS_HAS_CPU_R10000
468 select SYS_HAS_EARLY_PRINTK
469 select SYS_SUPPORTS_64BIT_KERNEL
470 select SYS_SUPPORTS_BIG_ENDIAN
471 help
472 This is the SGI Indigo2 with R10000 processor. To compile a Linux
473 kernel that runs on these, say Y here.
474
Linus Torvalds1da177e2005-04-16 15:20:36 -0700475config SGI_IP32
Ralf Baechlecfd2afc2007-07-10 17:33:00 +0100476 bool "SGI IP32 (O2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700477 select ARC
478 select ARC32
479 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100480 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000481 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700482 select DMA_NONCOHERENT
483 select HW_HAS_PCI
Ralf Baechledd67b152007-10-14 14:02:26 +0100484 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700485 select R5000_CPU_SCACHE
486 select RM7000_CPU_SCACHE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100487 select SYS_HAS_CPU_R5000
488 select SYS_HAS_CPU_R10000 if BROKEN
489 select SYS_HAS_CPU_RM7000
Ralf Baechledd2f18f2006-01-19 14:55:42 +0000490 select SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700491 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100492 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700493 help
494 If you want this kernel to run on SGI O2 workstation, say Y here.
495
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900496config SIBYTE_CRHINE
497 bool "Sibyte BCM91120C-CRhine"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100498 depends on EXPERIMENTAL
499 select BOOT_ELF32
500 select DMA_COHERENT
501 select SIBYTE_BCM1120
502 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100503 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100504 select SYS_SUPPORTS_BIG_ENDIAN
505 select SYS_SUPPORTS_LITTLE_ENDIAN
506
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900507config SIBYTE_CARMEL
508 bool "Sibyte BCM91120x-Carmel"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100509 depends on EXPERIMENTAL
510 select BOOT_ELF32
511 select DMA_COHERENT
512 select SIBYTE_BCM1120
513 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100514 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100515 select SYS_SUPPORTS_BIG_ENDIAN
516 select SYS_SUPPORTS_LITTLE_ENDIAN
517
518config SIBYTE_CRHONE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200519 bool "Sibyte BCM91125C-CRhone"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100520 depends on EXPERIMENTAL
521 select BOOT_ELF32
522 select DMA_COHERENT
523 select SIBYTE_BCM1125
524 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100525 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100526 select SYS_SUPPORTS_BIG_ENDIAN
527 select SYS_SUPPORTS_HIGHMEM
528 select SYS_SUPPORTS_LITTLE_ENDIAN
529
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900530config SIBYTE_RHONE
531 bool "Sibyte BCM91125E-Rhone"
532 depends on EXPERIMENTAL
533 select BOOT_ELF32
534 select DMA_COHERENT
535 select SIBYTE_BCM1125H
536 select SWAP_IO_SPACE
537 select SYS_HAS_CPU_SB1
538 select SYS_SUPPORTS_BIG_ENDIAN
539 select SYS_SUPPORTS_LITTLE_ENDIAN
540
541config SIBYTE_SWARM
542 bool "Sibyte BCM91250A-SWARM"
543 select BOOT_ELF32
544 select DMA_COHERENT
545 select NR_CPUS_DEFAULT_2
546 select SIBYTE_SB1250
547 select SWAP_IO_SPACE
548 select SYS_HAS_CPU_SB1
549 select SYS_SUPPORTS_BIG_ENDIAN
550 select SYS_SUPPORTS_HIGHMEM
551 select SYS_SUPPORTS_KGDB
552 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000553 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900554
555config SIBYTE_LITTLESUR
556 bool "Sibyte BCM91250C2-LittleSur"
557 depends on EXPERIMENTAL
558 select BOOT_ELF32
559 select DMA_COHERENT
560 select NR_CPUS_DEFAULT_2
561 select SIBYTE_SB1250
562 select SWAP_IO_SPACE
563 select SYS_HAS_CPU_SB1
564 select SYS_SUPPORTS_BIG_ENDIAN
565 select SYS_SUPPORTS_HIGHMEM
566 select SYS_SUPPORTS_LITTLE_ENDIAN
567
568config SIBYTE_SENTOSA
569 bool "Sibyte BCM91250E-Sentosa"
570 depends on EXPERIMENTAL
571 select BOOT_ELF32
572 select DMA_COHERENT
573 select NR_CPUS_DEFAULT_2
574 select SIBYTE_SB1250
575 select SWAP_IO_SPACE
576 select SYS_HAS_CPU_SB1
577 select SYS_SUPPORTS_BIG_ENDIAN
578 select SYS_SUPPORTS_LITTLE_ENDIAN
579
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900580config SIBYTE_BIGSUR
581 bool "Sibyte BCM91480B-BigSur"
582 select BOOT_ELF32
583 select DMA_COHERENT
584 select NR_CPUS_DEFAULT_4
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900585 select SIBYTE_BCM1x80
586 select SWAP_IO_SPACE
587 select SYS_HAS_CPU_SB1
588 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle651194f2007-11-01 21:55:39 +0000589 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900590 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000591 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900592
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100593config SNI_RM
594 bool "SNI RM200/300/400"
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200595 select ARC if CPU_LITTLE_ENDIAN
596 select ARC32 if CPU_LITTLE_ENDIAN
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +0100597 select SNIPROM if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100598 select ARCH_MAY_HAVE_PC_FDC
599 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100600 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000601 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100602 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100603 select DMA_NONCOHERENT
604 select GENERIC_ISA_DMA
Ralf Baechle5e83d432005-10-29 19:32:41 +0100605 select HW_HAS_EISA
606 select HW_HAS_PCI
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100607 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100608 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100609 select I8259
610 select ISA
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200611 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100612 select SYS_HAS_CPU_R4X00
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200613 select SYS_HAS_CPU_R5000
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100614 select SYS_HAS_CPU_R10000
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200615 select R5000_CPU_SCACHE
Ralf Baechle36a88532007-03-01 11:56:43 +0000616 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700617 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100618 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200619 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100620 select SYS_SUPPORTS_HIGHMEM
621 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700622 help
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100623 The SNI RM200/300/400 are MIPS-based machines manufactured by
624 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Ralf Baechle5e83d432005-10-29 19:32:41 +0100625 Technology and now in turn merged with Fujitsu. Say Y here to
626 support this machine type.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700627
Ralf Baechle5e83d432005-10-29 19:32:41 +0100628config TOSHIBA_JMR3927
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200629 bool "Toshiba JMR-TX3927 board"
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900630 select CEVT_TXX9
Ralf Baechle5e83d432005-10-29 19:32:41 +0100631 select DMA_NONCOHERENT
632 select HW_HAS_PCI
633 select MIPS_TX3927
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900634 select IRQ_TXX9
Ralf Baechle5e83d432005-10-29 19:32:41 +0100635 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100636 select SYS_HAS_CPU_TX39XX
Ralf Baechle5e83d432005-10-29 19:32:41 +0100637 select SYS_SUPPORTS_32BIT_KERNEL
Sergei Shtylyov6a2603a2007-02-07 20:39:05 +0300638 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100639 select SYS_SUPPORTS_BIG_ENDIAN
Atsushi Nemoto21274352007-03-15 00:58:28 +0900640 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100641
642config TOSHIBA_RBTX4927
Yoichi Yuasa08a91282007-07-27 15:20:24 +0900643 bool "Toshiba RBTX49[23]7 board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100644 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000645 select CSRC_R4K
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900646 select CEVT_TXX9
Ralf Baechle5e83d432005-10-29 19:32:41 +0100647 select DMA_NONCOHERENT
648 select HAS_TXX9_SERIAL
649 select HW_HAS_PCI
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900650 select IRQ_CPU
651 select IRQ_TXX9
652 select I8259 if TOSHIBA_FPCIB0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100653 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100654 select SYS_HAS_CPU_TX49XX
Ralf Baechle5e83d432005-10-29 19:32:41 +0100655 select SYS_SUPPORTS_32BIT_KERNEL
656 select SYS_SUPPORTS_64BIT_KERNEL
Sergei Shtylyov6a2603a2007-02-07 20:39:05 +0300657 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100658 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000659 select SYS_SUPPORTS_KGDB
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900660 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100661 help
662 This Toshiba board is based on the TX4927 processor. Say Y here to
663 support this machine type
Linus Torvalds1da177e2005-04-16 15:20:36 -0700664
Ralf Baechle23fbee92005-07-25 22:45:45 +0000665config TOSHIBA_RBTX4938
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200666 bool "Toshiba RBTX4938 board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100667 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000668 select CSRC_R4K
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900669 select CEVT_TXX9
Ralf Baechle23fbee92005-07-25 22:45:45 +0000670 select DMA_NONCOHERENT
Ralf Baechle23fbee92005-07-25 22:45:45 +0000671 select HAS_TXX9_SERIAL
672 select HW_HAS_PCI
Atsushi Nemotoc87abd72007-08-02 23:36:02 +0900673 select IRQ_CPU
674 select IRQ_TXX9
Ralf Baechle23fbee92005-07-25 22:45:45 +0000675 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100676 select SYS_HAS_CPU_TX49XX
Ralf Baechle23fbee92005-07-25 22:45:45 +0000677 select SYS_SUPPORTS_32BIT_KERNEL
678 select SYS_SUPPORTS_LITTLE_ENDIAN
679 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlecc801072007-02-17 02:58:39 +0000680 select SYS_SUPPORTS_KGDB
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900681 select GENERIC_HARDIRQS_NO__DO_IRQ
Atsushi Nemoto3896b052007-06-22 23:21:55 +0900682 select GENERIC_GPIO
Ralf Baechle23fbee92005-07-25 22:45:45 +0000683 help
684 This Toshiba board is based on the TX4938 processor. Say Y here to
685 support this machine type
686
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900687config WR_PPMC
688 bool "Wind River PPMC board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100689 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000690 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900691 select IRQ_CPU
692 select BOOT_ELF32
693 select DMA_NONCOHERENT
694 select HW_HAS_PCI
695 select PCI_GT64XXX_PCI0
696 select SWAP_IO_SPACE
697 select SYS_HAS_CPU_MIPS32_R1
698 select SYS_HAS_CPU_MIPS32_R2
699 select SYS_HAS_CPU_MIPS64_R1
700 select SYS_HAS_CPU_NEVADA
701 select SYS_HAS_CPU_RM7000
702 select SYS_SUPPORTS_32BIT_KERNEL
703 select SYS_SUPPORTS_64BIT_KERNEL
704 select SYS_SUPPORTS_BIG_ENDIAN
705 select SYS_SUPPORTS_LITTLE_ENDIAN
706 help
707 This enables support for the Wind River MIPS32 4KC PPMC evaluation
708 board, which is based on GT64120 bridge chip.
709
Linus Torvalds1da177e2005-04-16 15:20:36 -0700710endchoice
711
Yoichi Yuasac3543e22007-05-11 20:44:30 +0900712source "arch/mips/au1000/Kconfig"
Yoichi Yuasa9c746ed2007-12-12 22:39:54 +0900713source "arch/mips/basler/excite/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100714source "arch/mips/jazz/Kconfig"
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200715source "arch/mips/lasat/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100716source "arch/mips/pmc-sierra/Kconfig"
Ralf Baechle29c48692005-02-07 01:27:14 +0000717source "arch/mips/sgi-ip27/Kconfig"
Ralf Baechle38b18f72005-02-03 14:28:23 +0000718source "arch/mips/sibyte/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100719source "arch/mips/tx4927/Kconfig"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000720source "arch/mips/tx4938/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100721source "arch/mips/vr41xx/Kconfig"
Ralf Baechle38b18f72005-02-03 14:28:23 +0000722
Ralf Baechle5e83d432005-10-29 19:32:41 +0100723endmenu
724
Linus Torvalds1da177e2005-04-16 15:20:36 -0700725config RWSEM_GENERIC_SPINLOCK
726 bool
727 default y
728
729config RWSEM_XCHGADD_ALGORITHM
730 bool
731
David Howellsf0d1b0b2006-12-08 02:37:49 -0800732config ARCH_HAS_ILOG2_U32
733 bool
734 default n
735
736config ARCH_HAS_ILOG2_U64
737 bool
738 default n
739
Ralf Baechle00a58252007-12-06 16:53:19 +0000740config ARCH_SUPPORTS_OPROFILE
741 bool
742 default y if !MIPS_MT_SMTC
743
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800744config GENERIC_FIND_NEXT_BIT
745 bool
746 default y
747
748config GENERIC_HWEIGHT
749 bool
750 default y
751
Linus Torvalds1da177e2005-04-16 15:20:36 -0700752config GENERIC_CALIBRATE_DELAY
753 bool
754 default y
755
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100756config GENERIC_CLOCKEVENTS
757 bool
758 default y
759
Ralf Baechle8db02012006-10-02 16:54:48 +0100760config GENERIC_TIME
761 bool
762 default y
763
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100764config GENERIC_CMOS_UPDATE
765 bool
766 default y
767
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900768config SCHED_NO_NO_OMIT_FRAME_POINTER
769 bool
770 default y
771
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100772config GENERIC_HARDIRQS_NO__DO_IRQ
773 bool
774 default n
775
Linus Torvalds1da177e2005-04-16 15:20:36 -0700776#
777# Select some configuration options automatically based on user selections.
778#
779config ARC
780 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700781
Ralf Baechle61ed2422005-09-15 08:52:34 +0000782config ARCH_MAY_HAVE_PC_FDC
783 bool
784
Marc St-Jean9267a302007-06-14 15:55:31 -0600785config BOOT_RAW
786 bool
787
Ralf Baechle217dd112007-11-01 01:57:55 +0000788config CEVT_BCM1480
789 bool
790
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900791config CEVT_GT641XX
792 bool
793
Ralf Baechle42f77542007-10-18 17:48:11 +0100794config CEVT_R4K
795 bool
796
Ralf Baechle217dd112007-11-01 01:57:55 +0000797config CEVT_SB1250
798 bool
799
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900800config CEVT_TXX9
801 bool
802
Ralf Baechle217dd112007-11-01 01:57:55 +0000803config CSRC_BCM1480
804 bool
805
Ralf Baechle940f6b42007-11-24 22:33:28 +0000806config CSRC_R4K
807 bool
808
Ralf Baechle217dd112007-11-01 01:57:55 +0000809config CSRC_SB1250
810 bool
811
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200812config CFE
813 bool
814
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700815config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700816 bool
817
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700818config DMA_IP27
Linus Torvalds1da177e2005-04-16 15:20:36 -0700819 bool
820
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700821config DMA_NONCOHERENT
822 bool
823 select DMA_NEED_PCI_MAP_STATE
824
825config DMA_NEED_PCI_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700826 bool
827
828config EARLY_PRINTK
Ralf Baechle36a88532007-03-01 11:56:43 +0000829 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
830 depends on SYS_HAS_EARLY_PRINTK
831 default y
832 help
833 This option enables special console drivers which allow the kernel
834 to print messages very early in the bootup process.
835
836 This is useful for kernel debugging when your machine crashes very
Robert P. J. Day490dcc42007-05-20 12:11:07 -0400837 early before the console code is initialized. For normal operation,
838 it is not recommended because it looks ugly on some machines and
839 doesn't cooperate with an X server. You should normally say N here,
Ralf Baechle36a88532007-03-01 11:56:43 +0000840 unless you want to debug such a crash.
841
842config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700843 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700844
Ralf Baechledbb74542007-08-07 14:52:17 +0100845config HOTPLUG_CPU
846 bool
847 default n
848
Linus Torvalds1da177e2005-04-16 15:20:36 -0700849config I8259
850 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700851
Linus Torvalds1da177e2005-04-16 15:20:36 -0700852config MIPS_BONITO64
853 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700854
855config MIPS_MSC
856 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700857
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200858config MIPS_NILE4
859 bool
860
Linus Torvalds1da177e2005-04-16 15:20:36 -0700861config MIPS_DISABLE_OBSOLETE_IDE
862 bool
863
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100864config NO_IOPORT
865 def_bool n
866
Ralf Baechle8313da32007-08-24 16:48:30 +0100867config GENERIC_ISA_DMA
868 bool
869 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
870
Ralf Baechleaa414df2006-11-30 01:14:51 +0000871config GENERIC_ISA_DMA_SUPPORT_BROKEN
872 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100873 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000874
Yoichi Yuasa09663332007-05-22 00:05:58 +0900875config GENERIC_GPIO
876 bool
877
Ralf Baechle5e83d432005-10-29 19:32:41 +0100878#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100879# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100880# answer,so we try hard to limit the available choices. Also the use of a
881# choice statement should be more obvious to the user.
882#
883choice
884 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700885 help
886 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100887 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100888 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100889 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200890 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100891
892config CPU_BIG_ENDIAN
893 bool "Big endian"
894 depends on SYS_SUPPORTS_BIG_ENDIAN
895
896config CPU_LITTLE_ENDIAN
897 bool "Little endian"
898 depends on SYS_SUPPORTS_LITTLE_ENDIAN
899 help
900
901endchoice
902
Ralf Baechle21162452007-02-09 17:08:58 +0000903config SYS_SUPPORTS_APM_EMULATION
904 bool
905
Ralf Baechle5e83d432005-10-29 19:32:41 +0100906config SYS_SUPPORTS_BIG_ENDIAN
907 bool
908
909config SYS_SUPPORTS_LITTLE_ENDIAN
910 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700911
912config IRQ_CPU
913 bool
914
915config IRQ_CPU_RM7K
916 bool
917
Ralf Baechle5e83d432005-10-29 19:32:41 +0100918config IRQ_CPU_RM9K
919 bool
920
Marc St-Jean9267a302007-06-14 15:55:31 -0600921config IRQ_MSP_SLP
922 bool
923
924config IRQ_MSP_CIC
925 bool
926
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900927config IRQ_TXX9
928 bool
929
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900930config IRQ_GT641XX
931 bool
932
Linus Torvalds1da177e2005-04-16 15:20:36 -0700933config MIPS_BOARDS_GEN
934 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700935
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900936config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700937 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700938
Marc St-Jean9267a302007-06-14 15:55:31 -0600939config NO_EXCEPT_FILL
940 bool
941
Linus Torvalds1da177e2005-04-16 15:20:36 -0700942config MIPS_TX3927
943 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700944 select HAS_TXX9_SERIAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700945
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200946config MIPS_RM9122
947 bool
948 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200949
Pete Popovbdf21b12005-07-14 17:47:57 +0000950config PNX8550
951 bool
952 select SOC_PNX8550
953
954config SOC_PNX8550
955 bool
Pete Popovbdf21b12005-07-14 17:47:57 +0000956 select DMA_NONCOHERENT
957 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +0000958 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +0000959 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +0100960 select SYS_SUPPORTS_32BIT_KERNEL
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100961 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechlecc801072007-02-17 02:58:39 +0000962 select SYS_SUPPORTS_KGDB
Florian Fainelli4ead1682007-05-22 21:44:42 +0200963 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +0000964
Linus Torvalds1da177e2005-04-16 15:20:36 -0700965config SWAP_IO_SPACE
966 bool
967
dmitry pervushin355c4712006-05-21 14:53:06 +0400968config EMMA2RH
969 bool
970 depends on MARKEINS
971 default y
972
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200973config SERIAL_RM9000
974 bool
975
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100976config SGI_HAS_DS1286
977 bool
978
979config SGI_HAS_INDYDOG
980 bool
981
982config SGI_HAS_SEEQ
983 bool
984
985config SGI_HAS_WD93
986 bool
987
988config SGI_HAS_ZILOG
989 bool
990
991config SGI_HAS_I8042
992 bool
993
994config DEFAULT_SGI_PARTITION
995 bool
996
Ralf Baechle5e83d432005-10-29 19:32:41 +0100997config ARC32
998 bool
999
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +01001000config SNIPROM
1001 bool
1002
Linus Torvalds1da177e2005-04-16 15:20:36 -07001003config BOOT_ELF32
1004 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001005
1006config MIPS_L1_CACHE_SHIFT
1007 int
Thomas Bogendoerfer06cf5582007-06-20 23:36:47 +02001008 default "4" if MACH_DECSTATION
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001009 default "7" if SGI_IP27 || SGI_IP28 || SNI_RM
Marc St-Jean9267a302007-06-14 15:55:31 -06001010 default "4" if PMC_MSP4200_EVAL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001011 default "5"
1012
Linus Torvalds1da177e2005-04-16 15:20:36 -07001013config HAVE_STD_PC_SERIAL_PORT
1014 bool
1015
Linus Torvalds1da177e2005-04-16 15:20:36 -07001016config ARC_CONSOLE
1017 bool "ARC console support"
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001018 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001019
1020config ARC_MEMORY
1021 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +01001022 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001023 default y
1024
1025config ARC_PROMLIB
1026 bool
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001027 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001028 default y
1029
1030config ARC64
1031 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001032
1033config BOOT_ELF64
1034 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001035
Linus Torvalds1da177e2005-04-16 15:20:36 -07001036menu "CPU selection"
1037
1038choice
1039 prompt "CPU type"
1040 default CPU_R4X00
1041
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001042config CPU_LOONGSON2
1043 bool "Loongson 2"
1044 depends on SYS_HAS_CPU_LOONGSON2
1045 select CPU_SUPPORTS_32BIT_KERNEL
1046 select CPU_SUPPORTS_64BIT_KERNEL
1047 select CPU_SUPPORTS_HIGHMEM
1048 help
1049 The Loongson 2E processor implements the MIPS III instruction set
1050 with many extensions.
1051
Ralf Baechle6e760c82005-07-06 12:08:11 +00001052config CPU_MIPS32_R1
1053 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001054 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001055 select CPU_HAS_LLSC
Ralf Baechle6e760c82005-07-06 12:08:11 +00001056 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001057 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001058 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001059 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001060 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001061 MIPS32 architecture. Most modern embedded systems with a 32-bit
1062 MIPS processor are based on a MIPS32 processor. If you know the
1063 specific type of processor in your system, choose those that one
1064 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1065 Release 2 of the MIPS32 architecture is available since several
1066 years so chances are you even have a MIPS32 Release 2 processor
1067 in which case you should choose CPU_MIPS32_R2 instead for better
1068 performance.
1069
1070config CPU_MIPS32_R2
1071 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001072 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001073 select CPU_HAS_LLSC
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001074 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001075 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001076 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001077 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001078 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +00001079 MIPS32 architecture. Most modern embedded systems with a 32-bit
1080 MIPS processor are based on a MIPS32 processor. If you know the
1081 specific type of processor in your system, choose those that one
1082 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001083
Ralf Baechle6e760c82005-07-06 12:08:11 +00001084config CPU_MIPS64_R1
1085 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001086 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001087 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +00001088 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001089 select CPU_SUPPORTS_32BIT_KERNEL
1090 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001091 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001092 help
1093 Choose this option to build a kernel for release 1 or later of the
1094 MIPS64 architecture. Many modern embedded systems with a 64-bit
1095 MIPS processor are based on a MIPS64 processor. If you know the
1096 specific type of processor in your system, choose those that one
1097 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001098 Release 2 of the MIPS64 architecture is available since several
1099 years so chances are you even have a MIPS64 Release 2 processor
1100 in which case you should choose CPU_MIPS64_R2 instead for better
1101 performance.
1102
1103config CPU_MIPS64_R2
1104 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001105 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001106 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +00001107 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001108 select CPU_SUPPORTS_32BIT_KERNEL
1109 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001110 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001111 help
1112 Choose this option to build a kernel for release 2 or later of the
1113 MIPS64 architecture. Many modern embedded systems with a 64-bit
1114 MIPS processor are based on a MIPS64 processor. If you know the
1115 specific type of processor in your system, choose those that one
1116 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001117
1118config CPU_R3000
1119 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001120 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001121 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001122 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001123 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001124 help
1125 Please make sure to pick the right CPU type. Linux/MIPS is not
1126 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1127 *not* work on R4000 machines and vice versa. However, since most
1128 of the supported machines have an R4000 (or similar) CPU, R4x00
1129 might be a safe bet. If the resulting kernel does not work,
1130 try to recompile with R3000.
1131
1132config CPU_TX39XX
1133 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001134 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001135 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001136
1137config CPU_VR41XX
1138 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001139 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001140 select CPU_SUPPORTS_32BIT_KERNEL
1141 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001142 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001143 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001144 Only choose this option if you have one of these processors as a
1145 kernel built with this option will not run on any other type of
1146 processor or vice versa.
1147
1148config CPU_R4300
1149 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001150 depends on SYS_HAS_CPU_R4300
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001151 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001152 select CPU_SUPPORTS_32BIT_KERNEL
1153 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001154 help
1155 MIPS Technologies R4300-series processors.
1156
1157config CPU_R4X00
1158 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001159 depends on SYS_HAS_CPU_R4X00
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001160 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001161 select CPU_SUPPORTS_32BIT_KERNEL
1162 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001163 help
1164 MIPS Technologies R4000-series processors other than 4300, including
1165 the R4000, R4400, R4600, and 4700.
1166
1167config CPU_TX49XX
1168 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001169 depends on SYS_HAS_CPU_TX49XX
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001170 select CPU_HAS_LLSC
Atsushi Nemotode862b42006-03-17 12:59:22 +09001171 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001172 select CPU_SUPPORTS_32BIT_KERNEL
1173 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001174
1175config CPU_R5000
1176 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001177 depends on SYS_HAS_CPU_R5000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001178 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001179 select CPU_SUPPORTS_32BIT_KERNEL
1180 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001181 help
1182 MIPS Technologies R5000-series processors other than the Nevada.
1183
1184config CPU_R5432
1185 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001186 depends on SYS_HAS_CPU_R5432
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001187 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001188 select CPU_SUPPORTS_32BIT_KERNEL
1189 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001190
1191config CPU_R6000
1192 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001193 depends on EXPERIMENTAL
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001194 select CPU_HAS_LLSC
Ralf Baechle7cf80532005-10-20 22:33:09 +01001195 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001196 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001197 help
1198 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001199 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001200
1201config CPU_NEVADA
1202 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001203 depends on SYS_HAS_CPU_NEVADA
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001204 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001205 select CPU_SUPPORTS_32BIT_KERNEL
1206 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001207 help
1208 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1209
1210config CPU_R8000
1211 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001212 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001213 depends on SYS_HAS_CPU_R8000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001214 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001215 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001216 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001217 help
1218 MIPS Technologies R8000 processors. Note these processors are
1219 uncommon and the support for them is incomplete.
1220
1221config CPU_R10000
1222 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001223 depends on SYS_HAS_CPU_R10000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001224 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001225 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001226 select CPU_SUPPORTS_32BIT_KERNEL
1227 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001228 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001229 help
1230 MIPS Technologies R10000-series processors.
1231
1232config CPU_RM7000
1233 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001234 depends on SYS_HAS_CPU_RM7000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001235 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001236 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001237 select CPU_SUPPORTS_32BIT_KERNEL
1238 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001239 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001240
1241config CPU_RM9000
1242 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001243 depends on SYS_HAS_CPU_RM9000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001244 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001245 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001246 select CPU_SUPPORTS_32BIT_KERNEL
1247 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001248 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001249 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001250
1251config CPU_SB1
1252 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001253 depends on SYS_HAS_CPU_SB1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001254 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001255 select CPU_SUPPORTS_32BIT_KERNEL
1256 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001257 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001258 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001259
1260endchoice
1261
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001262config SYS_HAS_CPU_LOONGSON2
1263 bool
1264
Ralf Baechle7cf80532005-10-20 22:33:09 +01001265config SYS_HAS_CPU_MIPS32_R1
1266 bool
1267
1268config SYS_HAS_CPU_MIPS32_R2
1269 bool
1270
1271config SYS_HAS_CPU_MIPS64_R1
1272 bool
1273
1274config SYS_HAS_CPU_MIPS64_R2
1275 bool
1276
1277config SYS_HAS_CPU_R3000
1278 bool
1279
1280config SYS_HAS_CPU_TX39XX
1281 bool
1282
1283config SYS_HAS_CPU_VR41XX
1284 bool
1285
1286config SYS_HAS_CPU_R4300
1287 bool
1288
1289config SYS_HAS_CPU_R4X00
1290 bool
1291
1292config SYS_HAS_CPU_TX49XX
1293 bool
1294
1295config SYS_HAS_CPU_R5000
1296 bool
1297
1298config SYS_HAS_CPU_R5432
1299 bool
1300
1301config SYS_HAS_CPU_R6000
1302 bool
1303
1304config SYS_HAS_CPU_NEVADA
1305 bool
1306
1307config SYS_HAS_CPU_R8000
1308 bool
1309
1310config SYS_HAS_CPU_R10000
1311 bool
1312
1313config SYS_HAS_CPU_RM7000
1314 bool
1315
1316config SYS_HAS_CPU_RM9000
1317 bool
1318
1319config SYS_HAS_CPU_SB1
1320 bool
1321
Ralf Baechle17099b12007-07-14 13:24:05 +01001322#
1323# CPU may reorder R->R, R->W, W->R, W->W
1324# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1325#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001326config WEAK_ORDERING
1327 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001328
1329#
1330# CPU may reorder reads and writes beyond LL/SC
1331# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1332#
1333config WEAK_REORDERING_BEYOND_LLSC
1334 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001335endmenu
1336
1337#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001338# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001339#
1340config CPU_MIPS32
1341 bool
1342 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1343
1344config CPU_MIPS64
1345 bool
1346 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1347
1348#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001349# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001350#
1351config CPU_MIPSR1
1352 bool
1353 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1354
1355config CPU_MIPSR2
1356 bool
1357 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1358
1359config SYS_SUPPORTS_32BIT_KERNEL
1360 bool
1361config SYS_SUPPORTS_64BIT_KERNEL
1362 bool
1363config CPU_SUPPORTS_32BIT_KERNEL
1364 bool
1365config CPU_SUPPORTS_64BIT_KERNEL
1366 bool
1367
1368menu "Kernel type"
1369
1370choice
1371
1372 prompt "Kernel code model"
1373 help
1374 You should only select this option if you have a workload that
1375 actually benefits from 64-bit processing or if your machine has
1376 large memory. You will only be presented a single option in this
1377 menu if your system does not support both 32-bit and 64-bit kernels.
1378
1379config 32BIT
1380 bool "32-bit kernel"
1381 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1382 select TRAD_SIGNALS
1383 help
1384 Select this option if you want to build a 32-bit kernel.
1385config 64BIT
1386 bool "64-bit kernel"
1387 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1388 help
1389 Select this option if you want to build a 64-bit kernel.
1390
1391endchoice
1392
Linus Torvalds1da177e2005-04-16 15:20:36 -07001393choice
1394 prompt "Kernel page size"
1395 default PAGE_SIZE_4KB
1396
1397config PAGE_SIZE_4KB
1398 bool "4kB"
1399 help
1400 This option select the standard 4kB Linux page size. On some
1401 R3000-family processors this is the only available page size. Using
1402 4kB page size will minimize memory consumption and is therefore
1403 recommended for low memory systems.
1404
1405config PAGE_SIZE_8KB
1406 bool "8kB"
1407 depends on EXPERIMENTAL && CPU_R8000
1408 help
1409 Using 8kB page size will result in higher performance kernel at
1410 the price of higher memory consumption. This option is available
1411 only on the R8000 processor. Not that at the time of this writing
1412 this option is still high experimental; there are also issues with
1413 compatibility of user applications.
1414
1415config PAGE_SIZE_16KB
1416 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001417 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001418 help
1419 Using 16kB page size will result in higher performance kernel at
1420 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001421 all non-R3000 family processors. Note that you will need a suitable
1422 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001423
1424config PAGE_SIZE_64KB
1425 bool "64kB"
1426 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1427 help
1428 Using 64kB page size will result in higher performance kernel at
1429 the price of higher memory consumption. This option is available on
1430 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001431 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001432
1433endchoice
1434
1435config BOARD_SCACHE
1436 bool
1437
1438config IP22_CPU_SCACHE
1439 bool
1440 select BOARD_SCACHE
1441
Chris Dearman9318c512006-06-20 17:15:20 +01001442#
1443# Support for a MIPS32 / MIPS64 style S-caches
1444#
1445config MIPS_CPU_SCACHE
1446 bool
1447 select BOARD_SCACHE
1448
Linus Torvalds1da177e2005-04-16 15:20:36 -07001449config R5000_CPU_SCACHE
1450 bool
1451 select BOARD_SCACHE
1452
1453config RM7000_CPU_SCACHE
1454 bool
1455 select BOARD_SCACHE
1456
1457config SIBYTE_DMA_PAGEOPS
1458 bool "Use DMA to clear/copy pages"
1459 depends on CPU_SB1
1460 help
1461 Instead of using the CPU to zero and copy pages, use a Data Mover
1462 channel. These DMA channels are otherwise unused by the standard
1463 SiByte Linux port. Seems to give a small performance benefit.
1464
1465config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001466 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001467
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001468choice
1469 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001470
1471config MIPS_MT_DISABLED
1472 bool "Disable multithreading support."
1473 help
1474 Use this option if your workload can't take advantage of
1475 MIPS hardware multithreading support. On systems that don't have
1476 the option of an MT-enabled processor this option will be the only
1477 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001478
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001479config MIPS_MT_SMP
1480 bool "Use 1 TC on each available VPE for SMP"
1481 depends on SYS_SUPPORTS_MULTITHREADING
1482 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001483 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001484 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001485 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001486 select SMP
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001487 select SYS_SUPPORTS_SCHED_SMT if SMP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001488 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001489 select SMP_UP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001490 help
1491 This is a kernel model which is also known a VSMP or lately
1492 has been marketesed into SMVP.
1493
Ralf Baechle41c594a2006-04-05 09:45:45 +01001494config MIPS_MT_SMTC
1495 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001496 depends on CPU_MIPS32_R2
1497 #depends on CPU_MIPS64_R2 # once there is hardware ...
1498 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechleea580402007-10-11 23:46:09 +01001499 select GENERIC_CLOCKEVENTS_BROADCAST
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001500 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001501 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001502 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001503 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001504 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001505 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001506 select SMP_UP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001507 help
1508 This is a kernel model which is known a SMTC or lately has been
1509 marketesed into SMVP.
Ralf Baechle41c594a2006-04-05 09:45:45 +01001510
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001511endchoice
1512
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001513config MIPS_MT
1514 bool
1515
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001516config SCHED_SMT
1517 bool "SMT (multithreading) scheduler support"
1518 depends on SYS_SUPPORTS_SCHED_SMT
1519 default n
1520 help
1521 SMT scheduler support improves the CPU scheduler's decision making
1522 when dealing with MIPS MT enabled cores at a cost of slightly
1523 increased overhead in some places. If unsure say N here.
1524
1525config SYS_SUPPORTS_SCHED_SMT
1526 bool
1527
1528
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001529config SYS_SUPPORTS_MULTITHREADING
1530 bool
1531
Ralf Baechlef088fc82006-04-05 09:45:47 +01001532config MIPS_MT_FPAFF
1533 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001534 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001535 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1536
1537config MIPS_VPE_LOADER
1538 bool "VPE loader support."
1539 depends on SYS_SUPPORTS_MULTITHREADING
1540 select CPU_MIPSR2_IRQ_VI
1541 select CPU_MIPSR2_IRQ_EI
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001542 select MIPS_MT
1543 help
1544 Includes a loader for loading an elf relocatable object
1545 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001546
Ralf Baechleac8be952007-01-20 00:18:01 +00001547config MIPS_MT_SMTC_INSTANT_REPLAY
1548 bool "Low-latency Dispatch of Deferred SMTC IPIs"
Ralf Baechle619af722007-03-26 15:13:57 +01001549 depends on MIPS_MT_SMTC && !PREEMPT
Ralf Baechleac8be952007-01-20 00:18:01 +00001550 default y
1551 help
1552 SMTC pseudo-interrupts between TCs are deferred and queued
1553 if the target TC is interrupt-inhibited (IXMT). In the first
1554 SMTC prototypes, these queued IPIs were serviced on return
1555 to user mode, or on entry into the kernel idle loop. The
1556 INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1557 processing, which adds runtime overhead (hence the option to turn
1558 it off), but ensures that IPIs are handled promptly even under
1559 heavy I/O interrupt load.
1560
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001561config MIPS_MT_SMTC_IM_BACKSTOP
1562 bool "Use per-TC register bits as backstop for inhibited IM bits"
1563 depends on MIPS_MT_SMTC
1564 default y
1565 help
1566 To support multiple TC microthreads acting as "CPUs" within
1567 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1568 during interrupt handling. To support legacy drivers and interrupt
1569 controller management code, SMTC has a "backstop" to track and
1570 if necessary restore the interrupt mask. This has some performance
1571 impact on interrupt service overhead. Disable it only if you know
1572 what you are doing.
1573
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001574config MIPS_MT_SMTC_IRQAFF
1575 bool "Support IRQ affinity API"
1576 depends on MIPS_MT_SMTC
1577 default n
1578 help
1579 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1580 for SMTC Linux kernel. Requires platform support, of which
1581 an example can be found in the MIPS kernel i8259 and Malta
1582 platform code. It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY
1583 be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to
1584 interrupt dispatch, and should be used only if you know what
1585 you are doing.
1586
Ralf Baechlee01402b2005-07-14 15:57:16 +00001587config MIPS_VPE_LOADER_TOM
1588 bool "Load VPE program into memory hidden from linux"
1589 depends on MIPS_VPE_LOADER
1590 default y
1591 help
1592 The loader can use memory that is present but has been hidden from
1593 Linux using the kernel command line option "mem=xxMB". It's up to
1594 you to ensure the amount you put in the option and the space your
1595 program requires is less or equal to the amount physically present.
1596
1597# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1598config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001599 bool "Enable support for AP/SP API (RTLX)"
1600 depends on MIPS_VPE_LOADER
1601 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001602
Ralf Baechle26009902006-04-05 09:45:45 +01001603config MIPS_APSP_KSPD
1604 bool "Enable KSPD"
1605 depends on MIPS_VPE_APSP_API
1606 default y
1607 help
1608 KSPD is a kernel daemon that accepts syscall requests from the SP
1609 side, actions them and returns the results. It also handles the
1610 "exit" syscall notifying other kernel modules the SP program is
1611 exiting. You probably want to say yes here.
1612
Linus Torvalds1da177e2005-04-16 15:20:36 -07001613config SB1_PASS_1_WORKAROUNDS
1614 bool
1615 depends on CPU_SB1_PASS_1
1616 default y
1617
1618config SB1_PASS_2_WORKAROUNDS
1619 bool
1620 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1621 default y
1622
1623config SB1_PASS_2_1_WORKAROUNDS
1624 bool
1625 depends on CPU_SB1 && CPU_SB1_PASS_2
1626 default y
1627
1628config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001629 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001630
Linus Torvalds1da177e2005-04-16 15:20:36 -07001631config CPU_HAS_LLSC
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001632 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001633
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001634config CPU_HAS_SMARTMIPS
1635 depends on SYS_SUPPORTS_SMARTMIPS
1636 bool "Support for the SmartMIPS ASE"
1637 help
1638 SmartMIPS is a extension of the MIPS32 architecture aimed at
1639 increased security at both hardware and software level for
1640 smartcards. Enabling this option will allow proper use of the
1641 SmartMIPS instructions by Linux applications. However a kernel with
1642 this option will not work on a MIPS core without SmartMIPS core. If
1643 you don't know you probably don't have SmartMIPS and should say N
1644 here.
1645
Linus Torvalds1da177e2005-04-16 15:20:36 -07001646config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001647 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001648
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001649#
1650# Vectored interrupt mode is an R2 feature
1651#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001652config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001653 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001654
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001655#
1656# Extended interrupt mode is an R2 feature
1657#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001658config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001659 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001660
Linus Torvalds1da177e2005-04-16 15:20:36 -07001661config CPU_HAS_SYNC
1662 bool
1663 depends on !CPU_R3000
1664 default y
1665
Ralf Baechleea580402007-10-11 23:46:09 +01001666config GENERIC_CLOCKEVENTS_BROADCAST
1667 bool
1668
Linus Torvalds1da177e2005-04-16 15:20:36 -07001669#
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +01001670# CPU non-features
1671#
1672config CPU_DADDI_WORKAROUNDS
1673 bool
1674
1675config CPU_R4000_WORKAROUNDS
1676 bool
1677 select CPU_R4400_WORKAROUNDS
1678
1679config CPU_R4400_WORKAROUNDS
1680 bool
1681
1682#
Ralf Baechle797798c2005-08-10 15:17:11 +00001683# Use the generic interrupt handling code in kernel/irq/:
1684#
1685config GENERIC_HARDIRQS
1686 bool
1687 default y
1688
1689config GENERIC_IRQ_PROBE
1690 bool
1691 default y
1692
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001693config IRQ_PER_CPU
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001694 bool
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001695
Ralf Baechle797798c2005-08-10 15:17:11 +00001696#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001697# - Highmem only makes sense for the 32-bit kernel.
1698# - The current highmem code will only work properly on physically indexed
1699# caches such as R3000, SB1, R7000 or those that look like they're virtually
1700# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1701# moment we protect the user and offer the highmem option only on machines
1702# where it's known to be safe. This will not offer highmem on a few systems
1703# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1704# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001705# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1706# know they might have memory configurations that could make use of highmem
1707# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001708#
1709config HIGHMEM
1710 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001711 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1712
1713config CPU_SUPPORTS_HIGHMEM
1714 bool
1715
1716config SYS_SUPPORTS_HIGHMEM
1717 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001718
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001719config SYS_SUPPORTS_SMARTMIPS
1720 bool
1721
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001722config ARCH_FLATMEM_ENABLE
1723 def_bool y
1724 depends on !NUMA
1725
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001726config ARCH_DISCONTIGMEM_ENABLE
1727 bool
1728 default y if SGI_IP27
1729 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001730 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001731 for architectures which are either NUMA (Non-Uniform Memory Access)
1732 or have huge holes in the physical address space for other reasons.
1733 See <file:Documentation/vm/numa> for more.
1734
Ralf Baechlecce335a2007-11-03 02:05:43 +00001735config ARCH_POPULATES_NODE_MAP
1736 def_bool y
1737
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001738config ARCH_SPARSEMEM_ENABLE
1739 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001740 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001741
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001742config NUMA
1743 bool "NUMA Support"
1744 depends on SYS_SUPPORTS_NUMA
1745 help
1746 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1747 Access). This option improves performance on systems with more
1748 than two nodes; on two node systems it is generally better to
1749 leave it disabled; on single node systems disable this option
1750 disabled.
1751
1752config SYS_SUPPORTS_NUMA
1753 bool
1754
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07001755config NODES_SHIFT
1756 int
1757 default "6"
1758 depends on NEED_MULTIPLE_NODES
1759
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001760source "mm/Kconfig"
1761
Linus Torvalds1da177e2005-04-16 15:20:36 -07001762config SMP
1763 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01001764 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01001765 select IRQ_PER_CPU
Ralf Baechlee73ea272006-06-04 11:51:46 +01001766 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07001767 This enables support for systems with more than one CPU. If you have
1768 a system with only one CPU, like most personal computers, say N. If
1769 you have a system with more than one CPU, say Y.
1770
1771 If you say N here, the kernel will run on single and multiprocessor
1772 machines, but will use only one CPU of a multiprocessor machine. If
1773 you say Y here, the kernel will run on many, but not all,
1774 singleprocessor machines. On a singleprocessor machine, the kernel
1775 will run faster if you say N here.
1776
1777 People using multiprocessor machines who say Y here should also say
1778 Y to "Enhanced Real Time Clock Support", below.
1779
1780 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1781 available at <http://www.tldp.org/docs.html#howto>.
1782
1783 If you don't know what to do here, say N.
1784
Ralf Baechle87353d82007-11-19 12:23:51 +00001785config SMP_UP
1786 bool
1787
Ralf Baechlee73ea272006-06-04 11:51:46 +01001788config SYS_SUPPORTS_SMP
1789 bool
1790
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001791config NR_CPUS_DEFAULT_1
1792 bool
1793
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001794config NR_CPUS_DEFAULT_2
1795 bool
1796
1797config NR_CPUS_DEFAULT_4
1798 bool
1799
1800config NR_CPUS_DEFAULT_8
1801 bool
1802
1803config NR_CPUS_DEFAULT_16
1804 bool
1805
1806config NR_CPUS_DEFAULT_32
1807 bool
1808
1809config NR_CPUS_DEFAULT_64
1810 bool
1811
Linus Torvalds1da177e2005-04-16 15:20:36 -07001812config NR_CPUS
1813 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001814 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07001815 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001816 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001817 default "2" if NR_CPUS_DEFAULT_2
1818 default "4" if NR_CPUS_DEFAULT_4
1819 default "8" if NR_CPUS_DEFAULT_8
1820 default "16" if NR_CPUS_DEFAULT_16
1821 default "32" if NR_CPUS_DEFAULT_32
1822 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07001823 help
1824 This allows you to specify the maximum number of CPUs which this
1825 kernel will support. The maximum supported value is 32 for 32-bit
1826 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001827 sense is 1 for Qemu (useful only for kernel debugging purposes)
1828 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001829
1830 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001831 approximately eight kilobytes to the kernel image. For best
1832 performance should round up your number of processors to the next
1833 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001834
Atsushi Nemotoc4eee282007-11-12 01:05:16 +09001835source "kernel/time/Kconfig"
1836
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001837#
1838# Timer Interrupt Frequency Configuration
1839#
1840
1841choice
1842 prompt "Timer frequency"
1843 default HZ_250
1844 help
1845 Allows the configuration of the timer frequency.
1846
1847 config HZ_48
1848 bool "48 HZ" if SYS_SUPPORTS_48HZ
1849
1850 config HZ_100
1851 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1852
1853 config HZ_128
1854 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1855
1856 config HZ_250
1857 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1858
1859 config HZ_256
1860 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1861
1862 config HZ_1000
1863 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1864
1865 config HZ_1024
1866 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1867
1868endchoice
1869
1870config SYS_SUPPORTS_48HZ
1871 bool
1872
1873config SYS_SUPPORTS_100HZ
1874 bool
1875
1876config SYS_SUPPORTS_128HZ
1877 bool
1878
1879config SYS_SUPPORTS_250HZ
1880 bool
1881
1882config SYS_SUPPORTS_256HZ
1883 bool
1884
1885config SYS_SUPPORTS_1000HZ
1886 bool
1887
1888config SYS_SUPPORTS_1024HZ
1889 bool
1890
1891config SYS_SUPPORTS_ARBIT_HZ
1892 bool
1893 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1894 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1895 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1896 !SYS_SUPPORTS_1024HZ
1897
1898config HZ
1899 int
1900 default 48 if HZ_48
1901 default 100 if HZ_100
1902 default 128 if HZ_128
1903 default 250 if HZ_250
1904 default 256 if HZ_256
1905 default 1000 if HZ_1000
1906 default 1024 if HZ_1024
1907
Ralf Baechlee80de852005-07-11 20:45:51 +00001908source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001909
Linus Torvalds1da177e2005-04-16 15:20:36 -07001910config MIPS_INSANE_LARGE
1911 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001912 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001913 help
1914 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1915 previous 64-bit processors which only supported 40 bit / 1TB. If you
1916 need processes of more than 1TB virtual address space, say Y here.
1917 This will result in additional memory usage, so it is not
1918 recommended for normal users.
1919
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001920config KEXEC
1921 bool "Kexec system call (EXPERIMENTAL)"
1922 depends on EXPERIMENTAL
1923 help
1924 kexec is a system call that implements the ability to shutdown your
1925 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02001926 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001927 you can start any kernel with it, not just Linux.
1928
Matt LaPlante01dd2fb2007-10-20 01:34:40 +02001929 The name comes from the similarity to the exec system call.
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001930
1931 It is an ongoing process to be certain the hardware in a machine
1932 is properly shutdown, so do not be surprised if this code does not
1933 initially work for you. It may help to enable device hotplugging
1934 support. As of this writing the exact hardware interface is
1935 strongly in flux, so no good recommendation can be made.
1936
1937config SECCOMP
1938 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01001939 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001940 default y
1941 help
1942 This kernel feature is useful for number crunching applications
1943 that may need to compute untrusted bytecode during their
1944 execution. By using pipes or other transports made available to
1945 the process as file descriptors supporting the read/write
1946 syscalls, it's possible to isolate those applications in
1947 their own address space using seccomp. Once seccomp is
1948 enabled via /proc/<pid>/seccomp, it cannot be disabled
1949 and the task is only allowed to execute a few safe syscalls
1950 defined by each seccomp mode.
1951
1952 If unsure, say Y. Only embedded should say N here.
1953
Ralf Baechle5e83d432005-10-29 19:32:41 +01001954endmenu
1955
Linus Torvalds1da177e2005-04-16 15:20:36 -07001956config RWSEM_GENERIC_SPINLOCK
1957 bool
1958 default y
1959
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09001960config LOCKDEP_SUPPORT
1961 bool
1962 default y
1963
1964config STACKTRACE_SUPPORT
1965 bool
1966 default y
1967
Ralf Baechleb6c35392005-11-25 11:35:40 +00001968source "init/Kconfig"
1969
Linus Torvalds1da177e2005-04-16 15:20:36 -07001970menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1971
Ralf Baechle5e83d432005-10-29 19:32:41 +01001972config HW_HAS_EISA
1973 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001974config HW_HAS_PCI
1975 bool
1976
1977config PCI
1978 bool "Support for PCI controller"
1979 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01001980 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07001981 help
1982 Find out whether you have a PCI motherboard. PCI is the name of a
1983 bus system, i.e. the way the CPU talks to the other stuff inside
1984 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1985 say Y, otherwise N.
1986
1987 The PCI-HOWTO, available from
1988 <http://www.tldp.org/docs.html#howto>, contains valuable
1989 information about which PCI hardware does work under Linux and which
1990 doesn't.
1991
1992config PCI_DOMAINS
1993 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001994
1995source "drivers/pci/Kconfig"
1996
1997#
1998# ISA support is now enabled via select. Too many systems still have the one
1999# or other ISA chip on the board that users don't know about so don't expect
2000# users to choose the right thing ...
2001#
2002config ISA
2003 bool
2004
2005config EISA
2006 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002007 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002008 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00002009 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002010 ---help---
2011 The Extended Industry Standard Architecture (EISA) bus was
2012 developed as an open alternative to the IBM MicroChannel bus.
2013
2014 The EISA bus provided some of the features of the IBM MicroChannel
2015 bus while maintaining backward compatibility with cards made for
2016 the older ISA bus. The EISA bus saw limited use between 1988 and
2017 1995 when it was made obsolete by the PCI bus.
2018
2019 Say Y here if you are building a kernel for an EISA-based machine.
2020
2021 Otherwise, say N.
2022
2023source "drivers/eisa/Kconfig"
2024
2025config TC
2026 bool "TURBOchannel support"
2027 depends on MACH_DECSTATION
2028 help
2029 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2030 processors. Documentation on writing device drivers for TurboChannel
2031 is available at:
2032 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
2033
2034#config ACCESSBUS
2035# bool "Access.Bus support"
2036# depends on TC
2037
2038config MMU
2039 bool
2040 default y
2041
Ralf Baechled865bea2007-10-11 23:46:10 +01002042config I8253
2043 bool
2044
Ralf Baechlecce335a2007-11-03 02:05:43 +00002045config ZONE_DMA32
2046 bool
2047
Linus Torvalds1da177e2005-04-16 15:20:36 -07002048source "drivers/pcmcia/Kconfig"
2049
2050source "drivers/pci/hotplug/Kconfig"
2051
2052endmenu
2053
2054menu "Executable file formats"
2055
2056source "fs/Kconfig.binfmt"
2057
2058config TRAD_SIGNALS
2059 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002060
Linus Torvalds1da177e2005-04-16 15:20:36 -07002061config BINFMT_IRIX
2062 bool "Include IRIX binary compatibility"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002063 depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -07002064
2065config MIPS32_COMPAT
2066 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002067 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002068 help
2069 Select this option if you want Linux/MIPS 32-bit binary
2070 compatibility. Since all software available for Linux/MIPS is
2071 currently 32-bit you should say Y here.
2072
2073config COMPAT
2074 bool
2075 depends on MIPS32_COMPAT
2076 default y
2077
Atsushi Nemoto05e43962006-11-07 18:02:44 +09002078config SYSVIPC_COMPAT
2079 bool
2080 depends on COMPAT && SYSVIPC
2081 default y
2082
Linus Torvalds1da177e2005-04-16 15:20:36 -07002083config MIPS32_O32
2084 bool "Kernel support for o32 binaries"
2085 depends on MIPS32_COMPAT
2086 help
2087 Select this option if you want to run o32 binaries. These are pure
2088 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2089 existing binaries are in this format.
2090
2091 If unsure, say Y.
2092
2093config MIPS32_N32
2094 bool "Kernel support for n32 binaries"
2095 depends on MIPS32_COMPAT
2096 help
2097 Select this option if you want to run n32 binaries. These are
2098 64-bit binaries using 32-bit quantities for addressing and certain
2099 data that would normally be 64-bit. They are used in special
2100 cases.
2101
2102 If unsure, say N.
2103
2104config BINFMT_ELF32
2105 bool
2106 default y if MIPS32_O32 || MIPS32_N32
2107
Ralf Baechle21162452007-02-09 17:08:58 +00002108endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07002109
Ralf Baechle21162452007-02-09 17:08:58 +00002110menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002111
Ralf Baechle21162452007-02-09 17:08:58 +00002112source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002113
Linus Torvalds1da177e2005-04-16 15:20:36 -07002114endmenu
2115
Sam Ravnborgd5950b42005-07-11 21:03:49 -07002116source "net/Kconfig"
2117
Linus Torvalds1da177e2005-04-16 15:20:36 -07002118source "drivers/Kconfig"
2119
2120source "fs/Kconfig"
2121
Mathieu Desnoyers09caded2007-10-18 23:41:05 -07002122source "kernel/Kconfig.instrumentation"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002123
Linus Torvalds1da177e2005-04-16 15:20:36 -07002124source "arch/mips/Kconfig.debug"
2125
2126source "security/Kconfig"
2127
2128source "crypto/Kconfig"
2129
2130source "lib/Kconfig"