Skip to content

Commit a2ca78c

Browse files
committed
Blackfin: check for anomaly 05000475
Parts that have on-chip L2 SRAM cannot safely utilize writeback caching mode, so reject any attempts to use it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
1 parent f99e8c1 commit a2ca78c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎arch/blackfin/mach-common/arch_checks.c‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,8 @@
5757
(!defined(CONFIG_BFIN_EXTMEM_DCACHEABLE) && defined(CONFIG_BFIN_L2_WRITEBACK)))
5858
# error You are exposing Anomaly 220 in this config, either config L2 as Write Through, or make External Memory WB.
5959
#endif
60+
61+
#if ANOMALY_05000475 && \
62+
(defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK))
63+
# error "Anomaly 475 does not allow you to use Write Back cache with L2 or External Memory"
64+
#endif

0 commit comments

Comments
 (0)