Title: [7745] trunk/arch/blackfin/mach-common/arch_checks.c: check for anomaly 475 (so reject all writeback cache modes)
- Revision
- 7745
- Author
- vapier
- Date
- 2009-11-02 21:57:45 -0500 (Mon, 02 Nov 2009)
Log Message
check for anomaly 475 (so reject all writeback cache modes)
Modified Paths
Diff
Modified: trunk/arch/blackfin/mach-common/arch_checks.c (7744 => 7745)
--- trunk/arch/blackfin/mach-common/arch_checks.c 2009-11-03 02:27:25 UTC (rev 7744)
+++ trunk/arch/blackfin/mach-common/arch_checks.c 2009-11-03 02:57:45 UTC (rev 7745)
@@ -57,3 +57,8 @@
(!defined(CONFIG_BFIN_EXTMEM_DCACHEABLE) && defined(CONFIG_BFIN_L2_WRITEBACK)))
# error You are exposing Anomaly 220 in this config, either config L2 as Write Through, or make External Memory WB.
#endif
+
+#if ANOMALY_05000475 && \
+ (defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK))
+# error "Anomaly 475 does not allow you to use Write Back cache with L2 or External Memory"
+#endif
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits