xref: /linux/arch/arm/mm/Kconfig (revision d7f864be8323e5394040e2877594645b0e7da85d)
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
211da177e4SLinus Torvalds	help
221da177e4SLinus Torvalds	  The ARM610 is the successor to the ARM3 processor
231da177e4SLinus Torvalds	  and was produced by VLSI Technology Inc.
241da177e4SLinus Torvalds
251da177e4SLinus Torvalds	  Say Y if you want support for the ARM610 processor.
261da177e4SLinus Torvalds	  Otherwise, say N.
271da177e4SLinus Torvalds
2807e0da78SHyok S. Choi# ARM7TDMI
2907e0da78SHyok S. Choiconfig CPU_ARM7TDMI
3007e0da78SHyok S. Choi	bool "Support ARM7TDMI processor"
316b237a35SRussell King	depends on !MMU
3207e0da78SHyok S. Choi	select CPU_32v4T
3307e0da78SHyok S. Choi	select CPU_ABRT_LV4T
3407e0da78SHyok S. Choi	select CPU_CACHE_V4
3507e0da78SHyok S. Choi	help
3607e0da78SHyok S. Choi	  A 32-bit RISC microprocessor based on the ARM7 processor core
3707e0da78SHyok S. Choi	  which has no memory control unit and cache.
3807e0da78SHyok S. Choi
3907e0da78SHyok S. Choi	  Say Y if you want support for the ARM7TDMI processor.
4007e0da78SHyok S. Choi	  Otherwise, say N.
4107e0da78SHyok S. Choi
421da177e4SLinus Torvalds# ARM710
431da177e4SLinus Torvaldsconfig CPU_ARM710
441da177e4SLinus Torvalds	bool "Support ARM710 processor" if !ARCH_CLPS7500 && ARCH_RPC
451da177e4SLinus Torvalds	default y if ARCH_CLPS7500
461da177e4SLinus Torvalds	select CPU_32v3
471da177e4SLinus Torvalds	select CPU_CACHE_V3
481da177e4SLinus Torvalds	select CPU_CACHE_VIVT
49fefdaa06SHyok S. Choi	select CPU_CP15_MMU
50f9c21a6eSHyok S. Choi	select CPU_COPY_V3 if MMU
51f9c21a6eSHyok S. Choi	select CPU_TLB_V3 if MMU
521da177e4SLinus Torvalds	help
531da177e4SLinus Torvalds	  A 32-bit RISC microprocessor based on the ARM7 processor core
541da177e4SLinus Torvalds	  designed by Advanced RISC Machines Ltd. The ARM710 is the
551da177e4SLinus Torvalds	  successor to the ARM610 processor. It was released in
561da177e4SLinus Torvalds	  July 1994 by VLSI Technology Inc.
571da177e4SLinus Torvalds
581da177e4SLinus Torvalds	  Say Y if you want support for the ARM710 processor.
591da177e4SLinus Torvalds	  Otherwise, say N.
601da177e4SLinus Torvalds
611da177e4SLinus Torvalds# ARM720T
621da177e4SLinus Torvaldsconfig CPU_ARM720T
631da177e4SLinus Torvalds	bool "Support ARM720T processor" if !ARCH_CLPS711X && !ARCH_L7200 && !ARCH_CDB89712 && ARCH_INTEGRATOR
641da177e4SLinus Torvalds	default y if ARCH_CLPS711X || ARCH_L7200 || ARCH_CDB89712 || ARCH_H720X
65260e98edSLennert Buytenhek	select CPU_32v4T
661da177e4SLinus Torvalds	select CPU_ABRT_LV4T
671da177e4SLinus Torvalds	select CPU_CACHE_V4
681da177e4SLinus Torvalds	select CPU_CACHE_VIVT
69fefdaa06SHyok S. Choi	select CPU_CP15_MMU
70f9c21a6eSHyok S. Choi	select CPU_COPY_V4WT if MMU
71f9c21a6eSHyok S. Choi	select CPU_TLB_V4WT if MMU
721da177e4SLinus Torvalds	help
731da177e4SLinus Torvalds	  A 32-bit RISC processor with 8kByte Cache, Write Buffer and
741da177e4SLinus Torvalds	  MMU built around an ARM7TDMI core.
751da177e4SLinus Torvalds
761da177e4SLinus Torvalds	  Say Y if you want support for the ARM720T processor.
771da177e4SLinus Torvalds	  Otherwise, say N.
781da177e4SLinus Torvalds
79b731c311SHyok S. Choi# ARM740T
80b731c311SHyok S. Choiconfig CPU_ARM740T
81b731c311SHyok S. Choi	bool "Support ARM740T processor" if ARCH_INTEGRATOR
826b237a35SRussell King	depends on !MMU
83b731c311SHyok S. Choi	select CPU_32v4T
84b731c311SHyok S. Choi	select CPU_ABRT_LV4T
85b731c311SHyok S. Choi	select CPU_CACHE_V3	# although the core is v4t
86b731c311SHyok S. Choi	select CPU_CP15_MPU
87b731c311SHyok S. Choi	help
88b731c311SHyok S. Choi	  A 32-bit RISC processor with 8KB cache or 4KB variants,
89b731c311SHyok S. Choi	  write buffer and MPU(Protection Unit) built around
90b731c311SHyok S. Choi	  an ARM7TDMI core.
91b731c311SHyok S. Choi
92b731c311SHyok S. Choi	  Say Y if you want support for the ARM740T processor.
93b731c311SHyok S. Choi	  Otherwise, say N.
94b731c311SHyok S. Choi
9543f5f014SHyok S. Choi# ARM9TDMI
9643f5f014SHyok S. Choiconfig CPU_ARM9TDMI
9743f5f014SHyok S. Choi	bool "Support ARM9TDMI processor"
986b237a35SRussell King	depends on !MMU
9943f5f014SHyok S. Choi	select CPU_32v4T
1000f45d7f3SHyok S. Choi	select CPU_ABRT_NOMMU
10143f5f014SHyok S. Choi	select CPU_CACHE_V4
10243f5f014SHyok S. Choi	help
10343f5f014SHyok S. Choi	  A 32-bit RISC microprocessor based on the ARM9 processor core
10443f5f014SHyok S. Choi	  which has no memory control unit and cache.
10543f5f014SHyok S. Choi
10643f5f014SHyok S. Choi	  Say Y if you want support for the ARM9TDMI processor.
10743f5f014SHyok S. Choi	  Otherwise, say N.
10843f5f014SHyok S. Choi
1091da177e4SLinus Torvalds# ARM920T
1101da177e4SLinus Torvaldsconfig CPU_ARM920T
1113434d9d9SBen Dooks	bool "Support ARM920T processor"
1123434d9d9SBen Dooks	depends on ARCH_EP93XX || ARCH_INTEGRATOR || CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_IMX || ARCH_AAEC2000 || ARCH_AT91RM9200
1133434d9d9SBen Dooks	default y if CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_AT91RM9200
114260e98edSLennert Buytenhek	select CPU_32v4T
1151da177e4SLinus Torvalds	select CPU_ABRT_EV4T
1161da177e4SLinus Torvalds	select CPU_CACHE_V4WT
1171da177e4SLinus Torvalds	select CPU_CACHE_VIVT
118fefdaa06SHyok S. Choi	select CPU_CP15_MMU
119f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
120f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1211da177e4SLinus Torvalds	help
1221da177e4SLinus Torvalds	  The ARM920T is licensed to be produced by numerous vendors,
1231da177e4SLinus Torvalds	  and is used in the Maverick EP9312 and the Samsung S3C2410.
1241da177e4SLinus Torvalds
1251da177e4SLinus Torvalds	  More information on the Maverick EP9312 at
1261da177e4SLinus Torvalds	  <http://linuxdevices.com/products/PD2382866068.html>.
1271da177e4SLinus Torvalds
1281da177e4SLinus Torvalds	  Say Y if you want support for the ARM920T processor.
1291da177e4SLinus Torvalds	  Otherwise, say N.
1301da177e4SLinus Torvalds
1311da177e4SLinus Torvalds# ARM922T
1321da177e4SLinus Torvaldsconfig CPU_ARM922T
1331da177e4SLinus Torvalds	bool "Support ARM922T processor" if ARCH_INTEGRATOR
134c53c9cf6SAndrew Victor	depends on ARCH_LH7A40X || ARCH_INTEGRATOR || ARCH_KS8695
135c53c9cf6SAndrew Victor	default y if ARCH_LH7A40X || ARCH_KS8695
136260e98edSLennert Buytenhek	select CPU_32v4T
1371da177e4SLinus Torvalds	select CPU_ABRT_EV4T
1381da177e4SLinus Torvalds	select CPU_CACHE_V4WT
1391da177e4SLinus Torvalds	select CPU_CACHE_VIVT
140fefdaa06SHyok S. Choi	select CPU_CP15_MMU
141f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
142f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1431da177e4SLinus Torvalds	help
1441da177e4SLinus Torvalds	  The ARM922T is a version of the ARM920T, but with smaller
1451da177e4SLinus Torvalds	  instruction and data caches. It is used in Altera's
146c53c9cf6SAndrew Victor	  Excalibur XA device family and Micrel's KS8695 Centaur.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvalds	  Say Y if you want support for the ARM922T processor.
1491da177e4SLinus Torvalds	  Otherwise, say N.
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvalds# ARM925T
1521da177e4SLinus Torvaldsconfig CPU_ARM925T
153b288f75fSTony Lindgren 	bool "Support ARM925T processor" if ARCH_OMAP1
1543179a019STony Lindgren 	depends on ARCH_OMAP15XX
1553179a019STony Lindgren 	default y if ARCH_OMAP15XX
156260e98edSLennert Buytenhek	select CPU_32v4T
1571da177e4SLinus Torvalds	select CPU_ABRT_EV4T
1581da177e4SLinus Torvalds	select CPU_CACHE_V4WT
1591da177e4SLinus Torvalds	select CPU_CACHE_VIVT
160fefdaa06SHyok S. Choi	select CPU_CP15_MMU
161f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
162f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1631da177e4SLinus Torvalds 	help
1641da177e4SLinus Torvalds 	  The ARM925T is a mix between the ARM920T and ARM926T, but with
1651da177e4SLinus Torvalds	  different instruction and data caches. It is used in TI's OMAP
1661da177e4SLinus Torvalds 	  device family.
1671da177e4SLinus Torvalds
1681da177e4SLinus Torvalds 	  Say Y if you want support for the ARM925T processor.
1691da177e4SLinus Torvalds 	  Otherwise, say N.
1701da177e4SLinus Torvalds
1711da177e4SLinus Torvalds# ARM926T
1721da177e4SLinus Torvaldsconfig CPU_ARM926T
1738ad68bbfSCatalin Marinas	bool "Support ARM926T processor"
1742b3b3516SAndrew 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
1752b3b3516SAndrew 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
1761da177e4SLinus Torvalds	select CPU_32v5
1771da177e4SLinus Torvalds	select CPU_ABRT_EV5TJ
1781da177e4SLinus Torvalds	select CPU_CACHE_VIVT
179fefdaa06SHyok S. Choi	select CPU_CP15_MMU
180f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
181f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1821da177e4SLinus Torvalds	help
1831da177e4SLinus Torvalds	  This is a variant of the ARM920.  It has slightly different
1841da177e4SLinus Torvalds	  instruction sequences for cache and TLB operations.  Curiously,
1851da177e4SLinus Torvalds	  there is no documentation on it at the ARM corporate website.
1861da177e4SLinus Torvalds
1871da177e4SLinus Torvalds	  Say Y if you want support for the ARM926T processor.
1881da177e4SLinus Torvalds	  Otherwise, say N.
1891da177e4SLinus Torvalds
190d60674ebSHyok S. Choi# ARM940T
191d60674ebSHyok S. Choiconfig CPU_ARM940T
192d60674ebSHyok S. Choi	bool "Support ARM940T processor" if ARCH_INTEGRATOR
1936b237a35SRussell King	depends on !MMU
194d60674ebSHyok S. Choi	select CPU_32v4T
1950f45d7f3SHyok S. Choi	select CPU_ABRT_NOMMU
196d60674ebSHyok S. Choi	select CPU_CACHE_VIVT
197d60674ebSHyok S. Choi	select CPU_CP15_MPU
198d60674ebSHyok S. Choi	help
199d60674ebSHyok S. Choi	  ARM940T is a member of the ARM9TDMI family of general-
2003cb2fcccSMatt LaPlante	  purpose microprocessors with MPU and separate 4KB
201d60674ebSHyok S. Choi	  instruction and 4KB data cases, each with a 4-word line
202d60674ebSHyok S. Choi	  length.
203d60674ebSHyok S. Choi
204d60674ebSHyok S. Choi	  Say Y if you want support for the ARM940T processor.
205d60674ebSHyok S. Choi	  Otherwise, say N.
206d60674ebSHyok S. Choi
207f37f46ebSHyok S. Choi# ARM946E-S
208f37f46ebSHyok S. Choiconfig CPU_ARM946E
209f37f46ebSHyok S. Choi	bool "Support ARM946E-S processor" if ARCH_INTEGRATOR
2106b237a35SRussell King	depends on !MMU
211f37f46ebSHyok S. Choi	select CPU_32v5
2120f45d7f3SHyok S. Choi	select CPU_ABRT_NOMMU
213f37f46ebSHyok S. Choi	select CPU_CACHE_VIVT
214f37f46ebSHyok S. Choi	select CPU_CP15_MPU
215f37f46ebSHyok S. Choi	help
216f37f46ebSHyok S. Choi	  ARM946E-S is a member of the ARM9E-S family of high-
217f37f46ebSHyok S. Choi	  performance, 32-bit system-on-chip processor solutions.
218f37f46ebSHyok S. Choi	  The TCM and ARMv5TE 32-bit instruction set is supported.
219f37f46ebSHyok S. Choi
220f37f46ebSHyok S. Choi	  Say Y if you want support for the ARM946E-S processor.
221f37f46ebSHyok S. Choi	  Otherwise, say N.
222f37f46ebSHyok S. Choi
2231da177e4SLinus Torvalds# ARM1020 - needs validating
2241da177e4SLinus Torvaldsconfig CPU_ARM1020
2251da177e4SLinus Torvalds	bool "Support ARM1020T (rev 0) processor"
2261da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2271da177e4SLinus Torvalds	select CPU_32v5
2281da177e4SLinus Torvalds	select CPU_ABRT_EV4T
2291da177e4SLinus Torvalds	select CPU_CACHE_V4WT
2301da177e4SLinus Torvalds	select CPU_CACHE_VIVT
231fefdaa06SHyok S. Choi	select CPU_CP15_MMU
232f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
233f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2341da177e4SLinus Torvalds	help
2351da177e4SLinus Torvalds	  The ARM1020 is the 32K cached version of the ARM10 processor,
2361da177e4SLinus Torvalds	  with an addition of a floating-point unit.
2371da177e4SLinus Torvalds
2381da177e4SLinus Torvalds	  Say Y if you want support for the ARM1020 processor.
2391da177e4SLinus Torvalds	  Otherwise, say N.
2401da177e4SLinus Torvalds
2411da177e4SLinus Torvalds# ARM1020E - needs validating
2421da177e4SLinus Torvaldsconfig CPU_ARM1020E
2431da177e4SLinus Torvalds	bool "Support ARM1020E processor"
2441da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2451da177e4SLinus Torvalds	select CPU_32v5
2461da177e4SLinus Torvalds	select CPU_ABRT_EV4T
2471da177e4SLinus Torvalds	select CPU_CACHE_V4WT
2481da177e4SLinus Torvalds	select CPU_CACHE_VIVT
249fefdaa06SHyok S. Choi	select CPU_CP15_MMU
250f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
251f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2521da177e4SLinus Torvalds	depends on n
2531da177e4SLinus Torvalds
2541da177e4SLinus Torvalds# ARM1022E
2551da177e4SLinus Torvaldsconfig CPU_ARM1022
2561da177e4SLinus Torvalds	bool "Support ARM1022E processor"
2571da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2581da177e4SLinus Torvalds	select CPU_32v5
2591da177e4SLinus Torvalds	select CPU_ABRT_EV4T
2601da177e4SLinus Torvalds	select CPU_CACHE_VIVT
261fefdaa06SHyok S. Choi	select CPU_CP15_MMU
262f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU # can probably do better
263f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2641da177e4SLinus Torvalds	help
2651da177e4SLinus Torvalds	  The ARM1022E is an implementation of the ARMv5TE architecture
2661da177e4SLinus Torvalds	  based upon the ARM10 integer core with a 16KiB L1 Harvard cache,
2671da177e4SLinus Torvalds	  embedded trace macrocell, and a floating-point unit.
2681da177e4SLinus Torvalds
2691da177e4SLinus Torvalds	  Say Y if you want support for the ARM1022E processor.
2701da177e4SLinus Torvalds	  Otherwise, say N.
2711da177e4SLinus Torvalds
2721da177e4SLinus Torvalds# ARM1026EJ-S
2731da177e4SLinus Torvaldsconfig CPU_ARM1026
2741da177e4SLinus Torvalds	bool "Support ARM1026EJ-S processor"
2751da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
2761da177e4SLinus Torvalds	select CPU_32v5
2771da177e4SLinus Torvalds	select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10
2781da177e4SLinus Torvalds	select CPU_CACHE_VIVT
279fefdaa06SHyok S. Choi	select CPU_CP15_MMU
280f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU # can probably do better
281f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2821da177e4SLinus Torvalds	help
2831da177e4SLinus Torvalds	  The ARM1026EJ-S is an implementation of the ARMv5TEJ architecture
2841da177e4SLinus Torvalds	  based upon the ARM10 integer core.
2851da177e4SLinus Torvalds
2861da177e4SLinus Torvalds	  Say Y if you want support for the ARM1026EJ-S processor.
2871da177e4SLinus Torvalds	  Otherwise, say N.
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvalds# SA110
2901da177e4SLinus Torvaldsconfig CPU_SA110
2911da177e4SLinus Torvalds	bool "Support StrongARM(R) SA-110 processor" if !ARCH_EBSA110 && !FOOTBRIDGE && !ARCH_TBOX && !ARCH_SHARK && !ARCH_NEXUSPCI && ARCH_RPC
2921da177e4SLinus Torvalds	default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_TBOX || ARCH_SHARK || ARCH_NEXUSPCI
2931da177e4SLinus Torvalds	select CPU_32v3 if ARCH_RPC
2941da177e4SLinus Torvalds	select CPU_32v4 if !ARCH_RPC
2951da177e4SLinus Torvalds	select CPU_ABRT_EV4
2961da177e4SLinus Torvalds	select CPU_CACHE_V4WB
2971da177e4SLinus Torvalds	select CPU_CACHE_VIVT
298fefdaa06SHyok S. Choi	select CPU_CP15_MMU
299f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
300f9c21a6eSHyok S. Choi	select CPU_TLB_V4WB if MMU
3011da177e4SLinus Torvalds	help
3021da177e4SLinus Torvalds	  The Intel StrongARM(R) SA-110 is a 32-bit microprocessor and
3031da177e4SLinus Torvalds	  is available at five speeds ranging from 100 MHz to 233 MHz.
3041da177e4SLinus Torvalds	  More information is available at
3051da177e4SLinus Torvalds	  <http://developer.intel.com/design/strong/sa110.htm>.
3061da177e4SLinus Torvalds
3071da177e4SLinus Torvalds	  Say Y if you want support for the SA-110 processor.
3081da177e4SLinus Torvalds	  Otherwise, say N.
3091da177e4SLinus Torvalds
3101da177e4SLinus Torvalds# SA1100
3111da177e4SLinus Torvaldsconfig CPU_SA1100
3121da177e4SLinus Torvalds	bool
3131da177e4SLinus Torvalds	depends on ARCH_SA1100
3141da177e4SLinus Torvalds	default y
3151da177e4SLinus Torvalds	select CPU_32v4
3161da177e4SLinus Torvalds	select CPU_ABRT_EV4
3171da177e4SLinus Torvalds	select CPU_CACHE_V4WB
3181da177e4SLinus Torvalds	select CPU_CACHE_VIVT
319fefdaa06SHyok S. Choi	select CPU_CP15_MMU
320f9c21a6eSHyok S. Choi	select CPU_TLB_V4WB if MMU
3211da177e4SLinus Torvalds
3221da177e4SLinus Torvalds# XScale
3231da177e4SLinus Torvaldsconfig CPU_XSCALE
3241da177e4SLinus Torvalds	bool
325fa0b6251SRussell King	depends on ARCH_IOP32X || ARCH_IOP33X || PXA25x || PXA27x || ARCH_IXP4XX || ARCH_IXP2000
3261da177e4SLinus Torvalds	default y
3271da177e4SLinus Torvalds	select CPU_32v5
3281da177e4SLinus Torvalds	select CPU_ABRT_EV5T
3291da177e4SLinus Torvalds	select CPU_CACHE_VIVT
330fefdaa06SHyok S. Choi	select CPU_CP15_MMU
331f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
3321da177e4SLinus Torvalds
33323bdf86aSLennert Buytenhek# XScale Core Version 3
33423bdf86aSLennert Buytenhekconfig CPU_XSC3
33523bdf86aSLennert Buytenhek	bool
3362c8086a5Seric miao	depends on ARCH_IXP23XX || ARCH_IOP13XX || PXA3xx
33723bdf86aSLennert Buytenhek	default y
33823bdf86aSLennert Buytenhek	select CPU_32v5
33923bdf86aSLennert Buytenhek	select CPU_ABRT_EV5T
34023bdf86aSLennert Buytenhek	select CPU_CACHE_VIVT
341fefdaa06SHyok S. Choi	select CPU_CP15_MMU
342f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
34323bdf86aSLennert Buytenhek	select IO_36
34423bdf86aSLennert Buytenhek
345e50d6409SAssaf Hoffman# Feroceon
346e50d6409SAssaf Hoffmanconfig CPU_FEROCEON
347e50d6409SAssaf Hoffman	bool
348e50d6409SAssaf Hoffman	depends on ARCH_ORION
349e50d6409SAssaf Hoffman	default y
350e50d6409SAssaf Hoffman	select CPU_32v5
351e50d6409SAssaf Hoffman	select CPU_ABRT_EV5T
352e50d6409SAssaf Hoffman	select CPU_CACHE_VIVT
353e50d6409SAssaf Hoffman	select CPU_CP15_MMU
354e50d6409SAssaf Hoffman	select CPU_COPY_V4WB if MMU
355e50d6409SAssaf Hoffman	select CPU_TLB_V4WBI if MMU
356e50d6409SAssaf Hoffman
357d910a0aaSTzachi Perelsteinconfig CPU_FEROCEON_OLD_ID
358d910a0aaSTzachi Perelstein	bool "Accept early Feroceon cores with an ARM926 ID"
359d910a0aaSTzachi Perelstein	depends on CPU_FEROCEON && !CPU_ARM926T
360d910a0aaSTzachi Perelstein	default y
361d910a0aaSTzachi Perelstein	help
362d910a0aaSTzachi Perelstein	  This enables the usage of some old Feroceon cores
363d910a0aaSTzachi Perelstein	  for which the CPU ID is equal to the ARM926 ID.
364d910a0aaSTzachi Perelstein	  Relevant for Feroceon-1850 and early Feroceon-2850.
365d910a0aaSTzachi Perelstein
3661da177e4SLinus Torvalds# ARMv6
3671da177e4SLinus Torvaldsconfig CPU_V6
3681da177e4SLinus Torvalds	bool "Support ARM V6 processor"
3693042102aSBrian Swetland	depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP2 || ARCH_MX3 || ARCH_MSM7X00A
37052c543f9SQuinn Jensen	default y if ARCH_MX3
3713042102aSBrian Swetland	default y if ARCH_MSM7X00A
3721da177e4SLinus Torvalds	select CPU_32v6
3731da177e4SLinus Torvalds	select CPU_ABRT_EV6
3741da177e4SLinus Torvalds	select CPU_CACHE_V6
3751da177e4SLinus Torvalds	select CPU_CACHE_VIPT
376fefdaa06SHyok S. Choi	select CPU_CP15_MMU
3777b4c965aSCatalin Marinas	select CPU_HAS_ASID if MMU
378f9c21a6eSHyok S. Choi	select CPU_COPY_V6 if MMU
379f9c21a6eSHyok S. Choi	select CPU_TLB_V6 if MMU
3801da177e4SLinus Torvalds
3814a5f79e7SRussell King# ARMv6k
3824a5f79e7SRussell Kingconfig CPU_32v6K
3834a5f79e7SRussell King	bool "Support ARM V6K processor extensions" if !SMP
3844a5f79e7SRussell King	depends on CPU_V6
38552c543f9SQuinn Jensen	default y if SMP && !ARCH_MX3
3864a5f79e7SRussell King	help
3874a5f79e7SRussell King	  Say Y here if your ARMv6 processor supports the 'K' extension.
3884a5f79e7SRussell King	  This enables the kernel to use some instructions not present
3894a5f79e7SRussell King	  on previous processors, and as such a kernel build with this
3904a5f79e7SRussell King	  enabled will not boot on processors with do not support these
3914a5f79e7SRussell King	  instructions.
3924a5f79e7SRussell King
39323688e99SCatalin Marinas# ARMv7
39423688e99SCatalin Marinasconfig CPU_V7
39523688e99SCatalin Marinas	bool "Support ARM V7 processor"
39623688e99SCatalin Marinas	depends on ARCH_INTEGRATOR
39723688e99SCatalin Marinas	select CPU_32v6K
39823688e99SCatalin Marinas	select CPU_32v7
39923688e99SCatalin Marinas	select CPU_ABRT_EV7
40023688e99SCatalin Marinas	select CPU_CACHE_V7
40123688e99SCatalin Marinas	select CPU_CACHE_VIPT
40223688e99SCatalin Marinas	select CPU_CP15_MMU
4032eb8c82bSCatalin Marinas	select CPU_HAS_ASID if MMU
40423688e99SCatalin Marinas	select CPU_COPY_V6 if MMU
4052ccdd1e7SCatalin Marinas	select CPU_TLB_V7 if MMU
40623688e99SCatalin Marinas
4071da177e4SLinus Torvalds# Figure out what processor architecture version we should be using.
4081da177e4SLinus Torvalds# This defines the compiler instruction set which depends on the machine type.
4091da177e4SLinus Torvaldsconfig CPU_32v3
4101da177e4SLinus Torvalds	bool
41160b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
41248fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
4131da177e4SLinus Torvalds
4141da177e4SLinus Torvaldsconfig CPU_32v4
4151da177e4SLinus Torvalds	bool
41660b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
41748fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
4181da177e4SLinus Torvalds
419260e98edSLennert Buytenhekconfig CPU_32v4T
420260e98edSLennert Buytenhek	bool
421260e98edSLennert Buytenhek	select TLS_REG_EMUL if SMP || !MMU
422260e98edSLennert Buytenhek	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
423260e98edSLennert Buytenhek
4241da177e4SLinus Torvaldsconfig CPU_32v5
4251da177e4SLinus Torvalds	bool
42660b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
42748fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
4281da177e4SLinus Torvalds
4291da177e4SLinus Torvaldsconfig CPU_32v6
4301da177e4SLinus Torvalds	bool
431367afaf8SCatalin Marinas	select TLS_REG_EMUL if !CPU_32v6K && !MMU
4321da177e4SLinus Torvalds
43323688e99SCatalin Marinasconfig CPU_32v7
43423688e99SCatalin Marinas	bool
43523688e99SCatalin Marinas
4361da177e4SLinus Torvalds# The abort model
4370f45d7f3SHyok S. Choiconfig CPU_ABRT_NOMMU
4380f45d7f3SHyok S. Choi	bool
4390f45d7f3SHyok S. Choi
4401da177e4SLinus Torvaldsconfig CPU_ABRT_EV4
4411da177e4SLinus Torvalds	bool
4421da177e4SLinus Torvalds
4431da177e4SLinus Torvaldsconfig CPU_ABRT_EV4T
4441da177e4SLinus Torvalds	bool
4451da177e4SLinus Torvalds
4461da177e4SLinus Torvaldsconfig CPU_ABRT_LV4T
4471da177e4SLinus Torvalds	bool
4481da177e4SLinus Torvalds
4491da177e4SLinus Torvaldsconfig CPU_ABRT_EV5T
4501da177e4SLinus Torvalds	bool
4511da177e4SLinus Torvalds
4521da177e4SLinus Torvaldsconfig CPU_ABRT_EV5TJ
4531da177e4SLinus Torvalds	bool
4541da177e4SLinus Torvalds
4551da177e4SLinus Torvaldsconfig CPU_ABRT_EV6
4561da177e4SLinus Torvalds	bool
4571da177e4SLinus Torvalds
45823688e99SCatalin Marinasconfig CPU_ABRT_EV7
45923688e99SCatalin Marinas	bool
46023688e99SCatalin Marinas
4611da177e4SLinus Torvalds# The cache model
4621da177e4SLinus Torvaldsconfig CPU_CACHE_V3
4631da177e4SLinus Torvalds	bool
4641da177e4SLinus Torvalds
4651da177e4SLinus Torvaldsconfig CPU_CACHE_V4
4661da177e4SLinus Torvalds	bool
4671da177e4SLinus Torvalds
4681da177e4SLinus Torvaldsconfig CPU_CACHE_V4WT
4691da177e4SLinus Torvalds	bool
4701da177e4SLinus Torvalds
4711da177e4SLinus Torvaldsconfig CPU_CACHE_V4WB
4721da177e4SLinus Torvalds	bool
4731da177e4SLinus Torvalds
4741da177e4SLinus Torvaldsconfig CPU_CACHE_V6
4751da177e4SLinus Torvalds	bool
4761da177e4SLinus Torvalds
47723688e99SCatalin Marinasconfig CPU_CACHE_V7
47823688e99SCatalin Marinas	bool
47923688e99SCatalin Marinas
4801da177e4SLinus Torvaldsconfig CPU_CACHE_VIVT
4811da177e4SLinus Torvalds	bool
4821da177e4SLinus Torvalds
4831da177e4SLinus Torvaldsconfig CPU_CACHE_VIPT
4841da177e4SLinus Torvalds	bool
4851da177e4SLinus Torvalds
486f9c21a6eSHyok S. Choiif MMU
4871da177e4SLinus Torvalds# The copy-page model
4881da177e4SLinus Torvaldsconfig CPU_COPY_V3
4891da177e4SLinus Torvalds	bool
4901da177e4SLinus Torvalds
4911da177e4SLinus Torvaldsconfig CPU_COPY_V4WT
4921da177e4SLinus Torvalds	bool
4931da177e4SLinus Torvalds
4941da177e4SLinus Torvaldsconfig CPU_COPY_V4WB
4951da177e4SLinus Torvalds	bool
4961da177e4SLinus Torvalds
4971da177e4SLinus Torvaldsconfig CPU_COPY_V6
4981da177e4SLinus Torvalds	bool
4991da177e4SLinus Torvalds
5001da177e4SLinus Torvalds# This selects the TLB model
5011da177e4SLinus Torvaldsconfig CPU_TLB_V3
5021da177e4SLinus Torvalds	bool
5031da177e4SLinus Torvalds	help
5041da177e4SLinus Torvalds	  ARM Architecture Version 3 TLB.
5051da177e4SLinus Torvalds
5061da177e4SLinus Torvaldsconfig CPU_TLB_V4WT
5071da177e4SLinus Torvalds	bool
5081da177e4SLinus Torvalds	help
5091da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writethrough cache.
5101da177e4SLinus Torvalds
5111da177e4SLinus Torvaldsconfig CPU_TLB_V4WB
5121da177e4SLinus Torvalds	bool
5131da177e4SLinus Torvalds	help
5141da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writeback cache.
5151da177e4SLinus Torvalds
5161da177e4SLinus Torvaldsconfig CPU_TLB_V4WBI
5171da177e4SLinus Torvalds	bool
5181da177e4SLinus Torvalds	help
5191da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writeback cache and invalidate
5201da177e4SLinus Torvalds	  instruction cache entry.
5211da177e4SLinus Torvalds
5221da177e4SLinus Torvaldsconfig CPU_TLB_V6
5231da177e4SLinus Torvalds	bool
5241da177e4SLinus Torvalds
5252ccdd1e7SCatalin Marinasconfig CPU_TLB_V7
5262ccdd1e7SCatalin Marinas	bool
5272ccdd1e7SCatalin Marinas
528f9c21a6eSHyok S. Choiendif
529f9c21a6eSHyok S. Choi
530516793c6SRussell Kingconfig CPU_HAS_ASID
531516793c6SRussell King	bool
532516793c6SRussell King	help
533516793c6SRussell King	  This indicates whether the CPU has the ASID register; used to
534516793c6SRussell King	  tag TLB and possibly cache entries.
535516793c6SRussell King
536fefdaa06SHyok S. Choiconfig CPU_CP15
537fefdaa06SHyok S. Choi	bool
538fefdaa06SHyok S. Choi	help
539fefdaa06SHyok S. Choi	  Processor has the CP15 register.
540fefdaa06SHyok S. Choi
541fefdaa06SHyok S. Choiconfig CPU_CP15_MMU
542fefdaa06SHyok S. Choi	bool
543fefdaa06SHyok S. Choi	select CPU_CP15
544fefdaa06SHyok S. Choi	help
545fefdaa06SHyok S. Choi	  Processor has the CP15 register, which has MMU related registers.
546fefdaa06SHyok S. Choi
547fefdaa06SHyok S. Choiconfig CPU_CP15_MPU
548fefdaa06SHyok S. Choi	bool
549fefdaa06SHyok S. Choi	select CPU_CP15
550fefdaa06SHyok S. Choi	help
551fefdaa06SHyok S. Choi	  Processor has the CP15 register, which has MPU related registers.
552fefdaa06SHyok S. Choi
55323bdf86aSLennert Buytenhek#
55423bdf86aSLennert Buytenhek# CPU supports 36-bit I/O
55523bdf86aSLennert Buytenhek#
55623bdf86aSLennert Buytenhekconfig IO_36
55723bdf86aSLennert Buytenhek	bool
55823bdf86aSLennert Buytenhek
5591da177e4SLinus Torvaldscomment "Processor Features"
5601da177e4SLinus Torvalds
5611da177e4SLinus Torvaldsconfig ARM_THUMB
5621da177e4SLinus Torvalds	bool "Support Thumb user binaries"
563e50d6409SAssaf 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
5641da177e4SLinus Torvalds	default y
5651da177e4SLinus Torvalds	help
5661da177e4SLinus Torvalds	  Say Y if you want to include kernel support for running user space
5671da177e4SLinus Torvalds	  Thumb binaries.
5681da177e4SLinus Torvalds
5691da177e4SLinus Torvalds	  The Thumb instruction set is a compressed form of the standard ARM
5701da177e4SLinus Torvalds	  instruction set resulting in smaller binaries at the expense of
5711da177e4SLinus Torvalds	  slightly less efficient code.
5721da177e4SLinus Torvalds
5731da177e4SLinus Torvalds	  If you don't know what this all is, saying Y is a safe choice.
5741da177e4SLinus Torvalds
575*d7f864beSCatalin Marinasconfig ARM_THUMBEE
576*d7f864beSCatalin Marinas	bool "Enable ThumbEE CPU extension"
577*d7f864beSCatalin Marinas	depends on CPU_V7
578*d7f864beSCatalin Marinas	help
579*d7f864beSCatalin Marinas	  Say Y here if you have a CPU with the ThumbEE extension and code to
580*d7f864beSCatalin Marinas	  make use of it. Say N for code that can run on CPUs without ThumbEE.
581*d7f864beSCatalin Marinas
5821da177e4SLinus Torvaldsconfig CPU_BIG_ENDIAN
5831da177e4SLinus Torvalds	bool "Build big-endian kernel"
5841da177e4SLinus Torvalds	depends on ARCH_SUPPORTS_BIG_ENDIAN
5851da177e4SLinus Torvalds	help
5861da177e4SLinus Torvalds	  Say Y if you plan on running a kernel in big-endian mode.
5871da177e4SLinus Torvalds	  Note that your board must be properly built and your board
5881da177e4SLinus Torvalds	  port must properly enable any big-endian related features
5891da177e4SLinus Torvalds	  of your chipset/board/processor.
5901da177e4SLinus Torvalds
5916afd6faeSHyok S. Choiconfig CPU_HIGH_VECTOR
5926340aa61SRobert P. J. Day	depends on !MMU && CPU_CP15 && !CPU_ARM740T
5936afd6faeSHyok S. Choi	bool "Select the High exception vector"
5946afd6faeSHyok S. Choi	default n
5956afd6faeSHyok S. Choi	help
5966afd6faeSHyok S. Choi	  Say Y here to select high exception vector(0xFFFF0000~).
5976afd6faeSHyok S. Choi	  The exception vector can be vary depending on the platform
5986afd6faeSHyok S. Choi	  design in nommu mode. If your platform needs to select
5996afd6faeSHyok S. Choi	  high exception vector, say Y.
6006afd6faeSHyok S. Choi	  Otherwise or if you are unsure, say N, and the low exception
6016afd6faeSHyok S. Choi	  vector (0x00000000~) will be used.
6026afd6faeSHyok S. Choi
6031da177e4SLinus Torvaldsconfig CPU_ICACHE_DISABLE
604f12d0d7cSHyok S. Choi	bool "Disable I-Cache (I-bit)"
605f12d0d7cSHyok S. Choi	depends on CPU_CP15 && !(CPU_ARM610 || CPU_ARM710 || CPU_ARM720T || CPU_ARM740T || CPU_XSCALE || CPU_XSC3)
6061da177e4SLinus Torvalds	help
6071da177e4SLinus Torvalds	  Say Y here to disable the processor instruction cache. Unless
6081da177e4SLinus Torvalds	  you have a reason not to or are unsure, say N.
6091da177e4SLinus Torvalds
6101da177e4SLinus Torvaldsconfig CPU_DCACHE_DISABLE
611f12d0d7cSHyok S. Choi	bool "Disable D-Cache (C-bit)"
612f12d0d7cSHyok S. Choi	depends on CPU_CP15
6131da177e4SLinus Torvalds	help
6141da177e4SLinus Torvalds	  Say Y here to disable the processor data cache. Unless
6151da177e4SLinus Torvalds	  you have a reason not to or are unsure, say N.
6161da177e4SLinus Torvalds
617f37f46ebSHyok S. Choiconfig CPU_DCACHE_SIZE
618f37f46ebSHyok S. Choi	hex
619f37f46ebSHyok S. Choi	depends on CPU_ARM740T || CPU_ARM946E
620f37f46ebSHyok S. Choi	default 0x00001000 if CPU_ARM740T
621f37f46ebSHyok S. Choi	default 0x00002000 # default size for ARM946E-S
622f37f46ebSHyok S. Choi	help
623f37f46ebSHyok S. Choi	  Some cores are synthesizable to have various sized cache. For
624f37f46ebSHyok S. Choi	  ARM946E-S case, it can vary from 0KB to 1MB.
625f37f46ebSHyok S. Choi	  To support such cache operations, it is efficient to know the size
626f37f46ebSHyok S. Choi	  before compile time.
627f37f46ebSHyok S. Choi	  If your SoC is configured to have a different size, define the value
628f37f46ebSHyok S. Choi	  here with proper conditions.
629f37f46ebSHyok S. Choi
6301da177e4SLinus Torvaldsconfig CPU_DCACHE_WRITETHROUGH
6311da177e4SLinus Torvalds	bool "Force write through D-cache"
632e50d6409SAssaf Hoffman	depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_FEROCEON) && !CPU_DCACHE_DISABLE
6331da177e4SLinus Torvalds	default y if CPU_ARM925T
6341da177e4SLinus Torvalds	help
6351da177e4SLinus Torvalds	  Say Y here to use the data cache in writethrough mode. Unless you
6361da177e4SLinus Torvalds	  specifically require this or are unsure, say N.
6371da177e4SLinus Torvalds
6381da177e4SLinus Torvaldsconfig CPU_CACHE_ROUND_ROBIN
6391da177e4SLinus Torvalds	bool "Round robin I and D cache replacement algorithm"
640f37f46ebSHyok S. Choi	depends on (CPU_ARM926T || CPU_ARM946E || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE)
6411da177e4SLinus Torvalds	help
6421da177e4SLinus Torvalds	  Say Y here to use the predictable round-robin cache replacement
6431da177e4SLinus Torvalds	  policy.  Unless you specifically require this or are unsure, say N.
6441da177e4SLinus Torvalds
6451da177e4SLinus Torvaldsconfig CPU_BPREDICT_DISABLE
6461da177e4SLinus Torvalds	bool "Disable branch prediction"
64723688e99SCatalin Marinas	depends on CPU_ARM1020 || CPU_V6 || CPU_XSC3 || CPU_V7
6481da177e4SLinus Torvalds	help
6491da177e4SLinus Torvalds	  Say Y here to disable branch prediction.  If unsure, say N.
6502d2669b6SNicolas Pitre
6514b0e07a5SNicolas Pitreconfig TLS_REG_EMUL
6524b0e07a5SNicolas Pitre	bool
6534b0e07a5SNicolas Pitre	help
65470489c88SNicolas Pitre	  An SMP system using a pre-ARMv6 processor (there are apparently
65570489c88SNicolas Pitre	  a few prototypes like that in existence) and therefore access to
65670489c88SNicolas Pitre	  that required register must be emulated.
6574b0e07a5SNicolas Pitre
6582d2669b6SNicolas Pitreconfig HAS_TLS_REG
6592d2669b6SNicolas Pitre	bool
66070489c88SNicolas Pitre	depends on !TLS_REG_EMUL
66170489c88SNicolas Pitre	default y if SMP || CPU_32v7
6622d2669b6SNicolas Pitre	help
6632d2669b6SNicolas Pitre	  This selects support for the CP15 thread register.
66470489c88SNicolas Pitre	  It is defined to be available on some ARMv6 processors (including
66570489c88SNicolas Pitre	  all SMP capable ARMv6's) or later processors.  User space may
66670489c88SNicolas Pitre	  assume directly accessing that register and always obtain the
66770489c88SNicolas Pitre	  expected value only on ARMv7 and above.
6682d2669b6SNicolas Pitre
669dcef1f63SNicolas Pitreconfig NEEDS_SYSCALL_FOR_CMPXCHG
670dcef1f63SNicolas Pitre	bool
671dcef1f63SNicolas Pitre	help
672dcef1f63SNicolas Pitre	  SMP on a pre-ARMv6 processor?  Well OK then.
673dcef1f63SNicolas Pitre	  Forget about fast user space cmpxchg support.
674dcef1f63SNicolas Pitre	  It is just not possible.
675dcef1f63SNicolas Pitre
676953233dcSCatalin Marinasconfig OUTER_CACHE
677953233dcSCatalin Marinas	bool
678953233dcSCatalin Marinas	default n
679382266adSCatalin Marinas
680382266adSCatalin Marinasconfig CACHE_L2X0
681382266adSCatalin Marinas	bool
682382266adSCatalin Marinas	select OUTER_CACHE
683