]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/arm/mm/Kconfig
RealView: Add the configuration and build changes for PB1176
[net-next-2.6.git] / arch / arm / mm / Kconfig
CommitLineData
1da177e4
LT
1comment "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
fefdaa06 18 select CPU_CP15_MMU
f9c21a6e
HC
19 select CPU_COPY_V3 if MMU
20 select CPU_TLB_V3 if MMU
48d7927b 21 select CPU_PABRT_NOIFAR
1da177e4
LT
22 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
07e0da78
HC
29# ARM7TDMI
30config CPU_ARM7TDMI
31 bool "Support ARM7TDMI processor"
6b237a35 32 depends on !MMU
07e0da78
HC
33 select CPU_32v4T
34 select CPU_ABRT_LV4T
35 select CPU_CACHE_V4
36 help
37 A 32-bit RISC microprocessor based on the ARM7 processor core
38 which has no memory control unit and cache.
39
40 Say Y if you want support for the ARM7TDMI processor.
41 Otherwise, say N.
42
1da177e4
LT
43# ARM710
44config CPU_ARM710
45 bool "Support ARM710 processor" if !ARCH_CLPS7500 && ARCH_RPC
46 default y if ARCH_CLPS7500
47 select CPU_32v3
48 select CPU_CACHE_V3
49 select CPU_CACHE_VIVT
fefdaa06 50 select CPU_CP15_MMU
f9c21a6e
HC
51 select CPU_COPY_V3 if MMU
52 select CPU_TLB_V3 if MMU
48d7927b 53 select CPU_PABRT_NOIFAR
1da177e4
LT
54 help
55 A 32-bit RISC microprocessor based on the ARM7 processor core
56 designed by Advanced RISC Machines Ltd. The ARM710 is the
57 successor to the ARM610 processor. It was released in
58 July 1994 by VLSI Technology Inc.
59
60 Say Y if you want support for the ARM710 processor.
61 Otherwise, say N.
62
63# ARM720T
64config CPU_ARM720T
65 bool "Support ARM720T processor" if !ARCH_CLPS711X && !ARCH_L7200 && !ARCH_CDB89712 && ARCH_INTEGRATOR
66 default y if ARCH_CLPS711X || ARCH_L7200 || ARCH_CDB89712 || ARCH_H720X
260e98ed 67 select CPU_32v4T
1da177e4 68 select CPU_ABRT_LV4T
48d7927b 69 select CPU_PABRT_NOIFAR
1da177e4
LT
70 select CPU_CACHE_V4
71 select CPU_CACHE_VIVT
fefdaa06 72 select CPU_CP15_MMU
f9c21a6e
HC
73 select CPU_COPY_V4WT if MMU
74 select CPU_TLB_V4WT if MMU
1da177e4
LT
75 help
76 A 32-bit RISC processor with 8kByte Cache, Write Buffer and
77 MMU built around an ARM7TDMI core.
78
79 Say Y if you want support for the ARM720T processor.
80 Otherwise, say N.
81
b731c311
HC
82# ARM740T
83config CPU_ARM740T
84 bool "Support ARM740T processor" if ARCH_INTEGRATOR
6b237a35 85 depends on !MMU
b731c311
HC
86 select CPU_32v4T
87 select CPU_ABRT_LV4T
88 select CPU_CACHE_V3 # although the core is v4t
89 select CPU_CP15_MPU
90 help
91 A 32-bit RISC processor with 8KB cache or 4KB variants,
92 write buffer and MPU(Protection Unit) built around
93 an ARM7TDMI core.
94
95 Say Y if you want support for the ARM740T processor.
96 Otherwise, say N.
97
43f5f014
HC
98# ARM9TDMI
99config CPU_ARM9TDMI
100 bool "Support ARM9TDMI processor"
6b237a35 101 depends on !MMU
43f5f014 102 select CPU_32v4T
0f45d7f3 103 select CPU_ABRT_NOMMU
43f5f014
HC
104 select CPU_CACHE_V4
105 help
106 A 32-bit RISC microprocessor based on the ARM9 processor core
107 which has no memory control unit and cache.
108
109 Say Y if you want support for the ARM9TDMI processor.
110 Otherwise, say N.
111
1da177e4
LT
112# ARM920T
113config CPU_ARM920T
3434d9d9
BD
114 bool "Support ARM920T processor"
115 depends on ARCH_EP93XX || ARCH_INTEGRATOR || CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_IMX || ARCH_AAEC2000 || ARCH_AT91RM9200
116 default y if CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_AT91RM9200
260e98ed 117 select CPU_32v4T
1da177e4 118 select CPU_ABRT_EV4T
48d7927b 119 select CPU_PABRT_NOIFAR
1da177e4
LT
120 select CPU_CACHE_V4WT
121 select CPU_CACHE_VIVT
fefdaa06 122 select CPU_CP15_MMU
f9c21a6e
HC
123 select CPU_COPY_V4WB if MMU
124 select CPU_TLB_V4WBI if MMU
1da177e4
LT
125 help
126 The ARM920T is licensed to be produced by numerous vendors,
127 and is used in the Maverick EP9312 and the Samsung S3C2410.
128
129 More information on the Maverick EP9312 at
130 <http://linuxdevices.com/products/PD2382866068.html>.
131
132 Say Y if you want support for the ARM920T processor.
133 Otherwise, say N.
134
135# ARM922T
136config CPU_ARM922T
137 bool "Support ARM922T processor" if ARCH_INTEGRATOR
c53c9cf6
AV
138 depends on ARCH_LH7A40X || ARCH_INTEGRATOR || ARCH_KS8695
139 default y if ARCH_LH7A40X || ARCH_KS8695
260e98ed 140 select CPU_32v4T
1da177e4 141 select CPU_ABRT_EV4T
48d7927b 142 select CPU_PABRT_NOIFAR
1da177e4
LT
143 select CPU_CACHE_V4WT
144 select CPU_CACHE_VIVT
fefdaa06 145 select CPU_CP15_MMU
f9c21a6e
HC
146 select CPU_COPY_V4WB if MMU
147 select CPU_TLB_V4WBI if MMU
1da177e4
LT
148 help
149 The ARM922T is a version of the ARM920T, but with smaller
150 instruction and data caches. It is used in Altera's
c53c9cf6 151 Excalibur XA device family and Micrel's KS8695 Centaur.
1da177e4
LT
152
153 Say Y if you want support for the ARM922T processor.
154 Otherwise, say N.
155
156# ARM925T
157config CPU_ARM925T
b288f75f 158 bool "Support ARM925T processor" if ARCH_OMAP1
3179a019
TL
159 depends on ARCH_OMAP15XX
160 default y if ARCH_OMAP15XX
260e98ed 161 select CPU_32v4T
1da177e4 162 select CPU_ABRT_EV4T
48d7927b 163 select CPU_PABRT_NOIFAR
1da177e4
LT
164 select CPU_CACHE_V4WT
165 select CPU_CACHE_VIVT
fefdaa06 166 select CPU_CP15_MMU
f9c21a6e
HC
167 select CPU_COPY_V4WB if MMU
168 select CPU_TLB_V4WBI if MMU
1da177e4
LT
169 help
170 The ARM925T is a mix between the ARM920T and ARM926T, but with
171 different instruction and data caches. It is used in TI's OMAP
172 device family.
173
174 Say Y if you want support for the ARM925T processor.
175 Otherwise, say N.
176
177# ARM926T
178config CPU_ARM926T
8ad68bbf 179 bool "Support ARM926T processor"
2b3b3516
AV
180 depends on ARCH_INTEGRATOR || ARCH_VERSATILE_PB || MACH_VERSATILE_AB || ARCH_OMAP730 || ARCH_OMAP16XX || MACH_REALVIEW_EB || ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || ARCH_AT91CAP9 || ARCH_NS9XXX || ARCH_DAVINCI
181 default y if ARCH_VERSATILE_PB || MACH_VERSATILE_AB || ARCH_OMAP730 || ARCH_OMAP16XX || ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || ARCH_AT91CAP9 || ARCH_NS9XXX || ARCH_DAVINCI
1da177e4
LT
182 select CPU_32v5
183 select CPU_ABRT_EV5TJ
48d7927b 184 select CPU_PABRT_NOIFAR
1da177e4 185 select CPU_CACHE_VIVT
fefdaa06 186 select CPU_CP15_MMU
f9c21a6e
HC
187 select CPU_COPY_V4WB if MMU
188 select CPU_TLB_V4WBI if MMU
1da177e4
LT
189 help
190 This is a variant of the ARM920. It has slightly different
191 instruction sequences for cache and TLB operations. Curiously,
192 there is no documentation on it at the ARM corporate website.
193
194 Say Y if you want support for the ARM926T processor.
195 Otherwise, say N.
196
d60674eb
HC
197# ARM940T
198config CPU_ARM940T
199 bool "Support ARM940T processor" if ARCH_INTEGRATOR
6b237a35 200 depends on !MMU
d60674eb 201 select CPU_32v4T
0f45d7f3 202 select CPU_ABRT_NOMMU
d60674eb
HC
203 select CPU_CACHE_VIVT
204 select CPU_CP15_MPU
205 help
206 ARM940T is a member of the ARM9TDMI family of general-
3cb2fccc 207 purpose microprocessors with MPU and separate 4KB
d60674eb
HC
208 instruction and 4KB data cases, each with a 4-word line
209 length.
210
211 Say Y if you want support for the ARM940T processor.
212 Otherwise, say N.
213
f37f46eb
HC
214# ARM946E-S
215config CPU_ARM946E
216 bool "Support ARM946E-S processor" if ARCH_INTEGRATOR
6b237a35 217 depends on !MMU
f37f46eb 218 select CPU_32v5
0f45d7f3 219 select CPU_ABRT_NOMMU
f37f46eb
HC
220 select CPU_CACHE_VIVT
221 select CPU_CP15_MPU
222 help
223 ARM946E-S is a member of the ARM9E-S family of high-
224 performance, 32-bit system-on-chip processor solutions.
225 The TCM and ARMv5TE 32-bit instruction set is supported.
226
227 Say Y if you want support for the ARM946E-S processor.
228 Otherwise, say N.
229
1da177e4
LT
230# ARM1020 - needs validating
231config CPU_ARM1020
232 bool "Support ARM1020T (rev 0) processor"
233 depends on ARCH_INTEGRATOR
234 select CPU_32v5
235 select CPU_ABRT_EV4T
48d7927b 236 select CPU_PABRT_NOIFAR
1da177e4
LT
237 select CPU_CACHE_V4WT
238 select CPU_CACHE_VIVT
fefdaa06 239 select CPU_CP15_MMU
f9c21a6e
HC
240 select CPU_COPY_V4WB if MMU
241 select CPU_TLB_V4WBI if MMU
1da177e4
LT
242 help
243 The ARM1020 is the 32K cached version of the ARM10 processor,
244 with an addition of a floating-point unit.
245
246 Say Y if you want support for the ARM1020 processor.
247 Otherwise, say N.
248
249# ARM1020E - needs validating
250config CPU_ARM1020E
251 bool "Support ARM1020E processor"
252 depends on ARCH_INTEGRATOR
253 select CPU_32v5
254 select CPU_ABRT_EV4T
48d7927b 255 select CPU_PABRT_NOIFAR
1da177e4
LT
256 select CPU_CACHE_V4WT
257 select CPU_CACHE_VIVT
fefdaa06 258 select CPU_CP15_MMU
f9c21a6e
HC
259 select CPU_COPY_V4WB if MMU
260 select CPU_TLB_V4WBI if MMU
1da177e4
LT
261 depends on n
262
263# ARM1022E
264config CPU_ARM1022
265 bool "Support ARM1022E processor"
266 depends on ARCH_INTEGRATOR
267 select CPU_32v5
268 select CPU_ABRT_EV4T
48d7927b 269 select CPU_PABRT_NOIFAR
1da177e4 270 select CPU_CACHE_VIVT
fefdaa06 271 select CPU_CP15_MMU
f9c21a6e
HC
272 select CPU_COPY_V4WB if MMU # can probably do better
273 select CPU_TLB_V4WBI if MMU
1da177e4
LT
274 help
275 The ARM1022E is an implementation of the ARMv5TE architecture
276 based upon the ARM10 integer core with a 16KiB L1 Harvard cache,
277 embedded trace macrocell, and a floating-point unit.
278
279 Say Y if you want support for the ARM1022E processor.
280 Otherwise, say N.
281
282# ARM1026EJ-S
283config CPU_ARM1026
284 bool "Support ARM1026EJ-S processor"
285 depends on ARCH_INTEGRATOR
286 select CPU_32v5
287 select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10
48d7927b 288 select CPU_PABRT_NOIFAR
1da177e4 289 select CPU_CACHE_VIVT
fefdaa06 290 select CPU_CP15_MMU
f9c21a6e
HC
291 select CPU_COPY_V4WB if MMU # can probably do better
292 select CPU_TLB_V4WBI if MMU
1da177e4
LT
293 help
294 The ARM1026EJ-S is an implementation of the ARMv5TEJ architecture
295 based upon the ARM10 integer core.
296
297 Say Y if you want support for the ARM1026EJ-S processor.
298 Otherwise, say N.
299
300# SA110
301config CPU_SA110
302 bool "Support StrongARM(R) SA-110 processor" if !ARCH_EBSA110 && !FOOTBRIDGE && !ARCH_TBOX && !ARCH_SHARK && !ARCH_NEXUSPCI && ARCH_RPC
303 default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_TBOX || ARCH_SHARK || ARCH_NEXUSPCI
304 select CPU_32v3 if ARCH_RPC
305 select CPU_32v4 if !ARCH_RPC
306 select CPU_ABRT_EV4
48d7927b 307 select CPU_PABRT_NOIFAR
1da177e4
LT
308 select CPU_CACHE_V4WB
309 select CPU_CACHE_VIVT
fefdaa06 310 select CPU_CP15_MMU
f9c21a6e
HC
311 select CPU_COPY_V4WB if MMU
312 select CPU_TLB_V4WB if MMU
1da177e4
LT
313 help
314 The Intel StrongARM(R) SA-110 is a 32-bit microprocessor and
315 is available at five speeds ranging from 100 MHz to 233 MHz.
316 More information is available at
317 <http://developer.intel.com/design/strong/sa110.htm>.
318
319 Say Y if you want support for the SA-110 processor.
320 Otherwise, say N.
321
322# SA1100
323config CPU_SA1100
324 bool
325 depends on ARCH_SA1100
326 default y
327 select CPU_32v4
328 select CPU_ABRT_EV4
48d7927b 329 select CPU_PABRT_NOIFAR
1da177e4
LT
330 select CPU_CACHE_V4WB
331 select CPU_CACHE_VIVT
fefdaa06 332 select CPU_CP15_MMU
f9c21a6e 333 select CPU_TLB_V4WB if MMU
1da177e4
LT
334
335# XScale
336config CPU_XSCALE
337 bool
fa0b6251 338 depends on ARCH_IOP32X || ARCH_IOP33X || PXA25x || PXA27x || ARCH_IXP4XX || ARCH_IXP2000
1da177e4
LT
339 default y
340 select CPU_32v5
341 select CPU_ABRT_EV5T
48d7927b 342 select CPU_PABRT_NOIFAR
1da177e4 343 select CPU_CACHE_VIVT
fefdaa06 344 select CPU_CP15_MMU
f9c21a6e 345 select CPU_TLB_V4WBI if MMU
1da177e4 346
23bdf86a
LB
347# XScale Core Version 3
348config CPU_XSC3
349 bool
2c8086a5 350 depends on ARCH_IXP23XX || ARCH_IOP13XX || PXA3xx
23bdf86a
LB
351 default y
352 select CPU_32v5
353 select CPU_ABRT_EV5T
354 select CPU_CACHE_VIVT
fefdaa06 355 select CPU_CP15_MMU
f9c21a6e 356 select CPU_TLB_V4WBI if MMU
23bdf86a
LB
357 select IO_36
358
e50d6409
AH
359# Feroceon
360config CPU_FEROCEON
361 bool
362 depends on ARCH_ORION
363 default y
364 select CPU_32v5
365 select CPU_ABRT_EV5T
48d7927b 366 select CPU_PABRT_NOIFAR
e50d6409
AH
367 select CPU_CACHE_VIVT
368 select CPU_CP15_MMU
369 select CPU_COPY_V4WB if MMU
370 select CPU_TLB_V4WBI if MMU
371
d910a0aa
TP
372config CPU_FEROCEON_OLD_ID
373 bool "Accept early Feroceon cores with an ARM926 ID"
374 depends on CPU_FEROCEON && !CPU_ARM926T
375 default y
376 help
377 This enables the usage of some old Feroceon cores
378 for which the CPU ID is equal to the ARM926 ID.
379 Relevant for Feroceon-1850 and early Feroceon-2850.
380
1da177e4
LT
381# ARMv6
382config CPU_V6
383 bool "Support ARM V6 processor"
bc02c58b 384 depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP2 || ARCH_MX3 || ARCH_MSM7X00A || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176
52c543f9 385 default y if ARCH_MX3
3042102a 386 default y if ARCH_MSM7X00A
1da177e4
LT
387 select CPU_32v6
388 select CPU_ABRT_EV6
48d7927b 389 select CPU_PABRT_NOIFAR
1da177e4
LT
390 select CPU_CACHE_V6
391 select CPU_CACHE_VIPT
fefdaa06 392 select CPU_CP15_MMU
7b4c965a 393 select CPU_HAS_ASID if MMU
f9c21a6e
HC
394 select CPU_COPY_V6 if MMU
395 select CPU_TLB_V6 if MMU
1da177e4 396
4a5f79e7
RK
397# ARMv6k
398config CPU_32v6K
399 bool "Support ARM V6K processor extensions" if !SMP
400 depends on CPU_V6
52c543f9 401 default y if SMP && !ARCH_MX3
4a5f79e7
RK
402 help
403 Say Y here if your ARMv6 processor supports the 'K' extension.
404 This enables the kernel to use some instructions not present
405 on previous processors, and as such a kernel build with this
406 enabled will not boot on processors with do not support these
407 instructions.
408
23688e99
CM
409# ARMv7
410config CPU_V7
411 bool "Support ARM V7 processor"
41267e20 412 depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB
23688e99
CM
413 select CPU_32v6K
414 select CPU_32v7
415 select CPU_ABRT_EV7
48d7927b 416 select CPU_PABRT_IFAR
23688e99
CM
417 select CPU_CACHE_V7
418 select CPU_CACHE_VIPT
419 select CPU_CP15_MMU
2eb8c82b 420 select CPU_HAS_ASID if MMU
23688e99 421 select CPU_COPY_V6 if MMU
2ccdd1e7 422 select CPU_TLB_V7 if MMU
23688e99 423
1da177e4
LT
424# Figure out what processor architecture version we should be using.
425# This defines the compiler instruction set which depends on the machine type.
426config CPU_32v3
427 bool
60b6cf68 428 select TLS_REG_EMUL if SMP || !MMU
48fa14f7 429 select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
1da177e4
LT
430
431config CPU_32v4
432 bool
60b6cf68 433 select TLS_REG_EMUL if SMP || !MMU
48fa14f7 434 select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
1da177e4 435
260e98ed
LB
436config CPU_32v4T
437 bool
438 select TLS_REG_EMUL if SMP || !MMU
439 select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
440
1da177e4
LT
441config CPU_32v5
442 bool
60b6cf68 443 select TLS_REG_EMUL if SMP || !MMU
48fa14f7 444 select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
1da177e4
LT
445
446config CPU_32v6
447 bool
367afaf8 448 select TLS_REG_EMUL if !CPU_32v6K && !MMU
1da177e4 449
23688e99
CM
450config CPU_32v7
451 bool
452
1da177e4 453# The abort model
0f45d7f3
HC
454config CPU_ABRT_NOMMU
455 bool
456
1da177e4
LT
457config CPU_ABRT_EV4
458 bool
459
460config CPU_ABRT_EV4T
461 bool
462
463config CPU_ABRT_LV4T
464 bool
465
466config CPU_ABRT_EV5T
467 bool
468
469config CPU_ABRT_EV5TJ
470 bool
471
472config CPU_ABRT_EV6
473 bool
474
23688e99
CM
475config CPU_ABRT_EV7
476 bool
477
48d7927b
PB
478config CPU_PABRT_IFAR
479 bool
480
481config CPU_PABRT_NOIFAR
482 bool
483
1da177e4
LT
484# The cache model
485config CPU_CACHE_V3
486 bool
487
488config CPU_CACHE_V4
489 bool
490
491config CPU_CACHE_V4WT
492 bool
493
494config CPU_CACHE_V4WB
495 bool
496
497config CPU_CACHE_V6
498 bool
499
23688e99
CM
500config CPU_CACHE_V7
501 bool
502
1da177e4
LT
503config CPU_CACHE_VIVT
504 bool
505
506config CPU_CACHE_VIPT
507 bool
508
f9c21a6e 509if MMU
1da177e4
LT
510# The copy-page model
511config CPU_COPY_V3
512 bool
513
514config CPU_COPY_V4WT
515 bool
516
517config CPU_COPY_V4WB
518 bool
519
520config CPU_COPY_V6
521 bool
522
523# This selects the TLB model
524config CPU_TLB_V3
525 bool
526 help
527 ARM Architecture Version 3 TLB.
528
529config CPU_TLB_V4WT
530 bool
531 help
532 ARM Architecture Version 4 TLB with writethrough cache.
533
534config CPU_TLB_V4WB
535 bool
536 help
537 ARM Architecture Version 4 TLB with writeback cache.
538
539config CPU_TLB_V4WBI
540 bool
541 help
542 ARM Architecture Version 4 TLB with writeback cache and invalidate
543 instruction cache entry.
544
545config CPU_TLB_V6
546 bool
547
2ccdd1e7
CM
548config CPU_TLB_V7
549 bool
550
f9c21a6e
HC
551endif
552
516793c6
RK
553config CPU_HAS_ASID
554 bool
555 help
556 This indicates whether the CPU has the ASID register; used to
557 tag TLB and possibly cache entries.
558
fefdaa06
HC
559config CPU_CP15
560 bool
561 help
562 Processor has the CP15 register.
563
564config CPU_CP15_MMU
565 bool
566 select CPU_CP15
567 help
568 Processor has the CP15 register, which has MMU related registers.
569
570config CPU_CP15_MPU
571 bool
572 select CPU_CP15
573 help
574 Processor has the CP15 register, which has MPU related registers.
575
23bdf86a
LB
576#
577# CPU supports 36-bit I/O
578#
579config IO_36
580 bool
581
1da177e4
LT
582comment "Processor Features"
583
584config ARM_THUMB
585 bool "Support Thumb user binaries"
e50d6409 586 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
1da177e4
LT
587 default y
588 help
589 Say Y if you want to include kernel support for running user space
590 Thumb binaries.
591
592 The Thumb instruction set is a compressed form of the standard ARM
593 instruction set resulting in smaller binaries at the expense of
594 slightly less efficient code.
595
596 If you don't know what this all is, saying Y is a safe choice.
597
d7f864be
CM
598config ARM_THUMBEE
599 bool "Enable ThumbEE CPU extension"
600 depends on CPU_V7
601 help
602 Say Y here if you have a CPU with the ThumbEE extension and code to
603 make use of it. Say N for code that can run on CPUs without ThumbEE.
604
1da177e4
LT
605config CPU_BIG_ENDIAN
606 bool "Build big-endian kernel"
607 depends on ARCH_SUPPORTS_BIG_ENDIAN
608 help
609 Say Y if you plan on running a kernel in big-endian mode.
610 Note that your board must be properly built and your board
611 port must properly enable any big-endian related features
612 of your chipset/board/processor.
613
6afd6fae 614config CPU_HIGH_VECTOR
6340aa61 615 depends on !MMU && CPU_CP15 && !CPU_ARM740T
6afd6fae
HC
616 bool "Select the High exception vector"
617 default n
618 help
619 Say Y here to select high exception vector(0xFFFF0000~).
620 The exception vector can be vary depending on the platform
621 design in nommu mode. If your platform needs to select
622 high exception vector, say Y.
623 Otherwise or if you are unsure, say N, and the low exception
624 vector (0x00000000~) will be used.
625
1da177e4 626config CPU_ICACHE_DISABLE
f12d0d7c
HC
627 bool "Disable I-Cache (I-bit)"
628 depends on CPU_CP15 && !(CPU_ARM610 || CPU_ARM710 || CPU_ARM720T || CPU_ARM740T || CPU_XSCALE || CPU_XSC3)
1da177e4
LT
629 help
630 Say Y here to disable the processor instruction cache. Unless
631 you have a reason not to or are unsure, say N.
632
633config CPU_DCACHE_DISABLE
f12d0d7c
HC
634 bool "Disable D-Cache (C-bit)"
635 depends on CPU_CP15
1da177e4
LT
636 help
637 Say Y here to disable the processor data cache. Unless
638 you have a reason not to or are unsure, say N.
639
f37f46eb
HC
640config CPU_DCACHE_SIZE
641 hex
642 depends on CPU_ARM740T || CPU_ARM946E
643 default 0x00001000 if CPU_ARM740T
644 default 0x00002000 # default size for ARM946E-S
645 help
646 Some cores are synthesizable to have various sized cache. For
647 ARM946E-S case, it can vary from 0KB to 1MB.
648 To support such cache operations, it is efficient to know the size
649 before compile time.
650 If your SoC is configured to have a different size, define the value
651 here with proper conditions.
652
1da177e4
LT
653config CPU_DCACHE_WRITETHROUGH
654 bool "Force write through D-cache"
e50d6409 655 depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_FEROCEON) && !CPU_DCACHE_DISABLE
1da177e4
LT
656 default y if CPU_ARM925T
657 help
658 Say Y here to use the data cache in writethrough mode. Unless you
659 specifically require this or are unsure, say N.
660
661config CPU_CACHE_ROUND_ROBIN
662 bool "Round robin I and D cache replacement algorithm"
f37f46eb 663 depends on (CPU_ARM926T || CPU_ARM946E || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE)
1da177e4
LT
664 help
665 Say Y here to use the predictable round-robin cache replacement
666 policy. Unless you specifically require this or are unsure, say N.
667
668config CPU_BPREDICT_DISABLE
669 bool "Disable branch prediction"
23688e99 670 depends on CPU_ARM1020 || CPU_V6 || CPU_XSC3 || CPU_V7
1da177e4
LT
671 help
672 Say Y here to disable branch prediction. If unsure, say N.
2d2669b6 673
4b0e07a5
NP
674config TLS_REG_EMUL
675 bool
4b0e07a5 676 help
70489c88
NP
677 An SMP system using a pre-ARMv6 processor (there are apparently
678 a few prototypes like that in existence) and therefore access to
679 that required register must be emulated.
4b0e07a5 680
2d2669b6
NP
681config HAS_TLS_REG
682 bool
70489c88
NP
683 depends on !TLS_REG_EMUL
684 default y if SMP || CPU_32v7
2d2669b6
NP
685 help
686 This selects support for the CP15 thread register.
70489c88
NP
687 It is defined to be available on some ARMv6 processors (including
688 all SMP capable ARMv6's) or later processors. User space may
689 assume directly accessing that register and always obtain the
690 expected value only on ARMv7 and above.
2d2669b6 691
dcef1f63
NP
692config NEEDS_SYSCALL_FOR_CMPXCHG
693 bool
dcef1f63
NP
694 help
695 SMP on a pre-ARMv6 processor? Well OK then.
696 Forget about fast user space cmpxchg support.
697 It is just not possible.
698
953233dc
CM
699config OUTER_CACHE
700 bool
701 default n
382266ad
CM
702
703config CACHE_L2X0
704 bool
705 select OUTER_CACHE