blob: 03f2b40912a36ae558157d8bcea8e9cd60ec3a32 [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 G, 05/23/2011; ADSP-BF531/BF532/BF533 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 or 0.2 silicon - sorry */
21#if __SILICON_REVISION__ < 3
22# error will not work on BF533 silicon version 0.0, 0.1, or 0.2
23#endif
24
25#if defined(__ADSPBF531__)
26# define ANOMALY_BF531 1
27#else
28# define ANOMALY_BF531 0
29#endif
30#if defined(__ADSPBF532__)
31# define ANOMALY_BF532 1
32#else
33# define ANOMALY_BF532 0
34#endif
35#if defined(__ADSPBF533__)
36# define ANOMALY_BF533 1
37#else
38# define ANOMALY_BF533 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)
43/* UART Line Status Register (UART_LSR) Bits Are Not Updated at the Same Time */
44#define ANOMALY_05000099 (__SILICON_REVISION__ < 5)
45/* Watchpoint Status Register (WPSTAT) Bits Are Set on Every Corresponding Match */
Mike Frysinger8b416b32009-04-04 08:22:36 -040046#define ANOMALY_05000105 (__SILICON_REVISION__ > 2)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050047/* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
48#define ANOMALY_05000119 (1)
49/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
50#define ANOMALY_05000122 (1)
51/* Instruction DMA Can Cause Data Cache Fills to Fail (Boot Implications) */
52#define ANOMALY_05000158 (__SILICON_REVISION__ < 5)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -040053/* PPI Data Lengths between 8 and 16 Do Not Zero Out Upper Bits */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050054#define ANOMALY_05000166 (1)
Mike Frysinger8b416b32009-04-04 08:22:36 -040055/* Turning SPORTs on while External Frame Sync Is Active May Corrupt Data */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050056#define ANOMALY_05000167 (1)
57/* PPI_COUNT Cannot Be Programmed to 0 in General Purpose TX or RX Modes */
58#define ANOMALY_05000179 (__SILICON_REVISION__ < 5)
59/* PPI_DELAY Not Functional in PPI Modes with 0 Frame Syncs */
60#define ANOMALY_05000180 (1)
61/* Timer Pin Limitations for PPI TX Modes with External Frame Syncs */
62#define ANOMALY_05000183 (__SILICON_REVISION__ < 4)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -040063/* False Protection Exceptions when Speculative Fetch Is Cancelled */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050064#define ANOMALY_05000189 (__SILICON_REVISION__ < 4)
65/* False I/O Pin Interrupts on Edge-Sensitive Inputs When Polarity Setting Is Changed */
66#define ANOMALY_05000193 (__SILICON_REVISION__ < 4)
67/* Restarting SPORT in Specific Modes May Cause Data Corruption */
68#define ANOMALY_05000194 (__SILICON_REVISION__ < 4)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -040069/* Failing MMR Accesses when Preceding Memory Read Stalls */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050070#define ANOMALY_05000198 (__SILICON_REVISION__ < 5)
71/* Current DMA Address Shows Wrong Value During Carry Fix */
72#define ANOMALY_05000199 (__SILICON_REVISION__ < 4)
73/* SPORT TFS and DT Are Incorrectly Driven During Inactive Channels in Certain Conditions */
Mike Frysinger8b416b32009-04-04 08:22:36 -040074#define ANOMALY_05000200 (__SILICON_REVISION__ == 3 || __SILICON_REVISION__ == 4)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050075/* Receive Frame Sync Not Ignored During Active Frames in SPORT Multi-Channel Mode */
Mike Frysinger8b416b32009-04-04 08:22:36 -040076#define ANOMALY_05000201 (__SILICON_REVISION__ == 3)
Mike Frysinger66c4cf42008-02-04 19:26:55 -050077/* Possible Infinite Stall with Specific Dual-DAG Situation */
78#define ANOMALY_05000202 (__SILICON_REVISION__ < 5)
79/* Specific Sequence That Can Cause DMA Error or DMA Stopping */
80#define ANOMALY_05000203 (__SILICON_REVISION__ < 4)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -040081/* Incorrect Data Read with Writethrough "Allocate Cache Lines on Reads Only" Cache Mode */
Mike Frysinger66c4cf42008-02-04 19:26:55 -050082#define ANOMALY_05000204 (__SILICON_REVISION__ < 4 && ANOMALY_BF533)
83/* Recovery from "Brown-Out" Condition */
84#define ANOMALY_05000207 (__SILICON_REVISION__ < 4)
85/* VSTAT Status Bit in PLL_STAT Register Is Not Functional */
86#define ANOMALY_05000208 (1)
87/* Speed Path in Computational Unit Affects Certain Instructions */
88#define ANOMALY_05000209 (__SILICON_REVISION__ < 4)
89/* UART TX Interrupt Masked Erroneously */
90#define ANOMALY_05000215 (__SILICON_REVISION__ < 5)
91/* NMI Event at Boot Time Results in Unpredictable State */
92#define ANOMALY_05000219 (1)
93/* Incorrect Pulse-Width of UART Start Bit */
94#define ANOMALY_05000225 (__SILICON_REVISION__ < 5)
95/* Scratchpad Memory Bank Reads May Return Incorrect Data */
96#define ANOMALY_05000227 (__SILICON_REVISION__ < 5)
97/* SPI Slave Boot Mode Modifies Registers from Reset Value */
98#define ANOMALY_05000229 (1)
99/* UART Receiver is Less Robust Against Baudrate Differences in Certain Conditions */
100#define ANOMALY_05000230 (__SILICON_REVISION__ < 5)
101/* UART STB Bit Incorrectly Affects Receiver Setting */
102#define ANOMALY_05000231 (__SILICON_REVISION__ < 5)
103/* PPI_FS3 Is Not Driven in 2 or 3 Internal Frame Sync Transmit Modes */
Mike Frysinger21797192008-10-06 03:45:55 -0400104#define ANOMALY_05000233 (__SILICON_REVISION__ < 6)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500105/* Incorrect Revision Number in DSPID Register */
106#define ANOMALY_05000234 (__SILICON_REVISION__ == 4)
107/* DF Bit in PLL_CTL Register Does Not Respond to Hardware Reset */
Mike Frysinger21797192008-10-06 03:45:55 -0400108#define ANOMALY_05000242 (__SILICON_REVISION__ < 5)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500109/* If I-Cache Is On, CSYNC/SSYNC/IDLE Around Change of Control Causes Failures */
110#define ANOMALY_05000244 (__SILICON_REVISION__ < 5)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400111/* False Hardware Error from an Access in the Shadow of a Conditional Branch */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500112#define ANOMALY_05000245 (1)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400113/* Data CPLBs Should Prevent False Hardware Errors */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500114#define ANOMALY_05000246 (__SILICON_REVISION__ < 5)
115/* Incorrect Bit Shift of Data Word in Multichannel (TDM) Mode in Certain Conditions */
116#define ANOMALY_05000250 (__SILICON_REVISION__ == 4)
117/* Maximum External Clock Speed for Timers */
118#define ANOMALY_05000253 (__SILICON_REVISION__ < 5)
119/* Incorrect Timer Pulse Width in Single-Shot PWM_OUT Mode with External Clock */
120#define ANOMALY_05000254 (__SILICON_REVISION__ > 4)
121/* Entering Hibernate State with RTC Seconds Interrupt Not Functional */
122#define ANOMALY_05000255 (__SILICON_REVISION__ < 5)
123/* Interrupt/Exception During Short Hardware Loop May Cause Bad Instruction Fetches */
124#define ANOMALY_05000257 (__SILICON_REVISION__ < 5)
125/* Instruction Cache Is Corrupted When Bits 9 and 12 of the ICPLB Data Registers Differ */
126#define ANOMALY_05000258 (__SILICON_REVISION__ < 5)
127/* ICPLB_STATUS MMR Register May Be Corrupted */
128#define ANOMALY_05000260 (__SILICON_REVISION__ < 5)
129/* DCPLB_FAULT_ADDR MMR Register May Be Corrupted */
130#define ANOMALY_05000261 (__SILICON_REVISION__ < 5)
131/* Stores To Data Cache May Be Lost */
132#define ANOMALY_05000262 (__SILICON_REVISION__ < 5)
133/* Hardware Loop Corrupted When Taking an ICPLB Exception */
134#define ANOMALY_05000263 (__SILICON_REVISION__ < 5)
135/* CSYNC/SSYNC/IDLE Causes Infinite Stall in Penultimate Instruction in Hardware Loop */
136#define ANOMALY_05000264 (__SILICON_REVISION__ < 5)
137/* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
Mike Frysinger21797192008-10-06 03:45:55 -0400138#define ANOMALY_05000265 (1)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500139/* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Increase */
140#define ANOMALY_05000269 (__SILICON_REVISION__ < 5)
141/* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Decrease */
142#define ANOMALY_05000270 (__SILICON_REVISION__ < 5)
143/* Spontaneous Reset of Internal Voltage Regulator */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400144#define ANOMALY_05000271 (__SILICON_REVISION__ == 3)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500145/* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
146#define ANOMALY_05000272 (1)
147/* Writes to Synchronous SDRAM Memory May Be Lost */
Mike Frysinger21797192008-10-06 03:45:55 -0400148#define ANOMALY_05000273 (__SILICON_REVISION__ < 6)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500149/* Timing Requirements Change for External Frame Sync PPI Modes with Non-Zero PPI_DELAY */
150#define ANOMALY_05000276 (1)
151/* Writes to an I/O Data Register One SCLK Cycle after an Edge Is Detected May Clear Interrupt */
Mike Frysinger21797192008-10-06 03:45:55 -0400152#define ANOMALY_05000277 (__SILICON_REVISION__ < 6)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500153/* Disabling Peripherals with DMA Running May Cause DMA System Instability */
Mike Frysinger21797192008-10-06 03:45:55 -0400154#define ANOMALY_05000278 (__SILICON_REVISION__ < 6)
Mike Frysinger61c28732011-06-08 18:17:09 -0400155/* False Hardware Error when ISR Context Is Not Restored */
Mike Frysinger21797192008-10-06 03:45:55 -0400156#define ANOMALY_05000281 (__SILICON_REVISION__ < 6)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500157/* Memory DMA Corruption with 32-Bit Data and Traffic Control */
Mike Frysinger21797192008-10-06 03:45:55 -0400158#define ANOMALY_05000282 (__SILICON_REVISION__ < 6)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400159/* System MMR Write Is Stalled Indefinitely when Killed in a Particular Stage */
Mike Frysinger21797192008-10-06 03:45:55 -0400160#define ANOMALY_05000283 (__SILICON_REVISION__ < 6)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500161/* SPORTs May Receive Bad Data If FIFOs Fill Up */
Mike Frysinger21797192008-10-06 03:45:55 -0400162#define ANOMALY_05000288 (__SILICON_REVISION__ < 6)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500163/* Memory-To-Memory DMA Source/Destination Descriptors Must Be in Same Memory Space */
Mike Frysinger21797192008-10-06 03:45:55 -0400164#define ANOMALY_05000301 (__SILICON_REVISION__ < 6)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400165/* SSYNCs after Writes to DMA MMR Registers May Not Be Handled Correctly */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500166#define ANOMALY_05000302 (__SILICON_REVISION__ < 5)
Mike Frysingerd4bf13a2009-02-18 12:51:31 -0500167/* SPORT_HYS Bit in PLL_CTL Register Is Not Functional */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500168#define ANOMALY_05000305 (__SILICON_REVISION__ < 5)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400169/* ALT_TIMING Bit in PPI_CONTROL Register Is Not Functional */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500170#define ANOMALY_05000306 (__SILICON_REVISION__ < 5)
Mike Frysinger5e857882008-08-07 13:09:50 -0400171/* SCKELOW Bit Does Not Maintain State Through Hibernate */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400172#define ANOMALY_05000307 (1) /* note: brokenness is noted in documentation, not anomaly sheet */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500173/* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
174#define ANOMALY_05000310 (1)
175/* Erroneous Flag (GPIO) Pin Operations under Specific Sequences */
Mike Frysinger21797192008-10-06 03:45:55 -0400176#define ANOMALY_05000311 (__SILICON_REVISION__ < 6)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400177/* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
Mike Frysinger21797192008-10-06 03:45:55 -0400178#define ANOMALY_05000312 (__SILICON_REVISION__ < 6)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400179/* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
Mike Frysinger21797192008-10-06 03:45:55 -0400180#define ANOMALY_05000313 (__SILICON_REVISION__ < 6)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400181/* Killed System MMR Write Completes Erroneously on Next System MMR Access */
Mike Frysinger21797192008-10-06 03:45:55 -0400182#define ANOMALY_05000315 (__SILICON_REVISION__ < 6)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500183/* Internal Voltage Regulator Values of 1.05V, 1.10V and 1.15V Not Allowed for LQFP Packages */
Mike Frysinger21797192008-10-06 03:45:55 -0400184#define ANOMALY_05000319 ((ANOMALY_BF531 || ANOMALY_BF532) && __SILICON_REVISION__ < 6)
Mike Frysinger5e857882008-08-07 13:09:50 -0400185/* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
Mike Frysinger21797192008-10-06 03:45:55 -0400186#define ANOMALY_05000357 (__SILICON_REVISION__ < 6)
Mike Frysinger5e857882008-08-07 13:09:50 -0400187/* UART Break Signal Issues */
188#define ANOMALY_05000363 (__SILICON_REVISION__ < 5)
189/* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
190#define ANOMALY_05000366 (1)
191/* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
Mike Frysinger21797192008-10-06 03:45:55 -0400192#define ANOMALY_05000371 (__SILICON_REVISION__ < 6)
Mike Frysinger5e857882008-08-07 13:09:50 -0400193/* PPI Does Not Start Properly In Specific Mode */
Mike Frysinger21797192008-10-06 03:45:55 -0400194#define ANOMALY_05000400 (__SILICON_REVISION__ == 5)
Mike Frysinger5e857882008-08-07 13:09:50 -0400195/* SSYNC Stalls Processor when Executed from Non-Cacheable Memory */
Mike Frysinger21797192008-10-06 03:45:55 -0400196#define ANOMALY_05000402 (__SILICON_REVISION__ == 5)
Mike Frysinger5e857882008-08-07 13:09:50 -0400197/* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
198#define ANOMALY_05000403 (1)
Mike Frysinger21797192008-10-06 03:45:55 -0400199/* Speculative Fetches Can Cause Undesired External FIFO Operations */
200#define ANOMALY_05000416 (1)
201/* Multichannel SPORT Channel Misalignment Under Specific Configuration */
202#define ANOMALY_05000425 (1)
203/* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
204#define ANOMALY_05000426 (1)
205/* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
206#define ANOMALY_05000443 (1)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400207/* False Hardware Error when RETI Points to Invalid Memory */
208#define ANOMALY_05000461 (1)
Mike Frysinger42cb1bb2010-10-14 14:22:02 -0400209/* Synchronization Problem at Startup May Cause SPORT Transmit Channels to Misalign */
210#define ANOMALY_05000462 (1)
211/* Boot Failure When SDRAM Control Signals Toggle Coming Out Of Reset */
212#define ANOMALY_05000471 (1)
Mike Frysinger61c28732011-06-08 18:17:09 -0400213/* Interrupted SPORT Receive Data Register Read Results In Underflow when SLEN > 15 */
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400214#define ANOMALY_05000473 (1)
Mike Frysinger61c28732011-06-08 18:17:09 -0400215/* Possible Lockup Condition when Modifying PLL from External Memory */
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400216#define ANOMALY_05000475 (1)
217/* TESTSET Instruction Cannot Be Interrupted */
218#define ANOMALY_05000477 (1)
219/* Reads of ITEST_COMMAND and ITEST_DATA Registers Cause Cache Corruption */
220#define ANOMALY_05000481 (1)
Mike Frysinger61c28732011-06-08 18:17:09 -0400221/* PLL May Latch Incorrect Values Coming Out of Reset */
222#define ANOMALY_05000489 (1)
223/* Instruction Memory Stalls Can Cause IFLUSH to Fail */
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400224#define ANOMALY_05000491 (1)
Mike Frysinger61c28732011-06-08 18:17:09 -0400225/* EXCPT Instruction May Be Lost If NMI Happens Simultaneously */
226#define ANOMALY_05000494 (1)
227/* RXS Bit in SPI_STAT May Become Stuck In RX DMA Modes */
228#define ANOMALY_05000501 (1)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500229
Mike Frysinger61c28732011-06-08 18:17:09 -0400230/*
231 * These anomalies have been "phased" out of analog.com anomaly sheets and are
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500232 * here to show running on older silicon just isn't feasible.
233 */
234
Mike Frysinger8b416b32009-04-04 08:22:36 -0400235/* Internal voltage regulator can't be modified via register writes */
236#define ANOMALY_05000066 (__SILICON_REVISION__ < 2)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500237/* Watchpoints (Hardware Breakpoints) are not supported */
238#define ANOMALY_05000067 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400239/* SDRAM PSSE bit cannot be set again after SDRAM Powerup */
240#define ANOMALY_05000070 (__SILICON_REVISION__ < 2)
241/* Writing FIO_DIR can corrupt a programmable flag's data */
242#define ANOMALY_05000079 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400243/* Timer Auto-Baud Mode requires the UART clock to be enabled. */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400244#define ANOMALY_05000086 (__SILICON_REVISION__ < 2)
245/* Internal Clocking Modes on SPORT0 not supported */
246#define ANOMALY_05000088 (__SILICON_REVISION__ < 2)
247/* Internal voltage regulator does not wake up from an RTC wakeup */
248#define ANOMALY_05000092 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400249/* The IFLUSH Instruction Must Be Preceded by a CSYNC Instruction */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400250#define ANOMALY_05000093 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400251/* Vectoring to instruction that is being filled into the i-cache may cause erroneous behavior */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400252#define ANOMALY_05000095 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400253/* PREFETCH, FLUSH, and FLUSHINV Instructions Must Be Followed by a CSYNC Instruction */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400254#define ANOMALY_05000096 (__SILICON_REVISION__ < 2)
255/* Performance Monitor 0 and 1 are swapped when monitoring memory events */
256#define ANOMALY_05000097 (__SILICON_REVISION__ < 2)
257/* 32-bit SPORT DMA will be word reversed */
258#define ANOMALY_05000098 (__SILICON_REVISION__ < 2)
259/* Incorrect status in the UART_IIR register */
260#define ANOMALY_05000100 (__SILICON_REVISION__ < 2)
261/* Reading X_MODIFY or Y_MODIFY while DMA channel is active */
262#define ANOMALY_05000101 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400263/* Descriptor MemDMA may lock up with 32-bit transfers or if transfers span 64KB buffers */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400264#define ANOMALY_05000102 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400265/* Incorrect Value Written to the Cycle Counters */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400266#define ANOMALY_05000103 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400267/* Stores to L1 Data Memory Incorrect when a Specific Sequence Is Followed */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400268#define ANOMALY_05000104 (__SILICON_REVISION__ < 2)
269/* Programmable Flag (PF3) functionality not supported in all PPI modes */
270#define ANOMALY_05000106 (__SILICON_REVISION__ < 2)
271/* Data store can be lost when targeting a cache line fill */
272#define ANOMALY_05000107 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400273/* Reserved Bits in SYSCFG Register Not Set at Power-On */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500274#define ANOMALY_05000109 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400275/* Infinite Core Stall */
276#define ANOMALY_05000114 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400277/* PPI_FSx may glitch when generated by the on chip Timers. */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400278#define ANOMALY_05000115 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400279/* Trace Buffers May Contain Errors in Emulation Mode and/or Exception, NMI, Reset Handlers */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500280#define ANOMALY_05000116 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400281/* DTEST registers allow access to Data Cache when DTEST_COMMAND< 14 >= 0 */
282#define ANOMALY_05000117 (__SILICON_REVISION__ < 2)
283/* Booting from an 8-bit or 24-bit Addressable SPI device is not supported */
284#define ANOMALY_05000118 (__SILICON_REVISION__ < 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400285/* DTEST_COMMAND Initiated Memory Access May Be Incorrect If Data Cache or DMA Is Active */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500286#define ANOMALY_05000123 (__SILICON_REVISION__ < 3)
287/* DMA Lock-up at CCLK to SCLK ratios of 4:1, 2:1, or 1:1 */
288#define ANOMALY_05000124 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400289/* Erroneous Exception when Enabling Cache */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500290#define ANOMALY_05000125 (__SILICON_REVISION__ < 3)
291/* SPI clock polarity and phase bits incorrect during booting */
292#define ANOMALY_05000126 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400293/* DMEM_CONTROL<12> Is Not Set on Reset */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500294#define ANOMALY_05000137 (__SILICON_REVISION__ < 3)
295/* SPI boot will not complete if there is a zero fill block in the loader file */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400296#define ANOMALY_05000138 (__SILICON_REVISION__ == 2)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400297/* TIMERx_CONFIG[5] must be set for PPI in GP output mode with internal Frame Syncs */
Mike Frysinger8b416b32009-04-04 08:22:36 -0400298#define ANOMALY_05000139 (__SILICON_REVISION__ < 2)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500299/* Allowing the SPORT RX FIFO to fill will cause an overflow */
300#define ANOMALY_05000140 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400301/* Infinite Stall may occur with a particular sequence of consecutive dual dag events */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500302#define ANOMALY_05000141 (__SILICON_REVISION__ < 3)
303/* Interrupts may be lost when a programmable input flag is configured to be edge sensitive */
304#define ANOMALY_05000142 (__SILICON_REVISION__ < 3)
305/* A read from external memory may return a wrong value with data cache enabled */
306#define ANOMALY_05000143 (__SILICON_REVISION__ < 3)
307/* DMA and TESTSET conflict when both are accessing external memory */
308#define ANOMALY_05000144 (__SILICON_REVISION__ < 3)
309/* In PWM_OUT mode, you must enable the PPI block to generate a waveform from PPI_CLK */
310#define ANOMALY_05000145 (__SILICON_REVISION__ < 3)
311/* MDMA may lose the first few words of a descriptor chain */
312#define ANOMALY_05000146 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400313/* Source MDMA descriptor may stop with a DMA Error near beginning of descriptor fetch */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500314#define ANOMALY_05000147 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400315/* When booting from 16-bit asynchronous memory, the upper 8 bits of each word must be 0x00 */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500316#define ANOMALY_05000148 (__SILICON_REVISION__ < 3)
317/* Frame Delay in SPORT Multichannel Mode */
318#define ANOMALY_05000153 (__SILICON_REVISION__ < 3)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400319/* SPORT TFS signal stays active in multichannel mode outside of valid channels */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500320#define ANOMALY_05000154 (__SILICON_REVISION__ < 3)
321/* Timer1 can not be used for PWMOUT mode when a certain PPI mode is in use */
322#define ANOMALY_05000155 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400323/* Killed 32-Bit MMR Write Leads to Next System MMR Access Thinking It Should Be 32-Bit */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500324#define ANOMALY_05000157 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400325/* SPORT Transmit Data Is Not Gated by External Frame Sync in Certain Conditions */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500326#define ANOMALY_05000163 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400327/* Undefined Behavior when Power-Up Sequence Is Issued to SDRAM during Auto-Refresh */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500328#define ANOMALY_05000168 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400329/* DATA CPLB Page Miss Can Result in Lost Write-Through Data Cache Writes */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500330#define ANOMALY_05000169 (__SILICON_REVISION__ < 3)
331/* DMA vs Core accesses to external memory */
332#define ANOMALY_05000173 (__SILICON_REVISION__ < 3)
333/* Cache Fill Buffer Data lost */
334#define ANOMALY_05000174 (__SILICON_REVISION__ < 3)
335/* Overlapping Sequencer and Memory Stalls */
336#define ANOMALY_05000175 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400337/* Overflow Bit Asserted when Multiplication of -1 by -1 Followed by Accumulator Saturation */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500338#define ANOMALY_05000176 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400339/* Disabling the PPI Resets the PPI Configuration Registers */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500340#define ANOMALY_05000181 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400341/* Early PPI Transmit when FS1 Asserts before FS2 in TX Mode with 2 External Frame Syncs */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500342#define ANOMALY_05000185 (__SILICON_REVISION__ < 3)
343/* PPI does not invert the Driving PPICLK edge in Transmit Modes */
344#define ANOMALY_05000191 (__SILICON_REVISION__ < 3)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400345/* In PPI Transmit Modes with External Frame Syncs POLC bit must be set to 1 */
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500346#define ANOMALY_05000192 (__SILICON_REVISION__ < 3)
347/* Internal Voltage Regulator may not start up */
348#define ANOMALY_05000206 (__SILICON_REVISION__ < 3)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500349
350/* Anomalies that don't exist on this proc */
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400351#define ANOMALY_05000120 (0)
352#define ANOMALY_05000149 (0)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400353#define ANOMALY_05000171 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400354#define ANOMALY_05000182 (0)
355#define ANOMALY_05000220 (0)
356#define ANOMALY_05000248 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500357#define ANOMALY_05000266 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400358#define ANOMALY_05000274 (0)
359#define ANOMALY_05000287 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500360#define ANOMALY_05000323 (0)
Mike Frysinger5e857882008-08-07 13:09:50 -0400361#define ANOMALY_05000353 (1)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400362#define ANOMALY_05000362 (1)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400363#define ANOMALY_05000364 (0)
Mike Frysingerd4bf13a2009-02-18 12:51:31 -0500364#define ANOMALY_05000380 (0)
Mike Frysinger61c28732011-06-08 18:17:09 -0400365#define ANOMALY_05000383 (0)
Mike Frysinger21797192008-10-06 03:45:55 -0400366#define ANOMALY_05000386 (1)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400367#define ANOMALY_05000389 (0)
Mike Frysinger21797192008-10-06 03:45:55 -0400368#define ANOMALY_05000412 (0)
Mike Frysinger8b416b32009-04-04 08:22:36 -0400369#define ANOMALY_05000430 (0)
Mike Frysinger21797192008-10-06 03:45:55 -0400370#define ANOMALY_05000432 (0)
371#define ANOMALY_05000435 (0)
Mike Frysinger42cb1bb2010-10-14 14:22:02 -0400372#define ANOMALY_05000440 (0)
Mike Frysingerd4bf13a2009-02-18 12:51:31 -0500373#define ANOMALY_05000447 (0)
374#define ANOMALY_05000448 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400375#define ANOMALY_05000456 (0)
376#define ANOMALY_05000450 (0)
377#define ANOMALY_05000465 (0)
378#define ANOMALY_05000467 (0)
379#define ANOMALY_05000474 (0)
Mike Frysinger61c28732011-06-08 18:17:09 -0400380#define ANOMALY_05000480 (0)
Mike Frysingerfbc6ff62010-05-05 02:38:34 -0400381#define ANOMALY_05000485 (0)
Mike Frysinger66c4cf42008-02-04 19:26:55 -0500382
383#endif