diff options
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) || |