diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-05-04 07:04:26 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-05-05 00:50:50 -0400 |
commit | 357c9c1f07d4546bc3fbc0fd1044d96b114d14ed (patch) | |
tree | a355e9cd73ab9f7b536b4c7562d931cfb3f5a885 /arch/arm/include/asm | |
parent | 69964ea4c7b68c9399f7977aa5b9aa6539a6a98a (diff) |
ARM: Remove support for ARMv3 ARM610 and ARM710 CPUs
This patch removes support for ARMv3 CPUs, which haven't worked properly
for quite some time (see the FIXME comment in arch/arm/mm/fault.c). The
only V3 parts left is the cache model for ARMv3, which is needed for some
odd reason by ARM740T CPUs, and being able to build with -march=armv3,
which is required for the RiscPC platform due to its bus structure.
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/glue-df.h | 8 | ||||
-rw-r--r-- | arch/arm/include/asm/glue-proc.h | 18 | ||||
-rw-r--r-- | arch/arm/include/asm/page.h | 9 | ||||
-rw-r--r-- | arch/arm/include/asm/tlbflush.h | 21 |
4 files changed, 2 insertions, 54 deletions
diff --git a/arch/arm/include/asm/glue-df.h b/arch/arm/include/asm/glue-df.h index 354d571e8bcc..8cacbcda76da 100644 --- a/arch/arm/include/asm/glue-df.h +++ b/arch/arm/include/asm/glue-df.h | |||
@@ -31,14 +31,6 @@ | |||
31 | #undef CPU_DABORT_HANDLER | 31 | #undef CPU_DABORT_HANDLER |
32 | #undef MULTI_DABORT | 32 | #undef MULTI_DABORT |
33 | 33 | ||
34 | #if defined(CONFIG_CPU_ARM610) | ||
35 | # ifdef CPU_DABORT_HANDLER | ||
36 | # define MULTI_DABORT 1 | ||
37 | # else | ||
38 | # define CPU_DABORT_HANDLER cpu_arm6_data_abort | ||
39 | # endif | ||
40 | #endif | ||
41 | |||
42 | #if defined(CONFIG_CPU_ARM710) | 34 | #if defined(CONFIG_CPU_ARM710) |
43 | # ifdef CPU_DABORT_HANDLER | 35 | # ifdef CPU_DABORT_HANDLER |
44 | # define MULTI_DABORT 1 | 36 | # define MULTI_DABORT 1 |
diff --git a/arch/arm/include/asm/glue-proc.h b/arch/arm/include/asm/glue-proc.h index e2be7f142668..ac1dd54724b6 100644 --- a/arch/arm/include/asm/glue-proc.h +++ b/arch/arm/include/asm/glue-proc.h | |||
@@ -23,15 +23,6 @@ | |||
23 | * CPU_NAME - the prefix for CPU related functions | 23 | * CPU_NAME - the prefix for CPU related functions |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #ifdef CONFIG_CPU_ARM610 | ||
27 | # ifdef CPU_NAME | ||
28 | # undef MULTI_CPU | ||
29 | # define MULTI_CPU | ||
30 | # else | ||
31 | # define CPU_NAME cpu_arm6 | ||
32 | # endif | ||
33 | #endif | ||
34 | |||
35 | #ifdef CONFIG_CPU_ARM7TDMI | 26 | #ifdef CONFIG_CPU_ARM7TDMI |
36 | # ifdef CPU_NAME | 27 | # ifdef CPU_NAME |
37 | # undef MULTI_CPU | 28 | # undef MULTI_CPU |
@@ -41,15 +32,6 @@ | |||
41 | # endif | 32 | # endif |
42 | #endif | 33 | #endif |
43 | 34 | ||
44 | #ifdef CONFIG_CPU_ARM710 | ||
45 | # ifdef CPU_NAME | ||
46 | # undef MULTI_CPU | ||
47 | # define MULTI_CPU | ||
48 | # else | ||
49 | # define CPU_NAME cpu_arm7 | ||
50 | # endif | ||
51 | #endif | ||
52 | |||
53 | #ifdef CONFIG_CPU_ARM720T | 35 | #ifdef CONFIG_CPU_ARM720T |
54 | # ifdef CPU_NAME | 36 | # ifdef CPU_NAME |
55 | # undef MULTI_CPU | 37 | # undef MULTI_CPU |
diff --git a/arch/arm/include/asm/page.h b/arch/arm/include/asm/page.h index 5838361c48b3..ecf901902e44 100644 --- a/arch/arm/include/asm/page.h +++ b/arch/arm/include/asm/page.h | |||
@@ -34,7 +34,6 @@ | |||
34 | * processor(s) we're building for. | 34 | * processor(s) we're building for. |
35 | * | 35 | * |
36 | * We have the following to choose from: | 36 | * We have the following to choose from: |
37 | * v3 - ARMv3 | ||
38 | * v4wt - ARMv4 with writethrough cache, without minicache | 37 | * v4wt - ARMv4 with writethrough cache, without minicache |
39 | * v4wb - ARMv4 with writeback cache, without minicache | 38 | * v4wb - ARMv4 with writeback cache, without minicache |
40 | * v4_mc - ARMv4 with minicache | 39 | * v4_mc - ARMv4 with minicache |
@@ -44,14 +43,6 @@ | |||
44 | #undef _USER | 43 | #undef _USER |
45 | #undef MULTI_USER | 44 | #undef MULTI_USER |
46 | 45 | ||
47 | #ifdef CONFIG_CPU_COPY_V3 | ||
48 | # ifdef _USER | ||
49 | # define MULTI_USER 1 | ||
50 | # else | ||
51 | # define _USER v3 | ||
52 | # endif | ||
53 | #endif | ||
54 | |||
55 | #ifdef CONFIG_CPU_COPY_V4WT | 46 | #ifdef CONFIG_CPU_COPY_V4WT |
56 | # ifdef _USER | 47 | # ifdef _USER |
57 | # define MULTI_USER 1 | 48 | # define MULTI_USER 1 |
diff --git a/arch/arm/include/asm/tlbflush.h b/arch/arm/include/asm/tlbflush.h index 85fe61e73202..6e924d3a77eb 100644 --- a/arch/arm/include/asm/tlbflush.h +++ b/arch/arm/include/asm/tlbflush.h | |||
@@ -65,21 +65,6 @@ | |||
65 | #define MULTI_TLB 1 | 65 | #define MULTI_TLB 1 |
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | #define v3_tlb_flags (TLB_V3_FULL | TLB_V3_PAGE) | ||
69 | |||
70 | #ifdef CONFIG_CPU_TLB_V3 | ||
71 | # define v3_possible_flags v3_tlb_flags | ||
72 | # define v3_always_flags v3_tlb_flags | ||
73 | # ifdef _TLB | ||
74 | # define MULTI_TLB 1 | ||
75 | # else | ||
76 | # define _TLB v3 | ||
77 | # endif | ||
78 | #else | ||
79 | # define v3_possible_flags 0 | ||
80 | # define v3_always_flags (-1UL) | ||
81 | #endif | ||
82 | |||
83 | #define v4_tlb_flags (TLB_V4_U_FULL | TLB_V4_U_PAGE) | 68 | #define v4_tlb_flags (TLB_V4_U_FULL | TLB_V4_U_PAGE) |
84 | 69 | ||
85 | #ifdef CONFIG_CPU_TLB_V4WT | 70 | #ifdef CONFIG_CPU_TLB_V4WT |
@@ -298,8 +283,7 @@ extern struct cpu_tlb_fns cpu_tlb; | |||
298 | * implemented the "%?" method, but this has been discontinued due to too | 283 | * implemented the "%?" method, but this has been discontinued due to too |
299 | * many people getting it wrong. | 284 | * many people getting it wrong. |
300 | */ | 285 | */ |
301 | #define possible_tlb_flags (v3_possible_flags | \ | 286 | #define possible_tlb_flags (v4_possible_flags | \ |
302 | v4_possible_flags | \ | ||
303 | v4wbi_possible_flags | \ | 287 | v4wbi_possible_flags | \ |
304 | fr_possible_flags | \ | 288 | fr_possible_flags | \ |
305 | v4wb_possible_flags | \ | 289 | v4wb_possible_flags | \ |
@@ -307,8 +291,7 @@ extern struct cpu_tlb_fns cpu_tlb; | |||
307 | v6wbi_possible_flags | \ | 291 | v6wbi_possible_flags | \ |
308 | v7wbi_possible_flags) | 292 | v7wbi_possible_flags) |
309 | 293 | ||
310 | #define always_tlb_flags (v3_always_flags & \ | 294 | #define always_tlb_flags (v4_always_flags & \ |
311 | v4_always_flags & \ | ||
312 | v4wbi_always_flags & \ | 295 | v4wbi_always_flags & \ |
313 | fr_always_flags & \ | 296 | fr_always_flags & \ |
314 | v4wb_always_flags & \ | 297 | v4wb_always_flags & \ |