blob: 3a6c8ec34cd96b29f3b585331ecf4a8cdf8dd3eb [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001comment "Processor Type"
2
3config CPU_32
4 bool
5 default y
6
7# Select CPU types depending on the architecture selected. This selects
8# which CPUs we support in the kernel image, and the compiler instruction
9# optimiser behaviour.
10
11# ARM610
12config CPU_ARM610
13 bool "Support ARM610 processor"
14 depends on ARCH_RPC
15 select CPU_32v3
16 select CPU_CACHE_V3
17 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +090018 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +010019 select CPU_COPY_V3 if MMU
20 select CPU_TLB_V3 if MMU
Paul Brook48d79272008-04-18 22:43:07 +010021 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -070022 help
23 The ARM610 is the successor to the ARM3 processor
24 and was produced by VLSI Technology Inc.
25
26 Say Y if you want support for the ARM610 processor.
27 Otherwise, say N.
28
Hyok S. Choi07e0da72006-09-26 17:37:36 +090029# ARM7TDMI
30config CPU_ARM7TDMI
31 bool "Support ARM7TDMI processor"
Russell King6b237a32006-09-27 17:44:39 +010032 depends on !MMU
Hyok S. Choi07e0da72006-09-26 17:37:36 +090033 select CPU_32v4T
34 select CPU_ABRT_LV4T
Catalin Marinas4a1fd552008-04-21 18:42:04 +010035 select CPU_PABRT_NOIFAR
Hyok S. Choi07e0da72006-09-26 17:37:36 +090036 select CPU_CACHE_V4
37 help
38 A 32-bit RISC microprocessor based on the ARM7 processor core
39 which has no memory control unit and cache.
40
41 Say Y if you want support for the ARM7TDMI processor.
42 Otherwise, say N.
43
Linus Torvalds1da177e2005-04-16 15:20:36 -070044# ARM710
45config CPU_ARM710
46 bool "Support ARM710 processor" if !ARCH_CLPS7500 && ARCH_RPC
47 default y if ARCH_CLPS7500
48 select CPU_32v3
49 select CPU_CACHE_V3
50 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +090051 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +010052 select CPU_COPY_V3 if MMU
53 select CPU_TLB_V3 if MMU
Paul Brook48d79272008-04-18 22:43:07 +010054 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -070055 help
56 A 32-bit RISC microprocessor based on the ARM7 processor core
57 designed by Advanced RISC Machines Ltd. The ARM710 is the
58 successor to the ARM610 processor. It was released in
59 July 1994 by VLSI Technology Inc.
60
61 Say Y if you want support for the ARM710 processor.
62 Otherwise, say N.
63
64# ARM720T
65config CPU_ARM720T
66 bool "Support ARM720T processor" if !ARCH_CLPS711X && !ARCH_L7200 && !ARCH_CDB89712 && ARCH_INTEGRATOR
67 default y if ARCH_CLPS711X || ARCH_L7200 || ARCH_CDB89712 || ARCH_H720X
Lennert Buytenhek260e98e2006-08-28 12:51:20 +010068 select CPU_32v4T
Linus Torvalds1da177e2005-04-16 15:20:36 -070069 select CPU_ABRT_LV4T
Paul Brook48d79272008-04-18 22:43:07 +010070 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -070071 select CPU_CACHE_V4
72 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +090073 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +010074 select CPU_COPY_V4WT if MMU
75 select CPU_TLB_V4WT if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -070076 help
77 A 32-bit RISC processor with 8kByte Cache, Write Buffer and
78 MMU built around an ARM7TDMI core.
79
80 Say Y if you want support for the ARM720T processor.
81 Otherwise, say N.
82
Hyok S. Choib731c312006-09-26 17:37:50 +090083# ARM740T
84config CPU_ARM740T
85 bool "Support ARM740T processor" if ARCH_INTEGRATOR
Russell King6b237a32006-09-27 17:44:39 +010086 depends on !MMU
Hyok S. Choib731c312006-09-26 17:37:50 +090087 select CPU_32v4T
88 select CPU_ABRT_LV4T
Catalin Marinas4a1fd552008-04-21 18:42:04 +010089 select CPU_PABRT_NOIFAR
Hyok S. Choib731c312006-09-26 17:37:50 +090090 select CPU_CACHE_V3 # although the core is v4t
91 select CPU_CP15_MPU
92 help
93 A 32-bit RISC processor with 8KB cache or 4KB variants,
94 write buffer and MPU(Protection Unit) built around
95 an ARM7TDMI core.
96
97 Say Y if you want support for the ARM740T processor.
98 Otherwise, say N.
99
Hyok S. Choi43f5f012006-09-26 17:38:05 +0900100# ARM9TDMI
101config CPU_ARM9TDMI
102 bool "Support ARM9TDMI processor"
Russell King6b237a32006-09-27 17:44:39 +0100103 depends on !MMU
Hyok S. Choi43f5f012006-09-26 17:38:05 +0900104 select CPU_32v4T
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +0900105 select CPU_ABRT_NOMMU
Catalin Marinas4a1fd552008-04-21 18:42:04 +0100106 select CPU_PABRT_NOIFAR
Hyok S. Choi43f5f012006-09-26 17:38:05 +0900107 select CPU_CACHE_V4
108 help
109 A 32-bit RISC microprocessor based on the ARM9 processor core
110 which has no memory control unit and cache.
111
112 Say Y if you want support for the ARM9TDMI processor.
113 Otherwise, say N.
114
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115# ARM920T
116config CPU_ARM920T
Ben Dooks3434d9d2006-06-24 21:21:28 +0100117 bool "Support ARM920T processor"
118 depends on ARCH_EP93XX || ARCH_INTEGRATOR || CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_IMX || ARCH_AAEC2000 || ARCH_AT91RM9200
119 default y if CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_AT91RM9200
Lennert Buytenhek260e98e2006-08-28 12:51:20 +0100120 select CPU_32v4T
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121 select CPU_ABRT_EV4T
Paul Brook48d79272008-04-18 22:43:07 +0100122 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123 select CPU_CACHE_V4WT
124 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900125 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100126 select CPU_COPY_V4WB if MMU
127 select CPU_TLB_V4WBI if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128 help
129 The ARM920T is licensed to be produced by numerous vendors,
130 and is used in the Maverick EP9312 and the Samsung S3C2410.
131
132 More information on the Maverick EP9312 at
133 <http://linuxdevices.com/products/PD2382866068.html>.
134
135 Say Y if you want support for the ARM920T processor.
136 Otherwise, say N.
137
138# ARM922T
139config CPU_ARM922T
140 bool "Support ARM922T processor" if ARCH_INTEGRATOR
Andrew Victorc53c9cf2007-05-11 21:01:28 +0100141 depends on ARCH_LH7A40X || ARCH_INTEGRATOR || ARCH_KS8695
142 default y if ARCH_LH7A40X || ARCH_KS8695
Lennert Buytenhek260e98e2006-08-28 12:51:20 +0100143 select CPU_32v4T
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144 select CPU_ABRT_EV4T
Paul Brook48d79272008-04-18 22:43:07 +0100145 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146 select CPU_CACHE_V4WT
147 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900148 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100149 select CPU_COPY_V4WB if MMU
150 select CPU_TLB_V4WBI if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151 help
152 The ARM922T is a version of the ARM920T, but with smaller
153 instruction and data caches. It is used in Altera's
Andrew Victorc53c9cf2007-05-11 21:01:28 +0100154 Excalibur XA device family and Micrel's KS8695 Centaur.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155
156 Say Y if you want support for the ARM922T processor.
157 Otherwise, say N.
158
159# ARM925T
160config CPU_ARM925T
Tony Lindgrenb288f752005-07-10 19:58:08 +0100161 bool "Support ARM925T processor" if ARCH_OMAP1
Tony Lindgren3179a012005-11-10 14:26:48 +0000162 depends on ARCH_OMAP15XX
163 default y if ARCH_OMAP15XX
Lennert Buytenhek260e98e2006-08-28 12:51:20 +0100164 select CPU_32v4T
Linus Torvalds1da177e2005-04-16 15:20:36 -0700165 select CPU_ABRT_EV4T
Paul Brook48d79272008-04-18 22:43:07 +0100166 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167 select CPU_CACHE_V4WT
168 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900169 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100170 select CPU_COPY_V4WB if MMU
171 select CPU_TLB_V4WBI if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172 help
173 The ARM925T is a mix between the ARM920T and ARM926T, but with
174 different instruction and data caches. It is used in TI's OMAP
175 device family.
176
177 Say Y if you want support for the ARM925T processor.
178 Otherwise, say N.
179
180# ARM926T
181config CPU_ARM926T
Catalin Marinas8ad68bb2005-10-31 14:25:02 +0000182 bool "Support ARM926T processor"
Russell Kingf0006312008-07-10 16:41:50 +0100183 depends on ARCH_INTEGRATOR || ARCH_VERSATILE_PB || \
184 MACH_VERSATILE_AB || ARCH_OMAP730 || \
185 ARCH_OMAP16XX || MACH_REALVIEW_EB || \
186 ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || \
187 ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || \
188 ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || \
189 ARCH_AT91SAM9G20 || ARCH_AT91CAP9 || \
190 ARCH_NS9XXX || ARCH_DAVINCI
191 default y if ARCH_VERSATILE_PB || MACH_VERSATILE_AB || \
192 ARCH_OMAP730 || ARCH_OMAP16XX || \
193 ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || \
194 ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || \
195 ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || \
196 ARCH_AT91SAM9G20 || ARCH_AT91CAP9 || \
197 ARCH_NS9XXX || ARCH_DAVINCI || ARCH_MX2
Linus Torvalds1da177e2005-04-16 15:20:36 -0700198 select CPU_32v5
199 select CPU_ABRT_EV5TJ
Paul Brook48d79272008-04-18 22:43:07 +0100200 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700201 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900202 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100203 select CPU_COPY_V4WB if MMU
204 select CPU_TLB_V4WBI if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205 help
206 This is a variant of the ARM920. It has slightly different
207 instruction sequences for cache and TLB operations. Curiously,
208 there is no documentation on it at the ARM corporate website.
209
210 Say Y if you want support for the ARM926T processor.
211 Otherwise, say N.
212
Hyok S. Choid60674e2006-09-26 17:38:18 +0900213# ARM940T
214config CPU_ARM940T
215 bool "Support ARM940T processor" if ARCH_INTEGRATOR
Russell King6b237a32006-09-27 17:44:39 +0100216 depends on !MMU
Hyok S. Choid60674e2006-09-26 17:38:18 +0900217 select CPU_32v4T
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +0900218 select CPU_ABRT_NOMMU
Catalin Marinas4a1fd552008-04-21 18:42:04 +0100219 select CPU_PABRT_NOIFAR
Hyok S. Choid60674e2006-09-26 17:38:18 +0900220 select CPU_CACHE_VIVT
221 select CPU_CP15_MPU
222 help
223 ARM940T is a member of the ARM9TDMI family of general-
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100224 purpose microprocessors with MPU and separate 4KB
Hyok S. Choid60674e2006-09-26 17:38:18 +0900225 instruction and 4KB data cases, each with a 4-word line
226 length.
227
228 Say Y if you want support for the ARM940T processor.
229 Otherwise, say N.
230
Hyok S. Choif37f46e2006-09-26 17:38:32 +0900231# ARM946E-S
232config CPU_ARM946E
233 bool "Support ARM946E-S processor" if ARCH_INTEGRATOR
Russell King6b237a32006-09-27 17:44:39 +0100234 depends on !MMU
Hyok S. Choif37f46e2006-09-26 17:38:32 +0900235 select CPU_32v5
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +0900236 select CPU_ABRT_NOMMU
Catalin Marinas4a1fd552008-04-21 18:42:04 +0100237 select CPU_PABRT_NOIFAR
Hyok S. Choif37f46e2006-09-26 17:38:32 +0900238 select CPU_CACHE_VIVT
239 select CPU_CP15_MPU
240 help
241 ARM946E-S is a member of the ARM9E-S family of high-
242 performance, 32-bit system-on-chip processor solutions.
243 The TCM and ARMv5TE 32-bit instruction set is supported.
244
245 Say Y if you want support for the ARM946E-S processor.
246 Otherwise, say N.
247
Linus Torvalds1da177e2005-04-16 15:20:36 -0700248# ARM1020 - needs validating
249config CPU_ARM1020
250 bool "Support ARM1020T (rev 0) processor"
251 depends on ARCH_INTEGRATOR
252 select CPU_32v5
253 select CPU_ABRT_EV4T
Paul Brook48d79272008-04-18 22:43:07 +0100254 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700255 select CPU_CACHE_V4WT
256 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900257 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100258 select CPU_COPY_V4WB if MMU
259 select CPU_TLB_V4WBI if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700260 help
261 The ARM1020 is the 32K cached version of the ARM10 processor,
262 with an addition of a floating-point unit.
263
264 Say Y if you want support for the ARM1020 processor.
265 Otherwise, say N.
266
267# ARM1020E - needs validating
268config CPU_ARM1020E
269 bool "Support ARM1020E processor"
270 depends on ARCH_INTEGRATOR
271 select CPU_32v5
272 select CPU_ABRT_EV4T
Paul Brook48d79272008-04-18 22:43:07 +0100273 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700274 select CPU_CACHE_V4WT
275 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900276 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100277 select CPU_COPY_V4WB if MMU
278 select CPU_TLB_V4WBI if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700279 depends on n
280
281# ARM1022E
282config CPU_ARM1022
283 bool "Support ARM1022E processor"
284 depends on ARCH_INTEGRATOR
285 select CPU_32v5
286 select CPU_ABRT_EV4T
Paul Brook48d79272008-04-18 22:43:07 +0100287 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900289 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100290 select CPU_COPY_V4WB if MMU # can probably do better
291 select CPU_TLB_V4WBI if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700292 help
293 The ARM1022E is an implementation of the ARMv5TE architecture
294 based upon the ARM10 integer core with a 16KiB L1 Harvard cache,
295 embedded trace macrocell, and a floating-point unit.
296
297 Say Y if you want support for the ARM1022E processor.
298 Otherwise, say N.
299
300# ARM1026EJ-S
301config CPU_ARM1026
302 bool "Support ARM1026EJ-S processor"
303 depends on ARCH_INTEGRATOR
304 select CPU_32v5
305 select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10
Paul Brook48d79272008-04-18 22:43:07 +0100306 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700307 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900308 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100309 select CPU_COPY_V4WB if MMU # can probably do better
310 select CPU_TLB_V4WBI if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700311 help
312 The ARM1026EJ-S is an implementation of the ARMv5TEJ architecture
313 based upon the ARM10 integer core.
314
315 Say Y if you want support for the ARM1026EJ-S processor.
316 Otherwise, say N.
317
318# SA110
319config CPU_SA110
320 bool "Support StrongARM(R) SA-110 processor" if !ARCH_EBSA110 && !FOOTBRIDGE && !ARCH_TBOX && !ARCH_SHARK && !ARCH_NEXUSPCI && ARCH_RPC
321 default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_TBOX || ARCH_SHARK || ARCH_NEXUSPCI
322 select CPU_32v3 if ARCH_RPC
323 select CPU_32v4 if !ARCH_RPC
324 select CPU_ABRT_EV4
Paul Brook48d79272008-04-18 22:43:07 +0100325 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700326 select CPU_CACHE_V4WB
327 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900328 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100329 select CPU_COPY_V4WB if MMU
330 select CPU_TLB_V4WB if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700331 help
332 The Intel StrongARM(R) SA-110 is a 32-bit microprocessor and
333 is available at five speeds ranging from 100 MHz to 233 MHz.
334 More information is available at
335 <http://developer.intel.com/design/strong/sa110.htm>.
336
337 Say Y if you want support for the SA-110 processor.
338 Otherwise, say N.
339
340# SA1100
341config CPU_SA1100
342 bool
343 depends on ARCH_SA1100
344 default y
345 select CPU_32v4
346 select CPU_ABRT_EV4
Paul Brook48d79272008-04-18 22:43:07 +0100347 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348 select CPU_CACHE_V4WB
349 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900350 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100351 select CPU_TLB_V4WB if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700352
353# XScale
354config CPU_XSCALE
355 bool
Russell Kingfa0b6252007-09-19 09:38:32 +0100356 depends on ARCH_IOP32X || ARCH_IOP33X || PXA25x || PXA27x || ARCH_IXP4XX || ARCH_IXP2000
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357 default y
358 select CPU_32v5
359 select CPU_ABRT_EV5T
Paul Brook48d79272008-04-18 22:43:07 +0100360 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700361 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900362 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100363 select CPU_TLB_V4WBI if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364
Lennert Buytenhek23bdf862006-03-28 21:00:40 +0100365# XScale Core Version 3
366config CPU_XSC3
367 bool
eric miao2c8086a2007-09-11 19:13:17 -0700368 depends on ARCH_IXP23XX || ARCH_IOP13XX || PXA3xx
Lennert Buytenhek23bdf862006-03-28 21:00:40 +0100369 default y
370 select CPU_32v5
371 select CPU_ABRT_EV5T
Catalin Marinas4a1fd552008-04-21 18:42:04 +0100372 select CPU_PABRT_NOIFAR
Lennert Buytenhek23bdf862006-03-28 21:00:40 +0100373 select CPU_CACHE_VIVT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900374 select CPU_CP15_MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100375 select CPU_TLB_V4WBI if MMU
Lennert Buytenhek23bdf862006-03-28 21:00:40 +0100376 select IO_36
377
Assaf Hoffmane50d6402007-10-23 15:14:41 -0400378# Feroceon
379config CPU_FEROCEON
380 bool
Stanislav Samsonov794d15b2008-06-22 22:45:10 +0200381 depends on ARCH_ORION5X || ARCH_LOKI || ARCH_KIRKWOOD || ARCH_MV78XX0
Assaf Hoffmane50d6402007-10-23 15:14:41 -0400382 default y
383 select CPU_32v5
384 select CPU_ABRT_EV5T
Paul Brook48d79272008-04-18 22:43:07 +0100385 select CPU_PABRT_NOIFAR
Assaf Hoffmane50d6402007-10-23 15:14:41 -0400386 select CPU_CACHE_VIVT
387 select CPU_CP15_MMU
Lennert Buytenhek0ed15072008-04-24 01:31:45 -0400388 select CPU_COPY_FEROCEON if MMU
Lennert Buytenhek99c6dc12008-06-22 22:45:04 +0200389 select CPU_TLB_FEROCEON if MMU
Assaf Hoffmane50d6402007-10-23 15:14:41 -0400390
Tzachi Perelsteind910a0a2007-11-06 10:35:40 +0200391config CPU_FEROCEON_OLD_ID
392 bool "Accept early Feroceon cores with an ARM926 ID"
393 depends on CPU_FEROCEON && !CPU_ARM926T
394 default y
395 help
396 This enables the usage of some old Feroceon cores
397 for which the CPU ID is equal to the ARM926 ID.
398 Relevant for Feroceon-1850 and early Feroceon-2850.
399
Linus Torvalds1da177e2005-04-16 15:20:36 -0700400# ARMv6
401config CPU_V6
402 bool "Support ARM V6 processor"
Bahadir Balbanbc02c582008-04-18 22:43:16 +0100403 depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP2 || ARCH_MX3 || ARCH_MSM7X00A || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176
Quinn Jensen52c543f2007-07-09 22:06:53 +0100404 default y if ARCH_MX3
Brian Swetland30421022007-11-26 04:11:43 -0800405 default y if ARCH_MSM7X00A
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406 select CPU_32v6
407 select CPU_ABRT_EV6
Paul Brook48d79272008-04-18 22:43:07 +0100408 select CPU_PABRT_NOIFAR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700409 select CPU_CACHE_V6
410 select CPU_CACHE_VIPT
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900411 select CPU_CP15_MMU
Catalin Marinas7b4c9652007-07-20 11:42:57 +0100412 select CPU_HAS_ASID if MMU
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100413 select CPU_COPY_V6 if MMU
414 select CPU_TLB_V6 if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415
Russell King4a5f79e2005-11-03 15:48:21 +0000416# ARMv6k
417config CPU_32v6K
418 bool "Support ARM V6K processor extensions" if !SMP
419 depends on CPU_V6
Quinn Jensen52c543f2007-07-09 22:06:53 +0100420 default y if SMP && !ARCH_MX3
Russell King4a5f79e2005-11-03 15:48:21 +0000421 help
422 Say Y here if your ARMv6 processor supports the 'K' extension.
423 This enables the kernel to use some instructions not present
424 on previous processors, and as such a kernel build with this
425 enabled will not boot on processors with do not support these
426 instructions.
427
Catalin Marinas23688e92007-05-08 22:45:26 +0100428# ARMv7
429config CPU_V7
430 bool "Support ARM V7 processor"
Catalin Marinas41267e22008-04-18 22:43:12 +0100431 depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB
Catalin Marinas23688e92007-05-08 22:45:26 +0100432 select CPU_32v6K
433 select CPU_32v7
434 select CPU_ABRT_EV7
Paul Brook48d79272008-04-18 22:43:07 +0100435 select CPU_PABRT_IFAR
Catalin Marinas23688e92007-05-08 22:45:26 +0100436 select CPU_CACHE_V7
437 select CPU_CACHE_VIPT
438 select CPU_CP15_MMU
Catalin Marinas2eb8c822007-07-20 11:43:02 +0100439 select CPU_HAS_ASID if MMU
Catalin Marinas23688e92007-05-08 22:45:26 +0100440 select CPU_COPY_V6 if MMU
Catalin Marinas2ccdd1e2007-05-18 11:25:31 +0100441 select CPU_TLB_V7 if MMU
Catalin Marinas23688e92007-05-08 22:45:26 +0100442
Linus Torvalds1da177e2005-04-16 15:20:36 -0700443# Figure out what processor architecture version we should be using.
444# This defines the compiler instruction set which depends on the machine type.
445config CPU_32v3
446 bool
Russell King60b6cf62006-06-19 17:36:43 +0100447 select TLS_REG_EMUL if SMP || !MMU
Russell King48fa14f2006-03-16 14:52:33 +0000448 select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700449
450config CPU_32v4
451 bool
Russell King60b6cf62006-06-19 17:36:43 +0100452 select TLS_REG_EMUL if SMP || !MMU
Russell King48fa14f2006-03-16 14:52:33 +0000453 select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700454
Lennert Buytenhek260e98e2006-08-28 12:51:20 +0100455config CPU_32v4T
456 bool
457 select TLS_REG_EMUL if SMP || !MMU
458 select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
459
Linus Torvalds1da177e2005-04-16 15:20:36 -0700460config CPU_32v5
461 bool
Russell King60b6cf62006-06-19 17:36:43 +0100462 select TLS_REG_EMUL if SMP || !MMU
Russell King48fa14f2006-03-16 14:52:33 +0000463 select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700464
465config CPU_32v6
466 bool
Catalin Marinas367afaf2007-07-20 11:42:51 +0100467 select TLS_REG_EMUL if !CPU_32v6K && !MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700468
Catalin Marinas23688e92007-05-08 22:45:26 +0100469config CPU_32v7
470 bool
471
Linus Torvalds1da177e2005-04-16 15:20:36 -0700472# The abort model
Hyok S. Choi0f45d7f2006-09-28 21:46:16 +0900473config CPU_ABRT_NOMMU
474 bool
475
Linus Torvalds1da177e2005-04-16 15:20:36 -0700476config CPU_ABRT_EV4
477 bool
478
479config CPU_ABRT_EV4T
480 bool
481
482config CPU_ABRT_LV4T
483 bool
484
485config CPU_ABRT_EV5T
486 bool
487
488config CPU_ABRT_EV5TJ
489 bool
490
491config CPU_ABRT_EV6
492 bool
493
Catalin Marinas23688e92007-05-08 22:45:26 +0100494config CPU_ABRT_EV7
495 bool
496
Paul Brook48d79272008-04-18 22:43:07 +0100497config CPU_PABRT_IFAR
498 bool
499
500config CPU_PABRT_NOIFAR
501 bool
502
Linus Torvalds1da177e2005-04-16 15:20:36 -0700503# The cache model
504config CPU_CACHE_V3
505 bool
506
507config CPU_CACHE_V4
508 bool
509
510config CPU_CACHE_V4WT
511 bool
512
513config CPU_CACHE_V4WB
514 bool
515
516config CPU_CACHE_V6
517 bool
518
Catalin Marinas23688e92007-05-08 22:45:26 +0100519config CPU_CACHE_V7
520 bool
521
Linus Torvalds1da177e2005-04-16 15:20:36 -0700522config CPU_CACHE_VIVT
523 bool
524
525config CPU_CACHE_VIPT
526 bool
527
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100528if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -0700529# The copy-page model
530config CPU_COPY_V3
531 bool
532
533config CPU_COPY_V4WT
534 bool
535
536config CPU_COPY_V4WB
537 bool
538
Lennert Buytenhek0ed15072008-04-24 01:31:45 -0400539config CPU_COPY_FEROCEON
540 bool
541
Linus Torvalds1da177e2005-04-16 15:20:36 -0700542config CPU_COPY_V6
543 bool
544
545# This selects the TLB model
546config CPU_TLB_V3
547 bool
548 help
549 ARM Architecture Version 3 TLB.
550
551config CPU_TLB_V4WT
552 bool
553 help
554 ARM Architecture Version 4 TLB with writethrough cache.
555
556config CPU_TLB_V4WB
557 bool
558 help
559 ARM Architecture Version 4 TLB with writeback cache.
560
561config CPU_TLB_V4WBI
562 bool
563 help
564 ARM Architecture Version 4 TLB with writeback cache and invalidate
565 instruction cache entry.
566
Lennert Buytenhek99c6dc12008-06-22 22:45:04 +0200567config CPU_TLB_FEROCEON
568 bool
569 help
570 Feroceon TLB (v4wbi with non-outer-cachable page table walks).
571
Linus Torvalds1da177e2005-04-16 15:20:36 -0700572config CPU_TLB_V6
573 bool
574
Catalin Marinas2ccdd1e2007-05-18 11:25:31 +0100575config CPU_TLB_V7
576 bool
577
Hyok S. Choif9c21a62006-06-21 22:26:29 +0100578endif
579
Russell King516793c2007-05-17 10:19:23 +0100580config CPU_HAS_ASID
581 bool
582 help
583 This indicates whether the CPU has the ASID register; used to
584 tag TLB and possibly cache entries.
585
Hyok S. Choifefdaa02006-09-26 17:36:37 +0900586config CPU_CP15
587 bool
588 help
589 Processor has the CP15 register.
590
591config CPU_CP15_MMU
592 bool
593 select CPU_CP15
594 help
595 Processor has the CP15 register, which has MMU related registers.
596
597config CPU_CP15_MPU
598 bool
599 select CPU_CP15
600 help
601 Processor has the CP15 register, which has MPU related registers.
602
Lennert Buytenhek23bdf862006-03-28 21:00:40 +0100603#
604# CPU supports 36-bit I/O
605#
606config IO_36
607 bool
608
Linus Torvalds1da177e2005-04-16 15:20:36 -0700609comment "Processor Features"
610
611config ARM_THUMB
612 bool "Support Thumb user binaries"
Assaf Hoffmane50d6402007-10-23 15:14:41 -0400613 depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || CPU_XSCALE || CPU_XSC3 || CPU_V6 || CPU_V7 || CPU_FEROCEON
Linus Torvalds1da177e2005-04-16 15:20:36 -0700614 default y
615 help
616 Say Y if you want to include kernel support for running user space
617 Thumb binaries.
618
619 The Thumb instruction set is a compressed form of the standard ARM
620 instruction set resulting in smaller binaries at the expense of
621 slightly less efficient code.
622
623 If you don't know what this all is, saying Y is a safe choice.
624
Catalin Marinasd7f864b2008-04-18 22:43:06 +0100625config ARM_THUMBEE
626 bool "Enable ThumbEE CPU extension"
627 depends on CPU_V7
628 help
629 Say Y here if you have a CPU with the ThumbEE extension and code to
630 make use of it. Say N for code that can run on CPUs without ThumbEE.
631
Linus Torvalds1da177e2005-04-16 15:20:36 -0700632config CPU_BIG_ENDIAN
633 bool "Build big-endian kernel"
634 depends on ARCH_SUPPORTS_BIG_ENDIAN
635 help
636 Say Y if you plan on running a kernel in big-endian mode.
637 Note that your board must be properly built and your board
638 port must properly enable any big-endian related features
639 of your chipset/board/processor.
640
Hyok S. Choi6afd6fa2006-09-28 21:46:34 +0900641config CPU_HIGH_VECTOR
Robert P. J. Day6340aa62007-02-17 19:05:24 +0100642 depends on !MMU && CPU_CP15 && !CPU_ARM740T
Hyok S. Choi6afd6fa2006-09-28 21:46:34 +0900643 bool "Select the High exception vector"
644 default n
645 help
646 Say Y here to select high exception vector(0xFFFF0000~).
647 The exception vector can be vary depending on the platform
648 design in nommu mode. If your platform needs to select
649 high exception vector, say Y.
650 Otherwise or if you are unsure, say N, and the low exception
651 vector (0x00000000~) will be used.
652
Linus Torvalds1da177e2005-04-16 15:20:36 -0700653config CPU_ICACHE_DISABLE
Hyok S. Choif12d0d72006-09-26 17:36:37 +0900654 bool "Disable I-Cache (I-bit)"
655 depends on CPU_CP15 && !(CPU_ARM610 || CPU_ARM710 || CPU_ARM720T || CPU_ARM740T || CPU_XSCALE || CPU_XSC3)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700656 help
657 Say Y here to disable the processor instruction cache. Unless
658 you have a reason not to or are unsure, say N.
659
660config CPU_DCACHE_DISABLE
Hyok S. Choif12d0d72006-09-26 17:36:37 +0900661 bool "Disable D-Cache (C-bit)"
662 depends on CPU_CP15
Linus Torvalds1da177e2005-04-16 15:20:36 -0700663 help
664 Say Y here to disable the processor data cache. Unless
665 you have a reason not to or are unsure, say N.
666
Hyok S. Choif37f46e2006-09-26 17:38:32 +0900667config CPU_DCACHE_SIZE
668 hex
669 depends on CPU_ARM740T || CPU_ARM946E
670 default 0x00001000 if CPU_ARM740T
671 default 0x00002000 # default size for ARM946E-S
672 help
673 Some cores are synthesizable to have various sized cache. For
674 ARM946E-S case, it can vary from 0KB to 1MB.
675 To support such cache operations, it is efficient to know the size
676 before compile time.
677 If your SoC is configured to have a different size, define the value
678 here with proper conditions.
679
Linus Torvalds1da177e2005-04-16 15:20:36 -0700680config CPU_DCACHE_WRITETHROUGH
681 bool "Force write through D-cache"
Lennert Buytenheka7039bd2008-04-24 01:31:46 -0400682 depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020) && !CPU_DCACHE_DISABLE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700683 default y if CPU_ARM925T
684 help
685 Say Y here to use the data cache in writethrough mode. Unless you
686 specifically require this or are unsure, say N.
687
688config CPU_CACHE_ROUND_ROBIN
689 bool "Round robin I and D cache replacement algorithm"
Hyok S. Choif37f46e2006-09-26 17:38:32 +0900690 depends on (CPU_ARM926T || CPU_ARM946E || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700691 help
692 Say Y here to use the predictable round-robin cache replacement
693 policy. Unless you specifically require this or are unsure, say N.
694
695config CPU_BPREDICT_DISABLE
696 bool "Disable branch prediction"
Catalin Marinas23688e92007-05-08 22:45:26 +0100697 depends on CPU_ARM1020 || CPU_V6 || CPU_XSC3 || CPU_V7
Linus Torvalds1da177e2005-04-16 15:20:36 -0700698 help
699 Say Y here to disable branch prediction. If unsure, say N.
Nicolas Pitre2d2669b2005-04-29 22:08:33 +0100700
Nicolas Pitre4b0e07a2005-05-05 23:24:45 +0100701config TLS_REG_EMUL
702 bool
Nicolas Pitre4b0e07a2005-05-05 23:24:45 +0100703 help
Nicolas Pitre70489c82005-05-12 19:27:12 +0100704 An SMP system using a pre-ARMv6 processor (there are apparently
705 a few prototypes like that in existence) and therefore access to
706 that required register must be emulated.
Nicolas Pitre4b0e07a2005-05-05 23:24:45 +0100707
Nicolas Pitre2d2669b2005-04-29 22:08:33 +0100708config HAS_TLS_REG
709 bool
Nicolas Pitre70489c82005-05-12 19:27:12 +0100710 depends on !TLS_REG_EMUL
711 default y if SMP || CPU_32v7
Nicolas Pitre2d2669b2005-04-29 22:08:33 +0100712 help
713 This selects support for the CP15 thread register.
Nicolas Pitre70489c82005-05-12 19:27:12 +0100714 It is defined to be available on some ARMv6 processors (including
715 all SMP capable ARMv6's) or later processors. User space may
716 assume directly accessing that register and always obtain the
717 expected value only on ARMv7 and above.
Nicolas Pitre2d2669b2005-04-29 22:08:33 +0100718
Nicolas Pitredcef1f62005-06-08 19:00:47 +0100719config NEEDS_SYSCALL_FOR_CMPXCHG
720 bool
Nicolas Pitredcef1f62005-06-08 19:00:47 +0100721 help
722 SMP on a pre-ARMv6 processor? Well OK then.
723 Forget about fast user space cmpxchg support.
724 It is just not possible.
725
Catalin Marinas953233d2007-02-05 14:48:08 +0100726config OUTER_CACHE
727 bool
728 default n
Catalin Marinas382266a2007-02-05 14:48:19 +0100729
Lennert Buytenhek99c6dc12008-06-22 22:45:04 +0200730config CACHE_FEROCEON_L2
731 bool "Enable the Feroceon L2 cache controller"
Stanislav Samsonov794d15b2008-06-22 22:45:10 +0200732 depends on ARCH_KIRKWOOD || ARCH_MV78XX0
Lennert Buytenhek99c6dc12008-06-22 22:45:04 +0200733 default y
Catalin Marinas382266a2007-02-05 14:48:19 +0100734 select OUTER_CACHE
Lennert Buytenhek99c6dc12008-06-22 22:45:04 +0200735 help
736 This option enables the Feroceon L2 cache controller.
737
Linus Torvalds1da177e2005-04-16 15:20:36 -0700738config CACHE_L2X0
Catalin Marinasba927952008-04-18 22:43:17 +0100739 bool "Enable the L2x0 outer cache controller"
740 depends on REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176
741 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700742 select OUTER_CACHE
Catalin Marinasba927952008-04-18 22:43:17 +0100743 help
744 This option enables the L2x0 PrimeCell.