]> git.sur5r.net Git - u-boot/blobdiff - cpu/mpc85xx/release.S
ppc/85xx: Fix enabling of L2 cache
[u-boot] / cpu / mpc85xx / release.S
index 074b056b7497b2c57cd8a798f12e272e5317401a..ecbd0d585770474704224a422a04d445caca8eff 100644 (file)
@@ -102,7 +102,8 @@ __secondary_start_page:
 #ifdef CONFIG_BACKSIDE_L2_CACHE
        /* Enable/invalidate the L2 cache */
        msync
-       lis     r3,L2CSR0_L2FI@h
+       lis     r3,(L2CSR0_L2FI|L2CSR0_L2LFC)@h
+       ori     r3,r3,(L2CSR0_L2FI|L2CSR0_L2LFC)@l
        mtspr   SPRN_L2CSR0,r3
 1:
        mfspr   r3,SPRN_L2CSR0