]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc85xx/fdt.c
powerpc/mpc85xx:Make L2 cache type independent of CHASSIS2
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc85xx / fdt.c
index 533d47ab438a86889ec0b0dbc0ccc54f2f1bf00c..2ccd9c7b95b5c7eddf7088068ace5b5bad2f6893 100644 (file)
@@ -273,7 +273,7 @@ static inline void ft_fixup_l2cache(void *blob)
                if (has_l2) {
 #ifdef CONFIG_SYS_CACHE_STASHING
                        u32 *reg = (u32 *)fdt_getprop(blob, off, "reg", 0);
-#ifdef CONFIG_SYS_FSL_QORIQ_CHASSIS2
+#if defined(CONFIG_SYS_FSL_QORIQ_CHASSIS2) && defined(CONFIG_E6500)
                        /* Only initialize every eighth thread */
                        if (reg && !((*reg) % 8))
 #else