blob: 9543040682285d035676298526b8624910c47295 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config MIPS
2 bool
3 default y
Yoichi Yuasaf8ac0422009-06-04 00:16:04 +09004 select HAVE_GENERIC_DMA_COHERENT
Sam Ravnborgec7748b2008-02-09 10:46:40 +01005 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -05006 select HAVE_OPROFILE
Deng-Cheng Zhu7f788d22010-10-12 19:37:21 +08007 select HAVE_PERF_EVENTS
8 select PERF_USE_VMALLOC
Jason Wessel88547002008-07-29 15:58:53 -05009 select HAVE_ARCH_KGDB
Wu Zhangjind2bb07622009-11-20 20:34:29 +080010 select HAVE_FUNCTION_TRACER
Wu Zhangjin69a7d1b2009-11-20 20:34:30 +080011 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
Wu Zhangjin538f1952009-11-20 20:34:32 +080012 select HAVE_DYNAMIC_FTRACE
13 select HAVE_FTRACE_MCOUNT_RECORD
Wu Zhangjin64575f92010-10-27 18:59:09 +080014 select HAVE_C_RECORDMCOUNT
Wu Zhangjin29c5d342009-11-20 20:34:34 +080015 select HAVE_FUNCTION_GRAPH_TRACER
David Daneyc1bf2072010-08-03 11:22:20 -070016 select HAVE_KPROBES
17 select HAVE_KRETPROBES
Wu Zhangjin21a41fa2009-11-10 00:06:11 +080018 select RTC_LIB if !MACH_LOONGSON
Deng-Cheng Zhu2b789202010-06-09 12:35:25 +080019 select GENERIC_ATOMIC64 if !64BIT
David Daney48e1fd52010-10-01 13:27:32 -070020 select HAVE_DMA_ATTRS
21 select HAVE_DMA_API_DEBUG
David Daney3bd27e32010-11-05 15:12:48 -070022 select HAVE_GENERIC_HARDIRQS
23 select GENERIC_IRQ_PROBE
David Daney94bb0c12010-12-28 13:26:23 -080024 select HAVE_ARCH_JUMP_LABEL
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
Linus Torvalds1da177e2005-04-16 15:20:36 -070026menu "Machine selection"
27
Christoph Lameter5ac6da62007-02-10 01:43:14 -080028config ZONE_DMA
29 bool
Christoph Lameter5ac6da62007-02-10 01:43:14 -080030
Ralf Baechle5e83d432005-10-29 19:32:41 +010031choice
32 prompt "System type"
33 default SGI_IP22
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
Manuel Lauss42a4f172010-07-15 21:45:04 +020035config MIPS_ALCHEMY
Yoichi Yuasac3543e22007-05-11 20:44:30 +090036 bool "Alchemy processor based machines"
Manuel Lauss42a4f172010-07-15 21:45:04 +020037 select 64BIT_PHYS_ADDR
38 select CEVT_R4K_LIB
39 select CSRC_R4K_LIB
40 select IRQ_CPU
41 select SYS_HAS_CPU_MIPS32_R1
42 select SYS_SUPPORTS_32BIT_KERNEL
43 select SYS_SUPPORTS_APM_EMULATION
44 select GENERIC_GPIO
45 select ARCH_WANT_OPTIONAL_GPIOLIB
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +080046 select SYS_SUPPORTS_ZBOOT
Linus Torvalds1da177e2005-04-16 15:20:36 -070047
Florian Fainelli7ca5dc12009-06-24 11:12:57 +020048config AR7
49 bool "Texas Instruments AR7"
50 select BOOT_ELF32
51 select DMA_NONCOHERENT
52 select CEVT_R4K
53 select CSRC_R4K
54 select IRQ_CPU
55 select NO_EXCEPT_FILL
56 select SWAP_IO_SPACE
57 select SYS_HAS_CPU_MIPS32_R1
58 select SYS_HAS_EARLY_PRINTK
59 select SYS_SUPPORTS_32BIT_KERNEL
60 select SYS_SUPPORTS_LITTLE_ENDIAN
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +080061 select SYS_SUPPORTS_ZBOOT_UART16550
Florian Fainelli5f3c9092010-01-03 21:16:51 +010062 select ARCH_REQUIRE_GPIOLIB
Florian Fainelli7ca5dc12009-06-24 11:12:57 +020063 select GCD
64 select VLYNQ
65 help
66 Support for the Texas Instruments AR7 System-on-a-Chip
67 family: TNETD7100, 7200 and 7300.
68
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020069config BCM47XX
Florian Fainellic6193662010-03-25 11:42:41 +010070 bool "Broadcom BCM47XX based boards"
Ralf Baechle42f77542007-10-18 17:48:11 +010071 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +000072 select CSRC_R4K
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020073 select DMA_NONCOHERENT
74 select HW_HAS_PCI
75 select IRQ_CPU
76 select SYS_HAS_CPU_MIPS32_R1
77 select SYS_SUPPORTS_32BIT_KERNEL
78 select SYS_SUPPORTS_LITTLE_ENDIAN
79 select SSB
80 select SSB_DRIVER_MIPS
Aurelien Jarno2f02c152007-12-11 11:30:34 +010081 select SSB_DRIVER_EXTIF
Aurelien Jarnob06f3e12008-10-14 11:44:26 +020082 select SSB_EMBEDDED
Hauke Mehrtens220937b12010-07-27 22:12:45 +020083 select SSB_B43_PCI_BRIDGE if PCI
Aurelien Jarno2f02c152007-12-11 11:30:34 +010084 select SSB_PCICORE_HOSTMODE if PCI
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020085 select GENERIC_GPIO
Aurelien Jarno25e5fb92007-09-25 15:41:24 +020086 select SYS_HAS_EARLY_PRINTK
87 select CFE
Aurelien Jarno1c0c13e2007-09-25 15:40:12 +020088 help
89 Support for BCM47XX based boards
90
Maxime Bizone7300d02009-08-18 13:23:37 +010091config BCM63XX
92 bool "Broadcom BCM63XX based boards"
93 select CEVT_R4K
94 select CSRC_R4K
95 select DMA_NONCOHERENT
96 select IRQ_CPU
97 select SYS_HAS_CPU_MIPS32_R1
98 select SYS_SUPPORTS_32BIT_KERNEL
99 select SYS_SUPPORTS_BIG_ENDIAN
100 select SYS_HAS_EARLY_PRINTK
101 select SWAP_IO_SPACE
102 select ARCH_REQUIRE_GPIOLIB
103 help
104 Support for BCM63XX based boards
105
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106config MIPS_COBALT
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200107 bool "Cobalt Server"
Ralf Baechle42f77542007-10-18 17:48:11 +0100108 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000109 select CSRC_R4K
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900110 select CEVT_GT641XX
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111 select DMA_NONCOHERENT
112 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100113 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 select I8259
115 select IRQ_CPU
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900116 select IRQ_GT641XX
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900117 select PCI_GT64XXX_PCI0
Yoichi Yuasae25bfc92009-06-02 23:17:07 +0900118 select PCI
Ralf Baechle7cf80532005-10-20 22:33:09 +0100119 select SYS_HAS_CPU_NEVADA
Yoichi Yuasa0a22e0d2007-03-02 12:42:33 +0900120 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700121 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli0e8774b2008-01-15 19:42:57 +0100122 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100123 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124
125config MACH_DECSTATION
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200126 bool "DECstations"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700127 select BOOT_ELF32
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900128 select CEVT_DS1287
Ralf Baechle42f77542007-10-18 17:48:11 +0100129 select CEVT_R4K
Yoichi Yuasa42474172008-04-24 09:48:40 +0900130 select CSRC_IOASIC
Ralf Baechle940f6b42007-11-24 22:33:28 +0000131 select CSRC_R4K
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +0100132 select CPU_DADDI_WORKAROUNDS if 64BIT
133 select CPU_R4000_WORKAROUNDS if 64BIT
134 select CPU_R4400_WORKAROUNDS if 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700135 select DMA_NONCOHERENT
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100136 select NO_IOPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700137 select IRQ_CPU
Ralf Baechle7cf80532005-10-20 22:33:09 +0100138 select SYS_HAS_CPU_R3000
139 select SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700140 select SYS_SUPPORTS_32BIT_KERNEL
141 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100142 select SYS_SUPPORTS_LITTLE_ENDIAN
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900143 select SYS_SUPPORTS_128HZ
144 select SYS_SUPPORTS_256HZ
145 select SYS_SUPPORTS_1024HZ
Ralf Baechle5e83d432005-10-29 19:32:41 +0100146 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147 This enables support for DEC's MIPS based workstations. For details
148 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
149 DECstation porting pages on <http://decstation.unix-ag.org/>.
150
151 If you have one of the following DECstation Models you definitely
152 want to choose R4xx0 for the CPU Type:
153
Ralf Baechle93088162007-08-29 14:21:45 +0100154 DECstation 5000/50
155 DECstation 5000/150
156 DECstation 5000/260
157 DECsystem 5900/260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158
159 otherwise choose R3000.
160
Ralf Baechle5e83d432005-10-29 19:32:41 +0100161config MACH_JAZZ
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200162 bool "Jazz family of machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100163 select ARC
164 select ARC32
165 select ARCH_MAY_HAVE_PC_FDC
Ralf Baechle42f77542007-10-18 17:48:11 +0100166 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000167 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100168 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100169 select GENERIC_ISA_DMA
Thomas Bogendoerferea202c62007-08-25 11:01:50 +0200170 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100171 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100172 select I8259
173 select ISA
Ralf Baechle7cf80532005-10-20 22:33:09 +0100174 select SYS_HAS_CPU_R4X00
Ralf Baechle5e83d432005-10-29 19:32:41 +0100175 select SYS_SUPPORTS_32BIT_KERNEL
176 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +0900177 select SYS_SUPPORTS_100HZ
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178 help
Ralf Baechle5e83d432005-10-29 19:32:41 +0100179 This a family of machines based on the MIPS R4030 chipset which was
180 used by several vendors to build RISC/os and Windows NT workstations.
Matt LaPlante692105b2009-01-26 11:12:25 +0100181 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millennium and
Ralf Baechle5e83d432005-10-29 19:32:41 +0100182 Olivetti M700-10 workstations.
183
Lars-Peter Clausen5ebabe52010-06-19 04:08:19 +0000184config MACH_JZ4740
185 bool "Ingenic JZ4740 based machines"
186 select SYS_HAS_CPU_MIPS32_R1
187 select SYS_SUPPORTS_32BIT_KERNEL
188 select SYS_SUPPORTS_LITTLE_ENDIAN
189 select DMA_NONCOHERENT
190 select IRQ_CPU
191 select GENERIC_GPIO
192 select ARCH_REQUIRE_GPIOLIB
193 select SYS_HAS_EARLY_PRINTK
194 select HAVE_PWM
195
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200196config LASAT
197 bool "LASAT Networks platforms"
Ralf Baechle42f77542007-10-18 17:48:11 +0100198 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000199 select CSRC_R4K
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200200 select DMA_NONCOHERENT
201 select SYS_HAS_EARLY_PRINTK
202 select HW_HAS_PCI
Ralf Baechlea5ccfe5c12007-10-14 23:49:33 +0100203 select IRQ_CPU
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200204 select PCI_GT64XXX_PCI0
205 select MIPS_NILE4
206 select R5000_CPU_SCACHE
207 select SYS_HAS_CPU_R5000
208 select SYS_SUPPORTS_32BIT_KERNEL
209 select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
210 select SYS_SUPPORTS_LITTLE_ENDIAN
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200211
Wu Zhangjin85749d22009-07-02 23:26:45 +0800212config MACH_LOONGSON
213 bool "Loongson family of machines"
Wu Zhangjinc7e8c662010-01-04 17:16:46 +0800214 select SYS_SUPPORTS_ZBOOT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900215 help
Wu Zhangjin85749d22009-07-02 23:26:45 +0800216 This enables the support of Loongson family of machines.
217
218 Loongson is a family of general-purpose MIPS-compatible CPUs.
219 developed at Institute of Computing Technology (ICT),
220 Chinese Academy of Sciences (CAS) in the People's Republic
221 of China. The chief architect is Professor Weiwu Hu.
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900222
Linus Torvalds1da177e2005-04-16 15:20:36 -0700223config MIPS_MALTA
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200224 bool "MIPS Malta board"
Ralf Baechle61ed2422005-09-15 08:52:34 +0000225 select ARCH_MAY_HAVE_PC_FDC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226 select BOOT_ELF32
Ralf Baechlefa71c962008-01-29 10:15:00 +0000227 select BOOT_RAW
Ralf Baechle42f77542007-10-18 17:48:11 +0100228 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000229 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230 select DMA_NONCOHERENT
231 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000232 select IRQ_CPU
Ralf Baechle39b8d522008-04-28 17:14:26 +0100233 select IRQ_GIC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700234 select HW_HAS_PCI
Ralf Baechled865bea2007-10-11 23:46:10 +0100235 select I8253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700236 select I8259
Ralf Baechle5e83d432005-10-29 19:32:41 +0100237 select MIPS_BOARDS_GEN
238 select MIPS_BONITO64
Chris Dearman9318c512006-06-20 17:15:20 +0100239 select MIPS_CPU_SCACHE
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900240 select PCI_GT64XXX_PCI0
Ralf Baechle5e83d432005-10-29 19:32:41 +0100241 select MIPS_MSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700242 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100243 select SYS_HAS_CPU_MIPS32_R1
244 select SYS_HAS_CPU_MIPS32_R2
245 select SYS_HAS_CPU_MIPS64_R1
246 select SYS_HAS_CPU_NEVADA
247 select SYS_HAS_CPU_RM7000
Ralf Baechle36a88532007-03-01 11:56:43 +0000248 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700249 select SYS_SUPPORTS_32BIT_KERNEL
250 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100251 select SYS_SUPPORTS_BIG_ENDIAN
252 select SYS_SUPPORTS_LITTLE_ENDIAN
Tim Anderson03650702009-06-17 16:22:53 -0700253 select SYS_SUPPORTS_MIPS_CMP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +0100254 select SYS_SUPPORTS_MULTITHREADING
Franck Bui-Huu9693a852007-02-02 17:41:47 +0100255 select SYS_SUPPORTS_SMARTMIPS
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +0800256 select SYS_SUPPORTS_ZBOOT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257 help
Maciej W. Rozyckif638d192005-02-02 22:23:46 +0000258 This enables support for the MIPS Technologies Malta evaluation
Linus Torvalds1da177e2005-04-16 15:20:36 -0700259 board.
260
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100261config MIPS_SIM
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200262 bool 'MIPS simulator (MIPSsim)'
Ralf Baechle42f77542007-10-18 17:48:11 +0100263 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000264 select CSRC_R4K
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100265 select DMA_NONCOHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000266 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100267 select IRQ_CPU
Marc St-Jean9267a302007-06-14 15:55:31 -0600268 select BOOT_RAW
Ralf Baechle7cf80532005-10-20 22:33:09 +0100269 select SYS_HAS_CPU_MIPS32_R1
270 select SYS_HAS_CPU_MIPS32_R2
Ralf Baechle36a88532007-03-01 11:56:43 +0000271 select SYS_HAS_EARLY_PRINTK
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100272 select SYS_SUPPORTS_32BIT_KERNEL
273 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechlef6e23732007-07-10 17:32:56 +0100274 select SYS_SUPPORTS_MULTITHREADING
Ralf Baechlec78cbf42005-09-30 13:59:37 +0100275 select SYS_SUPPORTS_LITTLE_ENDIAN
276 help
277 This option enables support for MIPS Technologies MIPSsim software
278 emulator.
279
Ralf Baechlea83860c2009-03-13 21:17:57 +0100280config NEC_MARKEINS
281 bool "NEC EMMA2RH Mark-eins board"
282 select SOC_EMMA2RH
283 select HW_HAS_PCI
284 help
285 This enables support for the NEC Electronics Mark-eins boards.
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900286
Ralf Baechle5e83d432005-10-29 19:32:41 +0100287config MACH_VR41XX
Yoichi Yuasa74142d62007-04-26 19:45:09 +0900288 bool "NEC VR4100 series based machines"
Ralf Baechle42f77542007-10-18 17:48:11 +0100289 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000290 select CSRC_R4K
Ralf Baechle7cf80532005-10-20 22:33:09 +0100291 select SYS_HAS_CPU_VR41XX
Yoichi Yuasa27fdd322009-06-29 11:11:05 +0900292 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle5e83d432005-10-29 19:32:41 +0100293
Daniel Lairdedb63102008-06-16 15:49:21 +0100294config NXP_STB220
295 bool "NXP STB220 board"
296 select SOC_PNX833X
297 help
298 Support for NXP Semiconductors STB220 Development Board.
299
300config NXP_STB225
301 bool "NXP 225 board"
302 select SOC_PNX833X
303 select SOC_PNX8335
304 help
305 Support for NXP Semiconductors STB225 Development Board.
306
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900307config PNX8550_JBS
Daniel Lairda92b0582008-03-06 09:07:18 +0000308 bool "NXP PNX8550 based JBS board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900309 select PNX8550
310 select SYS_SUPPORTS_LITTLE_ENDIAN
311
312config PNX8550_STB810
Daniel Lairda92b0582008-03-06 09:07:18 +0000313 bool "NXP PNX8550 based STB810 board"
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900314 select PNX8550
315 select SYS_SUPPORTS_LITTLE_ENDIAN
316
Marc St-Jean9267a302007-06-14 15:55:31 -0600317config PMC_MSP
318 bool "PMC-Sierra MSP chipsets"
319 depends on EXPERIMENTAL
320 select DMA_NONCOHERENT
321 select SWAP_IO_SPACE
322 select NO_EXCEPT_FILL
323 select BOOT_RAW
324 select SYS_HAS_CPU_MIPS32_R1
325 select SYS_HAS_CPU_MIPS32_R2
326 select SYS_SUPPORTS_32BIT_KERNEL
327 select SYS_SUPPORTS_BIG_ENDIAN
Marc St-Jean9267a302007-06-14 15:55:31 -0600328 select IRQ_CPU
329 select SERIAL_8250
330 select SERIAL_8250_CONSOLE
331 help
332 This adds support for the PMC-Sierra family of Multi-Service
333 Processor System-On-A-Chips. These parts include a number
334 of integrated peripherals, interfaces and DSPs in addition to
335 a variety of MIPS cores.
336
Ralf Baechle5e83d432005-10-29 19:32:41 +0100337config PMC_YOSEMITE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200338 bool "PMC-Sierra Yosemite eval board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100339 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000340 select CSRC_R4K
Ralf Baechle5e83d432005-10-29 19:32:41 +0100341 select DMA_COHERENT
342 select HW_HAS_PCI
343 select IRQ_CPU
344 select IRQ_CPU_RM7K
345 select IRQ_CPU_RM9K
346 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100347 select SYS_HAS_CPU_RM9000
Ralf Baechle36a88532007-03-01 11:56:43 +0000348 select SYS_HAS_EARLY_PRINTK
Ralf Baechle5e83d432005-10-29 19:32:41 +0100349 select SYS_SUPPORTS_32BIT_KERNEL
350 select SYS_SUPPORTS_64BIT_KERNEL
351 select SYS_SUPPORTS_BIG_ENDIAN
352 select SYS_SUPPORTS_HIGHMEM
Ralf Baechlee73ea272006-06-04 11:51:46 +0100353 select SYS_SUPPORTS_SMP
Ralf Baechle5e83d432005-10-29 19:32:41 +0100354 help
355 Yosemite is an evaluation board for the RM9000x2 processor
356 manufactured by PMC-Sierra.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357
David VomLehna3a0f8c2009-08-30 17:15:11 -0700358config POWERTV
359 bool "Cisco PowerTV"
360 select BOOT_ELF32
361 select CEVT_R4K
362 select CPU_MIPSR2_IRQ_VI
363 select CPU_MIPSR2_IRQ_EI
364 select CSRC_POWERTV
365 select DMA_NONCOHERENT
366 select HW_HAS_PCI
367 select SYS_HAS_EARLY_PRINTK
368 select SYS_HAS_CPU_MIPS32_R2
369 select SYS_SUPPORTS_32BIT_KERNEL
370 select SYS_SUPPORTS_BIG_ENDIAN
371 select SYS_SUPPORTS_HIGHMEM
372 select USB_OHCI_LITTLE_ENDIAN
373 help
374 This enables support for the Cisco PowerTV Platform.
375
Linus Torvalds1da177e2005-04-16 15:20:36 -0700376config SGI_IP22
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200377 bool "SGI IP22 (Indy/Indigo2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700378 select ARC
379 select ARC32
380 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100381 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000382 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100383 select DEFAULT_SGI_PARTITION
Linus Torvalds1da177e2005-04-16 15:20:36 -0700384 select DMA_NONCOHERENT
Ralf Baechle5e83d432005-10-29 19:32:41 +0100385 select HW_HAS_EISA
Ralf Baechled865bea2007-10-11 23:46:10 +0100386 select I8253
Thomas Bogendoerfer68de4802007-11-23 20:34:16 +0100387 select I8259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700388 select IP22_CPU_SCACHE
389 select IRQ_CPU
Ralf Baechleaa414df2006-11-30 01:14:51 +0000390 select GENERIC_ISA_DMA_SUPPORT_BROKEN
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100391 select SGI_HAS_I8042
392 select SGI_HAS_INDYDOG
Thomas Bogendoerfer36e5c212008-07-16 14:06:15 +0200393 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100394 select SGI_HAS_SEEQ
395 select SGI_HAS_WD93
396 select SGI_HAS_ZILOG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700397 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100398 select SYS_HAS_CPU_R4X00
399 select SYS_HAS_CPU_R5000
Martin Michlmayr2b5e63f2009-11-19 16:40:09 +0000400 #
401 # Disable EARLY_PRINTK for now since it leads to overwritten prom
402 # memory during early boot on some machines.
403 #
404 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
405 # for a more details discussion
406 #
407 # select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700408 select SYS_SUPPORTS_32BIT_KERNEL
409 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100410 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700411 help
412 This are the SGI Indy, Challenge S and Indigo2, as well as certain
413 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
414 that runs on these, say Y here.
415
416config SGI_IP27
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200417 bool "SGI IP27 (Origin200/2000)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700418 select ARC
419 select ARC64
Ralf Baechle5e83d432005-10-29 19:32:41 +0100420 select BOOT_ELF64
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100421 select DEFAULT_SGI_PARTITION
Ralf Baechle634286f2009-01-28 17:48:40 +0000422 select DMA_COHERENT
Ralf Baechle36a88532007-03-01 11:56:43 +0000423 select SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700424 select HW_HAS_PCI
Ralf Baechle130e2fb2007-02-06 16:53:15 +0000425 select NR_CPUS_DEFAULT_64
Ralf Baechle7cf80532005-10-20 22:33:09 +0100426 select SYS_HAS_CPU_R10000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700427 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100428 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechled8cb4e12006-06-11 23:03:08 +0100429 select SYS_SUPPORTS_NUMA
Ralf Baechle1a5c5de2006-11-02 17:23:33 +0000430 select SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700431 help
432 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
433 workstations. To compile a Linux kernel that runs on these, say Y
434 here.
435
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100436config SGI_IP28
437 bool "SGI IP28 (Indigo2 R10k) (EXPERIMENTAL)"
438 depends on EXPERIMENTAL
439 select ARC
440 select ARC64
441 select BOOT_ELF64
442 select CEVT_R4K
443 select CSRC_R4K
444 select DEFAULT_SGI_PARTITION
445 select DMA_NONCOHERENT
446 select GENERIC_ISA_DMA_SUPPORT_BROKEN
447 select IRQ_CPU
448 select HW_HAS_EISA
449 select I8253
450 select I8259
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100451 select SGI_HAS_I8042
452 select SGI_HAS_INDYDOG
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +0200453 select SGI_HAS_HAL2
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100454 select SGI_HAS_SEEQ
455 select SGI_HAS_WD93
456 select SGI_HAS_ZILOG
457 select SWAP_IO_SPACE
458 select SYS_HAS_CPU_R10000
Martin Michlmayr2b5e63f2009-11-19 16:40:09 +0000459 #
460 # Disable EARLY_PRINTK for now since it leads to overwritten prom
461 # memory during early boot on some machines.
462 #
463 # See http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20091119164009.GA15038%40deprecation.cyrius.com
464 # for a more details discussion
465 #
466 # select SYS_HAS_EARLY_PRINTK
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100467 select SYS_SUPPORTS_64BIT_KERNEL
468 select SYS_SUPPORTS_BIG_ENDIAN
469 help
470 This is the SGI Indigo2 with R10000 processor. To compile a Linux
471 kernel that runs on these, say Y here.
472
Linus Torvalds1da177e2005-04-16 15:20:36 -0700473config SGI_IP32
Ralf Baechlecfd2afc2007-07-10 17:33:00 +0100474 bool "SGI IP32 (O2)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700475 select ARC
476 select ARC32
477 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100478 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000479 select CSRC_R4K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700480 select DMA_NONCOHERENT
481 select HW_HAS_PCI
Ralf Baechledd67b152007-10-14 14:02:26 +0100482 select IRQ_CPU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700483 select R5000_CPU_SCACHE
484 select RM7000_CPU_SCACHE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100485 select SYS_HAS_CPU_R5000
486 select SYS_HAS_CPU_R10000 if BROKEN
487 select SYS_HAS_CPU_RM7000
Ralf Baechledd2f18f2006-01-19 14:55:42 +0000488 select SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700489 select SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100490 select SYS_SUPPORTS_BIG_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700491 help
492 If you want this kernel to run on SGI O2 workstation, say Y here.
493
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900494config SIBYTE_CRHINE
495 bool "Sibyte BCM91120C-CRhine"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100496 depends on EXPERIMENTAL
497 select BOOT_ELF32
498 select DMA_COHERENT
499 select SIBYTE_BCM1120
500 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100501 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100502 select SYS_SUPPORTS_BIG_ENDIAN
503 select SYS_SUPPORTS_LITTLE_ENDIAN
504
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900505config SIBYTE_CARMEL
506 bool "Sibyte BCM91120x-Carmel"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100507 depends on EXPERIMENTAL
508 select BOOT_ELF32
509 select DMA_COHERENT
510 select SIBYTE_BCM1120
511 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100512 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100513 select SYS_SUPPORTS_BIG_ENDIAN
514 select SYS_SUPPORTS_LITTLE_ENDIAN
515
516config SIBYTE_CRHONE
Martin Michlmayr3fa986f2006-05-09 23:34:53 +0200517 bool "Sibyte BCM91125C-CRhone"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100518 depends on EXPERIMENTAL
519 select BOOT_ELF32
520 select DMA_COHERENT
521 select SIBYTE_BCM1125
522 select SWAP_IO_SPACE
Ralf Baechle7cf80532005-10-20 22:33:09 +0100523 select SYS_HAS_CPU_SB1
Ralf Baechle5e83d432005-10-29 19:32:41 +0100524 select SYS_SUPPORTS_BIG_ENDIAN
525 select SYS_SUPPORTS_HIGHMEM
526 select SYS_SUPPORTS_LITTLE_ENDIAN
527
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900528config SIBYTE_RHONE
529 bool "Sibyte BCM91125E-Rhone"
530 depends on EXPERIMENTAL
531 select BOOT_ELF32
532 select DMA_COHERENT
533 select SIBYTE_BCM1125H
534 select SWAP_IO_SPACE
535 select SYS_HAS_CPU_SB1
536 select SYS_SUPPORTS_BIG_ENDIAN
537 select SYS_SUPPORTS_LITTLE_ENDIAN
538
539config SIBYTE_SWARM
540 bool "Sibyte BCM91250A-SWARM"
541 select BOOT_ELF32
542 select DMA_COHERENT
Sebastian Andrzej Siewiorfcf3ca42010-04-18 15:26:36 +0200543 select HAVE_PATA_PLATFORM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900544 select NR_CPUS_DEFAULT_2
545 select SIBYTE_SB1250
546 select SWAP_IO_SPACE
547 select SYS_HAS_CPU_SB1
548 select SYS_SUPPORTS_BIG_ENDIAN
549 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900550 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000551 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900552
553config SIBYTE_LITTLESUR
554 bool "Sibyte BCM91250C2-LittleSur"
555 depends on EXPERIMENTAL
556 select BOOT_ELF32
557 select DMA_COHERENT
Sebastian Andrzej Siewiorfcf3ca42010-04-18 15:26:36 +0200558 select HAVE_PATA_PLATFORM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900559 select NR_CPUS_DEFAULT_2
560 select SIBYTE_SB1250
561 select SWAP_IO_SPACE
562 select SYS_HAS_CPU_SB1
563 select SYS_SUPPORTS_BIG_ENDIAN
564 select SYS_SUPPORTS_HIGHMEM
565 select SYS_SUPPORTS_LITTLE_ENDIAN
566
567config SIBYTE_SENTOSA
568 bool "Sibyte BCM91250E-Sentosa"
569 depends on EXPERIMENTAL
570 select BOOT_ELF32
571 select DMA_COHERENT
572 select NR_CPUS_DEFAULT_2
573 select SIBYTE_SB1250
574 select SWAP_IO_SPACE
575 select SYS_HAS_CPU_SB1
576 select SYS_SUPPORTS_BIG_ENDIAN
577 select SYS_SUPPORTS_LITTLE_ENDIAN
578
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900579config SIBYTE_BIGSUR
580 bool "Sibyte BCM91480B-BigSur"
581 select BOOT_ELF32
582 select DMA_COHERENT
583 select NR_CPUS_DEFAULT_4
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900584 select SIBYTE_BCM1x80
585 select SWAP_IO_SPACE
586 select SYS_HAS_CPU_SB1
587 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle651194f2007-11-01 21:55:39 +0000588 select SYS_SUPPORTS_HIGHMEM
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900589 select SYS_SUPPORTS_LITTLE_ENDIAN
Ralf Baechlecce335a2007-11-03 02:05:43 +0000590 select ZONE_DMA32 if 64BIT
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900591
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100592config SNI_RM
593 bool "SNI RM200/300/400"
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200594 select ARC if CPU_LITTLE_ENDIAN
595 select ARC32 if CPU_LITTLE_ENDIAN
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +0100596 select SNIPROM if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100597 select ARCH_MAY_HAVE_PC_FDC
598 select BOOT_ELF32
Ralf Baechle42f77542007-10-18 17:48:11 +0100599 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000600 select CSRC_R4K
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +0100601 select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100602 select DMA_NONCOHERENT
603 select GENERIC_ISA_DMA
Ralf Baechle5e83d432005-10-29 19:32:41 +0100604 select HW_HAS_EISA
605 select HW_HAS_PCI
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100606 select IRQ_CPU
Ralf Baechled865bea2007-10-11 23:46:10 +0100607 select I8253
Ralf Baechle5e83d432005-10-29 19:32:41 +0100608 select I8259
609 select ISA
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200610 select SWAP_IO_SPACE if CPU_BIG_ENDIAN
Ralf Baechle7cf80532005-10-20 22:33:09 +0100611 select SYS_HAS_CPU_R4X00
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200612 select SYS_HAS_CPU_R5000
Thomas Bogendoerferc066a322006-12-28 18:22:32 +0100613 select SYS_HAS_CPU_R10000
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200614 select R5000_CPU_SCACHE
Ralf Baechle36a88532007-03-01 11:56:43 +0000615 select SYS_HAS_EARLY_PRINTK
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -0700616 select SYS_SUPPORTS_32BIT_KERNEL
Ralf Baechle5e83d432005-10-29 19:32:41 +0100617 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
Thomas Bogendoerfer4a0312f2006-06-13 13:59:01 +0200618 select SYS_SUPPORTS_BIG_ENDIAN
Ralf Baechle5e83d432005-10-29 19:32:41 +0100619 select SYS_SUPPORTS_HIGHMEM
620 select SYS_SUPPORTS_LITTLE_ENDIAN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700621 help
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +0100622 The SNI RM200/300/400 are MIPS-based machines manufactured by
623 Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
Ralf Baechle5e83d432005-10-29 19:32:41 +0100624 Technology and now in turn merged with Fujitsu. Say Y here to
625 support this machine type.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700626
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900627config MACH_TX39XX
628 bool "Toshiba TX39 series based machines"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100629
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +0900630config MACH_TX49XX
631 bool "Toshiba TX49 series based machines"
Ralf Baechle23fbee92005-07-25 22:45:45 +0000632
Ralf Baechle73b43902008-07-16 16:12:25 +0100633config MIKROTIK_RB532
634 bool "Mikrotik RB532 boards"
635 select CEVT_R4K
636 select CSRC_R4K
637 select DMA_NONCOHERENT
Ralf Baechle73b43902008-07-16 16:12:25 +0100638 select HW_HAS_PCI
639 select IRQ_CPU
640 select SYS_HAS_CPU_MIPS32_R1
641 select SYS_SUPPORTS_32BIT_KERNEL
642 select SYS_SUPPORTS_LITTLE_ENDIAN
643 select SWAP_IO_SPACE
644 select BOOT_RAW
Florian Fainellid888e252008-08-23 18:54:34 +0200645 select ARCH_REQUIRE_GPIOLIB
Ralf Baechle73b43902008-07-16 16:12:25 +0100646 help
647 Support the Mikrotik(tm) RouterBoard 532 series,
648 based on the IDT RC32434 SoC.
649
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900650config WR_PPMC
651 bool "Wind River PPMC board"
Ralf Baechle42f77542007-10-18 17:48:11 +0100652 select CEVT_R4K
Ralf Baechle940f6b42007-11-24 22:33:28 +0000653 select CSRC_R4K
Yoichi Yuasaade299d2007-07-27 15:25:43 +0900654 select IRQ_CPU
655 select BOOT_ELF32
656 select DMA_NONCOHERENT
657 select HW_HAS_PCI
658 select PCI_GT64XXX_PCI0
659 select SWAP_IO_SPACE
660 select SYS_HAS_CPU_MIPS32_R1
661 select SYS_HAS_CPU_MIPS32_R2
662 select SYS_HAS_CPU_MIPS64_R1
663 select SYS_HAS_CPU_NEVADA
664 select SYS_HAS_CPU_RM7000
665 select SYS_SUPPORTS_32BIT_KERNEL
666 select SYS_SUPPORTS_64BIT_KERNEL
667 select SYS_SUPPORTS_BIG_ENDIAN
668 select SYS_SUPPORTS_LITTLE_ENDIAN
669 help
670 This enables support for the Wind River MIPS32 4KC PPMC evaluation
671 board, which is based on GT64120 bridge chip.
672
David Daneya86c7f72008-12-11 15:33:38 -0800673config CAVIUM_OCTEON_SIMULATOR
Yoichi Yuasac9d89d92009-06-02 23:15:10 +0900674 bool "Cavium Networks Octeon Simulator"
David Daneya86c7f72008-12-11 15:33:38 -0800675 select CEVT_R4K
676 select 64BIT_PHYS_ADDR
677 select DMA_COHERENT
678 select SYS_SUPPORTS_64BIT_KERNEL
679 select SYS_SUPPORTS_BIG_ENDIAN
680 select SYS_SUPPORTS_HIGHMEM
Ralf Baechle773cb772009-06-23 10:36:38 +0100681 select SYS_SUPPORTS_HOTPLUG_CPU
David Daney5e683382009-02-02 11:30:59 -0800682 select SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -0800683 help
684 The Octeon simulator is software performance model of the Cavium
685 Octeon Processor. It supports simulating Octeon processors on x86
686 hardware.
687
688config CAVIUM_OCTEON_REFERENCE_BOARD
Yoichi Yuasac9d89d92009-06-02 23:15:10 +0900689 bool "Cavium Networks Octeon reference board"
David Daneya86c7f72008-12-11 15:33:38 -0800690 select CEVT_R4K
691 select 64BIT_PHYS_ADDR
692 select DMA_COHERENT
693 select SYS_SUPPORTS_64BIT_KERNEL
694 select SYS_SUPPORTS_BIG_ENDIAN
695 select SYS_SUPPORTS_HIGHMEM
Ralf Baechle773cb772009-06-23 10:36:38 +0100696 select SYS_SUPPORTS_HOTPLUG_CPU
David Daneya86c7f72008-12-11 15:33:38 -0800697 select SYS_HAS_EARLY_PRINTK
David Daney5e683382009-02-02 11:30:59 -0800698 select SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -0800699 select SWAP_IO_SPACE
David Daneye8635b42009-04-23 17:44:38 -0700700 select HW_HAS_PCI
701 select ARCH_SUPPORTS_MSI
David Daneyf00e0012010-10-01 13:27:30 -0700702 select ZONE_DMA32
David Daney340fbb82010-10-08 14:47:53 -0700703 select USB_ARCH_HAS_OHCI
704 select USB_ARCH_HAS_EHCI
David Daneya86c7f72008-12-11 15:33:38 -0800705 help
706 This option supports all of the Octeon reference boards from Cavium
707 Networks. It builds a kernel that dynamically determines the Octeon
708 CPU type and supports all known board reference implementations.
709 Some of the supported boards are:
710 EBT3000
711 EBH3000
712 EBH3100
713 Thunder
714 Kodama
715 Hikari
716 Say Y here for most Octeon reference boards.
717
Linus Torvalds1da177e2005-04-16 15:20:36 -0700718endchoice
719
Ralf Baechlee8c7c482008-09-16 19:12:16 +0200720source "arch/mips/alchemy/Kconfig"
Maxime Bizone7300d02009-08-18 13:23:37 +0100721source "arch/mips/bcm63xx/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100722source "arch/mips/jazz/Kconfig"
Lars-Peter Clausen5ebabe52010-06-19 04:08:19 +0000723source "arch/mips/jz4740/Kconfig"
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200724source "arch/mips/lasat/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100725source "arch/mips/pmc-sierra/Kconfig"
David VomLehna3a0f8c2009-08-30 17:15:11 -0700726source "arch/mips/powertv/Kconfig"
Ralf Baechle29c48692005-02-07 01:27:14 +0000727source "arch/mips/sgi-ip27/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000728source "arch/mips/sibyte/Kconfig"
Atsushi Nemoto22b1d702008-07-11 00:31:36 +0900729source "arch/mips/txx9/Kconfig"
Ralf Baechle5e83d432005-10-29 19:32:41 +0100730source "arch/mips/vr41xx/Kconfig"
David Daneya86c7f72008-12-11 15:33:38 -0800731source "arch/mips/cavium-octeon/Kconfig"
Wu Zhangjin85749d22009-07-02 23:26:45 +0800732source "arch/mips/loongson/Kconfig"
Ralf Baechle38b18f722005-02-03 14:28:23 +0000733
Ralf Baechle5e83d432005-10-29 19:32:41 +0100734endmenu
735
Linus Torvalds1da177e2005-04-16 15:20:36 -0700736config RWSEM_GENERIC_SPINLOCK
737 bool
738 default y
739
740config RWSEM_XCHGADD_ALGORITHM
741 bool
742
David Howellsf0d1b0b2006-12-08 02:37:49 -0800743config ARCH_HAS_ILOG2_U32
744 bool
745 default n
746
747config ARCH_HAS_ILOG2_U64
748 bool
749 default n
750
Ralf Baechle00a58252007-12-06 16:53:19 +0000751config ARCH_SUPPORTS_OPROFILE
752 bool
753 default y if !MIPS_MT_SMTC
754
Akinobu Mita3c9ee7e2006-03-26 01:39:30 -0800755config GENERIC_FIND_NEXT_BIT
756 bool
757 default y
758
759config GENERIC_HWEIGHT
760 bool
761 default y
762
Linus Torvalds1da177e2005-04-16 15:20:36 -0700763config GENERIC_CALIBRATE_DELAY
764 bool
765 default y
766
Ralf Baechle7bcf7712007-10-11 23:46:09 +0100767config GENERIC_CLOCKEVENTS
768 bool
769 default y
770
Ralf Baechlef5ff0a22007-08-13 15:26:12 +0100771config GENERIC_CMOS_UPDATE
772 bool
773 default y
774
Ingo Molnarae1e9132008-11-11 09:05:16 +0100775config SCHED_OMIT_FRAME_POINTER
Atsushi Nemoto1cc89032006-04-04 13:11:45 +0900776 bool
777 default y
778
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100779config GENERIC_HARDIRQS_NO__DO_IRQ
Ralf Baechlec87e0902009-03-30 14:49:44 +0200780 def_bool y
Franck Bui-Huue77c2322006-12-01 18:22:27 +0100781
Linus Torvalds1da177e2005-04-16 15:20:36 -0700782#
783# Select some configuration options automatically based on user selections.
784#
785config ARC
786 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700787
Ralf Baechle61ed2422005-09-15 08:52:34 +0000788config ARCH_MAY_HAVE_PC_FDC
789 bool
790
Marc St-Jean9267a302007-06-14 15:55:31 -0600791config BOOT_RAW
792 bool
793
Ralf Baechle217dd112007-11-01 01:57:55 +0000794config CEVT_BCM1480
795 bool
796
Yoichi Yuasa6457d9f2008-04-25 12:11:44 +0900797config CEVT_DS1287
798 bool
799
Yoichi Yuasa1097c6a2007-10-22 19:43:15 +0900800config CEVT_GT641XX
801 bool
802
Manuel Lauss779e7d42008-12-21 09:26:22 +0100803config CEVT_R4K_LIB
804 bool
805
Ralf Baechle42f77542007-10-18 17:48:11 +0100806config CEVT_R4K
Manuel Lauss779e7d42008-12-21 09:26:22 +0100807 select CEVT_R4K_LIB
Ralf Baechle42f77542007-10-18 17:48:11 +0100808 bool
809
Ralf Baechle217dd112007-11-01 01:57:55 +0000810config CEVT_SB1250
811 bool
812
Atsushi Nemoto229f7732007-10-25 01:34:09 +0900813config CEVT_TXX9
814 bool
815
Ralf Baechle217dd112007-11-01 01:57:55 +0000816config CSRC_BCM1480
817 bool
818
Yoichi Yuasa42474172008-04-24 09:48:40 +0900819config CSRC_IOASIC
820 bool
821
David VomLehna3a0f8c2009-08-30 17:15:11 -0700822config CSRC_POWERTV
823 bool
824
Manuel Lauss779e7d42008-12-21 09:26:22 +0100825config CSRC_R4K_LIB
826 bool
827
Ralf Baechle940f6b42007-11-24 22:33:28 +0000828config CSRC_R4K
Manuel Lauss779e7d42008-12-21 09:26:22 +0100829 select CSRC_R4K_LIB
Ralf Baechle940f6b42007-11-24 22:33:28 +0000830 bool
831
Ralf Baechle217dd112007-11-01 01:57:55 +0000832config CSRC_SB1250
833 bool
834
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900835config GPIO_TXX9
836 select GENERIC_GPIO
Michael Buesch7444a722008-07-25 01:46:11 -0700837 select ARCH_REQUIRE_GPIOLIB
Atsushi Nemotoa9aec7f2008-04-05 00:55:41 +0900838 bool
839
Aurelien Jarnodf78b5c2007-09-05 08:58:26 +0200840config CFE
841 bool
842
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700843config DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700844 bool
845
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700846config DMA_NONCOHERENT
847 bool
FUJITA Tomonorie1e02b32010-03-10 15:23:25 -0800848 select NEED_DMA_MAP_STATE
Ralf Baechle4ce588c2005-09-03 15:56:19 -0700849
FUJITA Tomonorie1e02b32010-03-10 15:23:25 -0800850config NEED_DMA_MAP_STATE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700851 bool
852
Ralf Baechle36a88532007-03-01 11:56:43 +0000853config SYS_HAS_EARLY_PRINTK
Linus Torvalds1da177e2005-04-16 15:20:36 -0700854 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700855
Ralf Baechledbb74542007-08-07 14:52:17 +0100856config HOTPLUG_CPU
Ralf Baechle1b2bc752009-06-23 10:00:31 +0100857 bool "Support for hot-pluggable CPUs"
858 depends on SMP && HOTPLUG && SYS_SUPPORTS_HOTPLUG_CPU
859 help
860 Say Y here to allow turning CPUs off and on. CPUs can be
861 controlled through /sys/devices/system/cpu.
862 (Note: power management support will enable this option
863 automatically on SMP systems. )
864 Say N if you want to disable CPU hotplug.
865
866config SYS_SUPPORTS_HOTPLUG_CPU
Ralf Baechledbb74542007-08-07 14:52:17 +0100867 bool
Ralf Baechledbb74542007-08-07 14:52:17 +0100868
Linus Torvalds1da177e2005-04-16 15:20:36 -0700869config I8259
870 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700871
Linus Torvalds1da177e2005-04-16 15:20:36 -0700872config MIPS_BONITO64
873 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700874
875config MIPS_MSC
876 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700877
Brian Murphy1f21d2b2007-08-21 22:34:16 +0200878config MIPS_NILE4
879 bool
880
Linus Torvalds1da177e2005-04-16 15:20:36 -0700881config MIPS_DISABLE_OBSOLETE_IDE
882 bool
883
Ralf Baechle39b8d522008-04-28 17:14:26 +0100884config SYNC_R4K
885 bool
886
Gabor Juhos487d70d2010-11-23 16:06:25 +0100887config MIPS_MACHINE
888 def_bool n
889
Maciej W. Rozyckid388d682007-05-29 15:08:07 +0100890config NO_IOPORT
891 def_bool n
892
Ralf Baechle8313da32007-08-24 16:48:30 +0100893config GENERIC_ISA_DMA
894 bool
895 select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
Namhyung Kima35bee82010-10-18 12:55:21 +0900896 select ISA_DMA_API
Ralf Baechle8313da32007-08-24 16:48:30 +0100897
Ralf Baechleaa414df2006-11-30 01:14:51 +0000898config GENERIC_ISA_DMA_SUPPORT_BROKEN
899 bool
Ralf Baechle8313da32007-08-24 16:48:30 +0100900 select GENERIC_ISA_DMA
Ralf Baechleaa414df2006-11-30 01:14:51 +0000901
Namhyung Kima35bee82010-10-18 12:55:21 +0900902config ISA_DMA_API
903 bool
904
Yoichi Yuasa09663332007-05-22 00:05:58 +0900905config GENERIC_GPIO
906 bool
907
Ralf Baechle5e83d432005-10-29 19:32:41 +0100908#
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100909# Endianess selection. Sufficiently obscure so many users don't know what to
Ralf Baechle5e83d432005-10-29 19:32:41 +0100910# answer,so we try hard to limit the available choices. Also the use of a
911# choice statement should be more obvious to the user.
912#
913choice
914 prompt "Endianess selection"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700915 help
916 Some MIPS machines can be configured for either little or big endian
Ralf Baechle5e83d432005-10-29 19:32:41 +0100917 byte order. These modes require different kernels and a different
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100918 Linux distribution. In general there is one preferred byteorder for a
Ralf Baechle5e83d432005-10-29 19:32:41 +0100919 particular system but some systems are just as commonly used in the
David Sterba3dde6ad2007-05-09 07:12:20 +0200920 one or the other endianness.
Ralf Baechle5e83d432005-10-29 19:32:41 +0100921
922config CPU_BIG_ENDIAN
923 bool "Big endian"
924 depends on SYS_SUPPORTS_BIG_ENDIAN
925
926config CPU_LITTLE_ENDIAN
927 bool "Little endian"
928 depends on SYS_SUPPORTS_LITTLE_ENDIAN
929 help
930
931endchoice
932
David Daney22b07632010-07-23 18:41:43 -0700933config EXPORT_UASM
934 bool
935
Ralf Baechle21162452007-02-09 17:08:58 +0000936config SYS_SUPPORTS_APM_EMULATION
937 bool
938
Ralf Baechle5e83d432005-10-29 19:32:41 +0100939config SYS_SUPPORTS_BIG_ENDIAN
940 bool
941
942config SYS_SUPPORTS_LITTLE_ENDIAN
943 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700944
David Daney9cffd1542009-05-27 17:47:46 -0700945config SYS_SUPPORTS_HUGETLBFS
946 bool
947 depends on CPU_SUPPORTS_HUGEPAGES && 64BIT
948 default y
949
Linus Torvalds1da177e2005-04-16 15:20:36 -0700950config IRQ_CPU
951 bool
952
953config IRQ_CPU_RM7K
954 bool
955
Ralf Baechle5e83d432005-10-29 19:32:41 +0100956config IRQ_CPU_RM9K
957 bool
958
Marc St-Jean9267a302007-06-14 15:55:31 -0600959config IRQ_MSP_SLP
960 bool
961
962config IRQ_MSP_CIC
963 bool
964
Atsushi Nemoto8420fd02007-08-02 23:35:53 +0900965config IRQ_TXX9
966 bool
967
Yoichi Yuasad5ab1a62007-09-13 23:51:26 +0900968config IRQ_GT641XX
969 bool
970
Ralf Baechle39b8d522008-04-28 17:14:26 +0100971config IRQ_GIC
972 bool
973
David Daneya86c7f72008-12-11 15:33:38 -0800974config IRQ_CPU_OCTEON
975 bool
976
Linus Torvalds1da177e2005-04-16 15:20:36 -0700977config MIPS_BOARDS_GEN
978 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700979
Yoichi Yuasa252161e2007-03-14 21:51:26 +0900980config PCI_GT64XXX_PCI0
Linus Torvalds1da177e2005-04-16 15:20:36 -0700981 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700982
Marc St-Jean9267a302007-06-14 15:55:31 -0600983config NO_EXCEPT_FILL
984 bool
985
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200986config MIPS_RM9122
987 bool
988 select SERIAL_RM9000
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +0200989
Ralf Baechlea83860c2009-03-13 21:17:57 +0100990config SOC_EMMA2RH
991 bool
992 select CEVT_R4K
993 select CSRC_R4K
994 select DMA_NONCOHERENT
995 select IRQ_CPU
996 select SWAP_IO_SPACE
997 select SYS_HAS_CPU_R5500
998 select SYS_SUPPORTS_32BIT_KERNEL
999 select SYS_SUPPORTS_64BIT_KERNEL
1000 select SYS_SUPPORTS_BIG_ENDIAN
1001
Daniel Lairdedb63102008-06-16 15:49:21 +01001002config SOC_PNX833X
1003 bool
1004 select CEVT_R4K
1005 select CSRC_R4K
1006 select IRQ_CPU
1007 select DMA_NONCOHERENT
1008 select SYS_HAS_CPU_MIPS32_R2
1009 select SYS_SUPPORTS_32BIT_KERNEL
1010 select SYS_SUPPORTS_LITTLE_ENDIAN
1011 select SYS_SUPPORTS_BIG_ENDIAN
Daniel Lairdedb63102008-06-16 15:49:21 +01001012 select GENERIC_GPIO
1013 select CPU_MIPSR2_IRQ_VI
1014
1015config SOC_PNX8335
1016 bool
1017 select SOC_PNX833X
1018
Pete Popovbdf21b12005-07-14 17:47:57 +00001019config PNX8550
1020 bool
1021 select SOC_PNX8550
1022
1023config SOC_PNX8550
1024 bool
Pete Popovbdf21b12005-07-14 17:47:57 +00001025 select DMA_NONCOHERENT
1026 select HW_HAS_PCI
Ralf Baechleb8c2a772005-10-31 13:08:37 +00001027 select SYS_HAS_CPU_MIPS32_R1
Ralf Baechle36a88532007-03-01 11:56:43 +00001028 select SYS_HAS_EARLY_PRINTK
Ralf Baechle7cf80532005-10-20 22:33:09 +01001029 select SYS_SUPPORTS_32BIT_KERNEL
Florian Fainelli4ead1682007-05-22 21:44:42 +02001030 select GENERIC_GPIO
Pete Popovbdf21b12005-07-14 17:47:57 +00001031
Linus Torvalds1da177e2005-04-16 15:20:36 -07001032config SWAP_IO_SPACE
1033 bool
1034
thomas@koeller.dyndns.org663c3d92006-08-27 13:51:48 +02001035config SERIAL_RM9000
1036 bool
1037
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001038config SGI_HAS_INDYDOG
1039 bool
1040
Thomas Bogendoerfer5b438c42008-07-10 20:29:55 +02001041config SGI_HAS_HAL2
1042 bool
1043
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001044config SGI_HAS_SEEQ
1045 bool
1046
1047config SGI_HAS_WD93
1048 bool
1049
1050config SGI_HAS_ZILOG
1051 bool
1052
1053config SGI_HAS_I8042
1054 bool
1055
1056config DEFAULT_SGI_PARTITION
1057 bool
1058
Ralf Baechle5e83d432005-10-29 19:32:41 +01001059config ARC32
1060 bool
1061
Thomas Bogendoerfer231a35d2008-01-04 23:31:07 +01001062config SNIPROM
1063 bool
1064
Linus Torvalds1da177e2005-04-16 15:20:36 -07001065config BOOT_ELF32
1066 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001067
1068config MIPS_L1_CACHE_SHIFT
1069 int
Ralf Baechlec7088752009-10-12 22:30:06 +02001070 default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL
Ralf Baechle0db2b742009-10-13 16:54:01 +02001071 default "6" if MIPS_CPU_SCACHE
David Daneya86c7f72008-12-11 15:33:38 -08001072 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
Linus Torvalds1da177e2005-04-16 15:20:36 -07001073 default "5"
1074
Linus Torvalds1da177e2005-04-16 15:20:36 -07001075config HAVE_STD_PC_SERIAL_PORT
1076 bool
1077
Linus Torvalds1da177e2005-04-16 15:20:36 -07001078config ARC_CONSOLE
1079 bool "ARC console support"
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001080 depends on SGI_IP22 || SGI_IP28 || (SNI_RM && CPU_LITTLE_ENDIAN)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001081
1082config ARC_MEMORY
1083 bool
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +01001084 depends on MACH_JAZZ || SNI_RM || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001085 default y
1086
1087config ARC_PROMLIB
1088 bool
Thomas Bogendoerfere2defae2007-12-02 13:00:32 +01001089 depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP28 || SGI_IP32
Linus Torvalds1da177e2005-04-16 15:20:36 -07001090 default y
1091
1092config ARC64
1093 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001094
1095config BOOT_ELF64
1096 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001097
Linus Torvalds1da177e2005-04-16 15:20:36 -07001098menu "CPU selection"
1099
1100choice
1101 prompt "CPU type"
1102 default CPU_R4X00
1103
Wu Zhangjin3702bba2009-07-02 23:27:41 +08001104config CPU_LOONGSON2E
1105 bool "Loongson 2E"
1106 depends on SYS_HAS_CPU_LOONGSON2E
1107 select CPU_LOONGSON2
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001108 help
1109 The Loongson 2E processor implements the MIPS III instruction set
1110 with many extensions.
1111
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001112 It has an internal FPGA northbridge, which is compatiable to
1113 bonito64.
1114
1115config CPU_LOONGSON2F
1116 bool "Loongson 2F"
1117 depends on SYS_HAS_CPU_LOONGSON2F
1118 select CPU_LOONGSON2
Arnaud Patardc197da92010-04-29 11:58:54 +02001119 select GENERIC_GPIO
1120 select ARCH_REQUIRE_GPIOLIB
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001121 help
1122 The Loongson 2F processor implements the MIPS III instruction set
1123 with many extensions.
1124
1125 Loongson2F have built-in DDR2 and PCIX controller. The PCIX controller
1126 have a similar programming interface with FPGA northbridge used in
1127 Loongson2E.
1128
Ralf Baechle6e760c82005-07-06 12:08:11 +00001129config CPU_MIPS32_R1
1130 bool "MIPS32 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001131 depends on SYS_HAS_CPU_MIPS32_R1
Ralf Baechle6e760c82005-07-06 12:08:11 +00001132 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001133 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001134 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle6e760c82005-07-06 12:08:11 +00001135 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001136 Choose this option to build a kernel for release 1 or later of the
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001137 MIPS32 architecture. Most modern embedded systems with a 32-bit
1138 MIPS processor are based on a MIPS32 processor. If you know the
1139 specific type of processor in your system, choose those that one
1140 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1141 Release 2 of the MIPS32 architecture is available since several
1142 years so chances are you even have a MIPS32 Release 2 processor
1143 in which case you should choose CPU_MIPS32_R2 instead for better
1144 performance.
1145
1146config CPU_MIPS32_R2
1147 bool "MIPS32 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001148 depends on SYS_HAS_CPU_MIPS32_R2
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001149 select CPU_HAS_PREFETCH
Ralf Baechle797798c2005-08-10 15:17:11 +00001150 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001151 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001152 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001153 Choose this option to build a kernel for release 2 or later of the
Ralf Baechle6e760c82005-07-06 12:08:11 +00001154 MIPS32 architecture. Most modern embedded systems with a 32-bit
1155 MIPS processor are based on a MIPS32 processor. If you know the
1156 specific type of processor in your system, choose those that one
1157 otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001158
Ralf Baechle6e760c82005-07-06 12:08:11 +00001159config CPU_MIPS64_R1
1160 bool "MIPS64 Release 1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001161 depends on SYS_HAS_CPU_MIPS64_R1
Ralf Baechle797798c2005-08-10 15:17:11 +00001162 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001163 select CPU_SUPPORTS_32BIT_KERNEL
1164 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001165 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd1542009-05-27 17:47:46 -07001166 select CPU_SUPPORTS_HUGEPAGES
Ralf Baechle6e760c82005-07-06 12:08:11 +00001167 help
1168 Choose this option to build a kernel for release 1 or later of the
1169 MIPS64 architecture. Many modern embedded systems with a 64-bit
1170 MIPS processor are based on a MIPS64 processor. If you know the
1171 specific type of processor in your system, choose those that one
1172 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001173 Release 2 of the MIPS64 architecture is available since several
1174 years so chances are you even have a MIPS64 Release 2 processor
1175 in which case you should choose CPU_MIPS64_R2 instead for better
1176 performance.
1177
1178config CPU_MIPS64_R2
1179 bool "MIPS64 Release 2"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001180 depends on SYS_HAS_CPU_MIPS64_R2
Ralf Baechle797798c2005-08-10 15:17:11 +00001181 select CPU_HAS_PREFETCH
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001182 select CPU_SUPPORTS_32BIT_KERNEL
1183 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechleec28f302006-03-05 00:45:33 +00001184 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd1542009-05-27 17:47:46 -07001185 select CPU_SUPPORTS_HUGEPAGES
Ralf Baechle1e5f1ca2005-07-12 14:51:22 +00001186 help
1187 Choose this option to build a kernel for release 2 or later of the
1188 MIPS64 architecture. Many modern embedded systems with a 64-bit
1189 MIPS processor are based on a MIPS64 processor. If you know the
1190 specific type of processor in your system, choose those that one
1191 otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001192
1193config CPU_R3000
1194 bool "R3000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001195 depends on SYS_HAS_CPU_R3000
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001196 select CPU_HAS_WB
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001197 select CPU_SUPPORTS_32BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001198 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001199 help
1200 Please make sure to pick the right CPU type. Linux/MIPS is not
1201 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1202 *not* work on R4000 machines and vice versa. However, since most
1203 of the supported machines have an R4000 (or similar) CPU, R4x00
1204 might be a safe bet. If the resulting kernel does not work,
1205 try to recompile with R3000.
1206
1207config CPU_TX39XX
1208 bool "R39XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001209 depends on SYS_HAS_CPU_TX39XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001210 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001211
1212config CPU_VR41XX
1213 bool "R41xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001214 depends on SYS_HAS_CPU_VR41XX
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001215 select CPU_SUPPORTS_32BIT_KERNEL
1216 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001217 help
Ralf Baechle5e83d432005-10-29 19:32:41 +01001218 The options selects support for the NEC VR4100 series of processors.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001219 Only choose this option if you have one of these processors as a
1220 kernel built with this option will not run on any other type of
1221 processor or vice versa.
1222
1223config CPU_R4300
1224 bool "R4300"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001225 depends on SYS_HAS_CPU_R4300
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001226 select CPU_SUPPORTS_32BIT_KERNEL
1227 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001228 help
1229 MIPS Technologies R4300-series processors.
1230
1231config CPU_R4X00
1232 bool "R4x00"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001233 depends on SYS_HAS_CPU_R4X00
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001234 select CPU_SUPPORTS_32BIT_KERNEL
1235 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001236 help
1237 MIPS Technologies R4000-series processors other than 4300, including
1238 the R4000, R4400, R4600, and 4700.
1239
1240config CPU_TX49XX
1241 bool "R49XX"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001242 depends on SYS_HAS_CPU_TX49XX
Atsushi Nemotode862b42006-03-17 12:59:22 +09001243 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001244 select CPU_SUPPORTS_32BIT_KERNEL
1245 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001246
1247config CPU_R5000
1248 bool "R5000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001249 depends on SYS_HAS_CPU_R5000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001250 select CPU_SUPPORTS_32BIT_KERNEL
1251 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001252 help
1253 MIPS Technologies R5000-series processors other than the Nevada.
1254
1255config CPU_R5432
1256 bool "R5432"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001257 depends on SYS_HAS_CPU_R5432
Ralf Baechle5e83d432005-10-29 19:32:41 +01001258 select CPU_SUPPORTS_32BIT_KERNEL
1259 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001260
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001261config CPU_R5500
1262 bool "R5500"
1263 depends on SYS_HAS_CPU_R5500
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001264 select CPU_SUPPORTS_32BIT_KERNEL
1265 select CPU_SUPPORTS_64BIT_KERNEL
David Daney9cffd1542009-05-27 17:47:46 -07001266 select CPU_SUPPORTS_HUGEPAGES
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001267 help
1268 NEC VR5500 and VR5500A series processors implement 64-bit MIPS IV
1269 instruction set.
1270
Linus Torvalds1da177e2005-04-16 15:20:36 -07001271config CPU_R6000
1272 bool "R6000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001273 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001274 depends on SYS_HAS_CPU_R6000
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001275 select CPU_SUPPORTS_32BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001276 help
1277 MIPS Technologies R6000 and R6000A series processors. Note these
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001278 processors are extremely rare and the support for them is incomplete.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001279
1280config CPU_NEVADA
1281 bool "RM52xx"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001282 depends on SYS_HAS_CPU_NEVADA
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001283 select CPU_SUPPORTS_32BIT_KERNEL
1284 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001285 help
1286 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1287
1288config CPU_R8000
1289 bool "R8000"
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001290 depends on EXPERIMENTAL
Ralf Baechle7cf80532005-10-20 22:33:09 +01001291 depends on SYS_HAS_CPU_R8000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001292 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001293 select CPU_SUPPORTS_64BIT_KERNEL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001294 help
1295 MIPS Technologies R8000 processors. Note these processors are
1296 uncommon and the support for them is incomplete.
1297
1298config CPU_R10000
1299 bool "R10000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001300 depends on SYS_HAS_CPU_R10000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001301 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001302 select CPU_SUPPORTS_32BIT_KERNEL
1303 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001304 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001305 help
1306 MIPS Technologies R10000-series processors.
1307
1308config CPU_RM7000
1309 bool "RM7000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001310 depends on SYS_HAS_CPU_RM7000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001311 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001312 select CPU_SUPPORTS_32BIT_KERNEL
1313 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001314 select CPU_SUPPORTS_HIGHMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07001315
1316config CPU_RM9000
1317 bool "RM9000"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001318 depends on SYS_HAS_CPU_RM9000
Ralf Baechle5e83d432005-10-29 19:32:41 +01001319 select CPU_HAS_PREFETCH
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001320 select CPU_SUPPORTS_32BIT_KERNEL
1321 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001322 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001323 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001324
1325config CPU_SB1
1326 bool "SB1"
Ralf Baechle7cf80532005-10-20 22:33:09 +01001327 depends on SYS_HAS_CPU_SB1
Yoichi Yuasaed5ba2f2005-09-03 15:56:21 -07001328 select CPU_SUPPORTS_32BIT_KERNEL
1329 select CPU_SUPPORTS_64BIT_KERNEL
Ralf Baechle797798c2005-08-10 15:17:11 +00001330 select CPU_SUPPORTS_HIGHMEM
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001331 select WEAK_ORDERING
Linus Torvalds1da177e2005-04-16 15:20:36 -07001332
David Daneya86c7f72008-12-11 15:33:38 -08001333config CPU_CAVIUM_OCTEON
1334 bool "Cavium Octeon processor"
David Daney5e683382009-02-02 11:30:59 -08001335 depends on SYS_HAS_CPU_CAVIUM_OCTEON
David Daneya86c7f72008-12-11 15:33:38 -08001336 select IRQ_CPU
1337 select IRQ_CPU_OCTEON
1338 select CPU_HAS_PREFETCH
1339 select CPU_SUPPORTS_64BIT_KERNEL
1340 select SYS_SUPPORTS_SMP
1341 select NR_CPUS_DEFAULT_16
1342 select WEAK_ORDERING
David Daneya86c7f72008-12-11 15:33:38 -08001343 select CPU_SUPPORTS_HIGHMEM
David Daney9cffd1542009-05-27 17:47:46 -07001344 select CPU_SUPPORTS_HUGEPAGES
David Daneya86c7f72008-12-11 15:33:38 -08001345 help
1346 The Cavium Octeon processor is a highly integrated chip containing
1347 many ethernet hardware widgets for networking tasks. The processor
1348 can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets.
1349 Full details can be found at http://www.caviumnetworks.com.
1350
Kevin Cernekeec1c0c462010-10-17 10:56:53 -07001351config CPU_BMIPS3300
1352 bool "BMIPS3300"
1353 depends on SYS_HAS_CPU_BMIPS3300
1354 select DMA_NONCOHERENT
1355 select IRQ_CPU
1356 select SWAP_IO_SPACE
1357 select SYS_SUPPORTS_32BIT_KERNEL
1358 select WEAK_ORDERING
1359 help
1360 Broadcom BMIPS3300 processors.
1361
1362config CPU_BMIPS4350
1363 bool "BMIPS4350"
1364 depends on SYS_HAS_CPU_BMIPS4350
1365 select CPU_SUPPORTS_32BIT_KERNEL
1366 select DMA_NONCOHERENT
1367 select IRQ_CPU
1368 select SWAP_IO_SPACE
1369 select SYS_SUPPORTS_SMP
1370 select SYS_SUPPORTS_HOTPLUG_CPU
1371 select WEAK_ORDERING
1372 help
1373 Broadcom BMIPS4350 ("VIPER") processors.
1374
1375config CPU_BMIPS4380
1376 bool "BMIPS4380"
1377 depends on SYS_HAS_CPU_BMIPS4380
1378 select CPU_SUPPORTS_32BIT_KERNEL
1379 select DMA_NONCOHERENT
1380 select IRQ_CPU
1381 select SWAP_IO_SPACE
1382 select SYS_SUPPORTS_SMP
1383 select SYS_SUPPORTS_HOTPLUG_CPU
1384 select WEAK_ORDERING
1385 help
1386 Broadcom BMIPS4380 processors.
1387
1388config CPU_BMIPS5000
1389 bool "BMIPS5000"
1390 depends on SYS_HAS_CPU_BMIPS5000
1391 select CPU_SUPPORTS_32BIT_KERNEL
1392 select CPU_SUPPORTS_HIGHMEM
1393 select DMA_NONCOHERENT
1394 select IRQ_CPU
1395 select SWAP_IO_SPACE
1396 select SYS_SUPPORTS_SMP
1397 select SYS_SUPPORTS_HOTPLUG_CPU
1398 select WEAK_ORDERING
1399 help
1400 Broadcom BMIPS5000 processors.
1401
Linus Torvalds1da177e2005-04-16 15:20:36 -07001402endchoice
1403
Wu Zhangjin622844b2010-04-10 20:04:42 +08001404if CPU_LOONGSON2F
1405config CPU_NOP_WORKAROUNDS
1406 bool
1407
1408config CPU_JUMP_WORKAROUNDS
1409 bool
1410
1411config CPU_LOONGSON2F_WORKAROUNDS
1412 bool "Loongson 2F Workarounds"
1413 default y
1414 select CPU_NOP_WORKAROUNDS
1415 select CPU_JUMP_WORKAROUNDS
1416 help
1417 Loongson 2F01 / 2F02 processors have the NOP & JUMP issues which
1418 require workarounds. Without workarounds the system may hang
1419 unexpectedly. For more information please refer to the gas
1420 -mfix-loongson2f-nop and -mfix-loongson2f-jump options.
1421
1422 Loongson 2F03 and later have fixed these issues and no workarounds
1423 are needed. The workarounds have no significant side effect on them
1424 but may decrease the performance of the system so this option should
1425 be disabled unless the kernel is intended to be run on 2F01 or 2F02
1426 systems.
1427
1428 If unsure, please say Y.
1429endif # CPU_LOONGSON2F
1430
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +08001431config SYS_SUPPORTS_ZBOOT
1432 bool
1433 select HAVE_KERNEL_GZIP
1434 select HAVE_KERNEL_BZIP2
1435 select HAVE_KERNEL_LZMA
Wu Zhangjinfe1d45e2010-01-15 20:34:46 +08001436 select HAVE_KERNEL_LZO
Wu Zhangjin1b93b3c2009-10-14 18:12:16 +08001437
1438config SYS_SUPPORTS_ZBOOT_UART16550
1439 bool
1440 select SYS_SUPPORTS_ZBOOT
1441
Wu Zhangjin3702bba2009-07-02 23:27:41 +08001442config CPU_LOONGSON2
1443 bool
1444 select CPU_SUPPORTS_32BIT_KERNEL
1445 select CPU_SUPPORTS_64BIT_KERNEL
1446 select CPU_SUPPORTS_HIGHMEM
1447
1448config SYS_HAS_CPU_LOONGSON2E
Fuxin Zhang2a21c732007-06-06 14:52:43 +08001449 bool
1450
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001451config SYS_HAS_CPU_LOONGSON2F
1452 bool
Wu Zhangjin55045ff2009-11-11 13:39:12 +08001453 select CPU_SUPPORTS_CPUFREQ
1454 select CPU_SUPPORTS_ADDRWINCFG if 64BIT
Wu Zhangjin22f1fdf2009-11-11 13:59:23 +08001455 select CPU_SUPPORTS_UNCACHED_ACCELERATED
Wu Zhangjin6f7a2512009-11-06 18:45:05 +08001456
Ralf Baechle7cf80532005-10-20 22:33:09 +01001457config SYS_HAS_CPU_MIPS32_R1
1458 bool
1459
1460config SYS_HAS_CPU_MIPS32_R2
1461 bool
1462
1463config SYS_HAS_CPU_MIPS64_R1
1464 bool
1465
1466config SYS_HAS_CPU_MIPS64_R2
1467 bool
1468
1469config SYS_HAS_CPU_R3000
1470 bool
1471
1472config SYS_HAS_CPU_TX39XX
1473 bool
1474
1475config SYS_HAS_CPU_VR41XX
1476 bool
1477
1478config SYS_HAS_CPU_R4300
1479 bool
1480
1481config SYS_HAS_CPU_R4X00
1482 bool
1483
1484config SYS_HAS_CPU_TX49XX
1485 bool
1486
1487config SYS_HAS_CPU_R5000
1488 bool
1489
1490config SYS_HAS_CPU_R5432
1491 bool
1492
Shinya Kuribayashi542c1022008-10-24 01:27:57 +09001493config SYS_HAS_CPU_R5500
1494 bool
1495
Ralf Baechle7cf80532005-10-20 22:33:09 +01001496config SYS_HAS_CPU_R6000
1497 bool
1498
1499config SYS_HAS_CPU_NEVADA
1500 bool
1501
1502config SYS_HAS_CPU_R8000
1503 bool
1504
1505config SYS_HAS_CPU_R10000
1506 bool
1507
1508config SYS_HAS_CPU_RM7000
1509 bool
1510
1511config SYS_HAS_CPU_RM9000
1512 bool
1513
1514config SYS_HAS_CPU_SB1
1515 bool
1516
David Daney5e683382009-02-02 11:30:59 -08001517config SYS_HAS_CPU_CAVIUM_OCTEON
1518 bool
1519
Kevin Cernekeec1c0c462010-10-17 10:56:53 -07001520config SYS_HAS_CPU_BMIPS3300
1521 bool
1522
1523config SYS_HAS_CPU_BMIPS4350
1524 bool
1525
1526config SYS_HAS_CPU_BMIPS4380
1527 bool
1528
1529config SYS_HAS_CPU_BMIPS5000
1530 bool
1531
Ralf Baechle17099b12007-07-14 13:24:05 +01001532#
1533# CPU may reorder R->R, R->W, W->R, W->W
1534# Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
1535#
Ralf Baechle0004a9d2006-10-31 03:45:07 +00001536config WEAK_ORDERING
1537 bool
Ralf Baechle17099b12007-07-14 13:24:05 +01001538
1539#
1540# CPU may reorder reads and writes beyond LL/SC
1541# CPU may reorder R->LL, R->LL, W->LL, W->LL, R->SC, R->SC, W->SC, W->SC
1542#
1543config WEAK_REORDERING_BEYOND_LLSC
1544 bool
Ralf Baechle5e83d432005-10-29 19:32:41 +01001545endmenu
1546
1547#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001548# These two indicate any level of the MIPS32 and MIPS64 architecture
Ralf Baechle5e83d432005-10-29 19:32:41 +01001549#
1550config CPU_MIPS32
1551 bool
1552 default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1553
1554config CPU_MIPS64
1555 bool
1556 default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1557
1558#
Chris Dearmanc09b47d2006-06-20 17:15:20 +01001559# These two indicate the revision of the architecture, either Release 1 or Release 2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001560#
1561config CPU_MIPSR1
1562 bool
1563 default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1564
1565config CPU_MIPSR2
1566 bool
David Daneya86c7f72008-12-11 15:33:38 -08001567 default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON
Ralf Baechle5e83d432005-10-29 19:32:41 +01001568
1569config SYS_SUPPORTS_32BIT_KERNEL
1570 bool
1571config SYS_SUPPORTS_64BIT_KERNEL
1572 bool
1573config CPU_SUPPORTS_32BIT_KERNEL
1574 bool
1575config CPU_SUPPORTS_64BIT_KERNEL
1576 bool
Wu Zhangjin55045ff2009-11-11 13:39:12 +08001577config CPU_SUPPORTS_CPUFREQ
1578 bool
1579config CPU_SUPPORTS_ADDRWINCFG
1580 bool
David Daney9cffd1542009-05-27 17:47:46 -07001581config CPU_SUPPORTS_HUGEPAGES
1582 bool
Wu Zhangjin22f1fdf2009-11-11 13:59:23 +08001583config CPU_SUPPORTS_UNCACHED_ACCELERATED
1584 bool
David Daney82622282009-10-14 12:16:56 -07001585config MIPS_PGD_C0_CONTEXT
1586 bool
1587 default y if 64BIT && CPU_MIPSR2
Ralf Baechle5e83d432005-10-29 19:32:41 +01001588
David Daney8192c9e2008-09-23 00:04:26 -07001589#
1590# Set to y for ptrace access to watch registers.
1591#
1592config HARDWARE_WATCHPOINTS
1593 bool
David Daneyf8394902009-01-05 15:29:14 -08001594 default y if CPU_MIPSR1 || CPU_MIPSR2
David Daney8192c9e2008-09-23 00:04:26 -07001595
Ralf Baechle5e83d432005-10-29 19:32:41 +01001596menu "Kernel type"
1597
1598choice
1599
1600 prompt "Kernel code model"
1601 help
1602 You should only select this option if you have a workload that
1603 actually benefits from 64-bit processing or if your machine has
1604 large memory. You will only be presented a single option in this
1605 menu if your system does not support both 32-bit and 64-bit kernels.
1606
1607config 32BIT
1608 bool "32-bit kernel"
1609 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1610 select TRAD_SIGNALS
1611 help
1612 Select this option if you want to build a 32-bit kernel.
1613config 64BIT
1614 bool "64-bit kernel"
1615 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
Ralf Baechledbda6ac2009-02-08 16:00:26 +00001616 select HAVE_SYSCALL_WRAPPERS
Ralf Baechle5e83d432005-10-29 19:32:41 +01001617 help
1618 Select this option if you want to build a 64-bit kernel.
1619
1620endchoice
1621
Linus Torvalds1da177e2005-04-16 15:20:36 -07001622choice
1623 prompt "Kernel page size"
1624 default PAGE_SIZE_4KB
1625
1626config PAGE_SIZE_4KB
1627 bool "4kB"
Wu Zhangjin315fe622009-12-01 14:55:25 +08001628 depends on !CPU_LOONGSON2
Linus Torvalds1da177e2005-04-16 15:20:36 -07001629 help
1630 This option select the standard 4kB Linux page size. On some
1631 R3000-family processors this is the only available page size. Using
1632 4kB page size will minimize memory consumption and is therefore
1633 recommended for low memory systems.
1634
1635config PAGE_SIZE_8KB
1636 bool "8kB"
Ralf Baechlec52399b2009-04-02 14:07:10 +02001637 depends on (EXPERIMENTAL && CPU_R8000) || CPU_CAVIUM_OCTEON
Linus Torvalds1da177e2005-04-16 15:20:36 -07001638 help
1639 Using 8kB page size will result in higher performance kernel at
1640 the price of higher memory consumption. This option is available
Ralf Baechlec52399b2009-04-02 14:07:10 +02001641 only on R8000 and cnMIPS processors. Note that you will need a
1642 suitable Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001643
1644config PAGE_SIZE_16KB
1645 bool "16kB"
Ralf Baechle714bfad2006-05-17 14:04:30 +01001646 depends on !CPU_R3000 && !CPU_TX39XX
Linus Torvalds1da177e2005-04-16 15:20:36 -07001647 help
1648 Using 16kB page size will result in higher performance kernel at
1649 the price of higher memory consumption. This option is available on
Ralf Baechle714bfad2006-05-17 14:04:30 +01001650 all non-R3000 family processors. Note that you will need a suitable
1651 Linux distribution to support this.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001652
Ralf Baechlec52399b2009-04-02 14:07:10 +02001653config PAGE_SIZE_32KB
1654 bool "32kB"
1655 depends on CPU_CAVIUM_OCTEON
1656 help
1657 Using 32kB page size will result in higher performance kernel at
1658 the price of higher memory consumption. This option is available
1659 only on cnMIPS cores. Note that you will need a suitable Linux
1660 distribution to support this.
1661
Linus Torvalds1da177e2005-04-16 15:20:36 -07001662config PAGE_SIZE_64KB
1663 bool "64kB"
1664 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1665 help
1666 Using 64kB page size will result in higher performance kernel at
1667 the price of higher memory consumption. This option is available on
1668 all non-R3000 family processor. Not that at the time of this
Ralf Baechle714bfad2006-05-17 14:04:30 +01001669 writing this option is still high experimental.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001670
1671endchoice
1672
David Daneyc9bace72010-10-11 14:52:45 -07001673config FORCE_MAX_ZONEORDER
1674 int "Maximum zone order"
1675 range 13 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
1676 default "13" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_32KB
1677 range 12 64 if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
1678 default "12" if SYS_SUPPORTS_HUGETLBFS && PAGE_SIZE_16KB
1679 range 11 64
1680 default "11"
1681 help
1682 The kernel memory allocator divides physically contiguous memory
1683 blocks into "zones", where each zone is a power of two number of
1684 pages. This option selects the largest power of two that the kernel
1685 keeps in the memory allocator. If you need to allocate very large
1686 blocks of physically contiguous memory, then you may need to
1687 increase this value.
1688
1689 This config option is actually maximum order plus one. For example,
1690 a value of 11 means that the largest free memory block is 2^10 pages.
1691
1692 The page size is not necessarily 4KB. Keep this in mind
1693 when choosing a value for this option.
1694
Linus Torvalds1da177e2005-04-16 15:20:36 -07001695config BOARD_SCACHE
1696 bool
1697
1698config IP22_CPU_SCACHE
1699 bool
1700 select BOARD_SCACHE
1701
Chris Dearman9318c512006-06-20 17:15:20 +01001702#
1703# Support for a MIPS32 / MIPS64 style S-caches
1704#
1705config MIPS_CPU_SCACHE
1706 bool
1707 select BOARD_SCACHE
1708
Linus Torvalds1da177e2005-04-16 15:20:36 -07001709config R5000_CPU_SCACHE
1710 bool
1711 select BOARD_SCACHE
1712
1713config RM7000_CPU_SCACHE
1714 bool
1715 select BOARD_SCACHE
1716
1717config SIBYTE_DMA_PAGEOPS
1718 bool "Use DMA to clear/copy pages"
1719 depends on CPU_SB1
1720 help
1721 Instead of using the CPU to zero and copy pages, use a Data Mover
1722 channel. These DMA channels are otherwise unused by the standard
1723 SiByte Linux port. Seems to give a small performance benefit.
1724
1725config CPU_HAS_PREFETCH
Ralf Baechlec8094b52005-08-05 14:28:54 +00001726 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001727
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001728choice
1729 prompt "MIPS MT options"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001730
1731config MIPS_MT_DISABLED
1732 bool "Disable multithreading support."
1733 help
1734 Use this option if your workload can't take advantage of
1735 MIPS hardware multithreading support. On systems that don't have
1736 the option of an MT-enabled processor this option will be the only
1737 option in this menu.
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001738
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001739config MIPS_MT_SMP
1740 bool "Use 1 TC on each available VPE for SMP"
1741 depends on SYS_SUPPORTS_MULTITHREADING
1742 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001743 select CPU_MIPSR2_IRQ_EI
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001744 select MIPS_MT
Ralf Baechlef510aa32007-03-16 21:58:37 +00001745 select NR_CPUS_DEFAULT_2
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001746 select SMP
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001747 select SYS_SUPPORTS_SCHED_SMT if SMP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001748 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001749 select SMP_UP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001750 help
Ralf Baechle25f12b32010-09-16 11:40:41 +01001751 This is a kernel model which is known a VSMP but lately has been
1752 marketesed into SMVP.
1753 Virtual SMP uses the processor's VPEs to implement virtual
1754 processors. In currently available configuration of the 34K processor
1755 this allows for a dual processor. Both processors will share the same
1756 primary caches; each will obtain the half of the TLB for it's own
1757 exclusive use. For a layman this model can be described as similar to
1758 what Intel calls Hyperthreading.
1759
1760 For further information see http://www.linux-mips.org/wiki/34K#VSMP
Ralf Baechle59d6ab82006-10-06 17:36:20 +01001761
Ralf Baechle41c594a2006-04-05 09:45:45 +01001762config MIPS_MT_SMTC
1763 bool "SMTC: Use all TCs on all VPEs for SMP"
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001764 depends on CPU_MIPS32_R2
1765 #depends on CPU_MIPS64_R2 # once there is hardware ...
1766 depends on SYS_SUPPORTS_MULTITHREADING
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001767 select CPU_MIPSR2_IRQ_VI
Chris Dearmand725cf32007-05-08 14:05:39 +01001768 select CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001769 select MIPS_MT
Ralf Baechle130e2fb2007-02-06 16:53:15 +00001770 select NR_CPUS_DEFAULT_8
Ralf Baechle41c594a2006-04-05 09:45:45 +01001771 select SMP
Ralf Baechle73b76c72006-08-15 19:36:40 +01001772 select SYS_SUPPORTS_SMP
Ralf Baechle87353d82007-11-19 12:23:51 +00001773 select SMP_UP
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001774 help
1775 This is a kernel model which is known a SMTC or lately has been
1776 marketesed into SMVP.
Ralf Baechle25f12b32010-09-16 11:40:41 +01001777 is presenting the available TC's of the core as processors to Linux.
1778 On currently available 34K processors this means a Linux system will
1779 see up to 5 processors. The implementation of the SMTC kernel differs
1780 significantly from VSMP and cannot efficiently coexist in the same
1781 kernel binary so the choice between VSMP and SMTC is a compile time
1782 decision.
1783
1784 For further information see http://www.linux-mips.org/wiki/34K#SMTC
Ralf Baechle41c594a2006-04-05 09:45:45 +01001785
Ralf Baechle340ee4b2005-08-17 17:44:08 +00001786endchoice
1787
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001788config MIPS_MT
1789 bool
1790
Ralf Baechle0ab7aef2007-03-02 20:42:04 +00001791config SCHED_SMT
1792 bool "SMT (multithreading) scheduler support"
1793 depends on SYS_SUPPORTS_SCHED_SMT
1794 default n
1795 help
1796 SMT scheduler support improves the CPU scheduler's decision making
1797 when dealing with MIPS MT enabled cores at a cost of slightly
1798 increased overhead in some places. If unsure say N here.
1799
1800config SYS_SUPPORTS_SCHED_SMT
1801 bool
1802
1803
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001804config SYS_SUPPORTS_MULTITHREADING
1805 bool
1806
Ralf Baechlef088fc82006-04-05 09:45:47 +01001807config MIPS_MT_FPAFF
1808 bool "Dynamic FPU affinity for FP-intensive threads"
Ralf Baechlef088fc82006-04-05 09:45:47 +01001809 default y
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001810 depends on MIPS_MT_SMP || MIPS_MT_SMTC
1811
1812config MIPS_VPE_LOADER
1813 bool "VPE loader support."
1814 depends on SYS_SUPPORTS_MULTITHREADING
1815 select CPU_MIPSR2_IRQ_VI
1816 select CPU_MIPSR2_IRQ_EI
Ralf Baechle07cc0c92007-07-27 19:31:10 +01001817 select MIPS_MT
1818 help
1819 Includes a loader for loading an elf relocatable object
1820 onto another VPE and running it.
Ralf Baechlef088fc82006-04-05 09:45:47 +01001821
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001822config MIPS_MT_SMTC_IM_BACKSTOP
1823 bool "Use per-TC register bits as backstop for inhibited IM bits"
1824 depends on MIPS_MT_SMTC
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001825 default n
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001826 help
1827 To support multiple TC microthreads acting as "CPUs" within
1828 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1829 during interrupt handling. To support legacy drivers and interrupt
1830 controller management code, SMTC has a "backstop" to track and
1831 if necessary restore the interrupt mask. This has some performance
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001832 impact on interrupt service overhead.
Kevin D. Kissell0db34212007-07-12 16:21:08 +01001833
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001834config MIPS_MT_SMTC_IRQAFF
1835 bool "Support IRQ affinity API"
1836 depends on MIPS_MT_SMTC
1837 default n
1838 help
1839 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1840 for SMTC Linux kernel. Requires platform support, of which
1841 an example can be found in the MIPS kernel i8259 and Malta
Kevin D. Kissell8531a352008-09-09 21:48:52 +02001842 platform code. Adds some overhead to interrupt dispatch, and
1843 should be used only if you know what you are doing.
Kevin D. Kissellf571eff2007-08-03 19:38:03 +02001844
Ralf Baechlee01402b2005-07-14 15:57:16 +00001845config MIPS_VPE_LOADER_TOM
1846 bool "Load VPE program into memory hidden from linux"
1847 depends on MIPS_VPE_LOADER
1848 default y
1849 help
1850 The loader can use memory that is present but has been hidden from
1851 Linux using the kernel command line option "mem=xxMB". It's up to
1852 you to ensure the amount you put in the option and the space your
1853 program requires is less or equal to the amount physically present.
1854
1855# this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1856config MIPS_VPE_APSP_API
Ralf Baechle5e83d432005-10-29 19:32:41 +01001857 bool "Enable support for AP/SP API (RTLX)"
1858 depends on MIPS_VPE_LOADER
1859 help
Ralf Baechlee01402b2005-07-14 15:57:16 +00001860
Ralf Baechle26009902006-04-05 09:45:45 +01001861config MIPS_APSP_KSPD
1862 bool "Enable KSPD"
1863 depends on MIPS_VPE_APSP_API
1864 default y
1865 help
1866 KSPD is a kernel daemon that accepts syscall requests from the SP
1867 side, actions them and returns the results. It also handles the
1868 "exit" syscall notifying other kernel modules the SP program is
1869 exiting. You probably want to say yes here.
1870
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001871config MIPS_CMP
1872 bool "MIPS CMP framework support"
1873 depends on SYS_SUPPORTS_MIPS_CMP
Tim Andersoneb9b5142009-06-17 16:40:34 -07001874 select SYNC_R4K
Ralf Baechle4a16ff42008-10-04 00:06:29 +01001875 select SYS_SUPPORTS_SMP
1876 select SYS_SUPPORTS_SCHED_SMT if SMP
1877 select WEAK_ORDERING
1878 default n
1879 help
1880 This is a placeholder option for the GCMP work. It will need to
1881 be handled differently...
1882
Linus Torvalds1da177e2005-04-16 15:20:36 -07001883config SB1_PASS_1_WORKAROUNDS
1884 bool
1885 depends on CPU_SB1_PASS_1
1886 default y
1887
1888config SB1_PASS_2_WORKAROUNDS
1889 bool
1890 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1891 default y
1892
1893config SB1_PASS_2_1_WORKAROUNDS
1894 bool
1895 depends on CPU_SB1 && CPU_SB1_PASS_2
1896 default y
1897
1898config 64BIT_PHYS_ADDR
Ralf Baechled806cb22007-08-02 00:36:08 +01001899 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001900
pascal@pabr.org60ec6572010-01-03 13:39:12 +01001901config ARCH_PHYS_ADDR_T_64BIT
1902 def_bool 64BIT_PHYS_ADDR
1903
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001904config CPU_HAS_SMARTMIPS
1905 depends on SYS_SUPPORTS_SMARTMIPS
1906 bool "Support for the SmartMIPS ASE"
1907 help
1908 SmartMIPS is a extension of the MIPS32 architecture aimed at
1909 increased security at both hardware and software level for
1910 smartcards. Enabling this option will allow proper use of the
1911 SmartMIPS instructions by Linux applications. However a kernel with
1912 this option will not work on a MIPS core without SmartMIPS core. If
1913 you don't know you probably don't have SmartMIPS and should say N
1914 here.
1915
Linus Torvalds1da177e2005-04-16 15:20:36 -07001916config CPU_HAS_WB
Ralf Baechlef7062dd2006-04-24 14:58:53 +01001917 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001918
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001919#
1920# Vectored interrupt mode is an R2 feature
1921#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001922config CPU_MIPSR2_IRQ_VI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001923 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001924
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001925#
1926# Extended interrupt mode is an R2 feature
1927#
Ralf Baechlee01402b2005-07-14 15:57:16 +00001928config CPU_MIPSR2_IRQ_EI
Ralf Baechlef41ae0b2006-06-05 17:24:46 +01001929 bool
Ralf Baechlee01402b2005-07-14 15:57:16 +00001930
Linus Torvalds1da177e2005-04-16 15:20:36 -07001931config CPU_HAS_SYNC
1932 bool
1933 depends on !CPU_R3000
1934 default y
1935
Ralf Baechleea580402007-10-11 23:46:09 +01001936config GENERIC_CLOCKEVENTS_BROADCAST
1937 bool
1938
Linus Torvalds1da177e2005-04-16 15:20:36 -07001939#
Maciej W. Rozycki20d60d92007-10-23 12:43:11 +01001940# CPU non-features
1941#
1942config CPU_DADDI_WORKAROUNDS
1943 bool
1944
1945config CPU_R4000_WORKAROUNDS
1946 bool
1947 select CPU_R4400_WORKAROUNDS
1948
1949config CPU_R4400_WORKAROUNDS
1950 bool
1951
1952#
Linus Torvalds1da177e2005-04-16 15:20:36 -07001953# - Highmem only makes sense for the 32-bit kernel.
1954# - The current highmem code will only work properly on physically indexed
1955# caches such as R3000, SB1, R7000 or those that look like they're virtually
1956# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1957# moment we protect the user and offer the highmem option only on machines
1958# where it's known to be safe. This will not offer highmem on a few systems
1959# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1960# indexed CPUs but we're playing safe.
Ralf Baechle797798c2005-08-10 15:17:11 +00001961# - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1962# know they might have memory configurations that could make use of highmem
1963# support.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001964#
1965config HIGHMEM
1966 bool "High Memory Support"
Ralf Baechle797798c2005-08-10 15:17:11 +00001967 depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1968
1969config CPU_SUPPORTS_HIGHMEM
1970 bool
1971
1972config SYS_SUPPORTS_HIGHMEM
1973 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07001974
Franck Bui-Huu9693a852007-02-02 17:41:47 +01001975config SYS_SUPPORTS_SMARTMIPS
1976 bool
1977
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001978config ARCH_FLATMEM_ENABLE
1979 def_bool y
Wu Zhangjinf133f222009-12-01 14:55:42 +08001980 depends on !NUMA && !CPU_LOONGSON2
Yoichi Yuasab4819b52005-06-25 14:54:31 -07001981
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001982config ARCH_DISCONTIGMEM_ENABLE
1983 bool
1984 default y if SGI_IP27
1985 help
David Sterba3dde6ad2007-05-09 07:12:20 +02001986 Say Y to support efficient handling of discontiguous physical memory,
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001987 for architectures which are either NUMA (Non-Uniform Memory Access)
1988 or have huge holes in the physical address space for other reasons.
1989 See <file:Documentation/vm/numa> for more.
1990
Ralf Baechlecce335a2007-11-03 02:05:43 +00001991config ARCH_POPULATES_NODE_MAP
1992 def_bool y
1993
Atsushi Nemotob1c6cd42006-07-03 00:09:47 +09001994config ARCH_SPARSEMEM_ENABLE
1995 bool
Atsushi Nemoto7de58fa2006-07-05 01:22:44 +09001996 select SPARSEMEM_STATIC
Atsushi Nemoto31473742006-07-03 00:09:47 +09001997
Ralf Baechled8cb4e12006-06-11 23:03:08 +01001998config NUMA
1999 bool "NUMA Support"
2000 depends on SYS_SUPPORTS_NUMA
2001 help
2002 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
2003 Access). This option improves performance on systems with more
2004 than two nodes; on two node systems it is generally better to
2005 leave it disabled; on single node systems disable this option
2006 disabled.
2007
2008config SYS_SUPPORTS_NUMA
2009 bool
2010
Yasunori Gotoc80d79d2006-04-10 22:53:53 -07002011config NODES_SHIFT
2012 int
2013 default "6"
2014 depends on NEED_MULTIPLE_NODES
2015
Deng-Cheng Zhu14f70012010-10-12 19:37:22 +08002016config HW_PERF_EVENTS
2017 bool "Enable hardware performance counter support for perf events"
2018 depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && CPU_MIPS32
2019 default y
2020 help
2021 Enable hardware performance counter support for perf events. If
2022 disabled, perf events will use software events only.
2023
Yoichi Yuasab4819b52005-06-25 14:54:31 -07002024source "mm/Kconfig"
2025
Linus Torvalds1da177e2005-04-16 15:20:36 -07002026config SMP
2027 bool "Multi-Processing support"
Ralf Baechlee73ea272006-06-04 11:51:46 +01002028 depends on SYS_SUPPORTS_SMP
Ralf Baechleb4b30a52006-08-03 17:34:24 +01002029 select IRQ_PER_CPU
Jens Axboe2f304c02008-06-17 10:45:23 +02002030 select USE_GENERIC_SMP_HELPERS
Ralf Baechlee73ea272006-06-04 11:51:46 +01002031 help
Linus Torvalds1da177e2005-04-16 15:20:36 -07002032 This enables support for systems with more than one CPU. If you have
2033 a system with only one CPU, like most personal computers, say N. If
2034 you have a system with more than one CPU, say Y.
2035
2036 If you say N here, the kernel will run on single and multiprocessor
2037 machines, but will use only one CPU of a multiprocessor machine. If
2038 you say Y here, the kernel will run on many, but not all,
2039 singleprocessor machines. On a singleprocessor machine, the kernel
2040 will run faster if you say N here.
2041
2042 People using multiprocessor machines who say Y here should also say
2043 Y to "Enhanced Real Time Clock Support", below.
2044
Adrian Bunk03502fa2008-02-03 15:50:21 +02002045 See also the SMP-HOWTO available at
2046 <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002047
2048 If you don't know what to do here, say N.
2049
Ralf Baechle87353d82007-11-19 12:23:51 +00002050config SMP_UP
2051 bool
2052
Ralf Baechle4a16ff42008-10-04 00:06:29 +01002053config SYS_SUPPORTS_MIPS_CMP
2054 bool
2055
Ralf Baechlee73ea272006-06-04 11:51:46 +01002056config SYS_SUPPORTS_SMP
2057 bool
2058
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09002059config NR_CPUS_DEFAULT_1
2060 bool
2061
Ralf Baechle130e2fb2007-02-06 16:53:15 +00002062config NR_CPUS_DEFAULT_2
2063 bool
2064
2065config NR_CPUS_DEFAULT_4
2066 bool
2067
2068config NR_CPUS_DEFAULT_8
2069 bool
2070
2071config NR_CPUS_DEFAULT_16
2072 bool
2073
2074config NR_CPUS_DEFAULT_32
2075 bool
2076
2077config NR_CPUS_DEFAULT_64
2078 bool
2079
Linus Torvalds1da177e2005-04-16 15:20:36 -07002080config NR_CPUS
2081 int "Maximum number of CPUs (2-64)"
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09002082 range 1 64 if NR_CPUS_DEFAULT_1
Linus Torvalds1da177e2005-04-16 15:20:36 -07002083 depends on SMP
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09002084 default "1" if NR_CPUS_DEFAULT_1
Ralf Baechle130e2fb2007-02-06 16:53:15 +00002085 default "2" if NR_CPUS_DEFAULT_2
2086 default "4" if NR_CPUS_DEFAULT_4
2087 default "8" if NR_CPUS_DEFAULT_8
2088 default "16" if NR_CPUS_DEFAULT_16
2089 default "32" if NR_CPUS_DEFAULT_32
2090 default "64" if NR_CPUS_DEFAULT_64
Linus Torvalds1da177e2005-04-16 15:20:36 -07002091 help
2092 This allows you to specify the maximum number of CPUs which this
2093 kernel will support. The maximum supported value is 32 for 32-bit
2094 kernel and 64 for 64-bit kernels; the minimum value which makes
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09002095 sense is 1 for Qemu (useful only for kernel debugging purposes)
2096 and 2 for all others.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002097
2098 This is purely to save memory - each supported CPU adds
Atsushi Nemoto72ede9b2007-03-18 01:01:39 +09002099 approximately eight kilobytes to the kernel image. For best
2100 performance should round up your number of processors to the next
2101 power of two.
Linus Torvalds1da177e2005-04-16 15:20:36 -07002102
Atsushi Nemotoc4eee282007-11-12 01:05:16 +09002103source "kernel/time/Kconfig"
2104
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09002105#
2106# Timer Interrupt Frequency Configuration
2107#
2108
2109choice
2110 prompt "Timer frequency"
2111 default HZ_250
2112 help
2113 Allows the configuration of the timer frequency.
2114
2115 config HZ_48
Ralf Baechle0f873582008-02-25 16:55:29 +00002116 bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ
Atsushi Nemoto1723b4a2006-06-20 00:19:13 +09002117
2118 config HZ_100
2119 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
2120
2121 config HZ_128
2122 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
2123
2124 config HZ_250
2125 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
2126
2127 config HZ_256
2128 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
2129
2130 config HZ_1000
2131 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
2132
2133 config HZ_1024
2134 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
2135
2136endchoice
2137
2138config SYS_SUPPORTS_48HZ
2139 bool
2140
2141config SYS_SUPPORTS_100HZ
2142 bool
2143
2144config SYS_SUPPORTS_128HZ
2145 bool
2146
2147config SYS_SUPPORTS_250HZ
2148 bool
2149
2150config SYS_SUPPORTS_256HZ
2151 bool
2152
2153config SYS_SUPPORTS_1000HZ
2154 bool
2155
2156config SYS_SUPPORTS_1024HZ
2157 bool
2158
2159config SYS_SUPPORTS_ARBIT_HZ
2160 bool
2161 default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
2162 !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
2163 !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
2164 !SYS_SUPPORTS_1024HZ
2165
2166config HZ
2167 int
2168 default 48 if HZ_48
2169 default 100 if HZ_100
2170 default 128 if HZ_128
2171 default 250 if HZ_250
2172 default 256 if HZ_256
2173 default 1000 if HZ_1000
2174 default 1024 if HZ_1024
2175
Ralf Baechlee80de852005-07-11 20:45:51 +00002176source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -07002177
Linus Torvalds1da177e2005-04-16 15:20:36 -07002178config MIPS_INSANE_LARGE
2179 bool "Support for large 64-bit configurations"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002180 depends on CPU_R10000 && 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002181 help
2182 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
2183 previous 64-bit processors which only supported 40 bit / 1TB. If you
2184 need processes of more than 1TB virtual address space, say Y here.
2185 This will result in additional memory usage, so it is not
2186 recommended for normal users.
2187
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002188config KEXEC
2189 bool "Kexec system call (EXPERIMENTAL)"
2190 depends on EXPERIMENTAL
2191 help
2192 kexec is a system call that implements the ability to shutdown your
2193 current kernel, and to start another kernel. It is like a reboot
David Sterba3dde6ad2007-05-09 07:12:20 +02002194 but it is independent of the system firmware. And like a reboot
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002195 you can start any kernel with it, not just Linux.
2196
Matt LaPlante01dd2fb2007-10-20 01:34:40 +02002197 The name comes from the similarity to the exec system call.
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002198
2199 It is an ongoing process to be certain the hardware in a machine
2200 is properly shutdown, so do not be surprised if this code does not
2201 initially work for you. It may help to enable device hotplugging
2202 support. As of this writing the exact hardware interface is
2203 strongly in flux, so no good recommendation can be made.
2204
2205config SECCOMP
2206 bool "Enable seccomp to safely compute untrusted bytecode"
Ralf Baechle293c5bd2007-07-25 16:19:33 +01002207 depends on PROC_FS
Atsushi Nemotoea6e9422007-01-16 23:29:11 +09002208 default y
2209 help
2210 This kernel feature is useful for number crunching applications
2211 that may need to compute untrusted bytecode during their
2212 execution. By using pipes or other transports made available to
2213 the process as file descriptors supporting the read/write
2214 syscalls, it's possible to isolate those applications in
2215 their own address space using seccomp. Once seccomp is
2216 enabled via /proc/<pid>/seccomp, it cannot be disabled
2217 and the task is only allowed to execute a few safe syscalls
2218 defined by each seccomp mode.
2219
2220 If unsure, say Y. Only embedded should say N here.
2221
Dezhong Diaof2ffa5a2010-10-13 00:52:46 -06002222config USE_OF
2223 bool "Flattened Device Tree support"
2224 select OF
Stephen Neuendorffere6ce1322010-11-18 15:54:56 -08002225 select OF_EARLY_FLATTREE
Dezhong Diaof2ffa5a2010-10-13 00:52:46 -06002226 help
2227 Include support for flattened device tree machine descriptions.
2228
Ralf Baechle5e83d432005-10-29 19:32:41 +01002229endmenu
2230
Atsushi Nemoto1df0f0f2006-09-26 23:44:01 +09002231config LOCKDEP_SUPPORT
2232 bool
2233 default y
2234
2235config STACKTRACE_SUPPORT
2236 bool
2237 default y
2238
Ralf Baechleb6c35392005-11-25 11:35:40 +00002239source "init/Kconfig"
2240
Matt Helsleydc52ddc2008-10-18 20:27:21 -07002241source "kernel/Kconfig.freezer"
2242
Linus Torvalds1da177e2005-04-16 15:20:36 -07002243menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
2244
Ralf Baechle5e83d432005-10-29 19:32:41 +01002245config HW_HAS_EISA
2246 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002247config HW_HAS_PCI
2248 bool
2249
2250config PCI
2251 bool "Support for PCI controller"
2252 depends on HW_HAS_PCI
Ralf Baechleabb4ae42007-10-11 23:46:03 +01002253 select PCI_DOMAINS
Linus Torvalds1da177e2005-04-16 15:20:36 -07002254 help
2255 Find out whether you have a PCI motherboard. PCI is the name of a
2256 bus system, i.e. the way the CPU talks to the other stuff inside
2257 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
2258 say Y, otherwise N.
2259
Linus Torvalds1da177e2005-04-16 15:20:36 -07002260config PCI_DOMAINS
2261 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002262
2263source "drivers/pci/Kconfig"
2264
2265#
2266# ISA support is now enabled via select. Too many systems still have the one
2267# or other ISA chip on the board that users don't know about so don't expect
2268# users to choose the right thing ...
2269#
2270config ISA
2271 bool
2272
2273config EISA
2274 bool "EISA support"
Ralf Baechle5e83d432005-10-29 19:32:41 +01002275 depends on HW_HAS_EISA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002276 select ISA
Ralf Baechleaa414df2006-11-30 01:14:51 +00002277 select GENERIC_ISA_DMA
Linus Torvalds1da177e2005-04-16 15:20:36 -07002278 ---help---
2279 The Extended Industry Standard Architecture (EISA) bus was
2280 developed as an open alternative to the IBM MicroChannel bus.
2281
2282 The EISA bus provided some of the features of the IBM MicroChannel
2283 bus while maintaining backward compatibility with cards made for
2284 the older ISA bus. The EISA bus saw limited use between 1988 and
2285 1995 when it was made obsolete by the PCI bus.
2286
2287 Say Y here if you are building a kernel for an EISA-based machine.
2288
2289 Otherwise, say N.
2290
2291source "drivers/eisa/Kconfig"
2292
2293config TC
2294 bool "TURBOchannel support"
2295 depends on MACH_DECSTATION
2296 help
Justin P. Mattock50a23e62010-10-16 10:36:23 -07002297 TURBOchannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2298 processors. TURBOchannel programming specifications are available
2299 at:
2300 <ftp://ftp.hp.com/pub/alphaserver/archive/triadd/>
2301 and:
2302 <http://www.computer-refuge.org/classiccmp/ftp.digital.com/pub/DEC/TriAdd/>
2303 Linux driver support status is documented at:
2304 <http://www.linux-mips.org/wiki/DECstation>
Linus Torvalds1da177e2005-04-16 15:20:36 -07002305
2306#config ACCESSBUS
2307# bool "Access.Bus support"
2308# depends on TC
2309
2310config MMU
2311 bool
2312 default y
2313
Ralf Baechled865bea2007-10-11 23:46:10 +01002314config I8253
2315 bool
Wu Zhangjin9726b432009-11-17 01:32:58 +08002316 select MIPS_EXTERNAL_TIMER
Ralf Baechled865bea2007-10-11 23:46:10 +01002317
Ralf Baechlecce335a2007-11-03 02:05:43 +00002318config ZONE_DMA32
2319 bool
2320
Linus Torvalds1da177e2005-04-16 15:20:36 -07002321source "drivers/pcmcia/Kconfig"
2322
2323source "drivers/pci/hotplug/Kconfig"
2324
2325endmenu
2326
2327menu "Executable file formats"
2328
2329source "fs/Kconfig.binfmt"
2330
2331config TRAD_SIGNALS
2332 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07002333
Linus Torvalds1da177e2005-04-16 15:20:36 -07002334config MIPS32_COMPAT
2335 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
Ralf Baechle875d43e2005-09-03 15:56:16 -07002336 depends on 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -07002337 help
2338 Select this option if you want Linux/MIPS 32-bit binary
2339 compatibility. Since all software available for Linux/MIPS is
2340 currently 32-bit you should say Y here.
2341
2342config COMPAT
2343 bool
2344 depends on MIPS32_COMPAT
2345 default y
2346
Atsushi Nemoto05e43962006-11-07 18:02:44 +09002347config SYSVIPC_COMPAT
2348 bool
2349 depends on COMPAT && SYSVIPC
2350 default y
2351
Linus Torvalds1da177e2005-04-16 15:20:36 -07002352config MIPS32_O32
2353 bool "Kernel support for o32 binaries"
2354 depends on MIPS32_COMPAT
2355 help
2356 Select this option if you want to run o32 binaries. These are pure
2357 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
2358 existing binaries are in this format.
2359
2360 If unsure, say Y.
2361
2362config MIPS32_N32
2363 bool "Kernel support for n32 binaries"
2364 depends on MIPS32_COMPAT
2365 help
2366 Select this option if you want to run n32 binaries. These are
2367 64-bit binaries using 32-bit quantities for addressing and certain
2368 data that would normally be 64-bit. They are used in special
2369 cases.
2370
2371 If unsure, say N.
2372
2373config BINFMT_ELF32
2374 bool
2375 default y if MIPS32_O32 || MIPS32_N32
2376
Ralf Baechle21162452007-02-09 17:08:58 +00002377endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -07002378
Ralf Baechle21162452007-02-09 17:08:58 +00002379menu "Power management options"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002380
Wu Zhangjin363c55c2009-06-04 20:27:10 +08002381config ARCH_HIBERNATION_POSSIBLE
2382 def_bool y
Ralf Baechle3f5b3e12009-07-02 11:48:07 +01002383 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Wu Zhangjin363c55c2009-06-04 20:27:10 +08002384
Johannes Bergf4cb5702007-12-08 02:14:00 +01002385config ARCH_SUSPEND_POSSIBLE
2386 def_bool y
Ralf Baechle3f5b3e12009-07-02 11:48:07 +01002387 depends on SYS_SUPPORTS_HOTPLUG_CPU || !SMP
Johannes Bergf4cb5702007-12-08 02:14:00 +01002388
Ralf Baechle21162452007-02-09 17:08:58 +00002389source "kernel/power/Kconfig"
Rodolfo Giometti952fa952006-06-05 17:43:10 +02002390
Linus Torvalds1da177e2005-04-16 15:20:36 -07002391endmenu
2392
Wu Zhangjin9726b432009-11-17 01:32:58 +08002393source "arch/mips/kernel/cpufreq/Kconfig"
2394
Sam Ravnborgd5950b42005-07-11 21:03:49 -07002395source "net/Kconfig"
2396
Linus Torvalds1da177e2005-04-16 15:20:36 -07002397source "drivers/Kconfig"
2398
2399source "fs/Kconfig"
2400
2401source "arch/mips/Kconfig.debug"
2402
2403source "security/Kconfig"
2404
2405source "crypto/Kconfig"
2406
2407source "lib/Kconfig"