summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHyok S. Choi <hyok.choi@samsung.com>2006-09-26 17:37:50 +0900
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-27 17:39:17 +0100
commitb731c3118d87f26c8bf3f358ffbbc24450af50a6 (patch)
tree63e280a475d81eb39c16a7fbd4cd12568b4e1f1e /include
parent07e0da78abdc679714a12e7a60137d950c346681 (diff)
[ARM] nommu: add ARM740T core support
This patch adds ARM740T core support which has a MPU and 4KB or 8KB cache. 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 e7bfff298e46..24924e64f883 100644
--- a/include/asm-arm/cacheflush.h
+++ b/include/asm-arm/cacheflush.h
@@ -25,7 +25,8 @@
#undef _CACHE
#undef MULTI_CACHE
-#if defined(CONFIG_CPU_ARM610) || defined(CONFIG_CPU_ARM710)
+#if defined(CONFIG_CPU_ARM610) || defined(CONFIG_CPU_ARM710) || \
+ defined(CONFIG_CPU_ARM740T)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
diff --git a/include/asm-arm/proc-fns.h b/include/asm-arm/proc-fns.h
index 3e8c057e66b5..17dfc0de9658 100644
--- a/include/asm-arm/proc-fns.h
+++ b/include/asm-arm/proc-fns.h
@@ -57,6 +57,14 @@
# define CPU_NAME cpu_arm720
# endif
# endif
+# ifdef CONFIG_CPU_ARM740T
+# ifdef CPU_NAME
+# undef MULTI_CPU
+# define MULTI_CPU
+# else
+# define CPU_NAME cpu_arm740
+# endif
+# endif
# ifdef CONFIG_CPU_ARM920T
# ifdef CPU_NAME
# undef MULTI_CPU