]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/cpu/mpc85xx/release.S
Merge branch 'master' of git://git.denx.de/u-boot-samsung
[u-boot] / arch / powerpc / cpu / mpc85xx / release.S
index 0b5b9da032a7aa19896dbef3fe6cd7073eb9c916..56a853ee572b70e55ee13731a5f7e8e03cc3cdb9 100644 (file)
@@ -21,6 +21,7 @@
  * MA 02111-1307 USA
  */
 
+#include <asm-offsets.h>
 #include <config.h>
 #include <mpc85xx.h>
 #include <version.h>
@@ -136,6 +137,12 @@ __secondary_start_page:
        mtspr   L1CSR2,r8
 #endif
 
+#if defined(CONFIG_SYS_P4080_ERRATUM_CPU22)
+       mfspr   r8,L1CSR2
+       oris    r8,r8,(L1CSR2_DCWS)@h
+       mtspr   L1CSR2,r8
+#endif
+
 #ifdef CONFIG_BACKSIDE_L2_CACHE
        /* Enable/invalidate the L2 cache */
        msync