Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218714
b: refs/heads/master
c: 518d4bb
h: refs/heads/master
v: v3
  • Loading branch information
David Howells committed Oct 27, 2010
1 parent 81c209b commit 859092f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93c10d3d68c469c1addacbc541da5518f1de021d
refs/heads/master: 518d4bb7464dd3c04aeb23874dc360b54058c01e
20 changes: 20 additions & 0 deletions trunk/arch/mn10300/mm/Kconfig.cache
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,23 @@ endchoice

config MN10300_CACHE_ENABLED
def_bool y if !MN10300_CACHE_DISABLED


choice
prompt "CPU cache flush/invalidate method"
default MN10300_CACHE_MANAGE_BY_TAG
depends on MN10300_CACHE_ENABLED
help
This determines the method by which CPU cache flushing and
invalidation is performed.

config MN10300_CACHE_MANAGE_BY_TAG
bool "Use the cache tag registers directly"

endchoice

config MN10300_CACHE_INV_BY_TAG
def_bool y if MN10300_CACHE_MANAGE_BY_TAG && MN10300_CACHE_ENABLED

config MN10300_CACHE_FLUSH_BY_TAG
def_bool y if MN10300_CACHE_MANAGE_BY_TAG && MN10300_CACHE_WBACK
5 changes: 3 additions & 2 deletions trunk/arch/mn10300/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 859092f

Please sign in to comment.