aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHyok S. Choi <hyok.choi@samsung.com>2006-09-26 04:38:18 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-27 12:39:18 -0400
commitd60674eb5d961b2421db16cc373dc163f38cc105 (patch)
treef2d6e9fad27cd132e5a45f88350f80cae7444e5c /include
parent43f5f0146ef5c3a3421ea53a0708fd37edcb8905 (diff)
[ARM] nommu: add ARM940T core support
This patch adds ARM940T core support which has 4KB D-cache, 4KB I-cache and a MPU. 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.h8
-rw-r--r--include/asm-arm/proc-fns.h8
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