blob: 72476ff50335fea448777bce834478cac46f422f [file] [log] [blame]
Bryan Wu1394f032007-05-06 14:50:22 -07001/*
Mike Frysingeraf5d7fc2009-11-15 18:18:41 -05002 * 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
Bryan Wu1394f032007-05-06 14:50:22 -07007 *
Mike Frysinger93f17422011-05-06 02:26:38 -04008 * Copyright 2004-2011 Analog Devices Inc.
Sonic Zhangde450832012-05-17 14:45:27 +08009 * Licensed under the Clear BSD license.
Bryan Wu1394f032007-05-06 14:50:22 -070010 */
11
Mike Frysingera4136472009-05-08 07:40:25 +000012/* This file should be up to date with:
Mike Frysinger979365b2011-06-08 18:15:18 -040013 * - Revision S, 05/23/2011; ADSP-BF561 Blackfin Processor Anomaly List
Bryan Wu1394f032007-05-06 14:50:22 -070014 */
15
16#ifndef _MACH_ANOMALY_H_
17#define _MACH_ANOMALY_H_
18
Mike Frysinger1aafd902007-07-25 11:19:14 +080019/* We do not support 0.1, 0.2, or 0.4 silicon - sorry */
20#if __SILICON_REVISION__ < 3 || __SILICON_REVISION__ == 4
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080021# error will not work on BF561 silicon version 0.0, 0.1, 0.2, or 0.4
Bryan Wu1394f032007-05-06 14:50:22 -070022#endif
23
Mike Frysingera200ad22009-06-13 06:37:14 -040024/* Multi-Issue Instruction with dsp32shiftimm in slot1 and P-reg Store in slot2 Not Supported */
Mike Frysinger1aafd902007-07-25 11:19:14 +080025#define ANOMALY_05000074 (1)
26/* UART Line Status Register (UART_LSR) Bits Are Not Updated at the Same Time */
27#define ANOMALY_05000099 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040028/* TESTSET Instructions Restricted to 32-Bit Aligned Memory Locations */
Mike Frysinger1aafd902007-07-25 11:19:14 +080029#define ANOMALY_05000120 (1)
30/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
31#define ANOMALY_05000122 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -040032/* SIGNBITS Instruction Not Functional under Certain Conditions */
Mike Frysinger1aafd902007-07-25 11:19:14 +080033#define ANOMALY_05000127 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -040034/* IMDMA S1/D1 Channel May Stall */
Mike Frysinger1aafd902007-07-25 11:19:14 +080035#define ANOMALY_05000149 (1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080036/* Timers in PWM-Out Mode with PPI GP Receive (Input) Mode with 0 Frame Syncs */
37#define ANOMALY_05000156 (__SILICON_REVISION__ < 4)
Mike Frysingera200ad22009-06-13 06:37:14 -040038/* PPI Data Lengths between 8 and 16 Do Not Zero Out Upper Bits */
Mike Frysinger1aafd902007-07-25 11:19:14 +080039#define ANOMALY_05000166 (1)
Mike Frysingera4136472009-05-08 07:40:25 +000040/* Turning SPORTs on while External Frame Sync Is Active May Corrupt Data */
Mike Frysinger1aafd902007-07-25 11:19:14 +080041#define ANOMALY_05000167 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -040042/* Undefined Behavior when Power-Up Sequence Is Issued to SDRAM during Auto-Refresh */
Mike Frysinger1aafd902007-07-25 11:19:14 +080043#define ANOMALY_05000168 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040044/* DATA CPLB Page Miss Can Result in Lost Write-Through Data Cache Writes */
Mike Frysinger1aafd902007-07-25 11:19:14 +080045#define ANOMALY_05000169 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040046/* Boot-ROM Modifies SICA_IWRx Wakeup Registers */
Mike Frysinger1aafd902007-07-25 11:19:14 +080047#define ANOMALY_05000171 (__SILICON_REVISION__ < 5)
Mike Frysinger1aafd902007-07-25 11:19:14 +080048/* Cache Fill Buffer Data lost */
49#define ANOMALY_05000174 (__SILICON_REVISION__ < 5)
50/* Overlapping Sequencer and Memory Stalls */
51#define ANOMALY_05000175 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040052/* Overflow Bit Asserted when Multiplication of -1 by -1 Followed by Accumulator Saturation */
Mike Frysinger1aafd902007-07-25 11:19:14 +080053#define ANOMALY_05000176 (__SILICON_REVISION__ < 5)
54/* PPI_COUNT Cannot Be Programmed to 0 in General Purpose TX or RX Modes */
55#define ANOMALY_05000179 (__SILICON_REVISION__ < 5)
56/* PPI_DELAY Not Functional in PPI Modes with 0 Frame Syncs */
57#define ANOMALY_05000180 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -040058/* Disabling the PPI Resets the PPI Configuration Registers */
Mike Frysinger1aafd902007-07-25 11:19:14 +080059#define ANOMALY_05000181 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040060/* Internal Memory DMA Does Not Operate at Full Speed */
Mike Frysinger1aafd902007-07-25 11:19:14 +080061#define ANOMALY_05000182 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -040062/* Timer Pin Limitations for PPI TX Modes with External Frame Syncs */
Mike Frysinger1aafd902007-07-25 11:19:14 +080063#define ANOMALY_05000184 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040064/* Early PPI Transmit when FS1 Asserts before FS2 in TX Mode with 2 External Frame Syncs */
Mike Frysinger1aafd902007-07-25 11:19:14 +080065#define ANOMALY_05000185 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040066/* Upper PPI Pins Driven when PPI Packing Enabled and Data Length >8 Bits */
Mike Frysinger1aafd902007-07-25 11:19:14 +080067#define ANOMALY_05000186 (__SILICON_REVISION__ < 5)
68/* IMDMA Corrupted Data after a Halt */
69#define ANOMALY_05000187 (1)
70/* IMDMA Restrictions on Descriptor and Buffer Placement in Memory */
71#define ANOMALY_05000188 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040072/* False Protection Exceptions when Speculative Fetch Is Cancelled */
Mike Frysinger1aafd902007-07-25 11:19:14 +080073#define ANOMALY_05000189 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040074/* PPI Not Functional at Core Voltage < 1Volt */
Mike Frysinger1aafd902007-07-25 11:19:14 +080075#define ANOMALY_05000190 (1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080076/* False I/O Pin Interrupts on Edge-Sensitive Inputs When Polarity Setting Is Changed */
77#define ANOMALY_05000193 (__SILICON_REVISION__ < 5)
78/* Restarting SPORT in Specific Modes May Cause Data Corruption */
79#define ANOMALY_05000194 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040080/* Failing MMR Accesses when Preceding Memory Read Stalls */
Mike Frysinger1aafd902007-07-25 11:19:14 +080081#define ANOMALY_05000198 (__SILICON_REVISION__ < 5)
82/* Current DMA Address Shows Wrong Value During Carry Fix */
83#define ANOMALY_05000199 (__SILICON_REVISION__ < 5)
84/* SPORT TFS and DT Are Incorrectly Driven During Inactive Channels in Certain Conditions */
85#define ANOMALY_05000200 (__SILICON_REVISION__ < 5)
86/* Possible Infinite Stall with Specific Dual-DAG Situation */
87#define ANOMALY_05000202 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040088/* Incorrect Data Read with Writethrough "Allocate Cache Lines on Reads Only" Cache Mode */
Mike Frysinger1aafd902007-07-25 11:19:14 +080089#define ANOMALY_05000204 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -040090/* Specific Sequence that Can Cause DMA Error or DMA Stopping */
Mike Frysinger1aafd902007-07-25 11:19:14 +080091#define ANOMALY_05000205 (__SILICON_REVISION__ < 5)
92/* Recovery from "Brown-Out" Condition */
93#define ANOMALY_05000207 (__SILICON_REVISION__ < 5)
94/* VSTAT Status Bit in PLL_STAT Register Is Not Functional */
95#define ANOMALY_05000208 (1)
96/* Speed Path in Computational Unit Affects Certain Instructions */
97#define ANOMALY_05000209 (__SILICON_REVISION__ < 5)
98/* UART TX Interrupt Masked Erroneously */
99#define ANOMALY_05000215 (__SILICON_REVISION__ < 5)
100/* NMI Event at Boot Time Results in Unpredictable State */
101#define ANOMALY_05000219 (__SILICON_REVISION__ < 5)
Mike Frysingerdc7101b2010-05-27 21:47:31 +0000102/* Data Corruption/Core Hang with L2/L3 Configured in Writeback Cache Mode */
103#define ANOMALY_05000220 (__SILICON_REVISION__ < 4)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800104/* Incorrect Pulse-Width of UART Start Bit */
105#define ANOMALY_05000225 (__SILICON_REVISION__ < 5)
106/* Scratchpad Memory Bank Reads May Return Incorrect Data */
107#define ANOMALY_05000227 (__SILICON_REVISION__ < 5)
108/* UART Receiver is Less Robust Against Baudrate Differences in Certain Conditions */
109#define ANOMALY_05000230 (__SILICON_REVISION__ < 5)
110/* UART STB Bit Incorrectly Affects Receiver Setting */
111#define ANOMALY_05000231 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -0400112/* SPORT Data Transmit Lines Are Incorrectly Driven in Multichannel Mode */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800113#define ANOMALY_05000232 (__SILICON_REVISION__ < 5)
114/* DF Bit in PLL_CTL Register Does Not Respond to Hardware Reset */
115#define ANOMALY_05000242 (__SILICON_REVISION__ < 5)
116/* If I-Cache Is On, CSYNC/SSYNC/IDLE Around Change of Control Causes Failures */
117#define ANOMALY_05000244 (__SILICON_REVISION__ < 5)
Mike Frysingera4136472009-05-08 07:40:25 +0000118/* False Hardware Error from an Access in the Shadow of a Conditional Branch */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800119#define ANOMALY_05000245 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -0400120/* TESTSET Operation Forces Stall on the Other Core */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800121#define ANOMALY_05000248 (__SILICON_REVISION__ < 5)
122/* Incorrect Bit Shift of Data Word in Multichannel (TDM) Mode in Certain Conditions */
123#define ANOMALY_05000250 (__SILICON_REVISION__ > 2 && __SILICON_REVISION__ < 5)
124/* Exception Not Generated for MMR Accesses in Reserved Region */
125#define ANOMALY_05000251 (__SILICON_REVISION__ < 5)
126/* Maximum External Clock Speed for Timers */
127#define ANOMALY_05000253 (__SILICON_REVISION__ < 5)
128/* Incorrect Timer Pulse Width in Single-Shot PWM_OUT Mode with External Clock */
129#define ANOMALY_05000254 (__SILICON_REVISION__ > 3)
130/* Interrupt/Exception During Short Hardware Loop May Cause Bad Instruction Fetches */
Sonic Zhang84e97c12010-11-16 09:41:07 +0000131/* Tempoary work around for kgdb bug 6333 in SMP kernel. It looks coreb hangs in exception
132 * without handling anomaly 05000257 properly on bf561 v0.5. This work around may change
133 * after the behavior and the root cause are confirmed with hardware team.
134 */
135#define ANOMALY_05000257 (__SILICON_REVISION__ < 5 || (__SILICON_REVISION__ == 5 && CONFIG_SMP))
Mike Frysinger1aafd902007-07-25 11:19:14 +0800136/* Instruction Cache Is Corrupted When Bits 9 and 12 of the ICPLB Data Registers Differ */
137#define ANOMALY_05000258 (__SILICON_REVISION__ < 5)
138/* ICPLB_STATUS MMR Register May Be Corrupted */
139#define ANOMALY_05000260 (__SILICON_REVISION__ < 5)
140/* DCPLB_FAULT_ADDR MMR Register May Be Corrupted */
141#define ANOMALY_05000261 (__SILICON_REVISION__ < 5)
142/* Stores To Data Cache May Be Lost */
143#define ANOMALY_05000262 (__SILICON_REVISION__ < 5)
144/* Hardware Loop Corrupted When Taking an ICPLB Exception */
145#define ANOMALY_05000263 (__SILICON_REVISION__ < 5)
146/* CSYNC/SSYNC/IDLE Causes Infinite Stall in Penultimate Instruction in Hardware Loop */
147#define ANOMALY_05000264 (__SILICON_REVISION__ < 5)
148/* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
149#define ANOMALY_05000265 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -0400150/* IMDMA Destination IRQ Status Must Be Read Prior to Using IMDMA */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800151#define ANOMALY_05000266 (__SILICON_REVISION__ > 3)
Mike Frysingera200ad22009-06-13 06:37:14 -0400152/* IMDMA May Corrupt Data under Certain Conditions */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800153#define ANOMALY_05000267 (1)
154/* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Increase */
155#define ANOMALY_05000269 (1)
156/* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Decrease */
157#define ANOMALY_05000270 (1)
158/* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
159#define ANOMALY_05000272 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -0400160/* Data Cache Write Back to External Synchronous Memory May Be Lost */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800161#define ANOMALY_05000274 (1)
162/* PPI Timing and Sampling Information Updates */
163#define ANOMALY_05000275 (__SILICON_REVISION__ > 2)
164/* Timing Requirements Change for External Frame Sync PPI Modes with Non-Zero PPI_DELAY */
165#define ANOMALY_05000276 (__SILICON_REVISION__ < 5)
Mike Frysingera4136472009-05-08 07:40:25 +0000166/* Writes to an I/O Data Register One SCLK Cycle after an Edge Is Detected May Clear Interrupt */
Mike Frysinger979365b2011-06-08 18:15:18 -0400167#define ANOMALY_05000277 (__SILICON_REVISION__ < 5)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800168/* Disabling Peripherals with DMA Running May Cause DMA System Instability */
169#define ANOMALY_05000278 (__SILICON_REVISION__ < 5)
Mike Frysinger979365b2011-06-08 18:15:18 -0400170/* False Hardware Error when ISR Context Is Not Restored */
Mike Frysingeraf5d7fc2009-11-15 18:18:41 -0500171/* Temporarily walk around for bug 5423 till this issue is confirmed by
172 * official anomaly document. It looks 05000281 still exists on bf561
173 * v0.5.
174 */
175#define ANOMALY_05000281 (__SILICON_REVISION__ <= 5)
Mike Frysingera200ad22009-06-13 06:37:14 -0400176/* System MMR Write Is Stalled Indefinitely when Killed in a Particular Stage */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800177#define ANOMALY_05000283 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -0400178/* Reads Will Receive Incorrect Data under Certain Conditions */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800179#define ANOMALY_05000287 (__SILICON_REVISION__ < 5)
180/* SPORTs May Receive Bad Data If FIFOs Fill Up */
181#define ANOMALY_05000288 (__SILICON_REVISION__ < 5)
182/* Memory-To-Memory DMA Source/Destination Descriptors Must Be in Same Memory Space */
183#define ANOMALY_05000301 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -0400184/* SSYNCs after Writes to DMA MMR Registers May Not Be Handled Correctly */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800185#define ANOMALY_05000302 (1)
Mike Frysingerc18e99c2009-03-04 17:36:49 +0800186/* SPORT_HYS Bit in PLL_CTL Register Is Not Functional */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800187#define ANOMALY_05000305 (__SILICON_REVISION__ < 5)
188/* SCKELOW Bit Does Not Maintain State Through Hibernate */
189#define ANOMALY_05000307 (__SILICON_REVISION__ < 5)
190/* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
191#define ANOMALY_05000310 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -0400192/* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800193#define ANOMALY_05000312 (1)
Mike Frysingera4136472009-05-08 07:40:25 +0000194/* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800195#define ANOMALY_05000313 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -0400196/* Killed System MMR Write Completes Erroneously on Next System MMR Access */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800197#define ANOMALY_05000315 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -0400198/* PF2 Output Remains Asserted after SPI Master Boot */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800199#define ANOMALY_05000320 (__SILICON_REVISION__ > 3)
Mike Frysingera200ad22009-06-13 06:37:14 -0400200/* Erroneous GPIO Flag Pin Operations under Specific Sequences */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800201#define ANOMALY_05000323 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -0400202/* SPORT Secondary Receive Channel Not Functional when Word Length >16 Bits */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800203#define ANOMALY_05000326 (__SILICON_REVISION__ > 3)
Mike Frysingera200ad22009-06-13 06:37:14 -0400204/* 24-Bit SPI Boot Mode Is Not Functional */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800205#define ANOMALY_05000331 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -0400206/* Slave SPI Boot Mode Is Not Functional */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800207#define ANOMALY_05000332 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -0400208/* Flag Data Register Writes One SCLK Cycle after Edge Is Detected May Clear Interrupt Status */
Mike Frysinger1aafd902007-07-25 11:19:14 +0800209#define ANOMALY_05000333 (__SILICON_REVISION__ < 5)
Mike Frysingera200ad22009-06-13 06:37:14 -0400210/* ALT_TIMING Bit in PLL_CTL Register Is Not Functional */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +0800211#define ANOMALY_05000339 (__SILICON_REVISION__ < 5)
212/* Memory DMA FIFO Causes Throughput Degradation on Writes to External Memory */
213#define ANOMALY_05000343 (__SILICON_REVISION__ < 5)
214/* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
215#define ANOMALY_05000357 (1)
216/* Conflicting Column Address Widths Causes SDRAM Errors */
217#define ANOMALY_05000362 (1)
Sonic Zhang4d555632008-04-25 03:28:10 +0800218/* UART Break Signal Issues */
219#define ANOMALY_05000363 (__SILICON_REVISION__ < 5)
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +0800220/* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
221#define ANOMALY_05000366 (1)
222/* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
223#define ANOMALY_05000371 (1)
Sonic Zhang4d555632008-04-25 03:28:10 +0800224/* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
225#define ANOMALY_05000403 (1)
Mike Frysinger6651ece2009-01-07 23:14:38 +0800226/* TESTSET Instruction Causes Data Corruption with Writeback Data Cache Enabled */
227#define ANOMALY_05000412 (1)
228/* Speculative Fetches Can Cause Undesired External FIFO Operations */
229#define ANOMALY_05000416 (1)
230/* Multichannel SPORT Channel Misalignment Under Specific Configuration */
231#define ANOMALY_05000425 (1)
232/* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
233#define ANOMALY_05000426 (1)
234/* Lost/Corrupted L2/L3 Memory Write after Speculative L2 Memory Read by Core B */
235#define ANOMALY_05000428 (__SILICON_REVISION__ > 3)
Mike Frysinger3529e042008-10-28 16:22:41 +0800236/* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
237#define ANOMALY_05000443 (1)
Mike Frysinger93f17422011-05-06 02:26:38 -0400238/* SCKELOW Feature Is Not Functional */
239#define ANOMALY_05000458 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -0400240/* False Hardware Error when RETI Points to Invalid Memory */
Mike Frysingera4136472009-05-08 07:40:25 +0000241#define ANOMALY_05000461 (1)
Mike Frysinger93f17422011-05-06 02:26:38 -0400242/* Synchronization Problem at Startup May Cause SPORT Transmit Channels to Misalign */
243#define ANOMALY_05000462 (1)
244/* Boot Failure When SDRAM Control Signals Toggle Coming Out Of Reset */
245#define ANOMALY_05000471 (1)
Mike Frysinger979365b2011-06-08 18:15:18 -0400246/* Interrupted SPORT Receive Data Register Read Results In Underflow when SLEN > 15 */
Mike Frysingeraf5d7fc2009-11-15 18:18:41 -0500247#define ANOMALY_05000473 (1)
Mike Frysinger979365b2011-06-08 18:15:18 -0400248/* Possible Lockup Condition when Modifying PLL from External Memory */
Mike Frysinger93f17422011-05-06 02:26:38 -0400249#define ANOMALY_05000475 (1)
Mike Frysingeraf5d7fc2009-11-15 18:18:41 -0500250/* TESTSET Instruction Cannot Be Interrupted */
251#define ANOMALY_05000477 (1)
Mike Frysingerdc7101b2010-05-27 21:47:31 +0000252/* Reads of ITEST_COMMAND and ITEST_DATA Registers Cause Cache Corruption */
253#define ANOMALY_05000481 (1)
Mike Frysinger979365b2011-06-08 18:15:18 -0400254/* PLL May Latch Incorrect Values Coming Out of Reset */
255#define ANOMALY_05000489 (1)
256/* Instruction Memory Stalls Can Cause IFLUSH to Fail */
Mike Frysingerdc7101b2010-05-27 21:47:31 +0000257#define ANOMALY_05000491 (1)
Mike Frysinger979365b2011-06-08 18:15:18 -0400258/* EXCPT Instruction May Be Lost If NMI Happens Simultaneously */
259#define ANOMALY_05000494 (1)
260/* RXS Bit in SPI_STAT May Become Stuck In RX DMA Modes */
261#define ANOMALY_05000501 (1)
262
263/*
264 * These anomalies have been "phased" out of analog.com anomaly sheets and are
265 * here to show running on older silicon just isn't feasible.
266 */
267
268/* Trace Buffers May Contain Errors in Emulation Mode and/or Exception, NMI, Reset Handlers */
269#define ANOMALY_05000116 (__SILICON_REVISION__ < 3)
270/* Erroneous Exception when Enabling Cache */
271#define ANOMALY_05000125 (__SILICON_REVISION__ < 3)
272/* Two bits in the Watchpoint Status Register (WPSTAT) are swapped */
273#define ANOMALY_05000134 (__SILICON_REVISION__ < 3)
274/* Enable wires from the Data Watchpoint Address Control Register (WPDACTL) are swapped */
275#define ANOMALY_05000135 (__SILICON_REVISION__ < 3)
276/* Stall in multi-unit DMA operations */
277#define ANOMALY_05000136 (__SILICON_REVISION__ < 3)
278/* Allowing the SPORT RX FIFO to fill will cause an overflow */
279#define ANOMALY_05000140 (__SILICON_REVISION__ < 3)
280/* Infinite Stall may occur with a particular sequence of consecutive dual dag events */
281#define ANOMALY_05000141 (__SILICON_REVISION__ < 3)
282/* Interrupts may be lost when a programmable input flag is configured to be edge sensitive */
283#define ANOMALY_05000142 (__SILICON_REVISION__ < 3)
284/* DMA and TESTSET conflict when both are accessing external memory */
285#define ANOMALY_05000144 (__SILICON_REVISION__ < 3)
286/* In PWM_OUT mode, you must enable the PPI block to generate a waveform from PPI_CLK */
287#define ANOMALY_05000145 (__SILICON_REVISION__ < 3)
288/* MDMA may lose the first few words of a descriptor chain */
289#define ANOMALY_05000146 (__SILICON_REVISION__ < 3)
290/* Source MDMA descriptor may stop with a DMA Error near beginning of descriptor fetch */
291#define ANOMALY_05000147 (__SILICON_REVISION__ < 3)
292/* DMA engine may lose data due to incorrect handshaking */
293#define ANOMALY_05000150 (__SILICON_REVISION__ < 3)
294/* DMA stalls when all three controllers read data from the same source */
295#define ANOMALY_05000151 (__SILICON_REVISION__ < 3)
296/* Execution stall when executing in L2 and doing external accesses */
297#define ANOMALY_05000152 (__SILICON_REVISION__ < 3)
298/* Frame Delay in SPORT Multichannel Mode */
299#define ANOMALY_05000153 (__SILICON_REVISION__ < 3)
300/* SPORT TFS signal stays active in multichannel mode outside of valid channels */
301#define ANOMALY_05000154 (__SILICON_REVISION__ < 3)
302/* Killed 32-Bit MMR Write Leads to Next System MMR Access Thinking It Should Be 32-Bit */
303#define ANOMALY_05000157 (__SILICON_REVISION__ < 3)
304/* DMA Lock-up at CCLK to SCLK ratios of 4:1, 2:1, or 1:1 */
305#define ANOMALY_05000159 (__SILICON_REVISION__ < 3)
306/* A read from external memory may return a wrong value with data cache enabled */
307#define ANOMALY_05000160 (__SILICON_REVISION__ < 3)
308/* Data Cache Fill data can be corrupted after/during Instruction DMA if certain core stalls exist */
309#define ANOMALY_05000161 (__SILICON_REVISION__ < 3)
310/* DMEM_CONTROL<12> is not set on Reset */
311#define ANOMALY_05000162 (__SILICON_REVISION__ < 3)
312/* SPORT Transmit Data Is Not Gated by External Frame Sync in Certain Conditions */
313#define ANOMALY_05000163 (__SILICON_REVISION__ < 3)
314/* DSPID register values incorrect */
315#define ANOMALY_05000172 (__SILICON_REVISION__ < 3)
316/* DMA vs Core accesses to external memory */
317#define ANOMALY_05000173 (__SILICON_REVISION__ < 3)
318/* PPI does not invert the Driving PPICLK edge in Transmit Modes */
319#define ANOMALY_05000191 (__SILICON_REVISION__ < 3)
320/* SSYNC Stalls Processor when Executed from Non-Cacheable Memory */
321#define ANOMALY_05000402 (__SILICON_REVISION__ == 4)
Bryan Wu1394f032007-05-06 14:50:22 -0700322
Mike Frysinger1aafd902007-07-25 11:19:14 +0800323/* Anomalies that don't exist on this proc */
Mike Frysingera4136472009-05-08 07:40:25 +0000324#define ANOMALY_05000119 (0)
Mike Frysingerbc8c84c2007-08-05 17:32:25 +0800325#define ANOMALY_05000158 (0)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800326#define ANOMALY_05000183 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000327#define ANOMALY_05000233 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400328#define ANOMALY_05000234 (0)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800329#define ANOMALY_05000273 (0)
330#define ANOMALY_05000311 (0)
Mike Frysinger4e8086d2008-10-10 21:07:55 +0800331#define ANOMALY_05000353 (1)
Graf Yang976119b2009-07-01 07:05:40 +0000332#define ANOMALY_05000364 (0)
Mike Frysingeree554be2009-03-03 16:52:55 +0800333#define ANOMALY_05000380 (0)
Mike Frysinger93f17422011-05-06 02:26:38 -0400334#define ANOMALY_05000383 (0)
Mike Frysinger4e8086d2008-10-10 21:07:55 +0800335#define ANOMALY_05000386 (1)
Mike Frysingera4136472009-05-08 07:40:25 +0000336#define ANOMALY_05000389 (0)
337#define ANOMALY_05000400 (0)
338#define ANOMALY_05000430 (0)
Mike Frysinger6651ece2009-01-07 23:14:38 +0800339#define ANOMALY_05000432 (0)
Mike Frysinger94b28212008-11-18 17:48:21 +0800340#define ANOMALY_05000435 (0)
Mike Frysinger93f17422011-05-06 02:26:38 -0400341#define ANOMALY_05000440 (0)
Mike Frysinger7dbc3f62009-03-06 00:20:49 +0800342#define ANOMALY_05000447 (0)
343#define ANOMALY_05000448 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000344#define ANOMALY_05000456 (0)
345#define ANOMALY_05000450 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400346#define ANOMALY_05000465 (0)
347#define ANOMALY_05000467 (0)
Mike Frysingeraf5d7fc2009-11-15 18:18:41 -0500348#define ANOMALY_05000474 (0)
Mike Frysinger93f17422011-05-06 02:26:38 -0400349#define ANOMALY_05000480 (0)
Mike Frysingerdc7101b2010-05-27 21:47:31 +0000350#define ANOMALY_05000485 (0)
Bryan Wu1394f032007-05-06 14:50:22 -0700351
Bryan Wu1394f032007-05-06 14:50:22 -0700352#endif