blob: b905744d79153be3d3170e9f81ce4e0805974d71 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config MIPS
2 bool
3 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +01004 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -05005 select HAVE_OPROFILE
Jason Wessel88547002008-07-29 15:58:53 -05006 select HAVE_ARCH_KGDB
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 # Horrible source of confusion. Die, die, die ...
8 select EMBEDDED
Ralf Baechle90b02342007-10-11 23:46:09 +01009 select RTC_LIB
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Linus Torvalds1da177e2005-04-16 15:20:36 -070011mainmenu "Linux/MIPS Kernel Configuration"
12
Linus Torvalds1da177e2005-04-16 15:20:36 -070013menu "Machine selection"
14
Christoph Lameter5ac6da62007-02-10 01:43:14 -080015config ZONE_DMA
16 bool
Christoph Lameter5ac6da62007-02-10 01:43:14 -080017
Ralf Baechle5e83d432005-10-29 19:32:41 +010018choice
19 prompt "System type"
20 default SGI_IP22
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Yoichi Yuasac3543e22007-05-11 20:44:30 +090022config MACH_ALCHEMY
23 bool "Alchemy processor based machines"
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
Ralf Baechle35189fa2006-06-18 16:39:46 +010025config BASLER_EXCITE
Thomas Koellerbe915892007-02-23 01:40:34 +010026 bool "Basler eXcite smart camera"
Ralf Baechle42f77542007-10-18 17:48:11 +010027 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000028 select CSRC_R4K
Ralf Baechle35189fa2006-06-18 16:39:46 +010029 select DMA_COHERENT
30 select HW_HAS_PCI
31 select IRQ_CPU
32 select IRQ_CPU_RM7K
33 select IRQ_CPU_RM9K
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +020034 select MIPS_RM9122
Ralf Baechle35189fa2006-06-18 16:39:46 +010035 select SYS_HAS_CPU_RM9000
36 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle35189fa2006-06-18 16:39:46 +010037 select SYS_SUPPORTS_BIG_ENDIAN
38 help
39 The eXcite is a smart camera platform manufactured by
Thomas Koellerbe915892007-02-23 01:40:34 +010040 Basler Vision Technologies AG.
Ralf Baechle35189fa2006-06-18 16:39:46 +010041
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020042config BCM47XX
43 bool "BCM47XX based boards"
Ralf Baechle42f77542007-10-18 17:48:11 +010044 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000045 select CSRC_R4K
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020046 select DMA_NONCOHERENT
47 select HW_HAS_PCI
48 select IRQ_CPU
49 select SYS_HAS_CPU_MIPS32_R1
50 select SYS_SUPPORTS_32BIT_KERNEL
51 select SYS_SUPPORTS_LITTLE_ENDIAN
52 select SSB
53 select SSB_DRIVER_MIPS
Aurelien Jarno2f02c152007-12-11 11:30:34 +010054 select SSB_DRIVER_EXTIF
Aurelien Jarnob06f3e12008-10-14 11:44:26 +020055 select SSB_EMBEDDED
Aurelien Jarno2f02c152007-12-11 11:30:34 +010056 select SSB_PCICORE_HOSTMODE if PCI
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020057 select GENERIC_GPIO
Aurelien Jarno25e5fb92007-09-25 15:41:24 +020058 select SYS_HAS_EARLY_PRINTK
59 select CFE
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020060 help
61 Support for BCM47XX based boards
62
Linus Torvalds1da177e2005-04-16 15:20:36 -070063config MIPS_COBALT
Martin Michlmayr3fa986f2006-05-09 23:34:53 +020064 bool "Cobalt Server"
Ralf Baechle42f77542007-10-18 17:48:11 +010065 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000066 select CSRC_R4K
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +090067 select CEVT_GT641XX
Linus Torvalds1da177e2005-04-16 15:20:36 -070068 select DMA_NONCOHERENT
69 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +010070 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -070071 select I8259
72 select IRQ_CPU
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +090073 select IRQ_GT641XX
Yoichi Yuasa252161e2007-03-14 21:51:26 +090074 select PCI_GT64XXX_PCI0
Ralf Baechle7cf80532005-10-20 22:33:09 +010075 select SYS_HAS_CPU_NEVADA
Yoichi Yuasa0a22e0d2007-03-02 12:42:33 +090076 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -070077 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli0e8774b2008-01-15 19:42:57 +010078 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +010079 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +090080 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -070081
82config MACH_DECSTATION
Martin Michlmayr3fa986f2006-05-09 23:34:53 +020083 bool "DECstations"
Linus Torvalds1da177e2005-04-16 15:20:36 -070084 select BOOT_ELF32
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +090085 select CEVT_DS1287
Ralf Baechle42f77542007-10-18 17:48:11 +010086 select CEVT_R4K
Yoichi Yuasa42474172008-04-24 09:48:40 +090087 select CSRC_IOASIC
Ralf Baechle940f6b42007-11-24 22:33:28 +000088 select CSRC_R4K
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +010089 select CPU_DADDI_WORKAROUNDS if 64BIT
90 select CPU_R4000_WORKAROUNDS if 64BIT
91 select CPU_R4400_WORKAROUNDS if 64BIT
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
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100125 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100126 select GENERIC_ISA_DMA
Thomas Bogendoerferea202c62007-08-25 11:01:50 +0200127 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100128 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100129 select I8259
130 select ISA
Ralf Baechle7cf80532005-10-20 22:33:09 +0100131 select SYS_HAS_CPU_R4X00
Ralf Baechle5e83d432005-10-29 19:32:41 +0100132 select SYS_SUPPORTS_32BIT_KERNEL
133 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900134 select SYS_SUPPORTS_100HZ
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900135 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700136 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100137 This a family of machines based on the MIPS R4030 chipset which was
138 used by several vendors to build RISC/os and Windows NT workstations.
139 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
140 Olivetti M700-10 workstations.
141
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200142config LASAT
143 bool "LASAT Networks platforms"
Ralf Baechle42f77542007-10-18 17:48:11 +0100144 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000145 select CSRC_R4K
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200146 select DMA_NONCOHERENT
147 select SYS_HAS_EARLY_PRINTK
148 select HW_HAS_PCI
Ralf Baechlea5ccfe52007-10-14 23:49:33 +0100149 select IRQ_CPU
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200150 select PCI_GT64XXX_PCI0
151 select MIPS_NILE4
152 select R5000_CPU_SCACHE
153 select SYS_HAS_CPU_R5000
154 select SYS_SUPPORTS_32BIT_KERNEL
155 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
156 select SYS_SUPPORTS_LITTLE_ENDIAN
157 select GENERIC_HARDIRQS_NO__DO_IRQ
158
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900159config LEMOTE_FULONG
160 bool "Lemote Fulong mini-PC"
161 select ARCH_SPARSEMEM_ENABLE
Ralf Baechle42f77542007-10-18 17:48:11 +0100162 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000163 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900164 select SYS_HAS_CPU_LOONGSON2
165 select DMA_NONCOHERENT
166 select BOOT_ELF32
167 select BOARD_SCACHE
168 select HAVE_STD_PC_SERIAL_PORT
169 select HW_HAS_PCI
170 select I8259
171 select ISA
172 select IRQ_CPU
173 select SYS_SUPPORTS_32BIT_KERNEL
174 select SYS_SUPPORTS_64BIT_KERNEL
175 select SYS_SUPPORTS_LITTLE_ENDIAN
176 select SYS_SUPPORTS_HIGHMEM
177 select SYS_HAS_EARLY_PRINTK
178 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle23dd6d32007-08-24 16:49:23 +0100179 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900180 select CPU_HAS_WB
181 help
182 Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and
183 an FPGA northbridge
184
Linus Torvalds1da177e2005-04-16 15:20:36 -0700185config MIPS_MALTA
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200186 bool "MIPS Malta board"
Ralf Baechle61ed2422005-09-15 08:52:34 +0000187 select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188 select BOOT_ELF32
Ralf Baechlefa71c962008-01-29 10:15:00 +0000189 select BOOT_RAW
Ralf Baechle42f77542007-10-18 17:48:11 +0100190 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000191 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700192 select DMA_NONCOHERENT
193 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000194 select IRQ_CPU
Ralf Baechle39b8d522008-04-28 17:14:26 +0100195 select IRQ_GIC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700196 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100197 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700198 select I8259
Ralf Baechle5e83d432005-10-29 19:32:41 +0100199 select MIPS_BOARDS_GEN
200 select MIPS_BONITO64
Chris Dearman9318c512006-06-20 17:15:20 +0100201 select MIPS_CPU_SCACHE
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900202 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100203 select MIPS_MSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700204 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100205 select SYS_HAS_CPU_MIPS32_R1
206 select SYS_HAS_CPU_MIPS32_R2
207 select SYS_HAS_CPU_MIPS64_R1
208 select SYS_HAS_CPU_NEVADA
209 select SYS_HAS_CPU_RM7000
Ralf Baechle36a88532007-03-01 11:56:43 +0000210 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700211 select SYS_SUPPORTS_32BIT_KERNEL
212 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100213 select SYS_SUPPORTS_BIG_ENDIAN
214 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechle4a16ff42008-10-04 00:06:29 +0100215 select SYS_SUPPORTS_MIPS_CMP if BROKEN # because SYNC_R4K is broken
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100216 select SYS_SUPPORTS_MULTITHREADING
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100217 select SYS_SUPPORTS_SMARTMIPS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700218 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000219 This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700220 board.
221
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100222config MIPS_SIM
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200223 bool 'MIPS simulator (MIPSsim)'
Ralf Baechle42f77542007-10-18 17:48:11 +0100224 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000225 select CSRC_R4K
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100226 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000227 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100228 select IRQ_CPU
Marc St-Jean9267a302007-06-14 15:55:31 -0600229 select BOOT_RAW
Ralf Baechle7cf80532005-10-20 22:33:09 +0100230 select SYS_HAS_CPU_MIPS32_R1
231 select SYS_HAS_CPU_MIPS32_R2
Ralf Baechle36a88532007-03-01 11:56:43 +0000232 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100233 select SYS_SUPPORTS_32BIT_KERNEL
234 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlef6e23732007-07-10 17:32:56 +0100235 select SYS_SUPPORTS_MULTITHREADING
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100236 select SYS_SUPPORTS_LITTLE_ENDIAN
237 help
238 This option enables support for MIPS Technologies MIPSsim software
239 emulator.
240
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900241config MARKEINS
242 bool "NEC EMMA2RH Mark-eins"
Ralf Baechle42f77542007-10-18 17:48:11 +0100243 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000244 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900245 select DMA_NONCOHERENT
246 select HW_HAS_PCI
247 select IRQ_CPU
248 select SWAP_IO_SPACE
249 select SYS_SUPPORTS_32BIT_KERNEL
250 select SYS_SUPPORTS_BIG_ENDIAN
251 select SYS_SUPPORTS_LITTLE_ENDIAN
252 select SYS_HAS_CPU_R5000
253 help
254 This enables support for the R5432-based NEC Mark-eins
255 boards with R5500 CPU.
256
Ralf Baechle5e83d432005-10-29 19:32:41 +0100257config MACH_VR41XX
Yoichi Yuasa74142d62007-04-26 19:45:09 +0900258 bool "NEC VR4100 series based machines"
Ralf Baechle42f77542007-10-18 17:48:11 +0100259 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000260 select CSRC_R4K
Ralf Baechle7cf80532005-10-20 22:33:09 +0100261 select SYS_HAS_CPU_VR41XX
Atsushi Nemoto9fd32cf2006-12-08 01:55:07 +0900262 select GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100263
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900264config PNX8550_JBS
Daniel Lairda92b0582008-03-06 09:07:18 +0000265 bool "NXP PNX8550 based JBS board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900266 select PNX8550
267 select SYS_SUPPORTS_LITTLE_ENDIAN
268
269config PNX8550_STB810
Daniel Lairda92b0582008-03-06 09:07:18 +0000270 bool "NXP PNX8550 based STB810 board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900271 select PNX8550
272 select SYS_SUPPORTS_LITTLE_ENDIAN
273
Marc St-Jean9267a302007-06-14 15:55:31 -0600274config PMC_MSP
275 bool "PMC-Sierra MSP chipsets"
276 depends on EXPERIMENTAL
277 select DMA_NONCOHERENT
278 select SWAP_IO_SPACE
279 select NO_EXCEPT_FILL
280 select BOOT_RAW
281 select SYS_HAS_CPU_MIPS32_R1
282 select SYS_HAS_CPU_MIPS32_R2
283 select SYS_SUPPORTS_32BIT_KERNEL
284 select SYS_SUPPORTS_BIG_ENDIAN
Marc St-Jean9267a302007-06-14 15:55:31 -0600285 select IRQ_CPU
286 select SERIAL_8250
287 select SERIAL_8250_CONSOLE
288 help
289 This adds support for the PMC-Sierra family of Multi-Service
290 Processor System-On-A-Chips. These parts include a number
291 of integrated peripherals, interfaces and DSPs in addition to
292 a variety of MIPS cores.
293
Ralf Baechle5e83d432005-10-29 19:32:41 +0100294config PMC_YOSEMITE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200295 bool "PMC-Sierra Yosemite eval board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100296 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000297 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100298 select DMA_COHERENT
299 select HW_HAS_PCI
300 select IRQ_CPU
301 select IRQ_CPU_RM7K
302 select IRQ_CPU_RM9K
303 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100304 select SYS_HAS_CPU_RM9000
Ralf Baechle36a88532007-03-01 11:56:43 +0000305 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100306 select SYS_SUPPORTS_32BIT_KERNEL
307 select SYS_SUPPORTS_64BIT_KERNEL
308 select SYS_SUPPORTS_BIG_ENDIAN
309 select SYS_SUPPORTS_HIGHMEM
Ralf Baechlee73ea272006-06-04 11:51:46 +0100310 select SYS_SUPPORTS_SMP
Ralf Baechle5e83d432005-10-29 19:32:41 +0100311 help
312 Yosemite is an evaluation board for the RM9000x2 processor
313 manufactured by PMC-Sierra.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700314
Linus Torvalds1da177e2005-04-16 15:20:36 -0700315config SGI_IP22
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200316 bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700317 select ARC
318 select ARC32
319 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100320 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000321 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100322 select DEFAULT_SGI_PARTITION
Linus Torvalds1da177e2005-04-16 15:20:36 -0700323 select DMA_NONCOHERENT
Ralf Baechle5e83d432005-10-29 19:32:41 +0100324 select HW_HAS_EISA
Ralf Baechled865bea2007-10-11 23:46:10 +0100325 select I8253
Thomas Bogendoerfer68de4802007-11-23 20:34:16 +0100326 select I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700327 select IP22_CPU_SCACHE
328 select IRQ_CPU
Ralf Baechleaa414df2006-11-30 01:14:51 +0000329 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100330 select SGI_HAS_DS1286
331 select SGI_HAS_I8042
332 select SGI_HAS_INDYDOG
Thomas Bogendoerfer36e5c212008-07-16 14:06:15 +0200333 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100334 select SGI_HAS_SEEQ
335 select SGI_HAS_WD93
336 select SGI_HAS_ZILOG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700337 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100338 select SYS_HAS_CPU_R4X00
339 select SYS_HAS_CPU_R5000
Ralf Baechle36a88532007-03-01 11:56:43 +0000340 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700341 select SYS_SUPPORTS_32BIT_KERNEL
342 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100343 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700344 help
345 This are the SGI Indy, Challenge S and Indigo2, as well as certain
346 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
347 that runs on these, say Y here.
348
349config SGI_IP27
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200350 bool "SGI IP27 (Origin200/2000)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700351 select ARC
352 select ARC64
Ralf Baechle5e83d432005-10-29 19:32:41 +0100353 select BOOT_ELF64
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100354 select DEFAULT_SGI_PARTITION
Linus Torvalds1da177e2005-04-16 15:20:36 -0700355 select DMA_IP27
Ralf Baechle36a88532007-03-01 11:56:43 +0000356 select SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357 select HW_HAS_PCI
Ralf Baechle130e2fb2007-02-06 16:53:15 +0000358 select NR_CPUS_DEFAULT_64
Ralf Baechle7cf80532005-10-20 22:33:09 +0100359 select SYS_HAS_CPU_R10000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700360 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100361 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechled8cb4e12006-06-11 23:03:08 +0100362 select SYS_SUPPORTS_NUMA
Ralf Baechle1a5c5de2006-11-02 17:23:33 +0000363 select SYS_SUPPORTS_SMP
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100364 select GENERIC_HARDIRQS_NO__DO_IRQ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700365 help
366 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
367 workstations. To compile a Linux kernel that runs on these, say Y
368 here.
369
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100370config SGI_IP28
371 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
372 depends on EXPERIMENTAL
373 select ARC
374 select ARC64
375 select BOOT_ELF64
376 select CEVT_R4K
377 select CSRC_R4K
378 select DEFAULT_SGI_PARTITION
379 select DMA_NONCOHERENT
380 select GENERIC_ISA_DMA_SUPPORT_BROKEN
381 select IRQ_CPU
382 select HW_HAS_EISA
383 select I8253
384 select I8259
385 select SGI_HAS_DS1286
386 select SGI_HAS_I8042
387 select SGI_HAS_INDYDOG
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +0200388 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100389 select SGI_HAS_SEEQ
390 select SGI_HAS_WD93
391 select SGI_HAS_ZILOG
392 select SWAP_IO_SPACE
393 select SYS_HAS_CPU_R10000
394 select SYS_HAS_EARLY_PRINTK
395 select SYS_SUPPORTS_64BIT_KERNEL
396 select SYS_SUPPORTS_BIG_ENDIAN
397 help
398 This is the SGI Indigo2 with R10000 processor. To compile a Linux
399 kernel that runs on these, say Y here.
400
Linus Torvalds1da177e2005-04-16 15:20:36 -0700401config SGI_IP32
Ralf Baechlecfd2afc2007-07-10 17:33:00 +0100402 bool "SGI IP32 (O2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700403 select ARC
404 select ARC32
405 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100406 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000407 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700408 select DMA_NONCOHERENT
409 select HW_HAS_PCI
Ralf Baechledd67b152007-10-14 14:02:26 +0100410 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700411 select R5000_CPU_SCACHE
412 select RM7000_CPU_SCACHE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100413 select SYS_HAS_CPU_R5000
414 select SYS_HAS_CPU_R10000 if BROKEN
415 select SYS_HAS_CPU_RM7000
Ralf Baechledd2f18f2006-01-19 14:55:42 +0000416 select SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700417 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100418 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700419 help
420 If you want this kernel to run on SGI O2 workstation, say Y here.
421
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900422config SIBYTE_CRHINE
423 bool "Sibyte BCM91120C-CRhine"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100424 depends on EXPERIMENTAL
425 select BOOT_ELF32
426 select DMA_COHERENT
427 select SIBYTE_BCM1120
428 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100429 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100430 select SYS_SUPPORTS_BIG_ENDIAN
431 select SYS_SUPPORTS_LITTLE_ENDIAN
432
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900433config SIBYTE_CARMEL
434 bool "Sibyte BCM91120x-Carmel"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100435 depends on EXPERIMENTAL
436 select BOOT_ELF32
437 select DMA_COHERENT
438 select SIBYTE_BCM1120
439 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100440 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100441 select SYS_SUPPORTS_BIG_ENDIAN
442 select SYS_SUPPORTS_LITTLE_ENDIAN
443
444config SIBYTE_CRHONE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200445 bool "Sibyte BCM91125C-CRhone"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100446 depends on EXPERIMENTAL
447 select BOOT_ELF32
448 select DMA_COHERENT
449 select SIBYTE_BCM1125
450 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100451 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100452 select SYS_SUPPORTS_BIG_ENDIAN
453 select SYS_SUPPORTS_HIGHMEM
454 select SYS_SUPPORTS_LITTLE_ENDIAN
455
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900456config SIBYTE_RHONE
457 bool "Sibyte BCM91125E-Rhone"
458 depends on EXPERIMENTAL
459 select BOOT_ELF32
460 select DMA_COHERENT
461 select SIBYTE_BCM1125H
462 select SWAP_IO_SPACE
463 select SYS_HAS_CPU_SB1
464 select SYS_SUPPORTS_BIG_ENDIAN
465 select SYS_SUPPORTS_LITTLE_ENDIAN
466
467config SIBYTE_SWARM
468 bool "Sibyte BCM91250A-SWARM"
469 select BOOT_ELF32
470 select DMA_COHERENT
471 select NR_CPUS_DEFAULT_2
472 select SIBYTE_SB1250
473 select SWAP_IO_SPACE
474 select SYS_HAS_CPU_SB1
475 select SYS_SUPPORTS_BIG_ENDIAN
476 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900477 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000478 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900479
480config SIBYTE_LITTLESUR
481 bool "Sibyte BCM91250C2-LittleSur"
482 depends on EXPERIMENTAL
483 select BOOT_ELF32
484 select DMA_COHERENT
485 select NR_CPUS_DEFAULT_2
486 select SIBYTE_SB1250
487 select SWAP_IO_SPACE
488 select SYS_HAS_CPU_SB1
489 select SYS_SUPPORTS_BIG_ENDIAN
490 select SYS_SUPPORTS_HIGHMEM
491 select SYS_SUPPORTS_LITTLE_ENDIAN
492
493config SIBYTE_SENTOSA
494 bool "Sibyte BCM91250E-Sentosa"
495 depends on EXPERIMENTAL
496 select BOOT_ELF32
497 select DMA_COHERENT
498 select NR_CPUS_DEFAULT_2
499 select SIBYTE_SB1250
500 select SWAP_IO_SPACE
501 select SYS_HAS_CPU_SB1
502 select SYS_SUPPORTS_BIG_ENDIAN
503 select SYS_SUPPORTS_LITTLE_ENDIAN
504
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900505config SIBYTE_BIGSUR
506 bool "Sibyte BCM91480B-BigSur"
507 select BOOT_ELF32
508 select DMA_COHERENT
509 select NR_CPUS_DEFAULT_4
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900510 select SIBYTE_BCM1x80
511 select SWAP_IO_SPACE
512 select SYS_HAS_CPU_SB1
513 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle651194f2007-11-01 21:55:39 +0000514 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900515 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000516 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900517
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100518config SNI_RM
519 bool "SNI RM200/300/400"
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200520 select ARC if CPU_LITTLE_ENDIAN
521 select ARC32 if CPU_LITTLE_ENDIAN
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +0100522 select SNIPROM if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100523 select ARCH_MAY_HAVE_PC_FDC
524 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100525 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000526 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100527 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100528 select DMA_NONCOHERENT
529 select GENERIC_ISA_DMA
Ralf Baechle5e83d432005-10-29 19:32:41 +0100530 select HW_HAS_EISA
531 select HW_HAS_PCI
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100532 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100533 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100534 select I8259
535 select ISA
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200536 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100537 select SYS_HAS_CPU_R4X00
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200538 select SYS_HAS_CPU_R5000
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100539 select SYS_HAS_CPU_R10000
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200540 select R5000_CPU_SCACHE
Ralf Baechle36a88532007-03-01 11:56:43 +0000541 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700542 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100543 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200544 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100545 select SYS_SUPPORTS_HIGHMEM
546 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700547 help
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100548 The SNI RM200/300/400 are MIPS-based machines manufactured by
549 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Ralf Baechle5e83d432005-10-29 19:32:41 +0100550 Technology and now in turn merged with Fujitsu. Say Y here to
551 support this machine type.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700552
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900553config MACH_TX39XX
554 bool "Toshiba TX39 series based machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100555
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900556config MACH_TX49XX
557 bool "Toshiba TX49 series based machines"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000558
Ralf Baechle73b43902008-07-16 16:12:25 +0100559config MIKROTIK_RB532
560 bool "Mikrotik RB532 boards"
561 select CEVT_R4K
562 select CSRC_R4K
563 select DMA_NONCOHERENT
564 select GENERIC_HARDIRQS_NO__DO_IRQ
565 select HW_HAS_PCI
566 select IRQ_CPU
567 select SYS_HAS_CPU_MIPS32_R1
568 select SYS_SUPPORTS_32BIT_KERNEL
569 select SYS_SUPPORTS_LITTLE_ENDIAN
570 select SWAP_IO_SPACE
571 select BOOT_RAW
Florian Fainellid888e252008-08-23 18:54:34 +0200572 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle73b43902008-07-16 16:12:25 +0100573 help
574 Support the Mikrotik(tm) RouterBoard 532 series,
575 based on the IDT RC32434 SoC.
576
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900577config WR_PPMC
578 bool "Wind River PPMC board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100579 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000580 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900581 select IRQ_CPU
582 select BOOT_ELF32
583 select DMA_NONCOHERENT
584 select HW_HAS_PCI
585 select PCI_GT64XXX_PCI0
586 select SWAP_IO_SPACE
587 select SYS_HAS_CPU_MIPS32_R1
588 select SYS_HAS_CPU_MIPS32_R2
589 select SYS_HAS_CPU_MIPS64_R1
590 select SYS_HAS_CPU_NEVADA
591 select SYS_HAS_CPU_RM7000
592 select SYS_SUPPORTS_32BIT_KERNEL
593 select SYS_SUPPORTS_64BIT_KERNEL
594 select SYS_SUPPORTS_BIG_ENDIAN
595 select SYS_SUPPORTS_LITTLE_ENDIAN
596 help
597 This enables support for the Wind River MIPS32 4KC PPMC evaluation
598 board, which is based on GT64120 bridge chip.
599
Linus Torvalds1da177e2005-04-16 15:20:36 -0700600endchoice
601
Ralf Baechlee8c7c482008-09-16 19:12:16 +0200602source "arch/mips/alchemy/Kconfig"
Yoichi Yuasa9c746ed2007-12-12 22:39:54 +0900603source "arch/mips/basler/excite/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100604source "arch/mips/jazz/Kconfig"
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200605source "arch/mips/lasat/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100606source "arch/mips/pmc-sierra/Kconfig"
Ralf Baechle29c48692005-02-07 01:27:14 +0000607source "arch/mips/sgi-ip27/Kconfig"
Ralf Baechle38b18f72005-02-03 14:28:23 +0000608source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto22b1d702008-07-11 00:31:36 +0900609source "arch/mips/txx9/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100610source "arch/mips/vr41xx/Kconfig"
Ralf Baechle38b18f72005-02-03 14:28:23 +0000611
Ralf Baechle5e83d432005-10-29 19:32:41 +0100612endmenu
613
Linus Torvalds1da177e2005-04-16 15:20:36 -0700614config RWSEM_GENERIC_SPINLOCK
615 bool
616 default y
617
618config RWSEM_XCHGADD_ALGORITHM
619 bool
620
David Howellsf0d1b0b2006-12-08 02:37:49 -0800621config ARCH_HAS_ILOG2_U32
622 bool
623 default n
624
625config ARCH_HAS_ILOG2_U64
626 bool
627 default n
628
Ralf Baechle00a58252007-12-06 16:53:19 +0000629config ARCH_SUPPORTS_OPROFILE
630 bool
631 default y if !MIPS_MT_SMTC
632
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800633config GENERIC_FIND_NEXT_BIT
634 bool
635 default y
636
637config GENERIC_HWEIGHT
638 bool
639 default y
640
Linus Torvalds1da177e2005-04-16 15:20:36 -0700641config GENERIC_CALIBRATE_DELAY
642 bool
643 default y
644
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100645config GENERIC_CLOCKEVENTS
646 bool
647 default y
648
Ralf Baechle8db02012006-10-02 16:54:48 +0100649config GENERIC_TIME
650 bool
651 default y
652
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100653config GENERIC_CMOS_UPDATE
654 bool
655 default y
656
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900657config SCHED_NO_NO_OMIT_FRAME_POINTER
658 bool
659 default y
660
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100661config GENERIC_HARDIRQS_NO__DO_IRQ
662 bool
663 default n
664
Linus Torvalds1da177e2005-04-16 15:20:36 -0700665#
666# Select some configuration options automatically based on user selections.
667#
668config ARC
669 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700670
Ralf Baechle61ed2422005-09-15 08:52:34 +0000671config ARCH_MAY_HAVE_PC_FDC
672 bool
673
Marc St-Jean9267a302007-06-14 15:55:31 -0600674config BOOT_RAW
675 bool
676
Ralf Baechle217dd112007-11-01 01:57:55 +0000677config CEVT_BCM1480
678 bool
679
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900680config CEVT_DS1287
681 bool
682
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900683config CEVT_GT641XX
684 bool
685
Ralf Baechle42f77542007-10-18 17:48:11 +0100686config CEVT_R4K
687 bool
688
Ralf Baechle217dd112007-11-01 01:57:55 +0000689config CEVT_SB1250
690 bool
691
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900692config CEVT_TXX9
693 bool
694
Ralf Baechle217dd112007-11-01 01:57:55 +0000695config CSRC_BCM1480
696 bool
697
Yoichi Yuasa42474172008-04-24 09:48:40 +0900698config CSRC_IOASIC
699 bool
700
Ralf Baechle940f6b42007-11-24 22:33:28 +0000701config CSRC_R4K
702 bool
703
Ralf Baechle217dd112007-11-01 01:57:55 +0000704config CSRC_SB1250
705 bool
706
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900707config GPIO_TXX9
708 select GENERIC_GPIO
Michael Buesch7444a722008-07-25 01:46:11 -0700709 select ARCH_REQUIRE_GPIOLIB
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900710 bool
711
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200712config CFE
713 bool
714
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700715config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700716 bool
717
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700718config DMA_IP27
Linus Torvalds1da177e2005-04-16 15:20:36 -0700719 bool
720
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700721config DMA_NONCOHERENT
722 bool
723 select DMA_NEED_PCI_MAP_STATE
724
725config DMA_NEED_PCI_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700726 bool
727
728config EARLY_PRINTK
Ralf Baechle36a88532007-03-01 11:56:43 +0000729 bool "Early printk" if EMBEDDED && DEBUG_KERNEL
730 depends on SYS_HAS_EARLY_PRINTK
731 default y
732 help
733 This option enables special console drivers which allow the kernel
734 to print messages very early in the bootup process.
735
736 This is useful for kernel debugging when your machine crashes very
Robert P. J. Day490dcc42007-05-20 12:11:07 -0400737 early before the console code is initialized. For normal operation,
738 it is not recommended because it looks ugly on some machines and
739 doesn't cooperate with an X server. You should normally say N here,
Ralf Baechle36a88532007-03-01 11:56:43 +0000740 unless you want to debug such a crash.
741
742config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700743 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700744
Ralf Baechledbb74542007-08-07 14:52:17 +0100745config HOTPLUG_CPU
746 bool
747 default n
748
Linus Torvalds1da177e2005-04-16 15:20:36 -0700749config I8259
750 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700751
Linus Torvalds1da177e2005-04-16 15:20:36 -0700752config MIPS_BONITO64
753 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700754
755config MIPS_MSC
756 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700757
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200758config MIPS_NILE4
759 bool
760
Linus Torvalds1da177e2005-04-16 15:20:36 -0700761config MIPS_DISABLE_OBSOLETE_IDE
762 bool
763
Ralf Baechle39b8d522008-04-28 17:14:26 +0100764config SYNC_R4K
765 bool
766
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100767config NO_IOPORT
768 def_bool n
769
Ralf Baechle8313da32007-08-24 16:48:30 +0100770config GENERIC_ISA_DMA
771 bool
772 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
773
Ralf Baechleaa414df2006-11-30 01:14:51 +0000774config GENERIC_ISA_DMA_SUPPORT_BROKEN
775 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100776 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000777
Yoichi Yuasa09663332007-05-22 00:05:58 +0900778config GENERIC_GPIO
779 bool
780
Ralf Baechle5e83d432005-10-29 19:32:41 +0100781#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100782# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100783# answer,so we try hard to limit the available choices. Also the use of a
784# choice statement should be more obvious to the user.
785#
786choice
787 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700788 help
789 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100790 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100791 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100792 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200793 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100794
795config CPU_BIG_ENDIAN
796 bool "Big endian"
797 depends on SYS_SUPPORTS_BIG_ENDIAN
798
799config CPU_LITTLE_ENDIAN
800 bool "Little endian"
801 depends on SYS_SUPPORTS_LITTLE_ENDIAN
802 help
803
804endchoice
805
Ralf Baechle21162452007-02-09 17:08:58 +0000806config SYS_SUPPORTS_APM_EMULATION
807 bool
808
Ralf Baechle5e83d432005-10-29 19:32:41 +0100809config SYS_SUPPORTS_BIG_ENDIAN
810 bool
811
812config SYS_SUPPORTS_LITTLE_ENDIAN
813 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700814
815config IRQ_CPU
816 bool
817
818config IRQ_CPU_RM7K
819 bool
820
Ralf Baechle5e83d432005-10-29 19:32:41 +0100821config IRQ_CPU_RM9K
822 bool
823
Marc St-Jean9267a302007-06-14 15:55:31 -0600824config IRQ_MSP_SLP
825 bool
826
827config IRQ_MSP_CIC
828 bool
829
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900830config IRQ_TXX9
831 bool
832
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900833config IRQ_GT641XX
834 bool
835
Ralf Baechle39b8d522008-04-28 17:14:26 +0100836config IRQ_GIC
837 bool
838
Linus Torvalds1da177e2005-04-16 15:20:36 -0700839config MIPS_BOARDS_GEN
840 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700841
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900842config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700843 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700844
Marc St-Jean9267a302007-06-14 15:55:31 -0600845config NO_EXCEPT_FILL
846 bool
847
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200848config MIPS_RM9122
849 bool
850 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200851
Pete Popovbdf21b12005-07-14 17:47:57 +0000852config PNX8550
853 bool
854 select SOC_PNX8550
855
856config SOC_PNX8550
857 bool
Pete Popovbdf21b12005-07-14 17:47:57 +0000858 select DMA_NONCOHERENT
859 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +0000860 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +0000861 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +0100862 select SYS_SUPPORTS_32BIT_KERNEL
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100863 select GENERIC_HARDIRQS_NO__DO_IRQ
Florian Fainelli4ead1682007-05-22 21:44:42 +0200864 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +0000865
Linus Torvalds1da177e2005-04-16 15:20:36 -0700866config SWAP_IO_SPACE
867 bool
868
dmitry pervushin355c4712006-05-21 14:53:06 +0400869config EMMA2RH
870 bool
871 depends on MARKEINS
872 default y
873
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200874config SERIAL_RM9000
875 bool
876
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100877config SGI_HAS_DS1286
878 bool
879
880config SGI_HAS_INDYDOG
881 bool
882
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +0200883config SGI_HAS_HAL2
884 bool
885
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100886config SGI_HAS_SEEQ
887 bool
888
889config SGI_HAS_WD93
890 bool
891
892config SGI_HAS_ZILOG
893 bool
894
895config SGI_HAS_I8042
896 bool
897
898config DEFAULT_SGI_PARTITION
899 bool
900
Ralf Baechle5e83d432005-10-29 19:32:41 +0100901config ARC32
902 bool
903
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +0100904config SNIPROM
905 bool
906
Linus Torvalds1da177e2005-04-16 15:20:36 -0700907config BOOT_ELF32
908 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700909
910config MIPS_L1_CACHE_SHIFT
911 int
Ralf Baechle73b43902008-07-16 16:12:25 +0100912 default "4" if MACH_DECSTATION || MIKROTIK_RB532
Thomas Bogendoerfer7e3297d2008-06-27 23:52:26 +0200913 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM
Marc St-Jean9267a302007-06-14 15:55:31 -0600914 default "4" if PMC_MSP4200_EVAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700915 default "5"
916
Linus Torvalds1da177e2005-04-16 15:20:36 -0700917config HAVE_STD_PC_SERIAL_PORT
918 bool
919
Linus Torvalds1da177e2005-04-16 15:20:36 -0700920config ARC_CONSOLE
921 bool "ARC console support"
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100922 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700923
924config ARC_MEMORY
925 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100926 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700927 default y
928
929config ARC_PROMLIB
930 bool
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100931 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -0700932 default y
933
934config ARC64
935 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700936
937config BOOT_ELF64
938 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700939
Linus Torvalds1da177e2005-04-16 15:20:36 -0700940menu "CPU selection"
941
942choice
943 prompt "CPU type"
944 default CPU_R4X00
945
Fuxin Zhang2a21c732007-06-06 14:52:43 +0800946config CPU_LOONGSON2
947 bool "Loongson 2"
948 depends on SYS_HAS_CPU_LOONGSON2
949 select CPU_SUPPORTS_32BIT_KERNEL
950 select CPU_SUPPORTS_64BIT_KERNEL
951 select CPU_SUPPORTS_HIGHMEM
952 help
953 The Loongson 2E processor implements the MIPS III instruction set
954 with many extensions.
955
Ralf Baechle6e760c82005-07-06 12:08:11 +0000956config CPU_MIPS32_R1
957 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +0100958 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +0100959 select CPU_HAS_LLSC
Ralf Baechle6e760c82005-07-06 12:08:11 +0000960 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +0000961 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +0000962 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +0000963 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100964 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +0000965 MIPS32 architecture. Most modern embedded systems with a 32-bit
966 MIPS processor are based on a MIPS32 processor. If you know the
967 specific type of processor in your system, choose those that one
968 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
969 Release 2 of the MIPS32 architecture is available since several
970 years so chances are you even have a MIPS32 Release 2 processor
971 in which case you should choose CPU_MIPS32_R2 instead for better
972 performance.
973
974config CPU_MIPS32_R2
975 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +0100976 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +0100977 select CPU_HAS_LLSC
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +0000978 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +0000979 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +0000980 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +0000981 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100982 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +0000983 MIPS32 architecture. Most modern embedded systems with a 32-bit
984 MIPS processor are based on a MIPS32 processor. If you know the
985 specific type of processor in your system, choose those that one
986 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700987
Ralf Baechle6e760c82005-07-06 12:08:11 +0000988config CPU_MIPS64_R1
989 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +0100990 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechlef7062dd2006-04-24 14:58:53 +0100991 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +0000992 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700993 select CPU_SUPPORTS_32BIT_KERNEL
994 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +0000995 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +0000996 help
997 Choose this option to build a kernel for release 1 or later of the
998 MIPS64 architecture. Many modern embedded systems with a 64-bit
999 MIPS processor are based on a MIPS64 processor. If you know the
1000 specific type of processor in your system, choose those that one
1001 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001002 Release 2 of the MIPS64 architecture is available since several
1003 years so chances are you even have a MIPS64 Release 2 processor
1004 in which case you should choose CPU_MIPS64_R2 instead for better
1005 performance.
1006
1007config CPU_MIPS64_R2
1008 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001009 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001010 select CPU_HAS_LLSC
Ralf Baechle797798c2005-08-10 15:17:11 +00001011 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001012 select CPU_SUPPORTS_32BIT_KERNEL
1013 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001014 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001015 help
1016 Choose this option to build a kernel for release 2 or later of the
1017 MIPS64 architecture. Many modern embedded systems with a 64-bit
1018 MIPS processor are based on a MIPS64 processor. If you know the
1019 specific type of processor in your system, choose those that one
1020 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001021
1022config CPU_R3000
1023 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001024 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001025 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001026 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001027 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001028 help
1029 Please make sure to pick the right CPU type. Linux/MIPS is not
1030 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1031 *not* work on R4000 machines and vice versa. However, since most
1032 of the supported machines have an R4000 (or similar) CPU, R4x00
1033 might be a safe bet. If the resulting kernel does not work,
1034 try to recompile with R3000.
1035
1036config CPU_TX39XX
1037 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001038 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001039 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001040
1041config CPU_VR41XX
1042 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001043 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001044 select CPU_SUPPORTS_32BIT_KERNEL
1045 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001046 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001047 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001048 Only choose this option if you have one of these processors as a
1049 kernel built with this option will not run on any other type of
1050 processor or vice versa.
1051
1052config CPU_R4300
1053 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001054 depends on SYS_HAS_CPU_R4300
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001055 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001056 select CPU_SUPPORTS_32BIT_KERNEL
1057 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001058 help
1059 MIPS Technologies R4300-series processors.
1060
1061config CPU_R4X00
1062 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001063 depends on SYS_HAS_CPU_R4X00
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001064 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001065 select CPU_SUPPORTS_32BIT_KERNEL
1066 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001067 help
1068 MIPS Technologies R4000-series processors other than 4300, including
1069 the R4000, R4400, R4600, and 4700.
1070
1071config CPU_TX49XX
1072 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001073 depends on SYS_HAS_CPU_TX49XX
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001074 select CPU_HAS_LLSC
Atsushi Nemotode862b42006-03-17 12:59:22 +09001075 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001076 select CPU_SUPPORTS_32BIT_KERNEL
1077 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001078
1079config CPU_R5000
1080 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001081 depends on SYS_HAS_CPU_R5000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001082 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001083 select CPU_SUPPORTS_32BIT_KERNEL
1084 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001085 help
1086 MIPS Technologies R5000-series processors other than the Nevada.
1087
1088config CPU_R5432
1089 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001090 depends on SYS_HAS_CPU_R5432
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001091 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001092 select CPU_SUPPORTS_32BIT_KERNEL
1093 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001094
1095config CPU_R6000
1096 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001097 depends on EXPERIMENTAL
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001098 select CPU_HAS_LLSC
Ralf Baechle7cf80532005-10-20 22:33:09 +01001099 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001100 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001101 help
1102 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001103 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001104
1105config CPU_NEVADA
1106 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001107 depends on SYS_HAS_CPU_NEVADA
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001108 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001109 select CPU_SUPPORTS_32BIT_KERNEL
1110 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001111 help
1112 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1113
1114config CPU_R8000
1115 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001116 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001117 depends on SYS_HAS_CPU_R8000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001118 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001119 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001120 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001121 help
1122 MIPS Technologies R8000 processors. Note these processors are
1123 uncommon and the support for them is incomplete.
1124
1125config CPU_R10000
1126 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001127 depends on SYS_HAS_CPU_R10000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001128 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001129 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001130 select CPU_SUPPORTS_32BIT_KERNEL
1131 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001132 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001133 help
1134 MIPS Technologies R10000-series processors.
1135
1136config CPU_RM7000
1137 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001138 depends on SYS_HAS_CPU_RM7000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001139 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001140 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001141 select CPU_SUPPORTS_32BIT_KERNEL
1142 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001143 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001144
1145config CPU_RM9000
1146 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001147 depends on SYS_HAS_CPU_RM9000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001148 select CPU_HAS_LLSC
Ralf Baechle5e83d432005-10-29 19:32:41 +01001149 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001150 select CPU_SUPPORTS_32BIT_KERNEL
1151 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001152 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001153 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001154
1155config CPU_SB1
1156 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001157 depends on SYS_HAS_CPU_SB1
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001158 select CPU_HAS_LLSC
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001159 select CPU_SUPPORTS_32BIT_KERNEL
1160 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001161 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001162 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001163
1164endchoice
1165
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001166config SYS_HAS_CPU_LOONGSON2
1167 bool
1168
Ralf Baechle7cf80532005-10-20 22:33:09 +01001169config SYS_HAS_CPU_MIPS32_R1
1170 bool
1171
1172config SYS_HAS_CPU_MIPS32_R2
1173 bool
1174
1175config SYS_HAS_CPU_MIPS64_R1
1176 bool
1177
1178config SYS_HAS_CPU_MIPS64_R2
1179 bool
1180
1181config SYS_HAS_CPU_R3000
1182 bool
1183
1184config SYS_HAS_CPU_TX39XX
1185 bool
1186
1187config SYS_HAS_CPU_VR41XX
1188 bool
1189
1190config SYS_HAS_CPU_R4300
1191 bool
1192
1193config SYS_HAS_CPU_R4X00
1194 bool
1195
1196config SYS_HAS_CPU_TX49XX
1197 bool
1198
1199config SYS_HAS_CPU_R5000
1200 bool
1201
1202config SYS_HAS_CPU_R5432
1203 bool
1204
1205config SYS_HAS_CPU_R6000
1206 bool
1207
1208config SYS_HAS_CPU_NEVADA
1209 bool
1210
1211config SYS_HAS_CPU_R8000
1212 bool
1213
1214config SYS_HAS_CPU_R10000
1215 bool
1216
1217config SYS_HAS_CPU_RM7000
1218 bool
1219
1220config SYS_HAS_CPU_RM9000
1221 bool
1222
1223config SYS_HAS_CPU_SB1
1224 bool
1225
Ralf Baechle17099b12007-07-14 13:24:05 +01001226#
1227# CPU may reorder R->R, R->W, W->R, W->W
1228# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1229#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001230config WEAK_ORDERING
1231 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001232
1233#
1234# CPU may reorder reads and writes beyond LL/SC
1235# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1236#
1237config WEAK_REORDERING_BEYOND_LLSC
1238 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001239endmenu
1240
1241#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001242# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001243#
1244config CPU_MIPS32
1245 bool
1246 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1247
1248config CPU_MIPS64
1249 bool
1250 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1251
1252#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001253# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001254#
1255config CPU_MIPSR1
1256 bool
1257 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1258
1259config CPU_MIPSR2
1260 bool
1261 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1262
1263config SYS_SUPPORTS_32BIT_KERNEL
1264 bool
1265config SYS_SUPPORTS_64BIT_KERNEL
1266 bool
1267config CPU_SUPPORTS_32BIT_KERNEL
1268 bool
1269config CPU_SUPPORTS_64BIT_KERNEL
1270 bool
1271
David Daney8192c9e2008-09-23 00:04:26 -07001272#
1273# Set to y for ptrace access to watch registers.
1274#
1275config HARDWARE_WATCHPOINTS
1276 bool
1277 default y if CPU_MIPS32 || CPU_MIPS64
1278
Ralf Baechle5e83d432005-10-29 19:32:41 +01001279menu "Kernel type"
1280
1281choice
1282
1283 prompt "Kernel code model"
1284 help
1285 You should only select this option if you have a workload that
1286 actually benefits from 64-bit processing or if your machine has
1287 large memory. You will only be presented a single option in this
1288 menu if your system does not support both 32-bit and 64-bit kernels.
1289
1290config 32BIT
1291 bool "32-bit kernel"
1292 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1293 select TRAD_SIGNALS
1294 help
1295 Select this option if you want to build a 32-bit kernel.
1296config 64BIT
1297 bool "64-bit kernel"
1298 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1299 help
1300 Select this option if you want to build a 64-bit kernel.
1301
1302endchoice
1303
Linus Torvalds1da177e2005-04-16 15:20:36 -07001304choice
1305 prompt "Kernel page size"
1306 default PAGE_SIZE_4KB
1307
1308config PAGE_SIZE_4KB
1309 bool "4kB"
1310 help
1311 This option select the standard 4kB Linux page size. On some
1312 R3000-family processors this is the only available page size. Using
1313 4kB page size will minimize memory consumption and is therefore
1314 recommended for low memory systems.
1315
1316config PAGE_SIZE_8KB
1317 bool "8kB"
1318 depends on EXPERIMENTAL && CPU_R8000
1319 help
1320 Using 8kB page size will result in higher performance kernel at
1321 the price of higher memory consumption. This option is available
1322 only on the R8000 processor. Not that at the time of this writing
1323 this option is still high experimental; there are also issues with
1324 compatibility of user applications.
1325
1326config PAGE_SIZE_16KB
1327 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001328 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001329 help
1330 Using 16kB page size will result in higher performance kernel at
1331 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001332 all non-R3000 family processors. Note that you will need a suitable
1333 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001334
1335config PAGE_SIZE_64KB
1336 bool "64kB"
1337 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1338 help
1339 Using 64kB page size will result in higher performance kernel at
1340 the price of higher memory consumption. This option is available on
1341 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001342 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001343
1344endchoice
1345
1346config BOARD_SCACHE
1347 bool
1348
1349config IP22_CPU_SCACHE
1350 bool
1351 select BOARD_SCACHE
1352
Chris Dearman9318c512006-06-20 17:15:20 +01001353#
1354# Support for a MIPS32 / MIPS64 style S-caches
1355#
1356config MIPS_CPU_SCACHE
1357 bool
1358 select BOARD_SCACHE
1359
Linus Torvalds1da177e2005-04-16 15:20:36 -07001360config R5000_CPU_SCACHE
1361 bool
1362 select BOARD_SCACHE
1363
1364config RM7000_CPU_SCACHE
1365 bool
1366 select BOARD_SCACHE
1367
1368config SIBYTE_DMA_PAGEOPS
1369 bool "Use DMA to clear/copy pages"
1370 depends on CPU_SB1
1371 help
1372 Instead of using the CPU to zero and copy pages, use a Data Mover
1373 channel. These DMA channels are otherwise unused by the standard
1374 SiByte Linux port. Seems to give a small performance benefit.
1375
1376config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001377 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001378
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001379choice
1380 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001381
1382config MIPS_MT_DISABLED
1383 bool "Disable multithreading support."
1384 help
1385 Use this option if your workload can't take advantage of
1386 MIPS hardware multithreading support. On systems that don't have
1387 the option of an MT-enabled processor this option will be the only
1388 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001389
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001390config MIPS_MT_SMP
1391 bool "Use 1 TC on each available VPE for SMP"
1392 depends on SYS_SUPPORTS_MULTITHREADING
1393 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001394 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001395 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001396 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001397 select SMP
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001398 select SYS_SUPPORTS_SCHED_SMT if SMP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001399 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001400 select SMP_UP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001401 help
1402 This is a kernel model which is also known a VSMP or lately
1403 has been marketesed into SMVP.
1404
Ralf Baechle41c594a2006-04-05 09:45:45 +01001405config MIPS_MT_SMTC
1406 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001407 depends on CPU_MIPS32_R2
1408 #depends on CPU_MIPS64_R2 # once there is hardware ...
1409 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001410 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001411 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001412 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001413 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001414 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001415 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001416 select SMP_UP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001417 help
1418 This is a kernel model which is known a SMTC or lately has been
1419 marketesed into SMVP.
Ralf Baechle41c594a2006-04-05 09:45:45 +01001420
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001421endchoice
1422
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001423config MIPS_MT
1424 bool
1425
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001426config SCHED_SMT
1427 bool "SMT (multithreading) scheduler support"
1428 depends on SYS_SUPPORTS_SCHED_SMT
1429 default n
1430 help
1431 SMT scheduler support improves the CPU scheduler's decision making
1432 when dealing with MIPS MT enabled cores at a cost of slightly
1433 increased overhead in some places. If unsure say N here.
1434
1435config SYS_SUPPORTS_SCHED_SMT
1436 bool
1437
1438
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001439config SYS_SUPPORTS_MULTITHREADING
1440 bool
1441
Ralf Baechlef088fc82006-04-05 09:45:47 +01001442config MIPS_MT_FPAFF
1443 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001444 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001445 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1446
1447config MIPS_VPE_LOADER
1448 bool "VPE loader support."
1449 depends on SYS_SUPPORTS_MULTITHREADING
1450 select CPU_MIPSR2_IRQ_VI
1451 select CPU_MIPSR2_IRQ_EI
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001452 select MIPS_MT
1453 help
1454 Includes a loader for loading an elf relocatable object
1455 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001456
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001457config MIPS_MT_SMTC_IM_BACKSTOP
1458 bool "Use per-TC register bits as backstop for inhibited IM bits"
1459 depends on MIPS_MT_SMTC
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001460 default n
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001461 help
1462 To support multiple TC microthreads acting as "CPUs" within
1463 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1464 during interrupt handling. To support legacy drivers and interrupt
1465 controller management code, SMTC has a "backstop" to track and
1466 if necessary restore the interrupt mask. This has some performance
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001467 impact on interrupt service overhead.
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001468
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001469config MIPS_MT_SMTC_IRQAFF
1470 bool "Support IRQ affinity API"
1471 depends on MIPS_MT_SMTC
1472 default n
1473 help
1474 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1475 for SMTC Linux kernel. Requires platform support, of which
1476 an example can be found in the MIPS kernel i8259 and Malta
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001477 platform code. Adds some overhead to interrupt dispatch, and
1478 should be used only if you know what you are doing.
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001479
Ralf Baechlee01402b2005-07-14 15:57:16 +00001480config MIPS_VPE_LOADER_TOM
1481 bool "Load VPE program into memory hidden from linux"
1482 depends on MIPS_VPE_LOADER
1483 default y
1484 help
1485 The loader can use memory that is present but has been hidden from
1486 Linux using the kernel command line option "mem=xxMB". It's up to
1487 you to ensure the amount you put in the option and the space your
1488 program requires is less or equal to the amount physically present.
1489
1490# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1491config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001492 bool "Enable support for AP/SP API (RTLX)"
1493 depends on MIPS_VPE_LOADER
1494 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001495
Ralf Baechle26009902006-04-05 09:45:45 +01001496config MIPS_APSP_KSPD
1497 bool "Enable KSPD"
1498 depends on MIPS_VPE_APSP_API
1499 default y
1500 help
1501 KSPD is a kernel daemon that accepts syscall requests from the SP
1502 side, actions them and returns the results. It also handles the
1503 "exit" syscall notifying other kernel modules the SP program is
1504 exiting. You probably want to say yes here.
1505
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001506config MIPS_CMP
1507 bool "MIPS CMP framework support"
1508 depends on SYS_SUPPORTS_MIPS_CMP
1509 select SYNC_R4K if BROKEN
1510 select SYS_SUPPORTS_SMP
1511 select SYS_SUPPORTS_SCHED_SMT if SMP
1512 select WEAK_ORDERING
1513 default n
1514 help
1515 This is a placeholder option for the GCMP work. It will need to
1516 be handled differently...
1517
Linus Torvalds1da177e2005-04-16 15:20:36 -07001518config SB1_PASS_1_WORKAROUNDS
1519 bool
1520 depends on CPU_SB1_PASS_1
1521 default y
1522
1523config SB1_PASS_2_WORKAROUNDS
1524 bool
1525 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1526 default y
1527
1528config SB1_PASS_2_1_WORKAROUNDS
1529 bool
1530 depends on CPU_SB1 && CPU_SB1_PASS_2
1531 default y
1532
1533config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001534 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001535
Linus Torvalds1da177e2005-04-16 15:20:36 -07001536config CPU_HAS_LLSC
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001537 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001538
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001539config CPU_HAS_SMARTMIPS
1540 depends on SYS_SUPPORTS_SMARTMIPS
1541 bool "Support for the SmartMIPS ASE"
1542 help
1543 SmartMIPS is a extension of the MIPS32 architecture aimed at
1544 increased security at both hardware and software level for
1545 smartcards. Enabling this option will allow proper use of the
1546 SmartMIPS instructions by Linux applications. However a kernel with
1547 this option will not work on a MIPS core without SmartMIPS core. If
1548 you don't know you probably don't have SmartMIPS and should say N
1549 here.
1550
Linus Torvalds1da177e2005-04-16 15:20:36 -07001551config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001552 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001553
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001554#
1555# Vectored interrupt mode is an R2 feature
1556#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001557config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001558 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001559
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001560#
1561# Extended interrupt mode is an R2 feature
1562#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001563config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001564 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001565
Linus Torvalds1da177e2005-04-16 15:20:36 -07001566config CPU_HAS_SYNC
1567 bool
1568 depends on !CPU_R3000
1569 default y
1570
Ralf Baechleea580402007-10-11 23:46:09 +01001571config GENERIC_CLOCKEVENTS_BROADCAST
1572 bool
1573
Linus Torvalds1da177e2005-04-16 15:20:36 -07001574#
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +01001575# CPU non-features
1576#
1577config CPU_DADDI_WORKAROUNDS
1578 bool
1579
1580config CPU_R4000_WORKAROUNDS
1581 bool
1582 select CPU_R4400_WORKAROUNDS
1583
1584config CPU_R4400_WORKAROUNDS
1585 bool
1586
1587#
Ralf Baechle797798c2005-08-10 15:17:11 +00001588# Use the generic interrupt handling code in kernel/irq/:
1589#
1590config GENERIC_HARDIRQS
1591 bool
1592 default y
1593
1594config GENERIC_IRQ_PROBE
1595 bool
1596 default y
1597
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001598config IRQ_PER_CPU
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001599 bool
Ingo Molnar0d7012a2006-06-29 02:24:43 -07001600
Ralf Baechle797798c2005-08-10 15:17:11 +00001601#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001602# - Highmem only makes sense for the 32-bit kernel.
1603# - The current highmem code will only work properly on physically indexed
1604# caches such as R3000, SB1, R7000 or those that look like they're virtually
1605# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1606# moment we protect the user and offer the highmem option only on machines
1607# where it's known to be safe. This will not offer highmem on a few systems
1608# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1609# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001610# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1611# know they might have memory configurations that could make use of highmem
1612# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001613#
1614config HIGHMEM
1615 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001616 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1617
1618config CPU_SUPPORTS_HIGHMEM
1619 bool
1620
1621config SYS_SUPPORTS_HIGHMEM
1622 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001623
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001624config SYS_SUPPORTS_SMARTMIPS
1625 bool
1626
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001627config ARCH_FLATMEM_ENABLE
1628 def_bool y
1629 depends on !NUMA
1630
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001631config ARCH_DISCONTIGMEM_ENABLE
1632 bool
1633 default y if SGI_IP27
1634 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001635 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001636 for architectures which are either NUMA (Non-Uniform Memory Access)
1637 or have huge holes in the physical address space for other reasons.
1638 See <file:Documentation/vm/numa> for more.
1639
Ralf Baechlecce335a2007-11-03 02:05:43 +00001640config ARCH_POPULATES_NODE_MAP
1641 def_bool y
1642
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001643config ARCH_SPARSEMEM_ENABLE
1644 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001645 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001646
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001647config NUMA
1648 bool "NUMA Support"
1649 depends on SYS_SUPPORTS_NUMA
1650 help
1651 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1652 Access). This option improves performance on systems with more
1653 than two nodes; on two node systems it is generally better to
1654 leave it disabled; on single node systems disable this option
1655 disabled.
1656
1657config SYS_SUPPORTS_NUMA
1658 bool
1659
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07001660config NODES_SHIFT
1661 int
1662 default "6"
1663 depends on NEED_MULTIPLE_NODES
1664
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001665source "mm/Kconfig"
1666
Linus Torvalds1da177e2005-04-16 15:20:36 -07001667config SMP
1668 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01001669 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01001670 select IRQ_PER_CPU
Jens Axboe2f304c02008-06-17 10:45:23 +02001671 select USE_GENERIC_SMP_HELPERS
Ralf Baechlee73ea272006-06-04 11:51:46 +01001672 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07001673 This enables support for systems with more than one CPU. If you have
1674 a system with only one CPU, like most personal computers, say N. If
1675 you have a system with more than one CPU, say Y.
1676
1677 If you say N here, the kernel will run on single and multiprocessor
1678 machines, but will use only one CPU of a multiprocessor machine. If
1679 you say Y here, the kernel will run on many, but not all,
1680 singleprocessor machines. On a singleprocessor machine, the kernel
1681 will run faster if you say N here.
1682
1683 People using multiprocessor machines who say Y here should also say
1684 Y to "Enhanced Real Time Clock Support", below.
1685
Adrian Bunk03502fa2008-02-03 15:50:21 +02001686 See also the SMP-HOWTO available at
1687 <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001688
1689 If you don't know what to do here, say N.
1690
Ralf Baechle87353d82007-11-19 12:23:51 +00001691config SMP_UP
1692 bool
1693
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001694config SYS_SUPPORTS_MIPS_CMP
1695 bool
1696
Ralf Baechlee73ea272006-06-04 11:51:46 +01001697config SYS_SUPPORTS_SMP
1698 bool
1699
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001700config NR_CPUS_DEFAULT_1
1701 bool
1702
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001703config NR_CPUS_DEFAULT_2
1704 bool
1705
1706config NR_CPUS_DEFAULT_4
1707 bool
1708
1709config NR_CPUS_DEFAULT_8
1710 bool
1711
1712config NR_CPUS_DEFAULT_16
1713 bool
1714
1715config NR_CPUS_DEFAULT_32
1716 bool
1717
1718config NR_CPUS_DEFAULT_64
1719 bool
1720
Linus Torvalds1da177e2005-04-16 15:20:36 -07001721config NR_CPUS
1722 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001723 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07001724 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001725 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001726 default "2" if NR_CPUS_DEFAULT_2
1727 default "4" if NR_CPUS_DEFAULT_4
1728 default "8" if NR_CPUS_DEFAULT_8
1729 default "16" if NR_CPUS_DEFAULT_16
1730 default "32" if NR_CPUS_DEFAULT_32
1731 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07001732 help
1733 This allows you to specify the maximum number of CPUs which this
1734 kernel will support. The maximum supported value is 32 for 32-bit
1735 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001736 sense is 1 for Qemu (useful only for kernel debugging purposes)
1737 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001738
1739 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09001740 approximately eight kilobytes to the kernel image. For best
1741 performance should round up your number of processors to the next
1742 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001743
Atsushi Nemotoc4eee282007-11-12 01:05:16 +09001744source "kernel/time/Kconfig"
1745
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001746#
1747# Timer Interrupt Frequency Configuration
1748#
1749
1750choice
1751 prompt "Timer frequency"
1752 default HZ_250
1753 help
1754 Allows the configuration of the timer frequency.
1755
1756 config HZ_48
Ralf Baechle0f873582008-02-25 16:55:29 +00001757 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09001758
1759 config HZ_100
1760 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1761
1762 config HZ_128
1763 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1764
1765 config HZ_250
1766 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1767
1768 config HZ_256
1769 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1770
1771 config HZ_1000
1772 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1773
1774 config HZ_1024
1775 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1776
1777endchoice
1778
1779config SYS_SUPPORTS_48HZ
1780 bool
1781
1782config SYS_SUPPORTS_100HZ
1783 bool
1784
1785config SYS_SUPPORTS_128HZ
1786 bool
1787
1788config SYS_SUPPORTS_250HZ
1789 bool
1790
1791config SYS_SUPPORTS_256HZ
1792 bool
1793
1794config SYS_SUPPORTS_1000HZ
1795 bool
1796
1797config SYS_SUPPORTS_1024HZ
1798 bool
1799
1800config SYS_SUPPORTS_ARBIT_HZ
1801 bool
1802 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1803 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1804 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1805 !SYS_SUPPORTS_1024HZ
1806
1807config HZ
1808 int
1809 default 48 if HZ_48
1810 default 100 if HZ_100
1811 default 128 if HZ_128
1812 default 250 if HZ_250
1813 default 256 if HZ_256
1814 default 1000 if HZ_1000
1815 default 1024 if HZ_1024
1816
Ralf Baechlee80de852005-07-11 20:45:51 +00001817source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001818
Linus Torvalds1da177e2005-04-16 15:20:36 -07001819config MIPS_INSANE_LARGE
1820 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001821 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001822 help
1823 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1824 previous 64-bit processors which only supported 40 bit / 1TB. If you
1825 need processes of more than 1TB virtual address space, say Y here.
1826 This will result in additional memory usage, so it is not
1827 recommended for normal users.
1828
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001829config KEXEC
1830 bool "Kexec system call (EXPERIMENTAL)"
1831 depends on EXPERIMENTAL
1832 help
1833 kexec is a system call that implements the ability to shutdown your
1834 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02001835 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001836 you can start any kernel with it, not just Linux.
1837
Matt LaPlante01dd2fb2007-10-20 01:34:40 +02001838 The name comes from the similarity to the exec system call.
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001839
1840 It is an ongoing process to be certain the hardware in a machine
1841 is properly shutdown, so do not be surprised if this code does not
1842 initially work for you. It may help to enable device hotplugging
1843 support. As of this writing the exact hardware interface is
1844 strongly in flux, so no good recommendation can be made.
1845
1846config SECCOMP
1847 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01001848 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09001849 default y
1850 help
1851 This kernel feature is useful for number crunching applications
1852 that may need to compute untrusted bytecode during their
1853 execution. By using pipes or other transports made available to
1854 the process as file descriptors supporting the read/write
1855 syscalls, it's possible to isolate those applications in
1856 their own address space using seccomp. Once seccomp is
1857 enabled via /proc/<pid>/seccomp, it cannot be disabled
1858 and the task is only allowed to execute a few safe syscalls
1859 defined by each seccomp mode.
1860
1861 If unsure, say Y. Only embedded should say N here.
1862
Ralf Baechle5e83d432005-10-29 19:32:41 +01001863endmenu
1864
Linus Torvalds1da177e2005-04-16 15:20:36 -07001865config RWSEM_GENERIC_SPINLOCK
1866 bool
1867 default y
1868
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09001869config LOCKDEP_SUPPORT
1870 bool
1871 default y
1872
1873config STACKTRACE_SUPPORT
1874 bool
1875 default y
1876
Ralf Baechleb6c35392005-11-25 11:35:40 +00001877source "init/Kconfig"
1878
Atsushi Nemoto00110362008-08-26 22:34:57 +09001879config PROBE_INITRD_HEADER
1880 bool "Probe initrd header created by addinitrd"
1881 depends on BLK_DEV_INITRD
1882 help
1883 Probe initrd header at the last page of kernel image.
1884 Say Y here if you are using arch/mips/boot/addinitrd.c to
1885 add initrd or initramfs image to the kernel image.
1886 Otherwise, say N.
1887
Linus Torvalds1da177e2005-04-16 15:20:36 -07001888menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1889
Ralf Baechle5e83d432005-10-29 19:32:41 +01001890config HW_HAS_EISA
1891 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001892config HW_HAS_PCI
1893 bool
1894
1895config PCI
1896 bool "Support for PCI controller"
1897 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01001898 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07001899 help
1900 Find out whether you have a PCI motherboard. PCI is the name of a
1901 bus system, i.e. the way the CPU talks to the other stuff inside
1902 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1903 say Y, otherwise N.
1904
Linus Torvalds1da177e2005-04-16 15:20:36 -07001905config PCI_DOMAINS
1906 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001907
1908source "drivers/pci/Kconfig"
1909
1910#
1911# ISA support is now enabled via select. Too many systems still have the one
1912# or other ISA chip on the board that users don't know about so don't expect
1913# users to choose the right thing ...
1914#
1915config ISA
1916 bool
1917
1918config EISA
1919 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01001920 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07001921 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00001922 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07001923 ---help---
1924 The Extended Industry Standard Architecture (EISA) bus was
1925 developed as an open alternative to the IBM MicroChannel bus.
1926
1927 The EISA bus provided some of the features of the IBM MicroChannel
1928 bus while maintaining backward compatibility with cards made for
1929 the older ISA bus. The EISA bus saw limited use between 1988 and
1930 1995 when it was made obsolete by the PCI bus.
1931
1932 Say Y here if you are building a kernel for an EISA-based machine.
1933
1934 Otherwise, say N.
1935
1936source "drivers/eisa/Kconfig"
1937
1938config TC
1939 bool "TURBOchannel support"
1940 depends on MACH_DECSTATION
1941 help
1942 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
1943 processors. Documentation on writing device drivers for TurboChannel
1944 is available at:
1945 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
1946
1947#config ACCESSBUS
1948# bool "Access.Bus support"
1949# depends on TC
1950
1951config MMU
1952 bool
1953 default y
1954
Ralf Baechled865bea2007-10-11 23:46:10 +01001955config I8253
1956 bool
1957
Ralf Baechlecce335a2007-11-03 02:05:43 +00001958config ZONE_DMA32
1959 bool
1960
Linus Torvalds1da177e2005-04-16 15:20:36 -07001961source "drivers/pcmcia/Kconfig"
1962
1963source "drivers/pci/hotplug/Kconfig"
1964
1965endmenu
1966
1967menu "Executable file formats"
1968
1969source "fs/Kconfig.binfmt"
1970
1971config TRAD_SIGNALS
1972 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001973
Linus Torvalds1da177e2005-04-16 15:20:36 -07001974config MIPS32_COMPAT
1975 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07001976 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07001977 help
1978 Select this option if you want Linux/MIPS 32-bit binary
1979 compatibility. Since all software available for Linux/MIPS is
1980 currently 32-bit you should say Y here.
1981
1982config COMPAT
1983 bool
1984 depends on MIPS32_COMPAT
1985 default y
1986
Atsushi Nemoto05e43962006-11-07 18:02:44 +09001987config SYSVIPC_COMPAT
1988 bool
1989 depends on COMPAT && SYSVIPC
1990 default y
1991
Linus Torvalds1da177e2005-04-16 15:20:36 -07001992config MIPS32_O32
1993 bool "Kernel support for o32 binaries"
1994 depends on MIPS32_COMPAT
1995 help
1996 Select this option if you want to run o32 binaries. These are pure
1997 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
1998 existing binaries are in this format.
1999
2000 If unsure, say Y.
2001
2002config MIPS32_N32
2003 bool "Kernel support for n32 binaries"
2004 depends on MIPS32_COMPAT
2005 help
2006 Select this option if you want to run n32 binaries. These are
2007 64-bit binaries using 32-bit quantities for addressing and certain
2008 data that would normally be 64-bit. They are used in special
2009 cases.
2010
2011 If unsure, say N.
2012
2013config BINFMT_ELF32
2014 bool
2015 default y if MIPS32_O32 || MIPS32_N32
2016
Ralf Baechle21162452007-02-09 17:08:58 +00002017endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07002018
Ralf Baechle21162452007-02-09 17:08:58 +00002019menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002020
Johannes Bergf4cb5702007-12-08 02:14:00 +01002021config ARCH_SUSPEND_POSSIBLE
2022 def_bool y
2023 depends on !SMP
2024
Ralf Baechle21162452007-02-09 17:08:58 +00002025source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002026
Linus Torvalds1da177e2005-04-16 15:20:36 -07002027endmenu
2028
Sam Ravnborgd5950b42005-07-11 21:03:49 -07002029source "net/Kconfig"
2030
Linus Torvalds1da177e2005-04-16 15:20:36 -07002031source "drivers/Kconfig"
2032
2033source "fs/Kconfig"
2034
2035source "arch/mips/Kconfig.debug"
2036
2037source "security/Kconfig"
2038
2039source "crypto/Kconfig"
2040
2041source "lib/Kconfig"