diff options
author | Hyok S. Choi <hyok.choi@samsung.com> | 2006-09-26 04:38:32 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-27 12:39:19 -0400 |
commit | f37f46eb1c0bd0b11c34ef06c7365658be989d80 (patch) | |
tree | 1790995456cafc852899927140e5dd7523463fdb /include | |
parent | d60674eb5d961b2421db16cc373dc163f38cc105 (diff) |
[ARM] nommu: add ARM946E-S core support
This patch adds ARM946E-S core support which has typically 8KB I&D cache.
It has a MPU and supports ARMv5TE instruction set.
Because the ARM946E-S core can be synthesizable with various cache size,
CONFIG_CPU_DCACHE_SIZE is defined for vendor specific configurations.
Signed-off-by: Hyok S. Choi <hyok.choi@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-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 b0a8603400be..b611a8ea0bb2 100644 --- a/include/asm-arm/cacheflush.h +++ b/include/asm-arm/cacheflush.h | |||
@@ -64,6 +64,14 @@ | |||
64 | # endif | 64 | # endif |
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | #if defined(CONFIG_CPU_ARM946E) | ||
68 | # ifdef _CACHE | ||
69 | # define MULTI_CACHE 1 | ||
70 | # else | ||
71 | # define _CACHE arm946 | ||
72 | # endif | ||
73 | #endif | ||
74 | |||
67 | #if defined(CONFIG_CPU_SA110) || defined(CONFIG_CPU_SA1100) | 75 | #if defined(CONFIG_CPU_SA110) || defined(CONFIG_CPU_SA1100) |
68 | # ifdef _CACHE | 76 | # ifdef _CACHE |
69 | # define MULTI_CACHE 1 | 77 | # define MULTI_CACHE 1 |
diff --git a/include/asm-arm/proc-fns.h b/include/asm-arm/proc-fns.h index 87f3ea97f48c..ea7e54c319be 100644 --- a/include/asm-arm/proc-fns.h +++ b/include/asm-arm/proc-fns.h | |||
@@ -113,6 +113,14 @@ | |||
113 | # define CPU_NAME cpu_arm940 | 113 | # define CPU_NAME cpu_arm940 |
114 | # endif | 114 | # endif |
115 | # endif | 115 | # endif |
116 | # ifdef CONFIG_CPU_ARM946E | ||
117 | # ifdef CPU_NAME | ||
118 | # undef MULTI_CPU | ||
119 | # define MULTI_CPU | ||
120 | # else | ||
121 | # define CPU_NAME cpu_arm946 | ||
122 | # endif | ||
123 | # endif | ||
116 | # ifdef CONFIG_CPU_SA110 | 124 | # ifdef CONFIG_CPU_SA110 |
117 | # ifdef CPU_NAME | 125 | # ifdef CPU_NAME |
118 | # undef MULTI_CPU | 126 | # undef MULTI_CPU |