summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHyok S. Choi <hyok.choi@samsung.com>2006-09-26 17:37:36 +0900
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-27 17:39:17 +0100
commit07e0da78abdc679714a12e7a60137d950c346681 (patch)
tree5a6e759c1063d8ec5113c37f72a906c7db711307 /include
parentf12d0d7c7786af39435ef6ae9defe47fb58f6091 (diff)
downloadop-kernel-dev-07e0da78abdc679714a12e7a60137d950c346681.zip
op-kernel-dev-07e0da78abdc679714a12e7a60137d950c346681.tar.gz
[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')
-rw-r--r--include/asm-arm/cacheflush.h2
-rw-r--r--include/asm-arm/proc-fns.h8
2 files changed, 9 insertions, 1 deletions
diff --git a/include/asm-arm/cacheflush.h b/include/asm-arm/cacheflush.h
index e4a2569..e7bfff2 100644
--- a/include/asm-arm/cacheflush.h
+++ b/include/asm-arm/cacheflush.h
@@ -33,7 +33,7 @@
# endif
#endif
-#if defined(CONFIG_CPU_ARM720T)
+#if defined(CONFIG_CPU_ARM720T) || defined(CONFIG_CPU_ARM7TDMI)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
diff --git a/include/asm-arm/proc-fns.h b/include/asm-arm/proc-fns.h
index 1bde92c..3e8c057 100644
--- a/include/asm-arm/proc-fns.h
+++ b/include/asm-arm/proc-fns.h
@@ -33,6 +33,14 @@
# define CPU_NAME cpu_arm6
# endif
# endif
+# ifdef CONFIG_CPU_ARM7TDMI
+# ifdef CPU_NAME
+# undef MULTI_CPU
+# define MULTI_CPU
+# else
+# define CPU_NAME cpu_arm7tdmi
+# endif
+# endif
# ifdef CONFIG_CPU_ARM710
# ifdef CPU_NAME
# undef MULTI_CPU
OpenPOWER on IntegriCloud