summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHyok S. Choi <hyok.choi@samsung.com>2006-09-26 10:38:05 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-27 18:39:17 +0200
commit43f5f0146ef5c3a3421ea53a0708fd37edcb8905 (patch)
tree9bc8d546aa0d801f28ef882937af929b0f4f22d3 /include
parent[ARM] nommu: add ARM740T core support (diff)
downloadlinux-43f5f0146ef5c3a3421ea53a0708fd37edcb8905.tar.xz
linux-43f5f0146ef5c3a3421ea53a0708fd37edcb8905.zip
[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.h3
-rw-r--r--include/asm-arm/proc-fns.h8
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 @@
# endif
#endif
-#if defined(CONFIG_CPU_ARM720T) || defined(CONFIG_CPU_ARM7TDMI)
+#if defined(CONFIG_CPU_ARM720T) || defined(CONFIG_CPU_ARM7TDMI) || \
+ defined(CONFIG_CPU_ARM9TDMI)
# ifdef _CACHE
# define MULTI_CACHE 1
# 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 @@
# define CPU_NAME cpu_arm740
# endif
# endif
+# ifdef CONFIG_CPU_ARM9TDMI
+# ifdef CPU_NAME
+# undef MULTI_CPU
+# define MULTI_CPU
+# else
+# define CPU_NAME cpu_arm9tdmi
+# endif
+# endif
# ifdef CONFIG_CPU_ARM920T
# ifdef CPU_NAME
# undef MULTI_CPU