]> git.sur5r.net Git - u-boot/blobdiff - include/asm-ppc/cache.h
change mvBL-M7 default env and move to vendor subdir
[u-boot] / include / asm-ppc / cache.h
index e29bfc2a7b41adec84b90ec81c1ea5ec7eebac00..9d9b9717ddedbb1910b0a5ea8d09bef807e4d71c 100644 (file)
@@ -8,15 +8,13 @@
 #include <asm/processor.h>
 
 /* bytes per L1 cache line */
-#if !(defined(CONFIG_8xx) || defined(CONFIG_IOP480))
-#if defined(CONFIG_PPC64BRIDGE)
+#if defined(CONFIG_8xx) || defined(CONFIG_IOP480)
+#define        L1_CACHE_SHIFT  4
+#elif defined(CONFIG_PPC64BRIDGE)
 #define L1_CACHE_SHIFT 7
 #else
 #define        L1_CACHE_SHIFT  5
-#endif /* PPC64 */
-#else
-#define        L1_CACHE_SHIFT  4
-#endif /* !(8xx || IOP480) */
+#endif
 
 #define L1_CACHE_BYTES          (1 << L1_CACHE_SHIFT)