diff options
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/cacheflush.h | 8 | ||||
-rw-r--r-- | include/asm-arm/proc-fns.h | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-arm/cacheflush.h b/include/asm-arm/cacheflush.h index 77ff6fe86dbd..b0a8603400be 100644 --- a/include/asm-arm/cacheflush.h +++ b/include/asm-arm/cacheflush.h | |||
@@ -56,6 +56,14 @@ | |||
56 | # endif | 56 | # endif |
57 | #endif | 57 | #endif |
58 | 58 | ||
59 | #if defined(CONFIG_CPU_ARM940T) | ||
60 | # ifdef _CACHE | ||
61 | # define MULTI_CACHE 1 | ||
62 | # else | ||
63 | # define _CACHE arm940 | ||
64 | # endif | ||
65 | #endif | ||
66 | |||
59 | #if defined(CONFIG_CPU_SA110) || defined(CONFIG_CPU_SA1100) | 67 | #if defined(CONFIG_CPU_SA110) || defined(CONFIG_CPU_SA1100) |
60 | # ifdef _CACHE | 68 | # ifdef _CACHE |
61 | # define MULTI_CACHE 1 | 69 | # define MULTI_CACHE 1 |
diff --git a/include/asm-arm/proc-fns.h b/include/asm-arm/proc-fns.h index 7bb9dab310f5..87f3ea97f48c 100644 --- a/include/asm-arm/proc-fns.h +++ b/include/asm-arm/proc-fns.h | |||
@@ -105,6 +105,14 @@ | |||
105 | # define CPU_NAME cpu_arm926 | 105 | # define CPU_NAME cpu_arm926 |
106 | # endif | 106 | # endif |
107 | # endif | 107 | # endif |
108 | # ifdef CONFIG_CPU_ARM940T | ||
109 | # ifdef CPU_NAME | ||
110 | # undef MULTI_CPU | ||
111 | # define MULTI_CPU | ||
112 | # else | ||
113 | # define CPU_NAME cpu_arm940 | ||
114 | # endif | ||
115 | # endif | ||
108 | # ifdef CONFIG_CPU_SA110 | 116 | # ifdef CONFIG_CPU_SA110 |
109 | # ifdef CPU_NAME | 117 | # ifdef CPU_NAME |
110 | # undef MULTI_CPU | 118 | # undef MULTI_CPU |