]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/sh/mm/cache.c
sh: Convert SH7705 extended mode to new cacheflush interface.
[karo-tx-linux.git] / arch / sh / mm / cache.c
index c9480b48c7464546efa9f5401c1e994e80f849f5..8618ccdc1ca524fc48b58bb48b6c1bb01603d987 100644 (file)
@@ -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) ||