diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 23:53:39 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-14 23:53:39 -0400 |
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 c9480b48c746..8618ccdc1ca5 100644 --- a/arch/sh/mm/cache.c +++ b/arch/sh/mm/cache.c | |||
@@ -260,6 +260,13 @@ void __init cpu_cache_init(void) | |||
260 | extern void __weak sh3_cache_init(void); | 260 | extern void __weak sh3_cache_init(void); |
261 | 261 | ||
262 | sh3_cache_init(); | 262 | sh3_cache_init(); |
263 | |||
264 | if ((boot_cpu_data.type == CPU_SH7705) && | ||
265 | (boot_cpu_data.dcache.sets == 512)) { | ||
266 | extern void __weak sh7705_cache_init(void); | ||
267 | |||
268 | sh7705_cache_init(); | ||
269 | } | ||
263 | } | 270 | } |
264 | 271 | ||
265 | if ((boot_cpu_data.family == CPU_FAMILY_SH4) || | 272 | if ((boot_cpu_data.family == CPU_FAMILY_SH4) || |