]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arc/lib/start.S
arc: add support for SLC (System Level Cache, AKA L2-cache)
[people/ms/u-boot.git] / arch / arc / lib / start.S
index 48ee86e54adf506ebcf26c0eb91cea1c0675635f..e1ef19cb88997d8a998c463a6997d3733499895d 100644 (file)
@@ -18,6 +18,10 @@ ENTRY(_start)
        mov     %fp, %sp
 
        /* Unconditionally disable caches */
+#ifdef CONFIG_ISA_ARCV2
+       bl      slc_flush
+       bl      slc_disable
+#endif
        bl      flush_dcache_all
        bl      dcache_disable
        bl      icache_disable