blob: 543cd3fb305e0dfb25550dbfeed4e3cc110dfb70 [file] [log] [blame]
Mike Frysinger66c4cf42008-02-04 19:26:55 -05001/*
Mike Frysingerfbc6ff62010-05-05 02:38:34 -04002 * DO NOT EDIT THIS FILE
3 * This file is under version control at
4 * svn://sources.blackfin.uclinux.org/toolchain/trunk/proc-defs/header-frags/
5 * and can be replaced with that version at any time
6 * DO NOT EDIT THIS FILE
Mike Frysinger66c4cf42008-02-04 19:26:55 -05007 *
Mike Frysinger61c28732011-06-08 18:17:09 -04008 * Copyright 2004-2011 Analog Devices Inc.
Mike Frysingerfbc6ff62010-05-05 02:38:34 -04009 * Licensed under the ADI BSD license.
10 * https://docs.blackfin.uclinux.org/doku.php?id=adi_bsd
Mike Frysinger66c4cf42008-02-04 19:26:55 -050011 */
12
Mike Frysinger8b416b32009-04-04 08:22:36 -040013/* This file should be up to date with:
Mike Frysinger61c28732011-06-08 18:17:09 -040014 * - Revision F, 05/23/2011; ADSP-BF534/ADSP-BF536/ADSP-BF537 Blackfin Processor Anomaly List
Mike Frysinger66c4cf42008-02-04 19:26:55 -050015 */
16
17#ifndef _MACH_ANOMALY_H_
18#define _MACH_ANOMALY_H_
19
20/* We do not support 0.1 silicon - sorry */
21#if __SILICON_REVISION__ < 2
22# error will not work on BF537 silicon version 0.0 or 0.1
23#endif
24
25#if defined(__ADSPBF534__)
26# define ANOMALY_BF534 1
27#else
28# define ANOMALY_BF534 0
29#endif
30#if defined(__ADSPBF536__)
31# define ANOMALY_BF536 1
32#else
33# define ANOMALY_BF536 0
34#endif
35#if defined(__ADSPBF537__)
36# define ANOMALY_BF537 1
37#else
38# define ANOMALY_BF537 0
39#endif
40
Mike Frysingerfbc6ff62010-05-05 02:38:34 -040041/* Multi-Issue Instruction with dsp32shiftimm in slot1 and P-reg Store in slot2 Not Supported */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050042#define ANOMALY_05000074 (1)
Mike Frysinger8b416b32009-04-04 08:22:36 -040043/* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050044#define ANOMALY_05000119 (1)
Mike Frysinger8b416b32009-04-04 08:22:36 -040045/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050046#define ANOMALY_05000122 (1)
Mike Frysinger8b416b32009-04-04 08:22:36 -040047/* PPI_DELAY Not Functional in PPI Modes with 0 Frame Syncs */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050048#define ANOMALY_05000180 (1)
Mike Frysinger8b416b32009-04-04 08:22:36 -040049/* If I-Cache Is On, CSYNC/SSYNC/IDLE Around Change of Control Causes Failures */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050050#define ANOMALY_05000244 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040051/* False Hardware Error from an Access in the Shadow of a Conditional Branch */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050052#define ANOMALY_05000245 (1)
Mike Frysinger8b416b32009-04-04 08:22:36 -040053/* Incorrect Bit Shift of Data Word in Multichannel (TDM) Mode in Certain Conditions */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050054#define ANOMALY_05000250 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -040055/* EMAC TX DMA Error After an Early Frame Abort */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050056#define ANOMALY_05000252 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040057/* Maximum External Clock Speed for Timers */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050058#define ANOMALY_05000253 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040059/* Incorrect Timer Pulse Width in Single-Shot PWM_OUT Mode with External Clock */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050060#define ANOMALY_05000254 (__SILICON_REVISION__ > 2)
Mike Frysinger8b416b32009-04-04 08:22:36 -040061/* Entering Hibernate State with RTC Seconds Interrupt Not Functional */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050062#define ANOMALY_05000255 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -040063/* EMAC MDIO Input Latched on Wrong MDC Edge */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050064#define ANOMALY_05000256 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040065/* Interrupt/Exception During Short Hardware Loop May Cause Bad Instruction Fetches */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050066#define ANOMALY_05000257 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040067/* Instruction Cache Is Corrupted When Bits 9 and 12 of the ICPLB Data Registers Differ */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050068#define ANOMALY_05000258 (((ANOMALY_BF536 || ANOMALY_BF537) && __SILICON_REVISION__ == 1) || __SILICON_REVISION__ == 2)
Mike Frysinger8b416b32009-04-04 08:22:36 -040069/* ICPLB_STATUS MMR Register May Be Corrupted */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050070#define ANOMALY_05000260 (__SILICON_REVISION__ == 2)
Mike Frysinger8b416b32009-04-04 08:22:36 -040071/* DCPLB_FAULT_ADDR MMR Register May Be Corrupted */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050072#define ANOMALY_05000261 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040073/* Stores To Data Cache May Be Lost */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050074#define ANOMALY_05000262 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040075/* Hardware Loop Corrupted When Taking an ICPLB Exception */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050076#define ANOMALY_05000263 (__SILICON_REVISION__ == 2)
Mike Frysinger8b416b32009-04-04 08:22:36 -040077/* CSYNC/SSYNC/IDLE Causes Infinite Stall in Penultimate Instruction in Hardware Loop */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050078#define ANOMALY_05000264 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040079/* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050080#define ANOMALY_05000265 (1)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -040081/* Memory DMA Error when Peripheral DMA Is Running with Non-Zero DEB_TRAFFIC_PERIOD */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050082#define ANOMALY_05000268 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040083/* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Decrease */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050084#define ANOMALY_05000270 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040085/* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050086#define ANOMALY_05000272 (1)
Mike Frysinger8b416b32009-04-04 08:22:36 -040087/* Writes to Synchronous SDRAM Memory May Be Lost */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050088#define ANOMALY_05000273 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040089/* Writes to an I/O Data Register One SCLK Cycle after an Edge Is Detected May Clear Interrupt */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050090#define ANOMALY_05000277 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040091/* Disabling Peripherals with DMA Running May Cause DMA System Instability */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050092#define ANOMALY_05000278 (((ANOMALY_BF536 || ANOMALY_BF537) && __SILICON_REVISION__ < 3) || (ANOMALY_BF534 && __SILICON_REVISION__ < 2))
Mike Frysingerfbc6ff62010-05-05 02:38:34 -040093/* SPI Master Boot Mode Does Not Work Well with Atmel Data Flash Devices */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050094#define ANOMALY_05000280 (1)
Mike Frysinger61c28732011-06-08 18:17:09 -040095/* False Hardware Error when ISR Context Is Not Restored */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050096#define ANOMALY_05000281 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -040097/* Memory DMA Corruption with 32-Bit Data and Traffic Control */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050098#define ANOMALY_05000282 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -040099/* System MMR Write Is Stalled Indefinitely when Killed in a Particular Stage */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500100#define ANOMALY_05000283 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400101/* TXDWA Bit in EMAC_SYSCTL Register Is Not Functional */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500102#define ANOMALY_05000285 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400103/* SPORTs May Receive Bad Data If FIFOs Fill Up */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500104#define ANOMALY_05000288 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400105/* Memory-To-Memory DMA Source/Destination Descriptors Must Be in Same Memory Space */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500106#define ANOMALY_05000301 (1)
107/* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
108#define ANOMALY_05000304 (__SILICON_REVISION__ < 3)
Mike Frysingerd4bf13a2009-02-18 12:51:31 -0500109/* SPORT_HYS Bit in PLL_CTL Register Is Not Functional */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500110#define ANOMALY_05000305 (__SILICON_REVISION__ < 3)
111/* SCKELOW Bit Does Not Maintain State Through Hibernate */
112#define ANOMALY_05000307 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400113/* Writing UART_THR While UART Clock Is Disabled Sends Erroneous Start Bit */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500114#define ANOMALY_05000309 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400115/* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500116#define ANOMALY_05000310 (1)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400117/* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500118#define ANOMALY_05000312 (1)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400119/* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500120#define ANOMALY_05000313 (1)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400121/* Killed System MMR Write Completes Erroneously on Next System MMR Access */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500122#define ANOMALY_05000315 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400123/* EMAC RMII Mode: Collisions Occur in Full Duplex Mode */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500124#define ANOMALY_05000316 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400125/* EMAC RMII Mode: TX Frames in Half Duplex Fail with Status "No Carrier" */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500126#define ANOMALY_05000321 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400127/* EMAC RMII Mode at 10-Base-T Speed: RX Frames Not Received Properly */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500128#define ANOMALY_05000322 (1)
129/* Ethernet MAC MDIO Reads Do Not Meet IEEE Specification */
130#define ANOMALY_05000341 (__SILICON_REVISION__ >= 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400131/* UART Gets Disabled after UART Boot */
Mike Frysinger5e857882008-08-07 13:09:50 -0400132#define ANOMALY_05000350 (__SILICON_REVISION__ >= 3)
133/* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
134#define ANOMALY_05000355 (1)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500135/* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
136#define ANOMALY_05000357 (1)
137/* DMAs that Go Urgent during Tight Core Writes to External Memory Are Blocked */
138#define ANOMALY_05000359 (1)
Mike Frysinger5e857882008-08-07 13:09:50 -0400139/* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
140#define ANOMALY_05000366 (1)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500141/* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
142#define ANOMALY_05000371 (1)
Mike Frysinger5e857882008-08-07 13:09:50 -0400143/* SSYNC Stalls Processor when Executed from Non-Cacheable Memory */
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400144#define ANOMALY_05000402 (__SILICON_REVISION__ == 2)
Mike Frysinger5e857882008-08-07 13:09:50 -0400145/* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
146#define ANOMALY_05000403 (1)
Mike Frysinger21797192008-10-06 03:45:55 -0400147/* Speculative Fetches Can Cause Undesired External FIFO Operations */
148#define ANOMALY_05000416 (1)
149/* Multichannel SPORT Channel Misalignment Under Specific Configuration */
150#define ANOMALY_05000425 (1)
151/* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
152#define ANOMALY_05000426 (1)
153/* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
154#define ANOMALY_05000443 (1)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400155/* False Hardware Error when RETI Points to Invalid Memory */
156#define ANOMALY_05000461 (1)
Mike Frysinger42cb1bb2010-10-14 14:22:02 -0400157/* Synchronization Problem at Startup May Cause SPORT Transmit Channels to Misalign */
158#define ANOMALY_05000462 (1)
Mike Frysinger61c28732011-06-08 18:17:09 -0400159/* Interrupted SPORT Receive Data Register Read Results In Underflow when SLEN > 15 */
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400160#define ANOMALY_05000473 (1)
Mike Frysinger61c28732011-06-08 18:17:09 -0400161/* Possible Lockup Condition when Modifying PLL from External Memory */
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400162#define ANOMALY_05000475 (1)
163/* TESTSET Instruction Cannot Be Interrupted */
164#define ANOMALY_05000477 (1)
Mike Frysinger42cb1bb2010-10-14 14:22:02 -0400165/* Multiple Simultaneous Urgent DMA Requests May Cause DMA System Instability */
166#define ANOMALY_05000480 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400167/* Reads of ITEST_COMMAND and ITEST_DATA Registers Cause Cache Corruption */
168#define ANOMALY_05000481 (1)
Mike Frysinger61c28732011-06-08 18:17:09 -0400169/* PLL May Latch Incorrect Values Coming Out of Reset */
170#define ANOMALY_05000489 (1)
171/* Instruction Memory Stalls Can Cause IFLUSH to Fail */
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400172#define ANOMALY_05000491 (1)
Mike Frysinger61c28732011-06-08 18:17:09 -0400173/* EXCPT Instruction May Be Lost If NMI Happens Simultaneously */
174#define ANOMALY_05000494 (1)
175/* RXS Bit in SPI_STAT May Become Stuck In RX DMA Modes */
176#define ANOMALY_05000501 (1)
177
178/*
179 * These anomalies have been "phased" out of analog.com anomaly sheets and are
180 * here to show running on older silicon just isn't feasible.
181 */
182
183/* Killed 32-Bit MMR Write Leads to Next System MMR Access Thinking It Should Be 32-Bit */
184#define ANOMALY_05000157 (__SILICON_REVISION__ < 2)
185/* Instruction Cache Is Not Functional */
186#define ANOMALY_05000237 (__SILICON_REVISION__ < 2)
187/* Buffered CLKIN Output Is Disabled by Default */
188#define ANOMALY_05000247 (__SILICON_REVISION__ < 2)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500189
190/* Anomalies that don't exist on this proc */
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400191#define ANOMALY_05000099 (0)
192#define ANOMALY_05000120 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500193#define ANOMALY_05000125 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400194#define ANOMALY_05000149 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500195#define ANOMALY_05000158 (0)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400196#define ANOMALY_05000171 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400197#define ANOMALY_05000179 (0)
198#define ANOMALY_05000182 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500199#define ANOMALY_05000183 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400200#define ANOMALY_05000189 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500201#define ANOMALY_05000198 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400202#define ANOMALY_05000202 (0)
203#define ANOMALY_05000215 (0)
204#define ANOMALY_05000219 (0)
205#define ANOMALY_05000220 (0)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400206#define ANOMALY_05000227 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500207#define ANOMALY_05000230 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400208#define ANOMALY_05000231 (0)
209#define ANOMALY_05000233 (0)
210#define ANOMALY_05000234 (0)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400211#define ANOMALY_05000242 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400212#define ANOMALY_05000248 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500213#define ANOMALY_05000266 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400214#define ANOMALY_05000274 (0)
215#define ANOMALY_05000287 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500216#define ANOMALY_05000311 (0)
217#define ANOMALY_05000323 (0)
Mike Frysinger5e857882008-08-07 13:09:50 -0400218#define ANOMALY_05000353 (1)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400219#define ANOMALY_05000362 (1)
Mike Frysinger5e857882008-08-07 13:09:50 -0400220#define ANOMALY_05000363 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400221#define ANOMALY_05000364 (0)
Mike Frysingerd4bf13a2009-02-18 12:51:31 -0500222#define ANOMALY_05000380 (0)
Mike Frysinger61c28732011-06-08 18:17:09 -0400223#define ANOMALY_05000383 (0)
Mike Frysinger21797192008-10-06 03:45:55 -0400224#define ANOMALY_05000386 (1)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400225#define ANOMALY_05000389 (0)
226#define ANOMALY_05000400 (0)
Mike Frysinger21797192008-10-06 03:45:55 -0400227#define ANOMALY_05000412 (0)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400228#define ANOMALY_05000430 (0)
Mike Frysinger21797192008-10-06 03:45:55 -0400229#define ANOMALY_05000432 (0)
230#define ANOMALY_05000435 (0)
Mike Frysinger42cb1bb2010-10-14 14:22:02 -0400231#define ANOMALY_05000440 (0)
Mike Frysingerd4bf13a2009-02-18 12:51:31 -0500232#define ANOMALY_05000447 (0)
233#define ANOMALY_05000448 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400234#define ANOMALY_05000456 (0)
235#define ANOMALY_05000450 (0)
236#define ANOMALY_05000465 (0)
237#define ANOMALY_05000467 (0)
238#define ANOMALY_05000474 (0)
239#define ANOMALY_05000485 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500240
241#endif