xref: /linux/arch/arm/mm/Kconfig (revision 794d15b25df5dda10efba600d6dd6cd74a7aa9cb)
11da177e4SLinus Torvaldscomment "Processor Type"
21da177e4SLinus Torvalds
31da177e4SLinus Torvaldsconfig CPU_32
41da177e4SLinus Torvalds	bool
51da177e4SLinus Torvalds	default y
61da177e4SLinus Torvalds
71da177e4SLinus Torvalds# Select CPU types depending on the architecture selected.  This selects
81da177e4SLinus Torvalds# which CPUs we support in the kernel image, and the compiler instruction
91da177e4SLinus Torvalds# optimiser behaviour.
101da177e4SLinus Torvalds
111da177e4SLinus Torvalds# ARM610
121da177e4SLinus Torvaldsconfig CPU_ARM610
131da177e4SLinus Torvalds	bool "Support ARM610 processor"
141da177e4SLinus Torvalds	depends on ARCH_RPC
151da177e4SLinus Torvalds	select CPU_32v3
161da177e4SLinus Torvalds	select CPU_CACHE_V3
171da177e4SLinus Torvalds	select CPU_CACHE_VIVT
18fefdaa06SHyok S. Choi	select CPU_CP15_MMU
19f9c21a6eSHyok S. Choi	select CPU_COPY_V3 if MMU
20f9c21a6eSHyok S. Choi	select CPU_TLB_V3 if MMU
2148d7927bSPaul Brook	select CPU_PABRT_NOIFAR
221da177e4SLinus Torvalds	help
231da177e4SLinus Torvalds	  The ARM610 is the successor to the ARM3 processor
241da177e4SLinus Torvalds	  and was produced by VLSI Technology Inc.
251da177e4SLinus Torvalds
261da177e4SLinus Torvalds	  Say Y if you want support for the ARM610 processor.
271da177e4SLinus Torvalds	  Otherwise, say N.
281da177e4SLinus Torvalds
2907e0da78SHyok S. Choi# ARM7TDMI
3007e0da78SHyok S. Choiconfig CPU_ARM7TDMI
3107e0da78SHyok S. Choi	bool "Support ARM7TDMI processor"
326b237a35SRussell King	depends on !MMU
3307e0da78SHyok S. Choi	select CPU_32v4T
3407e0da78SHyok S. Choi	select CPU_ABRT_LV4T
354a1fd556SCatalin Marinas	select CPU_PABRT_NOIFAR
3607e0da78SHyok S. Choi	select CPU_CACHE_V4
3707e0da78SHyok S. Choi	help
3807e0da78SHyok S. Choi	  A 32-bit RISC microprocessor based on the ARM7 processor core
3907e0da78SHyok S. Choi	  which has no memory control unit and cache.
4007e0da78SHyok S. Choi
4107e0da78SHyok S. Choi	  Say Y if you want support for the ARM7TDMI processor.
4207e0da78SHyok S. Choi	  Otherwise, say N.
4307e0da78SHyok S. Choi
441da177e4SLinus Torvalds# ARM710
451da177e4SLinus Torvaldsconfig CPU_ARM710
461da177e4SLinus Torvalds	bool "Support ARM710 processor" if !ARCH_CLPS7500 && ARCH_RPC
471da177e4SLinus Torvalds	default y if ARCH_CLPS7500
481da177e4SLinus Torvalds	select CPU_32v3
491da177e4SLinus Torvalds	select CPU_CACHE_V3
501da177e4SLinus Torvalds	select CPU_CACHE_VIVT
51fefdaa06SHyok S. Choi	select CPU_CP15_MMU
52f9c21a6eSHyok S. Choi	select CPU_COPY_V3 if MMU
53f9c21a6eSHyok S. Choi	select CPU_TLB_V3 if MMU
5448d7927bSPaul Brook	select CPU_PABRT_NOIFAR
551da177e4SLinus Torvalds	help
561da177e4SLinus Torvalds	  A 32-bit RISC microprocessor based on the ARM7 processor core
571da177e4SLinus Torvalds	  designed by Advanced RISC Machines Ltd. The ARM710 is the
581da177e4SLinus Torvalds	  successor to the ARM610 processor. It was released in
591da177e4SLinus Torvalds	  July 1994 by VLSI Technology Inc.
601da177e4SLinus Torvalds
611da177e4SLinus Torvalds	  Say Y if you want support for the ARM710 processor.
621da177e4SLinus Torvalds	  Otherwise, say N.
631da177e4SLinus Torvalds
641da177e4SLinus Torvalds# ARM720T
651da177e4SLinus Torvaldsconfig CPU_ARM720T
661da177e4SLinus Torvalds	bool "Support ARM720T processor" if !ARCH_CLPS711X && !ARCH_L7200 && !ARCH_CDB89712 && ARCH_INTEGRATOR
671da177e4SLinus Torvalds	default y if ARCH_CLPS711X || ARCH_L7200 || ARCH_CDB89712 || ARCH_H720X
68260e98edSLennert Buytenhek	select CPU_32v4T
691da177e4SLinus Torvalds	select CPU_ABRT_LV4T
7048d7927bSPaul Brook	select CPU_PABRT_NOIFAR
711da177e4SLinus Torvalds	select CPU_CACHE_V4
721da177e4SLinus Torvalds	select CPU_CACHE_VIVT
73fefdaa06SHyok S. Choi	select CPU_CP15_MMU
74f9c21a6eSHyok S. Choi	select CPU_COPY_V4WT if MMU
75f9c21a6eSHyok S. Choi	select CPU_TLB_V4WT if MMU
761da177e4SLinus Torvalds	help
771da177e4SLinus Torvalds	  A 32-bit RISC processor with 8kByte Cache, Write Buffer and
781da177e4SLinus Torvalds	  MMU built around an ARM7TDMI core.
791da177e4SLinus Torvalds
801da177e4SLinus Torvalds	  Say Y if you want support for the ARM720T processor.
811da177e4SLinus Torvalds	  Otherwise, say N.
821da177e4SLinus Torvalds
83b731c311SHyok S. Choi# ARM740T
84b731c311SHyok S. Choiconfig CPU_ARM740T
85b731c311SHyok S. Choi	bool "Support ARM740T processor" if ARCH_INTEGRATOR
866b237a35SRussell King	depends on !MMU
87b731c311SHyok S. Choi	select CPU_32v4T
88b731c311SHyok S. Choi	select CPU_ABRT_LV4T
894a1fd556SCatalin Marinas	select CPU_PABRT_NOIFAR
90b731c311SHyok S. Choi	select CPU_CACHE_V3	# although the core is v4t
91b731c311SHyok S. Choi	select CPU_CP15_MPU
92b731c311SHyok S. Choi	help
93b731c311SHyok S. Choi	  A 32-bit RISC processor with 8KB cache or 4KB variants,
94b731c311SHyok S. Choi	  write buffer and MPU(Protection Unit) built around
95b731c311SHyok S. Choi	  an ARM7TDMI core.
96b731c311SHyok S. Choi
97b731c311SHyok S. Choi	  Say Y if you want support for the ARM740T processor.
98b731c311SHyok S. Choi	  Otherwise, say N.
99b731c311SHyok S. Choi
10043f5f014SHyok S. Choi# ARM9TDMI
10143f5f014SHyok S. Choiconfig CPU_ARM9TDMI
10243f5f014SHyok S. Choi	bool "Support ARM9TDMI processor"
1036b237a35SRussell King	depends on !MMU
10443f5f014SHyok S. Choi	select CPU_32v4T
1050f45d7f3SHyok S. Choi	select CPU_ABRT_NOMMU
1064a1fd556SCatalin Marinas	select CPU_PABRT_NOIFAR
10743f5f014SHyok S. Choi	select CPU_CACHE_V4
10843f5f014SHyok S. Choi	help
10943f5f014SHyok S. Choi	  A 32-bit RISC microprocessor based on the ARM9 processor core
11043f5f014SHyok S. Choi	  which has no memory control unit and cache.
11143f5f014SHyok S. Choi
11243f5f014SHyok S. Choi	  Say Y if you want support for the ARM9TDMI processor.
11343f5f014SHyok S. Choi	  Otherwise, say N.
11443f5f014SHyok S. Choi
1151da177e4SLinus Torvalds# ARM920T
1161da177e4SLinus Torvaldsconfig CPU_ARM920T
1173434d9d9SBen Dooks	bool "Support ARM920T processor"
1183434d9d9SBen Dooks	depends on ARCH_EP93XX || ARCH_INTEGRATOR || CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_IMX || ARCH_AAEC2000 || ARCH_AT91RM9200
1193434d9d9SBen Dooks	default y if CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_AT91RM9200
120260e98edSLennert Buytenhek	select CPU_32v4T
1211da177e4SLinus Torvalds	select CPU_ABRT_EV4T
12248d7927bSPaul Brook	select CPU_PABRT_NOIFAR
1231da177e4SLinus Torvalds	select CPU_CACHE_V4WT
1241da177e4SLinus Torvalds	select CPU_CACHE_VIVT
125fefdaa06SHyok S. Choi	select CPU_CP15_MMU
126f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
127f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1281da177e4SLinus Torvalds	help
1291da177e4SLinus Torvalds	  The ARM920T is licensed to be produced by numerous vendors,
1301da177e4SLinus Torvalds	  and is used in the Maverick EP9312 and the Samsung S3C2410.
1311da177e4SLinus Torvalds
1321da177e4SLinus Torvalds	  More information on the Maverick EP9312 at
1331da177e4SLinus Torvalds	  <http://linuxdevices.com/products/PD2382866068.html>.
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvalds	  Say Y if you want support for the ARM920T processor.
1361da177e4SLinus Torvalds	  Otherwise, say N.
1371da177e4SLinus Torvalds
1381da177e4SLinus Torvalds# ARM922T
1391da177e4SLinus Torvaldsconfig CPU_ARM922T
1401da177e4SLinus Torvalds	bool "Support ARM922T processor" if ARCH_INTEGRATOR
141c53c9cf6SAndrew Victor	depends on ARCH_LH7A40X || ARCH_INTEGRATOR || ARCH_KS8695
142c53c9cf6SAndrew Victor	default y if ARCH_LH7A40X || ARCH_KS8695
143260e98edSLennert Buytenhek	select CPU_32v4T
1441da177e4SLinus Torvalds	select CPU_ABRT_EV4T
14548d7927bSPaul Brook	select CPU_PABRT_NOIFAR
1461da177e4SLinus Torvalds	select CPU_CACHE_V4WT
1471da177e4SLinus Torvalds	select CPU_CACHE_VIVT
148fefdaa06SHyok S. Choi	select CPU_CP15_MMU
149f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
150f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1511da177e4SLinus Torvalds	help
1521da177e4SLinus Torvalds	  The ARM922T is a version of the ARM920T, but with smaller
1531da177e4SLinus Torvalds	  instruction and data caches. It is used in Altera's
154c53c9cf6SAndrew Victor	  Excalibur XA device family and Micrel's KS8695 Centaur.
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvalds	  Say Y if you want support for the ARM922T processor.
1571da177e4SLinus Torvalds	  Otherwise, say N.
1581da177e4SLinus Torvalds
1591da177e4SLinus Torvalds# ARM925T
1601da177e4SLinus Torvaldsconfig CPU_ARM925T
161b288f75fSTony Lindgren 	bool "Support ARM925T processor" if ARCH_OMAP1
1623179a019STony Lindgren 	depends on ARCH_OMAP15XX
1633179a019STony Lindgren 	default y if ARCH_OMAP15XX
164260e98edSLennert Buytenhek	select CPU_32v4T
1651da177e4SLinus Torvalds	select CPU_ABRT_EV4T
16648d7927bSPaul Brook	select CPU_PABRT_NOIFAR
1671da177e4SLinus Torvalds	select CPU_CACHE_V4WT
1681da177e4SLinus Torvalds	select CPU_CACHE_VIVT
169fefdaa06SHyok S. Choi	select CPU_CP15_MMU
170f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
171f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1721da177e4SLinus Torvalds 	help
1731da177e4SLinus Torvalds 	  The ARM925T is a mix between the ARM920T and ARM926T, but with
1741da177e4SLinus Torvalds	  different instruction and data caches. It is used in TI's OMAP
1751da177e4SLinus Torvalds 	  device family.
1761da177e4SLinus Torvalds
1771da177e4SLinus Torvalds 	  Say Y if you want support for the ARM925T processor.
1781da177e4SLinus Torvalds 	  Otherwise, say N.
1791da177e4SLinus Torvalds
1801da177e4SLinus Torvalds# ARM926T
1811da177e4SLinus Torvaldsconfig CPU_ARM926T
1828ad68bbfSCatalin Marinas	bool "Support ARM926T processor"
1832b3b3516SAndrew Victor	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
1842b3b3516SAndrew Victor	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
1851da177e4SLinus Torvalds	select CPU_32v5
1861da177e4SLinus Torvalds	select CPU_ABRT_EV5TJ
18748d7927bSPaul Brook	select CPU_PABRT_NOIFAR
1881da177e4SLinus Torvalds	select CPU_CACHE_VIVT
189fefdaa06SHyok S. Choi	select CPU_CP15_MMU
190f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
191f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1921da177e4SLinus Torvalds	help
1931da177e4SLinus Torvalds	  This is a variant of the ARM920.  It has slightly different
1941da177e4SLinus Torvalds	  instruction sequences for cache and TLB operations.  Curiously,
1951da177e4SLinus Torvalds	  there is no documentation on it at the ARM corporate website.
1961da177e4SLinus Torvalds
1971da177e4SLinus Torvalds	  Say Y if you want support for the ARM926T processor.
1981da177e4SLinus Torvalds	  Otherwise, say N.
1991da177e4SLinus Torvalds
200d60674ebSHyok S. Choi# ARM940T
201d60674ebSHyok S. Choiconfig CPU_ARM940T
202d60674ebSHyok S. Choi	bool "Support ARM940T processor" if ARCH_INTEGRATOR
2036b237a35SRussell King	depends on !MMU
204d60674ebSHyok S. Choi	select CPU_32v4T
2050f45d7f3SHyok S. Choi	select CPU_ABRT_NOMMU
2064a1fd556SCatalin Marinas	select CPU_PABRT_NOIFAR
207d60674ebSHyok S. Choi	select CPU_CACHE_VIVT
208d60674ebSHyok S. Choi	select CPU_CP15_MPU
209d60674ebSHyok S. Choi	help
210d60674ebSHyok S. Choi	  ARM940T is a member of the ARM9TDMI family of general-
2113cb2fcccSMatt LaPlante	  purpose microprocessors with MPU and separate 4KB
212d60674ebSHyok S. Choi	  instruction and 4KB data cases, each with a 4-word line
213d60674ebSHyok S. Choi	  length.
214d60674ebSHyok S. Choi
215d60674ebSHyok S. Choi	  Say Y if you want support for the ARM940T processor.
216d60674ebSHyok S. Choi	  Otherwise, say N.
217d60674ebSHyok S. Choi
218f37f46ebSHyok S. Choi# ARM946E-S
219f37f46ebSHyok S. Choiconfig CPU_ARM946E
220f37f46ebSHyok S. Choi	bool "Support ARM946E-S processor" if ARCH_INTEGRATOR
2216b237a35SRussell King	depends on !MMU
222f37f46ebSHyok S. Choi	select CPU_32v5
2230f45d7f3SHyok S. Choi	select CPU_ABRT_NOMMU
2244a1fd556SCatalin Marinas	select CPU_PABRT_NOIFAR
225f37f46ebSHyok S. Choi	select CPU_CACHE_VIVT
226f37f46ebSHyok S. Choi	select CPU_CP15_MPU
227f37f46ebSHyok S. Choi	help
228f37f46ebSHyok S. Choi	  ARM946E-S is a member of the ARM9E-S family of high-
229f37f46ebSHyok S. Choi	  performance, 32-bit system-on-chip processor solutions.
230f37f46ebSHyok S. Choi	  The TCM and ARMv5TE 32-bit instruction set is supported.
231f37f46ebSHyok S. Choi
232f37f46ebSHyok S. Choi	  Say Y if you want support for the ARM946E-S processor.
233f37f46ebSHyok S. Choi	  Otherwise, say N.
234f37f46ebSHyok S. Choi
2351da177e4SLinus Torvalds# ARM1020 - needs validating
2361da177e4SLinus Torvaldsconfig CPU_ARM1020
2371da177e4SLinus Torvalds	bool "Support ARM1020T (rev 0) processor"
2381da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2391da177e4SLinus Torvalds	select CPU_32v5
2401da177e4SLinus Torvalds	select CPU_ABRT_EV4T
24148d7927bSPaul Brook	select CPU_PABRT_NOIFAR
2421da177e4SLinus Torvalds	select CPU_CACHE_V4WT
2431da177e4SLinus Torvalds	select CPU_CACHE_VIVT
244fefdaa06SHyok S. Choi	select CPU_CP15_MMU
245f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
246f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2471da177e4SLinus Torvalds	help
2481da177e4SLinus Torvalds	  The ARM1020 is the 32K cached version of the ARM10 processor,
2491da177e4SLinus Torvalds	  with an addition of a floating-point unit.
2501da177e4SLinus Torvalds
2511da177e4SLinus Torvalds	  Say Y if you want support for the ARM1020 processor.
2521da177e4SLinus Torvalds	  Otherwise, say N.
2531da177e4SLinus Torvalds
2541da177e4SLinus Torvalds# ARM1020E - needs validating
2551da177e4SLinus Torvaldsconfig CPU_ARM1020E
2561da177e4SLinus Torvalds	bool "Support ARM1020E processor"
2571da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2581da177e4SLinus Torvalds	select CPU_32v5
2591da177e4SLinus Torvalds	select CPU_ABRT_EV4T
26048d7927bSPaul Brook	select CPU_PABRT_NOIFAR
2611da177e4SLinus Torvalds	select CPU_CACHE_V4WT
2621da177e4SLinus Torvalds	select CPU_CACHE_VIVT
263fefdaa06SHyok S. Choi	select CPU_CP15_MMU
264f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
265f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2661da177e4SLinus Torvalds	depends on n
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvalds# ARM1022E
2691da177e4SLinus Torvaldsconfig CPU_ARM1022
2701da177e4SLinus Torvalds	bool "Support ARM1022E processor"
2711da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2721da177e4SLinus Torvalds	select CPU_32v5
2731da177e4SLinus Torvalds	select CPU_ABRT_EV4T
27448d7927bSPaul Brook	select CPU_PABRT_NOIFAR
2751da177e4SLinus Torvalds	select CPU_CACHE_VIVT
276fefdaa06SHyok S. Choi	select CPU_CP15_MMU
277f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU # can probably do better
278f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2791da177e4SLinus Torvalds	help
2801da177e4SLinus Torvalds	  The ARM1022E is an implementation of the ARMv5TE architecture
2811da177e4SLinus Torvalds	  based upon the ARM10 integer core with a 16KiB L1 Harvard cache,
2821da177e4SLinus Torvalds	  embedded trace macrocell, and a floating-point unit.
2831da177e4SLinus Torvalds
2841da177e4SLinus Torvalds	  Say Y if you want support for the ARM1022E processor.
2851da177e4SLinus Torvalds	  Otherwise, say N.
2861da177e4SLinus Torvalds
2871da177e4SLinus Torvalds# ARM1026EJ-S
2881da177e4SLinus Torvaldsconfig CPU_ARM1026
2891da177e4SLinus Torvalds	bool "Support ARM1026EJ-S processor"
2901da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2911da177e4SLinus Torvalds	select CPU_32v5
2921da177e4SLinus Torvalds	select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10
29348d7927bSPaul Brook	select CPU_PABRT_NOIFAR
2941da177e4SLinus Torvalds	select CPU_CACHE_VIVT
295fefdaa06SHyok S. Choi	select CPU_CP15_MMU
296f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU # can probably do better
297f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2981da177e4SLinus Torvalds	help
2991da177e4SLinus Torvalds	  The ARM1026EJ-S is an implementation of the ARMv5TEJ architecture
3001da177e4SLinus Torvalds	  based upon the ARM10 integer core.
3011da177e4SLinus Torvalds
3021da177e4SLinus Torvalds	  Say Y if you want support for the ARM1026EJ-S processor.
3031da177e4SLinus Torvalds	  Otherwise, say N.
3041da177e4SLinus Torvalds
3051da177e4SLinus Torvalds# SA110
3061da177e4SLinus Torvaldsconfig CPU_SA110
3071da177e4SLinus Torvalds	bool "Support StrongARM(R) SA-110 processor" if !ARCH_EBSA110 && !FOOTBRIDGE && !ARCH_TBOX && !ARCH_SHARK && !ARCH_NEXUSPCI && ARCH_RPC
3081da177e4SLinus Torvalds	default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_TBOX || ARCH_SHARK || ARCH_NEXUSPCI
3091da177e4SLinus Torvalds	select CPU_32v3 if ARCH_RPC
3101da177e4SLinus Torvalds	select CPU_32v4 if !ARCH_RPC
3111da177e4SLinus Torvalds	select CPU_ABRT_EV4
31248d7927bSPaul Brook	select CPU_PABRT_NOIFAR
3131da177e4SLinus Torvalds	select CPU_CACHE_V4WB
3141da177e4SLinus Torvalds	select CPU_CACHE_VIVT
315fefdaa06SHyok S. Choi	select CPU_CP15_MMU
316f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
317f9c21a6eSHyok S. Choi	select CPU_TLB_V4WB if MMU
3181da177e4SLinus Torvalds	help
3191da177e4SLinus Torvalds	  The Intel StrongARM(R) SA-110 is a 32-bit microprocessor and
3201da177e4SLinus Torvalds	  is available at five speeds ranging from 100 MHz to 233 MHz.
3211da177e4SLinus Torvalds	  More information is available at
3221da177e4SLinus Torvalds	  <http://developer.intel.com/design/strong/sa110.htm>.
3231da177e4SLinus Torvalds
3241da177e4SLinus Torvalds	  Say Y if you want support for the SA-110 processor.
3251da177e4SLinus Torvalds	  Otherwise, say N.
3261da177e4SLinus Torvalds
3271da177e4SLinus Torvalds# SA1100
3281da177e4SLinus Torvaldsconfig CPU_SA1100
3291da177e4SLinus Torvalds	bool
3301da177e4SLinus Torvalds	depends on ARCH_SA1100
3311da177e4SLinus Torvalds	default y
3321da177e4SLinus Torvalds	select CPU_32v4
3331da177e4SLinus Torvalds	select CPU_ABRT_EV4
33448d7927bSPaul Brook	select CPU_PABRT_NOIFAR
3351da177e4SLinus Torvalds	select CPU_CACHE_V4WB
3361da177e4SLinus Torvalds	select CPU_CACHE_VIVT
337fefdaa06SHyok S. Choi	select CPU_CP15_MMU
338f9c21a6eSHyok S. Choi	select CPU_TLB_V4WB if MMU
3391da177e4SLinus Torvalds
3401da177e4SLinus Torvalds# XScale
3411da177e4SLinus Torvaldsconfig CPU_XSCALE
3421da177e4SLinus Torvalds	bool
343fa0b6251SRussell King	depends on ARCH_IOP32X || ARCH_IOP33X || PXA25x || PXA27x || ARCH_IXP4XX || ARCH_IXP2000
3441da177e4SLinus Torvalds	default y
3451da177e4SLinus Torvalds	select CPU_32v5
3461da177e4SLinus Torvalds	select CPU_ABRT_EV5T
34748d7927bSPaul Brook	select CPU_PABRT_NOIFAR
3481da177e4SLinus Torvalds	select CPU_CACHE_VIVT
349fefdaa06SHyok S. Choi	select CPU_CP15_MMU
350f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
3511da177e4SLinus Torvalds
35223bdf86aSLennert Buytenhek# XScale Core Version 3
35323bdf86aSLennert Buytenhekconfig CPU_XSC3
35423bdf86aSLennert Buytenhek	bool
3552c8086a5Seric miao	depends on ARCH_IXP23XX || ARCH_IOP13XX || PXA3xx
35623bdf86aSLennert Buytenhek	default y
35723bdf86aSLennert Buytenhek	select CPU_32v5
35823bdf86aSLennert Buytenhek	select CPU_ABRT_EV5T
3594a1fd556SCatalin Marinas	select CPU_PABRT_NOIFAR
36023bdf86aSLennert Buytenhek	select CPU_CACHE_VIVT
361fefdaa06SHyok S. Choi	select CPU_CP15_MMU
362f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
36323bdf86aSLennert Buytenhek	select IO_36
36423bdf86aSLennert Buytenhek
365e50d6409SAssaf Hoffman# Feroceon
366e50d6409SAssaf Hoffmanconfig CPU_FEROCEON
367e50d6409SAssaf Hoffman	bool
368*794d15b2SStanislav Samsonov	depends on ARCH_ORION5X || ARCH_LOKI || ARCH_KIRKWOOD || ARCH_MV78XX0
369e50d6409SAssaf Hoffman	default y
370e50d6409SAssaf Hoffman	select CPU_32v5
371e50d6409SAssaf Hoffman	select CPU_ABRT_EV5T
37248d7927bSPaul Brook	select CPU_PABRT_NOIFAR
373e50d6409SAssaf Hoffman	select CPU_CACHE_VIVT
374e50d6409SAssaf Hoffman	select CPU_CP15_MMU
3750ed15071SLennert Buytenhek	select CPU_COPY_FEROCEON if MMU
37699c6dc11SLennert Buytenhek	select CPU_TLB_FEROCEON if MMU
377e50d6409SAssaf Hoffman
378d910a0aaSTzachi Perelsteinconfig CPU_FEROCEON_OLD_ID
379d910a0aaSTzachi Perelstein	bool "Accept early Feroceon cores with an ARM926 ID"
380d910a0aaSTzachi Perelstein	depends on CPU_FEROCEON && !CPU_ARM926T
381d910a0aaSTzachi Perelstein	default y
382d910a0aaSTzachi Perelstein	help
383d910a0aaSTzachi Perelstein	  This enables the usage of some old Feroceon cores
384d910a0aaSTzachi Perelstein	  for which the CPU ID is equal to the ARM926 ID.
385d910a0aaSTzachi Perelstein	  Relevant for Feroceon-1850 and early Feroceon-2850.
386d910a0aaSTzachi Perelstein
3871da177e4SLinus Torvalds# ARMv6
3881da177e4SLinus Torvaldsconfig CPU_V6
3891da177e4SLinus Torvalds	bool "Support ARM V6 processor"
390bc02c58bSBahadir Balban	depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP2 || ARCH_MX3 || ARCH_MSM7X00A || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176
39152c543f9SQuinn Jensen	default y if ARCH_MX3
3923042102aSBrian Swetland	default y if ARCH_MSM7X00A
3931da177e4SLinus Torvalds	select CPU_32v6
3941da177e4SLinus Torvalds	select CPU_ABRT_EV6
39548d7927bSPaul Brook	select CPU_PABRT_NOIFAR
3961da177e4SLinus Torvalds	select CPU_CACHE_V6
3971da177e4SLinus Torvalds	select CPU_CACHE_VIPT
398fefdaa06SHyok S. Choi	select CPU_CP15_MMU
3997b4c965aSCatalin Marinas	select CPU_HAS_ASID if MMU
400f9c21a6eSHyok S. Choi	select CPU_COPY_V6 if MMU
401f9c21a6eSHyok S. Choi	select CPU_TLB_V6 if MMU
4021da177e4SLinus Torvalds
4034a5f79e7SRussell King# ARMv6k
4044a5f79e7SRussell Kingconfig CPU_32v6K
4054a5f79e7SRussell King	bool "Support ARM V6K processor extensions" if !SMP
4064a5f79e7SRussell King	depends on CPU_V6
40752c543f9SQuinn Jensen	default y if SMP && !ARCH_MX3
4084a5f79e7SRussell King	help
4094a5f79e7SRussell King	  Say Y here if your ARMv6 processor supports the 'K' extension.
4104a5f79e7SRussell King	  This enables the kernel to use some instructions not present
4114a5f79e7SRussell King	  on previous processors, and as such a kernel build with this
4124a5f79e7SRussell King	  enabled will not boot on processors with do not support these
4134a5f79e7SRussell King	  instructions.
4144a5f79e7SRussell King
41523688e99SCatalin Marinas# ARMv7
41623688e99SCatalin Marinasconfig CPU_V7
41723688e99SCatalin Marinas	bool "Support ARM V7 processor"
41841267e20SCatalin Marinas	depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB
41923688e99SCatalin Marinas	select CPU_32v6K
42023688e99SCatalin Marinas	select CPU_32v7
42123688e99SCatalin Marinas	select CPU_ABRT_EV7
42248d7927bSPaul Brook	select CPU_PABRT_IFAR
42323688e99SCatalin Marinas	select CPU_CACHE_V7
42423688e99SCatalin Marinas	select CPU_CACHE_VIPT
42523688e99SCatalin Marinas	select CPU_CP15_MMU
4262eb8c82bSCatalin Marinas	select CPU_HAS_ASID if MMU
42723688e99SCatalin Marinas	select CPU_COPY_V6 if MMU
4282ccdd1e7SCatalin Marinas	select CPU_TLB_V7 if MMU
42923688e99SCatalin Marinas
4301da177e4SLinus Torvalds# Figure out what processor architecture version we should be using.
4311da177e4SLinus Torvalds# This defines the compiler instruction set which depends on the machine type.
4321da177e4SLinus Torvaldsconfig CPU_32v3
4331da177e4SLinus Torvalds	bool
43460b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
43548fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
4361da177e4SLinus Torvalds
4371da177e4SLinus Torvaldsconfig CPU_32v4
4381da177e4SLinus Torvalds	bool
43960b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
44048fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
4411da177e4SLinus Torvalds
442260e98edSLennert Buytenhekconfig CPU_32v4T
443260e98edSLennert Buytenhek	bool
444260e98edSLennert Buytenhek	select TLS_REG_EMUL if SMP || !MMU
445260e98edSLennert Buytenhek	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
446260e98edSLennert Buytenhek
4471da177e4SLinus Torvaldsconfig CPU_32v5
4481da177e4SLinus Torvalds	bool
44960b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
45048fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
4511da177e4SLinus Torvalds
4521da177e4SLinus Torvaldsconfig CPU_32v6
4531da177e4SLinus Torvalds	bool
454367afaf8SCatalin Marinas	select TLS_REG_EMUL if !CPU_32v6K && !MMU
4551da177e4SLinus Torvalds
45623688e99SCatalin Marinasconfig CPU_32v7
45723688e99SCatalin Marinas	bool
45823688e99SCatalin Marinas
4591da177e4SLinus Torvalds# The abort model
4600f45d7f3SHyok S. Choiconfig CPU_ABRT_NOMMU
4610f45d7f3SHyok S. Choi	bool
4620f45d7f3SHyok S. Choi
4631da177e4SLinus Torvaldsconfig CPU_ABRT_EV4
4641da177e4SLinus Torvalds	bool
4651da177e4SLinus Torvalds
4661da177e4SLinus Torvaldsconfig CPU_ABRT_EV4T
4671da177e4SLinus Torvalds	bool
4681da177e4SLinus Torvalds
4691da177e4SLinus Torvaldsconfig CPU_ABRT_LV4T
4701da177e4SLinus Torvalds	bool
4711da177e4SLinus Torvalds
4721da177e4SLinus Torvaldsconfig CPU_ABRT_EV5T
4731da177e4SLinus Torvalds	bool
4741da177e4SLinus Torvalds
4751da177e4SLinus Torvaldsconfig CPU_ABRT_EV5TJ
4761da177e4SLinus Torvalds	bool
4771da177e4SLinus Torvalds
4781da177e4SLinus Torvaldsconfig CPU_ABRT_EV6
4791da177e4SLinus Torvalds	bool
4801da177e4SLinus Torvalds
48123688e99SCatalin Marinasconfig CPU_ABRT_EV7
48223688e99SCatalin Marinas	bool
48323688e99SCatalin Marinas
48448d7927bSPaul Brookconfig CPU_PABRT_IFAR
48548d7927bSPaul Brook	bool
48648d7927bSPaul Brook
48748d7927bSPaul Brookconfig CPU_PABRT_NOIFAR
48848d7927bSPaul Brook	bool
48948d7927bSPaul Brook
4901da177e4SLinus Torvalds# The cache model
4911da177e4SLinus Torvaldsconfig CPU_CACHE_V3
4921da177e4SLinus Torvalds	bool
4931da177e4SLinus Torvalds
4941da177e4SLinus Torvaldsconfig CPU_CACHE_V4
4951da177e4SLinus Torvalds	bool
4961da177e4SLinus Torvalds
4971da177e4SLinus Torvaldsconfig CPU_CACHE_V4WT
4981da177e4SLinus Torvalds	bool
4991da177e4SLinus Torvalds
5001da177e4SLinus Torvaldsconfig CPU_CACHE_V4WB
5011da177e4SLinus Torvalds	bool
5021da177e4SLinus Torvalds
5031da177e4SLinus Torvaldsconfig CPU_CACHE_V6
5041da177e4SLinus Torvalds	bool
5051da177e4SLinus Torvalds
50623688e99SCatalin Marinasconfig CPU_CACHE_V7
50723688e99SCatalin Marinas	bool
50823688e99SCatalin Marinas
5091da177e4SLinus Torvaldsconfig CPU_CACHE_VIVT
5101da177e4SLinus Torvalds	bool
5111da177e4SLinus Torvalds
5121da177e4SLinus Torvaldsconfig CPU_CACHE_VIPT
5131da177e4SLinus Torvalds	bool
5141da177e4SLinus Torvalds
515f9c21a6eSHyok S. Choiif MMU
5161da177e4SLinus Torvalds# The copy-page model
5171da177e4SLinus Torvaldsconfig CPU_COPY_V3
5181da177e4SLinus Torvalds	bool
5191da177e4SLinus Torvalds
5201da177e4SLinus Torvaldsconfig CPU_COPY_V4WT
5211da177e4SLinus Torvalds	bool
5221da177e4SLinus Torvalds
5231da177e4SLinus Torvaldsconfig CPU_COPY_V4WB
5241da177e4SLinus Torvalds	bool
5251da177e4SLinus Torvalds
5260ed15071SLennert Buytenhekconfig CPU_COPY_FEROCEON
5270ed15071SLennert Buytenhek	bool
5280ed15071SLennert Buytenhek
5291da177e4SLinus Torvaldsconfig CPU_COPY_V6
5301da177e4SLinus Torvalds	bool
5311da177e4SLinus Torvalds
5321da177e4SLinus Torvalds# This selects the TLB model
5331da177e4SLinus Torvaldsconfig CPU_TLB_V3
5341da177e4SLinus Torvalds	bool
5351da177e4SLinus Torvalds	help
5361da177e4SLinus Torvalds	  ARM Architecture Version 3 TLB.
5371da177e4SLinus Torvalds
5381da177e4SLinus Torvaldsconfig CPU_TLB_V4WT
5391da177e4SLinus Torvalds	bool
5401da177e4SLinus Torvalds	help
5411da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writethrough cache.
5421da177e4SLinus Torvalds
5431da177e4SLinus Torvaldsconfig CPU_TLB_V4WB
5441da177e4SLinus Torvalds	bool
5451da177e4SLinus Torvalds	help
5461da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writeback cache.
5471da177e4SLinus Torvalds
5481da177e4SLinus Torvaldsconfig CPU_TLB_V4WBI
5491da177e4SLinus Torvalds	bool
5501da177e4SLinus Torvalds	help
5511da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writeback cache and invalidate
5521da177e4SLinus Torvalds	  instruction cache entry.
5531da177e4SLinus Torvalds
55499c6dc11SLennert Buytenhekconfig CPU_TLB_FEROCEON
55599c6dc11SLennert Buytenhek	bool
55699c6dc11SLennert Buytenhek	help
55799c6dc11SLennert Buytenhek	  Feroceon TLB (v4wbi with non-outer-cachable page table walks).
55899c6dc11SLennert Buytenhek
5591da177e4SLinus Torvaldsconfig CPU_TLB_V6
5601da177e4SLinus Torvalds	bool
5611da177e4SLinus Torvalds
5622ccdd1e7SCatalin Marinasconfig CPU_TLB_V7
5632ccdd1e7SCatalin Marinas	bool
5642ccdd1e7SCatalin Marinas
565f9c21a6eSHyok S. Choiendif
566f9c21a6eSHyok S. Choi
567516793c6SRussell Kingconfig CPU_HAS_ASID
568516793c6SRussell King	bool
569516793c6SRussell King	help
570516793c6SRussell King	  This indicates whether the CPU has the ASID register; used to
571516793c6SRussell King	  tag TLB and possibly cache entries.
572516793c6SRussell King
573fefdaa06SHyok S. Choiconfig CPU_CP15
574fefdaa06SHyok S. Choi	bool
575fefdaa06SHyok S. Choi	help
576fefdaa06SHyok S. Choi	  Processor has the CP15 register.
577fefdaa06SHyok S. Choi
578fefdaa06SHyok S. Choiconfig CPU_CP15_MMU
579fefdaa06SHyok S. Choi	bool
580fefdaa06SHyok S. Choi	select CPU_CP15
581fefdaa06SHyok S. Choi	help
582fefdaa06SHyok S. Choi	  Processor has the CP15 register, which has MMU related registers.
583fefdaa06SHyok S. Choi
584fefdaa06SHyok S. Choiconfig CPU_CP15_MPU
585fefdaa06SHyok S. Choi	bool
586fefdaa06SHyok S. Choi	select CPU_CP15
587fefdaa06SHyok S. Choi	help
588fefdaa06SHyok S. Choi	  Processor has the CP15 register, which has MPU related registers.
589fefdaa06SHyok S. Choi
59023bdf86aSLennert Buytenhek#
59123bdf86aSLennert Buytenhek# CPU supports 36-bit I/O
59223bdf86aSLennert Buytenhek#
59323bdf86aSLennert Buytenhekconfig IO_36
59423bdf86aSLennert Buytenhek	bool
59523bdf86aSLennert Buytenhek
5961da177e4SLinus Torvaldscomment "Processor Features"
5971da177e4SLinus Torvalds
5981da177e4SLinus Torvaldsconfig ARM_THUMB
5991da177e4SLinus Torvalds	bool "Support Thumb user binaries"
600e50d6409SAssaf Hoffman	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
6011da177e4SLinus Torvalds	default y
6021da177e4SLinus Torvalds	help
6031da177e4SLinus Torvalds	  Say Y if you want to include kernel support for running user space
6041da177e4SLinus Torvalds	  Thumb binaries.
6051da177e4SLinus Torvalds
6061da177e4SLinus Torvalds	  The Thumb instruction set is a compressed form of the standard ARM
6071da177e4SLinus Torvalds	  instruction set resulting in smaller binaries at the expense of
6081da177e4SLinus Torvalds	  slightly less efficient code.
6091da177e4SLinus Torvalds
6101da177e4SLinus Torvalds	  If you don't know what this all is, saying Y is a safe choice.
6111da177e4SLinus Torvalds
612d7f864beSCatalin Marinasconfig ARM_THUMBEE
613d7f864beSCatalin Marinas	bool "Enable ThumbEE CPU extension"
614d7f864beSCatalin Marinas	depends on CPU_V7
615d7f864beSCatalin Marinas	help
616d7f864beSCatalin Marinas	  Say Y here if you have a CPU with the ThumbEE extension and code to
617d7f864beSCatalin Marinas	  make use of it. Say N for code that can run on CPUs without ThumbEE.
618d7f864beSCatalin Marinas
6191da177e4SLinus Torvaldsconfig CPU_BIG_ENDIAN
6201da177e4SLinus Torvalds	bool "Build big-endian kernel"
6211da177e4SLinus Torvalds	depends on ARCH_SUPPORTS_BIG_ENDIAN
6221da177e4SLinus Torvalds	help
6231da177e4SLinus Torvalds	  Say Y if you plan on running a kernel in big-endian mode.
6241da177e4SLinus Torvalds	  Note that your board must be properly built and your board
6251da177e4SLinus Torvalds	  port must properly enable any big-endian related features
6261da177e4SLinus Torvalds	  of your chipset/board/processor.
6271da177e4SLinus Torvalds
6286afd6faeSHyok S. Choiconfig CPU_HIGH_VECTOR
6296340aa61SRobert P. J. Day	depends on !MMU && CPU_CP15 && !CPU_ARM740T
6306afd6faeSHyok S. Choi	bool "Select the High exception vector"
6316afd6faeSHyok S. Choi	default n
6326afd6faeSHyok S. Choi	help
6336afd6faeSHyok S. Choi	  Say Y here to select high exception vector(0xFFFF0000~).
6346afd6faeSHyok S. Choi	  The exception vector can be vary depending on the platform
6356afd6faeSHyok S. Choi	  design in nommu mode. If your platform needs to select
6366afd6faeSHyok S. Choi	  high exception vector, say Y.
6376afd6faeSHyok S. Choi	  Otherwise or if you are unsure, say N, and the low exception
6386afd6faeSHyok S. Choi	  vector (0x00000000~) will be used.
6396afd6faeSHyok S. Choi
6401da177e4SLinus Torvaldsconfig CPU_ICACHE_DISABLE
641f12d0d7cSHyok S. Choi	bool "Disable I-Cache (I-bit)"
642f12d0d7cSHyok S. Choi	depends on CPU_CP15 && !(CPU_ARM610 || CPU_ARM710 || CPU_ARM720T || CPU_ARM740T || CPU_XSCALE || CPU_XSC3)
6431da177e4SLinus Torvalds	help
6441da177e4SLinus Torvalds	  Say Y here to disable the processor instruction cache. Unless
6451da177e4SLinus Torvalds	  you have a reason not to or are unsure, say N.
6461da177e4SLinus Torvalds
6471da177e4SLinus Torvaldsconfig CPU_DCACHE_DISABLE
648f12d0d7cSHyok S. Choi	bool "Disable D-Cache (C-bit)"
649f12d0d7cSHyok S. Choi	depends on CPU_CP15
6501da177e4SLinus Torvalds	help
6511da177e4SLinus Torvalds	  Say Y here to disable the processor data cache. Unless
6521da177e4SLinus Torvalds	  you have a reason not to or are unsure, say N.
6531da177e4SLinus Torvalds
654f37f46ebSHyok S. Choiconfig CPU_DCACHE_SIZE
655f37f46ebSHyok S. Choi	hex
656f37f46ebSHyok S. Choi	depends on CPU_ARM740T || CPU_ARM946E
657f37f46ebSHyok S. Choi	default 0x00001000 if CPU_ARM740T
658f37f46ebSHyok S. Choi	default 0x00002000 # default size for ARM946E-S
659f37f46ebSHyok S. Choi	help
660f37f46ebSHyok S. Choi	  Some cores are synthesizable to have various sized cache. For
661f37f46ebSHyok S. Choi	  ARM946E-S case, it can vary from 0KB to 1MB.
662f37f46ebSHyok S. Choi	  To support such cache operations, it is efficient to know the size
663f37f46ebSHyok S. Choi	  before compile time.
664f37f46ebSHyok S. Choi	  If your SoC is configured to have a different size, define the value
665f37f46ebSHyok S. Choi	  here with proper conditions.
666f37f46ebSHyok S. Choi
6671da177e4SLinus Torvaldsconfig CPU_DCACHE_WRITETHROUGH
6681da177e4SLinus Torvalds	bool "Force write through D-cache"
669a7039bd6SLennert Buytenhek	depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020) && !CPU_DCACHE_DISABLE
6701da177e4SLinus Torvalds	default y if CPU_ARM925T
6711da177e4SLinus Torvalds	help
6721da177e4SLinus Torvalds	  Say Y here to use the data cache in writethrough mode. Unless you
6731da177e4SLinus Torvalds	  specifically require this or are unsure, say N.
6741da177e4SLinus Torvalds
6751da177e4SLinus Torvaldsconfig CPU_CACHE_ROUND_ROBIN
6761da177e4SLinus Torvalds	bool "Round robin I and D cache replacement algorithm"
677f37f46ebSHyok S. Choi	depends on (CPU_ARM926T || CPU_ARM946E || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE)
6781da177e4SLinus Torvalds	help
6791da177e4SLinus Torvalds	  Say Y here to use the predictable round-robin cache replacement
6801da177e4SLinus Torvalds	  policy.  Unless you specifically require this or are unsure, say N.
6811da177e4SLinus Torvalds
6821da177e4SLinus Torvaldsconfig CPU_BPREDICT_DISABLE
6831da177e4SLinus Torvalds	bool "Disable branch prediction"
68423688e99SCatalin Marinas	depends on CPU_ARM1020 || CPU_V6 || CPU_XSC3 || CPU_V7
6851da177e4SLinus Torvalds	help
6861da177e4SLinus Torvalds	  Say Y here to disable branch prediction.  If unsure, say N.
6872d2669b6SNicolas Pitre
6884b0e07a5SNicolas Pitreconfig TLS_REG_EMUL
6894b0e07a5SNicolas Pitre	bool
6904b0e07a5SNicolas Pitre	help
69170489c88SNicolas Pitre	  An SMP system using a pre-ARMv6 processor (there are apparently
69270489c88SNicolas Pitre	  a few prototypes like that in existence) and therefore access to
69370489c88SNicolas Pitre	  that required register must be emulated.
6944b0e07a5SNicolas Pitre
6952d2669b6SNicolas Pitreconfig HAS_TLS_REG
6962d2669b6SNicolas Pitre	bool
69770489c88SNicolas Pitre	depends on !TLS_REG_EMUL
69870489c88SNicolas Pitre	default y if SMP || CPU_32v7
6992d2669b6SNicolas Pitre	help
7002d2669b6SNicolas Pitre	  This selects support for the CP15 thread register.
70170489c88SNicolas Pitre	  It is defined to be available on some ARMv6 processors (including
70270489c88SNicolas Pitre	  all SMP capable ARMv6's) or later processors.  User space may
70370489c88SNicolas Pitre	  assume directly accessing that register and always obtain the
70470489c88SNicolas Pitre	  expected value only on ARMv7 and above.
7052d2669b6SNicolas Pitre
706dcef1f63SNicolas Pitreconfig NEEDS_SYSCALL_FOR_CMPXCHG
707dcef1f63SNicolas Pitre	bool
708dcef1f63SNicolas Pitre	help
709dcef1f63SNicolas Pitre	  SMP on a pre-ARMv6 processor?  Well OK then.
710dcef1f63SNicolas Pitre	  Forget about fast user space cmpxchg support.
711dcef1f63SNicolas Pitre	  It is just not possible.
712dcef1f63SNicolas Pitre
713953233dcSCatalin Marinasconfig OUTER_CACHE
714953233dcSCatalin Marinas	bool
715953233dcSCatalin Marinas	default n
716382266adSCatalin Marinas
71799c6dc11SLennert Buytenhekconfig CACHE_FEROCEON_L2
71899c6dc11SLennert Buytenhek	bool "Enable the Feroceon L2 cache controller"
719*794d15b2SStanislav Samsonov	depends on ARCH_KIRKWOOD || ARCH_MV78XX0
72099c6dc11SLennert Buytenhek	default y
72199c6dc11SLennert Buytenhek	select OUTER_CACHE
72299c6dc11SLennert Buytenhek	help
72399c6dc11SLennert Buytenhek	  This option enables the Feroceon L2 cache controller.
72499c6dc11SLennert Buytenhek
725382266adSCatalin Marinasconfig CACHE_L2X0
726ba927951SCatalin Marinas	bool "Enable the L2x0 outer cache controller"
727ba927951SCatalin Marinas	depends on REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176
728ba927951SCatalin Marinas	default y
729382266adSCatalin Marinas	select OUTER_CACHE
730ba927951SCatalin Marinas	help
731ba927951SCatalin Marinas	  This option enables the L2x0 PrimeCell.
732