diff options
author | Hyok S. Choi <hyok.choi@samsung.com> | 2006-09-26 04:38:05 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-27 12:39:17 -0400 |
commit | 43f5f0146ef5c3a3421ea53a0708fd37edcb8905 (patch) | |
tree | 9bc8d546aa0d801f28ef882937af929b0f4f22d3 /include | |
parent | b731c3118d87f26c8bf3f358ffbbc24450af50a6 (diff) |
[ARM] nommu: add ARM9TDMI core support
This patch adds ARM9TDMI core support which has no cache and no CP15
register(no memory control unit).
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 | 3 | ||||
-rw-r--r-- | include/asm-arm/proc-fns.h | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/asm-arm/cacheflush.h b/include/asm-arm/cacheflush.h index 24924e64f883..77ff6fe86dbd 100644 --- a/include/asm-arm/cacheflush.h +++ b/include/asm-arm/cacheflush.h | |||
@@ -34,7 +34,8 @@ | |||
34 | # endif | 34 | # endif |
35 | #endif | 35 | #endif |
36 | 36 | ||
37 | #if defined(CONFIG_CPU_ARM720T) || defined(CONFIG_CPU_ARM7TDMI) | 37 | #if defined(CONFIG_CPU_ARM720T) || defined(CONFIG_CPU_ARM7TDMI) || \ |
38 | defined(CONFIG_CPU_ARM9TDMI) | ||
38 | # ifdef _CACHE | 39 | # ifdef _CACHE |
39 | # define MULTI_CACHE 1 | 40 | # define MULTI_CACHE 1 |
40 | # else | 41 | # else |
diff --git a/include/asm-arm/proc-fns.h b/include/asm-arm/proc-fns.h index 17dfc0de9658..7bb9dab310f5 100644 --- a/include/asm-arm/proc-fns.h +++ b/include/asm-arm/proc-fns.h | |||
@@ -65,6 +65,14 @@ | |||
65 | # define CPU_NAME cpu_arm740 | 65 | # define CPU_NAME cpu_arm740 |
66 | # endif | 66 | # endif |
67 | # endif | 67 | # endif |
68 | # ifdef CONFIG_CPU_ARM9TDMI | ||
69 | # ifdef CPU_NAME | ||
70 | # undef MULTI_CPU | ||
71 | # define MULTI_CPU | ||
72 | # else | ||
73 | # define CPU_NAME cpu_arm9tdmi | ||
74 | # endif | ||
75 | # endif | ||
68 | # ifdef CONFIG_CPU_ARM920T | 76 | # ifdef CONFIG_CPU_ARM920T |
69 | # ifdef CPU_NAME | 77 | # ifdef CPU_NAME |
70 | # undef MULTI_CPU | 78 | # undef MULTI_CPU |