diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-15 12:53:39 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-15 12:53:39 +0900 |
commit | 0d051d90bb08b516b9d6c30d25f83d3c6b5b1c1d (patch) | |
tree | eb4a84153cf9b7f3b6d7814e7ad61644fff75097 /arch/sh/mm/cache.c | |
parent | 79f1c9da5e5fc5f4705836d8c1cee2213fc80640 (diff) |
sh: Convert SH7705 extended mode to new cacheflush interface.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/cache.c')
-rw-r--r-- | arch/sh/mm/cache.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/mm/cache.c b/arch/sh/mm/cache.c index c9480b48c74..8618ccdc1ca 100644 --- a/arch/sh/mm/cache.c +++ b/arch/sh/mm/cache.c @@ -260,6 +260,13 @@ void __init cpu_cache_init(void) extern void __weak sh3_cache_init(void); sh3_cache_init(); + + if ((boot_cpu_data.type == CPU_SH7705) && + (boot_cpu_data.dcache.sets == 512)) { + extern void __weak sh7705_cache_init(void); + + sh7705_cache_init(); + } } if ((boot_cpu_data.family == CPU_FAMILY_SH4) || |