xref: /linux/arch/arm/mm/Kconfig (revision 905a09d57afcc49511de18a95605c11ad9c88649)
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"
183f0006314SRussell King	depends on ARCH_INTEGRATOR || ARCH_VERSATILE_PB || \
184f0006314SRussell King		MACH_VERSATILE_AB || ARCH_OMAP730 || \
185f0006314SRussell King		ARCH_OMAP16XX || MACH_REALVIEW_EB || \
186f0006314SRussell King		ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || \
187f0006314SRussell King		ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || \
188f0006314SRussell King		ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || \
189f0006314SRussell King		ARCH_AT91SAM9G20 || ARCH_AT91CAP9 || \
190221d62c1SSascha Hauer		ARCH_NS9XXX || ARCH_DAVINCI || ARCH_MX2
191f0006314SRussell King	default y if ARCH_VERSATILE_PB || MACH_VERSATILE_AB || \
192f0006314SRussell King		ARCH_OMAP730 || ARCH_OMAP16XX || \
193f0006314SRussell King		ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || \
194f0006314SRussell King		ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || \
195f0006314SRussell King		ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || \
196f0006314SRussell King		ARCH_AT91SAM9G20 || ARCH_AT91CAP9 || \
197f0006314SRussell King		ARCH_NS9XXX || ARCH_DAVINCI || ARCH_MX2
1981da177e4SLinus Torvalds	select CPU_32v5
1991da177e4SLinus Torvalds	select CPU_ABRT_EV5TJ
20048d7927bSPaul Brook	select CPU_PABRT_NOIFAR
2011da177e4SLinus Torvalds	select CPU_CACHE_VIVT
202fefdaa06SHyok S. Choi	select CPU_CP15_MMU
203f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
204f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2051da177e4SLinus Torvalds	help
2061da177e4SLinus Torvalds	  This is a variant of the ARM920.  It has slightly different
2071da177e4SLinus Torvalds	  instruction sequences for cache and TLB operations.  Curiously,
2081da177e4SLinus Torvalds	  there is no documentation on it at the ARM corporate website.
2091da177e4SLinus Torvalds
2101da177e4SLinus Torvalds	  Say Y if you want support for the ARM926T processor.
2111da177e4SLinus Torvalds	  Otherwise, say N.
2121da177e4SLinus Torvalds
213d60674ebSHyok S. Choi# ARM940T
214d60674ebSHyok S. Choiconfig CPU_ARM940T
215d60674ebSHyok S. Choi	bool "Support ARM940T processor" if ARCH_INTEGRATOR
2166b237a35SRussell King	depends on !MMU
217d60674ebSHyok S. Choi	select CPU_32v4T
2180f45d7f3SHyok S. Choi	select CPU_ABRT_NOMMU
2194a1fd556SCatalin Marinas	select CPU_PABRT_NOIFAR
220d60674ebSHyok S. Choi	select CPU_CACHE_VIVT
221d60674ebSHyok S. Choi	select CPU_CP15_MPU
222d60674ebSHyok S. Choi	help
223d60674ebSHyok S. Choi	  ARM940T is a member of the ARM9TDMI family of general-
2243cb2fcccSMatt LaPlante	  purpose microprocessors with MPU and separate 4KB
225d60674ebSHyok S. Choi	  instruction and 4KB data cases, each with a 4-word line
226d60674ebSHyok S. Choi	  length.
227d60674ebSHyok S. Choi
228d60674ebSHyok S. Choi	  Say Y if you want support for the ARM940T processor.
229d60674ebSHyok S. Choi	  Otherwise, say N.
230d60674ebSHyok S. Choi
231f37f46ebSHyok S. Choi# ARM946E-S
232f37f46ebSHyok S. Choiconfig CPU_ARM946E
233f37f46ebSHyok S. Choi	bool "Support ARM946E-S processor" if ARCH_INTEGRATOR
2346b237a35SRussell King	depends on !MMU
235f37f46ebSHyok S. Choi	select CPU_32v5
2360f45d7f3SHyok S. Choi	select CPU_ABRT_NOMMU
2374a1fd556SCatalin Marinas	select CPU_PABRT_NOIFAR
238f37f46ebSHyok S. Choi	select CPU_CACHE_VIVT
239f37f46ebSHyok S. Choi	select CPU_CP15_MPU
240f37f46ebSHyok S. Choi	help
241f37f46ebSHyok S. Choi	  ARM946E-S is a member of the ARM9E-S family of high-
242f37f46ebSHyok S. Choi	  performance, 32-bit system-on-chip processor solutions.
243f37f46ebSHyok S. Choi	  The TCM and ARMv5TE 32-bit instruction set is supported.
244f37f46ebSHyok S. Choi
245f37f46ebSHyok S. Choi	  Say Y if you want support for the ARM946E-S processor.
246f37f46ebSHyok S. Choi	  Otherwise, say N.
247f37f46ebSHyok S. Choi
2481da177e4SLinus Torvalds# ARM1020 - needs validating
2491da177e4SLinus Torvaldsconfig CPU_ARM1020
2501da177e4SLinus Torvalds	bool "Support ARM1020T (rev 0) processor"
2511da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2521da177e4SLinus Torvalds	select CPU_32v5
2531da177e4SLinus Torvalds	select CPU_ABRT_EV4T
25448d7927bSPaul Brook	select CPU_PABRT_NOIFAR
2551da177e4SLinus Torvalds	select CPU_CACHE_V4WT
2561da177e4SLinus Torvalds	select CPU_CACHE_VIVT
257fefdaa06SHyok S. Choi	select CPU_CP15_MMU
258f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
259f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2601da177e4SLinus Torvalds	help
2611da177e4SLinus Torvalds	  The ARM1020 is the 32K cached version of the ARM10 processor,
2621da177e4SLinus Torvalds	  with an addition of a floating-point unit.
2631da177e4SLinus Torvalds
2641da177e4SLinus Torvalds	  Say Y if you want support for the ARM1020 processor.
2651da177e4SLinus Torvalds	  Otherwise, say N.
2661da177e4SLinus Torvalds
2671da177e4SLinus Torvalds# ARM1020E - needs validating
2681da177e4SLinus Torvaldsconfig CPU_ARM1020E
2691da177e4SLinus Torvalds	bool "Support ARM1020E processor"
2701da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2711da177e4SLinus Torvalds	select CPU_32v5
2721da177e4SLinus Torvalds	select CPU_ABRT_EV4T
27348d7927bSPaul Brook	select CPU_PABRT_NOIFAR
2741da177e4SLinus Torvalds	select CPU_CACHE_V4WT
2751da177e4SLinus Torvalds	select CPU_CACHE_VIVT
276fefdaa06SHyok S. Choi	select CPU_CP15_MMU
277f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
278f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2791da177e4SLinus Torvalds	depends on n
2801da177e4SLinus Torvalds
2811da177e4SLinus Torvalds# ARM1022E
2821da177e4SLinus Torvaldsconfig CPU_ARM1022
2831da177e4SLinus Torvalds	bool "Support ARM1022E processor"
2841da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2851da177e4SLinus Torvalds	select CPU_32v5
2861da177e4SLinus Torvalds	select CPU_ABRT_EV4T
28748d7927bSPaul Brook	select CPU_PABRT_NOIFAR
2881da177e4SLinus Torvalds	select CPU_CACHE_VIVT
289fefdaa06SHyok S. Choi	select CPU_CP15_MMU
290f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU # can probably do better
291f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2921da177e4SLinus Torvalds	help
2931da177e4SLinus Torvalds	  The ARM1022E is an implementation of the ARMv5TE architecture
2941da177e4SLinus Torvalds	  based upon the ARM10 integer core with a 16KiB L1 Harvard cache,
2951da177e4SLinus Torvalds	  embedded trace macrocell, and a floating-point unit.
2961da177e4SLinus Torvalds
2971da177e4SLinus Torvalds	  Say Y if you want support for the ARM1022E processor.
2981da177e4SLinus Torvalds	  Otherwise, say N.
2991da177e4SLinus Torvalds
3001da177e4SLinus Torvalds# ARM1026EJ-S
3011da177e4SLinus Torvaldsconfig CPU_ARM1026
3021da177e4SLinus Torvalds	bool "Support ARM1026EJ-S processor"
3031da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
3041da177e4SLinus Torvalds	select CPU_32v5
3051da177e4SLinus Torvalds	select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10
30648d7927bSPaul Brook	select CPU_PABRT_NOIFAR
3071da177e4SLinus Torvalds	select CPU_CACHE_VIVT
308fefdaa06SHyok S. Choi	select CPU_CP15_MMU
309f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU # can probably do better
310f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
3111da177e4SLinus Torvalds	help
3121da177e4SLinus Torvalds	  The ARM1026EJ-S is an implementation of the ARMv5TEJ architecture
3131da177e4SLinus Torvalds	  based upon the ARM10 integer core.
3141da177e4SLinus Torvalds
3151da177e4SLinus Torvalds	  Say Y if you want support for the ARM1026EJ-S processor.
3161da177e4SLinus Torvalds	  Otherwise, say N.
3171da177e4SLinus Torvalds
3181da177e4SLinus Torvalds# SA110
3191da177e4SLinus Torvaldsconfig CPU_SA110
3201da177e4SLinus Torvalds	bool "Support StrongARM(R) SA-110 processor" if !ARCH_EBSA110 && !FOOTBRIDGE && !ARCH_TBOX && !ARCH_SHARK && !ARCH_NEXUSPCI && ARCH_RPC
3211da177e4SLinus Torvalds	default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_TBOX || ARCH_SHARK || ARCH_NEXUSPCI
3221da177e4SLinus Torvalds	select CPU_32v3 if ARCH_RPC
3231da177e4SLinus Torvalds	select CPU_32v4 if !ARCH_RPC
3241da177e4SLinus Torvalds	select CPU_ABRT_EV4
32548d7927bSPaul Brook	select CPU_PABRT_NOIFAR
3261da177e4SLinus Torvalds	select CPU_CACHE_V4WB
3271da177e4SLinus Torvalds	select CPU_CACHE_VIVT
328fefdaa06SHyok S. Choi	select CPU_CP15_MMU
329f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
330f9c21a6eSHyok S. Choi	select CPU_TLB_V4WB if MMU
3311da177e4SLinus Torvalds	help
3321da177e4SLinus Torvalds	  The Intel StrongARM(R) SA-110 is a 32-bit microprocessor and
3331da177e4SLinus Torvalds	  is available at five speeds ranging from 100 MHz to 233 MHz.
3341da177e4SLinus Torvalds	  More information is available at
3351da177e4SLinus Torvalds	  <http://developer.intel.com/design/strong/sa110.htm>.
3361da177e4SLinus Torvalds
3371da177e4SLinus Torvalds	  Say Y if you want support for the SA-110 processor.
3381da177e4SLinus Torvalds	  Otherwise, say N.
3391da177e4SLinus Torvalds
3401da177e4SLinus Torvalds# SA1100
3411da177e4SLinus Torvaldsconfig CPU_SA1100
3421da177e4SLinus Torvalds	bool
3431da177e4SLinus Torvalds	depends on ARCH_SA1100
3441da177e4SLinus Torvalds	default y
3451da177e4SLinus Torvalds	select CPU_32v4
3461da177e4SLinus Torvalds	select CPU_ABRT_EV4
34748d7927bSPaul Brook	select CPU_PABRT_NOIFAR
3481da177e4SLinus Torvalds	select CPU_CACHE_V4WB
3491da177e4SLinus Torvalds	select CPU_CACHE_VIVT
350fefdaa06SHyok S. Choi	select CPU_CP15_MMU
351f9c21a6eSHyok S. Choi	select CPU_TLB_V4WB if MMU
3521da177e4SLinus Torvalds
3531da177e4SLinus Torvalds# XScale
3541da177e4SLinus Torvaldsconfig CPU_XSCALE
3551da177e4SLinus Torvalds	bool
356fa0b6251SRussell King	depends on ARCH_IOP32X || ARCH_IOP33X || PXA25x || PXA27x || ARCH_IXP4XX || ARCH_IXP2000
3571da177e4SLinus Torvalds	default y
3581da177e4SLinus Torvalds	select CPU_32v5
3591da177e4SLinus Torvalds	select CPU_ABRT_EV5T
36048d7927bSPaul Brook	select CPU_PABRT_NOIFAR
3611da177e4SLinus Torvalds	select CPU_CACHE_VIVT
362fefdaa06SHyok S. Choi	select CPU_CP15_MMU
363f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
3641da177e4SLinus Torvalds
36523bdf86aSLennert Buytenhek# XScale Core Version 3
36623bdf86aSLennert Buytenhekconfig CPU_XSC3
36723bdf86aSLennert Buytenhek	bool
3682c8086a5Seric miao	depends on ARCH_IXP23XX || ARCH_IOP13XX || PXA3xx
36923bdf86aSLennert Buytenhek	default y
37023bdf86aSLennert Buytenhek	select CPU_32v5
37123bdf86aSLennert Buytenhek	select CPU_ABRT_EV5T
3724a1fd556SCatalin Marinas	select CPU_PABRT_NOIFAR
37323bdf86aSLennert Buytenhek	select CPU_CACHE_VIVT
374fefdaa06SHyok S. Choi	select CPU_CP15_MMU
375f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
37623bdf86aSLennert Buytenhek	select IO_36
37723bdf86aSLennert Buytenhek
378e50d6409SAssaf Hoffman# Feroceon
379e50d6409SAssaf Hoffmanconfig CPU_FEROCEON
380e50d6409SAssaf Hoffman	bool
381794d15b2SStanislav Samsonov	depends on ARCH_ORION5X || ARCH_LOKI || ARCH_KIRKWOOD || ARCH_MV78XX0
382e50d6409SAssaf Hoffman	default y
383e50d6409SAssaf Hoffman	select CPU_32v5
384e50d6409SAssaf Hoffman	select CPU_ABRT_EV5T
38548d7927bSPaul Brook	select CPU_PABRT_NOIFAR
386e50d6409SAssaf Hoffman	select CPU_CACHE_VIVT
387e50d6409SAssaf Hoffman	select CPU_CP15_MMU
3880ed15071SLennert Buytenhek	select CPU_COPY_FEROCEON if MMU
38999c6dc11SLennert Buytenhek	select CPU_TLB_FEROCEON if MMU
390e50d6409SAssaf Hoffman
391d910a0aaSTzachi Perelsteinconfig CPU_FEROCEON_OLD_ID
392d910a0aaSTzachi Perelstein	bool "Accept early Feroceon cores with an ARM926 ID"
393d910a0aaSTzachi Perelstein	depends on CPU_FEROCEON && !CPU_ARM926T
394d910a0aaSTzachi Perelstein	default y
395d910a0aaSTzachi Perelstein	help
396d910a0aaSTzachi Perelstein	  This enables the usage of some old Feroceon cores
397d910a0aaSTzachi Perelstein	  for which the CPU ID is equal to the ARM926 ID.
398d910a0aaSTzachi Perelstein	  Relevant for Feroceon-1850 and early Feroceon-2850.
399d910a0aaSTzachi Perelstein
4001da177e4SLinus Torvalds# ARMv6
4011da177e4SLinus Torvaldsconfig CPU_V6
4021da177e4SLinus Torvalds	bool "Support ARM V6 processor"
403bc02c58bSBahadir Balban	depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP2 || ARCH_MX3 || ARCH_MSM7X00A || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176
40452c543f9SQuinn Jensen	default y if ARCH_MX3
4053042102aSBrian Swetland	default y if ARCH_MSM7X00A
4061da177e4SLinus Torvalds	select CPU_32v6
4071da177e4SLinus Torvalds	select CPU_ABRT_EV6
40848d7927bSPaul Brook	select CPU_PABRT_NOIFAR
4091da177e4SLinus Torvalds	select CPU_CACHE_V6
4101da177e4SLinus Torvalds	select CPU_CACHE_VIPT
411fefdaa06SHyok S. Choi	select CPU_CP15_MMU
4127b4c965aSCatalin Marinas	select CPU_HAS_ASID if MMU
413f9c21a6eSHyok S. Choi	select CPU_COPY_V6 if MMU
414f9c21a6eSHyok S. Choi	select CPU_TLB_V6 if MMU
4151da177e4SLinus Torvalds
4164a5f79e7SRussell King# ARMv6k
4174a5f79e7SRussell Kingconfig CPU_32v6K
4184a5f79e7SRussell King	bool "Support ARM V6K processor extensions" if !SMP
4194a5f79e7SRussell King	depends on CPU_V6
42052c543f9SQuinn Jensen	default y if SMP && !ARCH_MX3
4214a5f79e7SRussell King	help
4224a5f79e7SRussell King	  Say Y here if your ARMv6 processor supports the 'K' extension.
4234a5f79e7SRussell King	  This enables the kernel to use some instructions not present
4244a5f79e7SRussell King	  on previous processors, and as such a kernel build with this
4254a5f79e7SRussell King	  enabled will not boot on processors with do not support these
4264a5f79e7SRussell King	  instructions.
4274a5f79e7SRussell King
42823688e99SCatalin Marinas# ARMv7
42923688e99SCatalin Marinasconfig CPU_V7
43023688e99SCatalin Marinas	bool "Support ARM V7 processor"
43141267e20SCatalin Marinas	depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB
43223688e99SCatalin Marinas	select CPU_32v6K
43323688e99SCatalin Marinas	select CPU_32v7
43423688e99SCatalin Marinas	select CPU_ABRT_EV7
43548d7927bSPaul Brook	select CPU_PABRT_IFAR
43623688e99SCatalin Marinas	select CPU_CACHE_V7
43723688e99SCatalin Marinas	select CPU_CACHE_VIPT
43823688e99SCatalin Marinas	select CPU_CP15_MMU
4392eb8c82bSCatalin Marinas	select CPU_HAS_ASID if MMU
44023688e99SCatalin Marinas	select CPU_COPY_V6 if MMU
4412ccdd1e7SCatalin Marinas	select CPU_TLB_V7 if MMU
44223688e99SCatalin Marinas
4431da177e4SLinus Torvalds# Figure out what processor architecture version we should be using.
4441da177e4SLinus Torvalds# This defines the compiler instruction set which depends on the machine type.
4451da177e4SLinus Torvaldsconfig CPU_32v3
4461da177e4SLinus Torvalds	bool
44760b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
44848fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
4491da177e4SLinus Torvalds
4501da177e4SLinus Torvaldsconfig CPU_32v4
4511da177e4SLinus Torvalds	bool
45260b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
45348fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
4541da177e4SLinus Torvalds
455260e98edSLennert Buytenhekconfig CPU_32v4T
456260e98edSLennert Buytenhek	bool
457260e98edSLennert Buytenhek	select TLS_REG_EMUL if SMP || !MMU
458260e98edSLennert Buytenhek	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
459260e98edSLennert Buytenhek
4601da177e4SLinus Torvaldsconfig CPU_32v5
4611da177e4SLinus Torvalds	bool
46260b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
46348fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
4641da177e4SLinus Torvalds
4651da177e4SLinus Torvaldsconfig CPU_32v6
4661da177e4SLinus Torvalds	bool
467367afaf8SCatalin Marinas	select TLS_REG_EMUL if !CPU_32v6K && !MMU
4681da177e4SLinus Torvalds
46923688e99SCatalin Marinasconfig CPU_32v7
47023688e99SCatalin Marinas	bool
47123688e99SCatalin Marinas
4721da177e4SLinus Torvalds# The abort model
4730f45d7f3SHyok S. Choiconfig CPU_ABRT_NOMMU
4740f45d7f3SHyok S. Choi	bool
4750f45d7f3SHyok S. Choi
4761da177e4SLinus Torvaldsconfig CPU_ABRT_EV4
4771da177e4SLinus Torvalds	bool
4781da177e4SLinus Torvalds
4791da177e4SLinus Torvaldsconfig CPU_ABRT_EV4T
4801da177e4SLinus Torvalds	bool
4811da177e4SLinus Torvalds
4821da177e4SLinus Torvaldsconfig CPU_ABRT_LV4T
4831da177e4SLinus Torvalds	bool
4841da177e4SLinus Torvalds
4851da177e4SLinus Torvaldsconfig CPU_ABRT_EV5T
4861da177e4SLinus Torvalds	bool
4871da177e4SLinus Torvalds
4881da177e4SLinus Torvaldsconfig CPU_ABRT_EV5TJ
4891da177e4SLinus Torvalds	bool
4901da177e4SLinus Torvalds
4911da177e4SLinus Torvaldsconfig CPU_ABRT_EV6
4921da177e4SLinus Torvalds	bool
4931da177e4SLinus Torvalds
49423688e99SCatalin Marinasconfig CPU_ABRT_EV7
49523688e99SCatalin Marinas	bool
49623688e99SCatalin Marinas
49748d7927bSPaul Brookconfig CPU_PABRT_IFAR
49848d7927bSPaul Brook	bool
49948d7927bSPaul Brook
50048d7927bSPaul Brookconfig CPU_PABRT_NOIFAR
50148d7927bSPaul Brook	bool
50248d7927bSPaul Brook
5031da177e4SLinus Torvalds# The cache model
5041da177e4SLinus Torvaldsconfig CPU_CACHE_V3
5051da177e4SLinus Torvalds	bool
5061da177e4SLinus Torvalds
5071da177e4SLinus Torvaldsconfig CPU_CACHE_V4
5081da177e4SLinus Torvalds	bool
5091da177e4SLinus Torvalds
5101da177e4SLinus Torvaldsconfig CPU_CACHE_V4WT
5111da177e4SLinus Torvalds	bool
5121da177e4SLinus Torvalds
5131da177e4SLinus Torvaldsconfig CPU_CACHE_V4WB
5141da177e4SLinus Torvalds	bool
5151da177e4SLinus Torvalds
5161da177e4SLinus Torvaldsconfig CPU_CACHE_V6
5171da177e4SLinus Torvalds	bool
5181da177e4SLinus Torvalds
51923688e99SCatalin Marinasconfig CPU_CACHE_V7
52023688e99SCatalin Marinas	bool
52123688e99SCatalin Marinas
5221da177e4SLinus Torvaldsconfig CPU_CACHE_VIVT
5231da177e4SLinus Torvalds	bool
5241da177e4SLinus Torvalds
5251da177e4SLinus Torvaldsconfig CPU_CACHE_VIPT
5261da177e4SLinus Torvalds	bool
5271da177e4SLinus Torvalds
528f9c21a6eSHyok S. Choiif MMU
5291da177e4SLinus Torvalds# The copy-page model
5301da177e4SLinus Torvaldsconfig CPU_COPY_V3
5311da177e4SLinus Torvalds	bool
5321da177e4SLinus Torvalds
5331da177e4SLinus Torvaldsconfig CPU_COPY_V4WT
5341da177e4SLinus Torvalds	bool
5351da177e4SLinus Torvalds
5361da177e4SLinus Torvaldsconfig CPU_COPY_V4WB
5371da177e4SLinus Torvalds	bool
5381da177e4SLinus Torvalds
5390ed15071SLennert Buytenhekconfig CPU_COPY_FEROCEON
5400ed15071SLennert Buytenhek	bool
5410ed15071SLennert Buytenhek
5421da177e4SLinus Torvaldsconfig CPU_COPY_V6
5431da177e4SLinus Torvalds	bool
5441da177e4SLinus Torvalds
5451da177e4SLinus Torvalds# This selects the TLB model
5461da177e4SLinus Torvaldsconfig CPU_TLB_V3
5471da177e4SLinus Torvalds	bool
5481da177e4SLinus Torvalds	help
5491da177e4SLinus Torvalds	  ARM Architecture Version 3 TLB.
5501da177e4SLinus Torvalds
5511da177e4SLinus Torvaldsconfig CPU_TLB_V4WT
5521da177e4SLinus Torvalds	bool
5531da177e4SLinus Torvalds	help
5541da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writethrough cache.
5551da177e4SLinus Torvalds
5561da177e4SLinus Torvaldsconfig CPU_TLB_V4WB
5571da177e4SLinus Torvalds	bool
5581da177e4SLinus Torvalds	help
5591da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writeback cache.
5601da177e4SLinus Torvalds
5611da177e4SLinus Torvaldsconfig CPU_TLB_V4WBI
5621da177e4SLinus Torvalds	bool
5631da177e4SLinus Torvalds	help
5641da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writeback cache and invalidate
5651da177e4SLinus Torvalds	  instruction cache entry.
5661da177e4SLinus Torvalds
56799c6dc11SLennert Buytenhekconfig CPU_TLB_FEROCEON
56899c6dc11SLennert Buytenhek	bool
56999c6dc11SLennert Buytenhek	help
57099c6dc11SLennert Buytenhek	  Feroceon TLB (v4wbi with non-outer-cachable page table walks).
57199c6dc11SLennert Buytenhek
5721da177e4SLinus Torvaldsconfig CPU_TLB_V6
5731da177e4SLinus Torvalds	bool
5741da177e4SLinus Torvalds
5752ccdd1e7SCatalin Marinasconfig CPU_TLB_V7
5762ccdd1e7SCatalin Marinas	bool
5772ccdd1e7SCatalin Marinas
578f9c21a6eSHyok S. Choiendif
579f9c21a6eSHyok S. Choi
580516793c6SRussell Kingconfig CPU_HAS_ASID
581516793c6SRussell King	bool
582516793c6SRussell King	help
583516793c6SRussell King	  This indicates whether the CPU has the ASID register; used to
584516793c6SRussell King	  tag TLB and possibly cache entries.
585516793c6SRussell King
586fefdaa06SHyok S. Choiconfig CPU_CP15
587fefdaa06SHyok S. Choi	bool
588fefdaa06SHyok S. Choi	help
589fefdaa06SHyok S. Choi	  Processor has the CP15 register.
590fefdaa06SHyok S. Choi
591fefdaa06SHyok S. Choiconfig CPU_CP15_MMU
592fefdaa06SHyok S. Choi	bool
593fefdaa06SHyok S. Choi	select CPU_CP15
594fefdaa06SHyok S. Choi	help
595fefdaa06SHyok S. Choi	  Processor has the CP15 register, which has MMU related registers.
596fefdaa06SHyok S. Choi
597fefdaa06SHyok S. Choiconfig CPU_CP15_MPU
598fefdaa06SHyok S. Choi	bool
599fefdaa06SHyok S. Choi	select CPU_CP15
600fefdaa06SHyok S. Choi	help
601fefdaa06SHyok S. Choi	  Processor has the CP15 register, which has MPU related registers.
602fefdaa06SHyok S. Choi
60323bdf86aSLennert Buytenhek#
60423bdf86aSLennert Buytenhek# CPU supports 36-bit I/O
60523bdf86aSLennert Buytenhek#
60623bdf86aSLennert Buytenhekconfig IO_36
60723bdf86aSLennert Buytenhek	bool
60823bdf86aSLennert Buytenhek
6091da177e4SLinus Torvaldscomment "Processor Features"
6101da177e4SLinus Torvalds
6111da177e4SLinus Torvaldsconfig ARM_THUMB
6121da177e4SLinus Torvalds	bool "Support Thumb user binaries"
613e50d6409SAssaf 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
6141da177e4SLinus Torvalds	default y
6151da177e4SLinus Torvalds	help
6161da177e4SLinus Torvalds	  Say Y if you want to include kernel support for running user space
6171da177e4SLinus Torvalds	  Thumb binaries.
6181da177e4SLinus Torvalds
6191da177e4SLinus Torvalds	  The Thumb instruction set is a compressed form of the standard ARM
6201da177e4SLinus Torvalds	  instruction set resulting in smaller binaries at the expense of
6211da177e4SLinus Torvalds	  slightly less efficient code.
6221da177e4SLinus Torvalds
6231da177e4SLinus Torvalds	  If you don't know what this all is, saying Y is a safe choice.
6241da177e4SLinus Torvalds
625d7f864beSCatalin Marinasconfig ARM_THUMBEE
626d7f864beSCatalin Marinas	bool "Enable ThumbEE CPU extension"
627d7f864beSCatalin Marinas	depends on CPU_V7
628d7f864beSCatalin Marinas	help
629d7f864beSCatalin Marinas	  Say Y here if you have a CPU with the ThumbEE extension and code to
630d7f864beSCatalin Marinas	  make use of it. Say N for code that can run on CPUs without ThumbEE.
631d7f864beSCatalin Marinas
6321da177e4SLinus Torvaldsconfig CPU_BIG_ENDIAN
6331da177e4SLinus Torvalds	bool "Build big-endian kernel"
6341da177e4SLinus Torvalds	depends on ARCH_SUPPORTS_BIG_ENDIAN
6351da177e4SLinus Torvalds	help
6361da177e4SLinus Torvalds	  Say Y if you plan on running a kernel in big-endian mode.
6371da177e4SLinus Torvalds	  Note that your board must be properly built and your board
6381da177e4SLinus Torvalds	  port must properly enable any big-endian related features
6391da177e4SLinus Torvalds	  of your chipset/board/processor.
6401da177e4SLinus Torvalds
6416afd6faeSHyok S. Choiconfig CPU_HIGH_VECTOR
6426340aa61SRobert P. J. Day	depends on !MMU && CPU_CP15 && !CPU_ARM740T
6436afd6faeSHyok S. Choi	bool "Select the High exception vector"
6446afd6faeSHyok S. Choi	default n
6456afd6faeSHyok S. Choi	help
6466afd6faeSHyok S. Choi	  Say Y here to select high exception vector(0xFFFF0000~).
6476afd6faeSHyok S. Choi	  The exception vector can be vary depending on the platform
6486afd6faeSHyok S. Choi	  design in nommu mode. If your platform needs to select
6496afd6faeSHyok S. Choi	  high exception vector, say Y.
6506afd6faeSHyok S. Choi	  Otherwise or if you are unsure, say N, and the low exception
6516afd6faeSHyok S. Choi	  vector (0x00000000~) will be used.
6526afd6faeSHyok S. Choi
6531da177e4SLinus Torvaldsconfig CPU_ICACHE_DISABLE
654f12d0d7cSHyok S. Choi	bool "Disable I-Cache (I-bit)"
655f12d0d7cSHyok S. Choi	depends on CPU_CP15 && !(CPU_ARM610 || CPU_ARM710 || CPU_ARM720T || CPU_ARM740T || CPU_XSCALE || CPU_XSC3)
6561da177e4SLinus Torvalds	help
6571da177e4SLinus Torvalds	  Say Y here to disable the processor instruction cache. Unless
6581da177e4SLinus Torvalds	  you have a reason not to or are unsure, say N.
6591da177e4SLinus Torvalds
6601da177e4SLinus Torvaldsconfig CPU_DCACHE_DISABLE
661f12d0d7cSHyok S. Choi	bool "Disable D-Cache (C-bit)"
662f12d0d7cSHyok S. Choi	depends on CPU_CP15
6631da177e4SLinus Torvalds	help
6641da177e4SLinus Torvalds	  Say Y here to disable the processor data cache. Unless
6651da177e4SLinus Torvalds	  you have a reason not to or are unsure, say N.
6661da177e4SLinus Torvalds
667f37f46ebSHyok S. Choiconfig CPU_DCACHE_SIZE
668f37f46ebSHyok S. Choi	hex
669f37f46ebSHyok S. Choi	depends on CPU_ARM740T || CPU_ARM946E
670f37f46ebSHyok S. Choi	default 0x00001000 if CPU_ARM740T
671f37f46ebSHyok S. Choi	default 0x00002000 # default size for ARM946E-S
672f37f46ebSHyok S. Choi	help
673f37f46ebSHyok S. Choi	  Some cores are synthesizable to have various sized cache. For
674f37f46ebSHyok S. Choi	  ARM946E-S case, it can vary from 0KB to 1MB.
675f37f46ebSHyok S. Choi	  To support such cache operations, it is efficient to know the size
676f37f46ebSHyok S. Choi	  before compile time.
677f37f46ebSHyok S. Choi	  If your SoC is configured to have a different size, define the value
678f37f46ebSHyok S. Choi	  here with proper conditions.
679f37f46ebSHyok S. Choi
6801da177e4SLinus Torvaldsconfig CPU_DCACHE_WRITETHROUGH
6811da177e4SLinus Torvalds	bool "Force write through D-cache"
682a7039bd6SLennert Buytenhek	depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020) && !CPU_DCACHE_DISABLE
6831da177e4SLinus Torvalds	default y if CPU_ARM925T
6841da177e4SLinus Torvalds	help
6851da177e4SLinus Torvalds	  Say Y here to use the data cache in writethrough mode. Unless you
6861da177e4SLinus Torvalds	  specifically require this or are unsure, say N.
6871da177e4SLinus Torvalds
6881da177e4SLinus Torvaldsconfig CPU_CACHE_ROUND_ROBIN
6891da177e4SLinus Torvalds	bool "Round robin I and D cache replacement algorithm"
690f37f46ebSHyok S. Choi	depends on (CPU_ARM926T || CPU_ARM946E || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE)
6911da177e4SLinus Torvalds	help
6921da177e4SLinus Torvalds	  Say Y here to use the predictable round-robin cache replacement
6931da177e4SLinus Torvalds	  policy.  Unless you specifically require this or are unsure, say N.
6941da177e4SLinus Torvalds
6951da177e4SLinus Torvaldsconfig CPU_BPREDICT_DISABLE
6961da177e4SLinus Torvalds	bool "Disable branch prediction"
69723688e99SCatalin Marinas	depends on CPU_ARM1020 || CPU_V6 || CPU_XSC3 || CPU_V7
6981da177e4SLinus Torvalds	help
6991da177e4SLinus Torvalds	  Say Y here to disable branch prediction.  If unsure, say N.
7002d2669b6SNicolas Pitre
7014b0e07a5SNicolas Pitreconfig TLS_REG_EMUL
7024b0e07a5SNicolas Pitre	bool
7034b0e07a5SNicolas Pitre	help
70470489c88SNicolas Pitre	  An SMP system using a pre-ARMv6 processor (there are apparently
70570489c88SNicolas Pitre	  a few prototypes like that in existence) and therefore access to
70670489c88SNicolas Pitre	  that required register must be emulated.
7074b0e07a5SNicolas Pitre
7082d2669b6SNicolas Pitreconfig HAS_TLS_REG
7092d2669b6SNicolas Pitre	bool
71070489c88SNicolas Pitre	depends on !TLS_REG_EMUL
71170489c88SNicolas Pitre	default y if SMP || CPU_32v7
7122d2669b6SNicolas Pitre	help
7132d2669b6SNicolas Pitre	  This selects support for the CP15 thread register.
71470489c88SNicolas Pitre	  It is defined to be available on some ARMv6 processors (including
71570489c88SNicolas Pitre	  all SMP capable ARMv6's) or later processors.  User space may
71670489c88SNicolas Pitre	  assume directly accessing that register and always obtain the
71770489c88SNicolas Pitre	  expected value only on ARMv7 and above.
7182d2669b6SNicolas Pitre
719dcef1f63SNicolas Pitreconfig NEEDS_SYSCALL_FOR_CMPXCHG
720dcef1f63SNicolas Pitre	bool
721dcef1f63SNicolas Pitre	help
722dcef1f63SNicolas Pitre	  SMP on a pre-ARMv6 processor?  Well OK then.
723dcef1f63SNicolas Pitre	  Forget about fast user space cmpxchg support.
724dcef1f63SNicolas Pitre	  It is just not possible.
725dcef1f63SNicolas Pitre
726953233dcSCatalin Marinasconfig OUTER_CACHE
727953233dcSCatalin Marinas	bool
728953233dcSCatalin Marinas	default n
729382266adSCatalin Marinas
73099c6dc11SLennert Buytenhekconfig CACHE_FEROCEON_L2
73199c6dc11SLennert Buytenhek	bool "Enable the Feroceon L2 cache controller"
732794d15b2SStanislav Samsonov	depends on ARCH_KIRKWOOD || ARCH_MV78XX0
73399c6dc11SLennert Buytenhek	default y
734382266adSCatalin Marinas	select OUTER_CACHE
73599c6dc11SLennert Buytenhek	help
73699c6dc11SLennert Buytenhek	  This option enables the Feroceon L2 cache controller.
73799c6dc11SLennert Buytenhek
7381da177e4SLinus Torvaldsconfig CACHE_L2X0
739ba927951SCatalin Marinas	bool "Enable the L2x0 outer cache controller"
740ba927951SCatalin Marinas	depends on REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176
741ba927951SCatalin Marinas	default y
7421da177e4SLinus Torvalds	select OUTER_CACHE
743ba927951SCatalin Marinas	help
744ba927951SCatalin Marinas	  This option enables the L2x0 PrimeCell.
745*905a09d5SEric Miao
746*905a09d5SEric Miaoconfig CACHE_XSC3L2
747*905a09d5SEric Miao	bool "Enable the L2 cache on XScale3"
748*905a09d5SEric Miao	depends on CPU_XSC3
749*905a09d5SEric Miao	default y
750*905a09d5SEric Miao	select OUTER_CACHE
751*905a09d5SEric Miao	help
752*905a09d5SEric Miao	  This option enables the L2 cache on XScale3.
753