summaryrefslogtreecommitdiff
path: root/arch/mn10300/mm/Makefile
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2010-10-27 17:28:43 +0100
committerDavid Howells <dhowells@redhat.com>2010-10-27 17:28:43 +0100
commit518d4bb7464dd3c04aeb23874dc360b54058c01e (patch)
treedd8d4e9106d30b3c9432def9700e2b4ec205a915 /arch/mn10300/mm/Makefile
parent93c10d3d68c469c1addacbc541da5518f1de021d (diff)
MN10300: AM34: The current cacheflush routines operate by controlling tag regs
The current cache flush and invalidate routines operate by controlling the cache tag registers. Rename the files and add config items to select them. This makes it easier to support the use of other cache flush methods instead, such as the use of AM34's area purge registers, if available. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300/mm/Makefile')
-rw-r--r--arch/mn10300/mm/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mn10300/mm/Makefile b/arch/mn10300/mm/Makefile
index 1557277fbc5c..dc4b9f0ea65c 100644
--- a/arch/mn10300/mm/Makefile
+++ b/arch/mn10300/mm/Makefile
@@ -2,8 +2,9 @@
# Makefile for the MN10300-specific memory management code
#
-cacheflush-y := cache.o cache-mn10300.o
-cacheflush-$(CONFIG_MN10300_CACHE_WBACK) += cache-flush-mn10300.o
+cacheflush-y := cache.o
+cacheflush-$(CONFIG_MN10300_CACHE_INV_BY_TAG) += cache-inv-by-tag.o
+cacheflush-$(CONFIG_MN10300_CACHE_FLUSH_BY_TAG) += cache-flush-by-tag.o
cacheflush-$(CONFIG_MN10300_CACHE_DISABLED) := cache-disabled.o