diff options
author | Hyok S. Choi <hyok.choi@samsung.com> | 2006-09-26 04:37:36 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-27 12:39:17 -0400 |
commit | 07e0da78abdc679714a12e7a60137d950c346681 (patch) | |
tree | 5a6e759c1063d8ec5113c37f72a906c7db711307 /include/asm-arm | |
parent | f12d0d7c7786af39435ef6ae9defe47fb58f6091 (diff) |
[ARM] nommu: add ARM7TDMI core support
This patch adds ARM7TDMI 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/asm-arm')
-rw-r--r-- | include/asm-arm/cacheflush.h | 2 | ||||
-rw-r--r-- | include/asm-arm/proc-fns.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/asm-arm/cacheflush.h b/include/asm-arm/cacheflush.h index e4a2569c636c..e7bfff298e46 100644 --- a/include/asm-arm/cacheflush.h +++ b/include/asm-arm/cacheflush.h | |||
@@ -33,7 +33,7 @@ | |||
33 | # endif | 33 | # endif |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | #if defined(CONFIG_CPU_ARM720T) | 36 | #if defined(CONFIG_CPU_ARM720T) || defined(CONFIG_CPU_ARM7TDMI) |
37 | # ifdef _CACHE | 37 | # ifdef _CACHE |
38 | # define MULTI_CACHE 1 | 38 | # define MULTI_CACHE 1 |
39 | # else | 39 | # else |
diff --git a/include/asm-arm/proc-fns.h b/include/asm-arm/proc-fns.h index 1bde92cdaebd..3e8c057e66b5 100644 --- a/include/asm-arm/proc-fns.h +++ b/include/asm-arm/proc-fns.h | |||
@@ -33,6 +33,14 @@ | |||
33 | # define CPU_NAME cpu_arm6 | 33 | # define CPU_NAME cpu_arm6 |
34 | # endif | 34 | # endif |
35 | # endif | 35 | # endif |
36 | # ifdef CONFIG_CPU_ARM7TDMI | ||
37 | # ifdef CPU_NAME | ||
38 | # undef MULTI_CPU | ||
39 | # define MULTI_CPU | ||
40 | # else | ||
41 | # define CPU_NAME cpu_arm7tdmi | ||
42 | # endif | ||
43 | # endif | ||
36 | # ifdef CONFIG_CPU_ARM710 | 44 | # ifdef CONFIG_CPU_ARM710 |
37 | # ifdef CPU_NAME | 45 | # ifdef CPU_NAME |
38 | # undef MULTI_CPU | 46 | # undef MULTI_CPU |