blob: 318d922d11d4ee7f73e706c9de7640dc363c0eb3 [file] [log] [blame]
Michael Hennerichdc26aec2008-11-18 17:48:22 +08001/*
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
Michael Hennerichdc26aec2008-11-18 17:48:22 +08007 *
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.
Michael Hennerichdc26aec2008-11-18 17:48:22 +080010 */
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 J, 05/23/2011; ADSP-BF538/BF538F Blackfin Processor Anomaly List
14 * - Revision O, 05/23/2011; ADSP-BF539/BF539F Blackfin Processor Anomaly List
Michael Hennerichdc26aec2008-11-18 17:48:22 +080015 */
16
17#ifndef _MACH_ANOMALY_H_
18#define _MACH_ANOMALY_H_
19
Mike Frysingera4136472009-05-08 07:40:25 +000020/* We do not support old silicon - sorry */
Michael Hennerichdc26aec2008-11-18 17:48:22 +080021#if __SILICON_REVISION__ < 4
Mike Frysingera4136472009-05-08 07:40:25 +000022# error will not work on BF538/BF539 silicon version 0.0, 0.1, 0.2, or 0.3
Michael Hennerichdc26aec2008-11-18 17:48:22 +080023#endif
24
Mike Frysingera4136472009-05-08 07:40:25 +000025#if defined(__ADSPBF538__)
26# define ANOMALY_BF538 1
27#else
28# define ANOMALY_BF538 0
29#endif
30#if defined(__ADSPBF539__)
31# define ANOMALY_BF539 1
32#else
33# define ANOMALY_BF539 0
34#endif
35
Mike Frysingera200ad22009-06-13 06:37:14 -040036/* Multi-Issue Instruction with dsp32shiftimm in slot1 and P-reg Store in slot2 Not Supported */
Michael Hennerichdc26aec2008-11-18 17:48:22 +080037#define ANOMALY_05000074 (1)
38/* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
39#define ANOMALY_05000119 (1)
40/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
41#define ANOMALY_05000122 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -040042/* PPI Data Lengths between 8 and 16 Do Not Zero Out Upper Bits */
Michael Hennerichdc26aec2008-11-18 17:48:22 +080043#define ANOMALY_05000166 (1)
44/* PPI_COUNT Cannot Be Programmed to 0 in General Purpose TX or RX Modes */
45#define ANOMALY_05000179 (1)
46/* PPI_DELAY Not Functional in PPI Modes with 0 Frame Syncs */
47#define ANOMALY_05000180 (1)
48/* False I/O Pin Interrupts on Edge-Sensitive Inputs When Polarity Setting Is Changed */
49#define ANOMALY_05000193 (1)
50/* Current DMA Address Shows Wrong Value During Carry Fix */
51#define ANOMALY_05000199 (__SILICON_REVISION__ < 4)
52/* NMI Event at Boot Time Results in Unpredictable State */
53#define ANOMALY_05000219 (1)
54/* SPI Slave Boot Mode Modifies Registers from Reset Value */
55#define ANOMALY_05000229 (1)
56/* PPI_FS3 Is Not Driven in 2 or 3 Internal Frame Sync Transmit Modes */
57#define ANOMALY_05000233 (1)
Mike Frysingera4136472009-05-08 07:40:25 +000058/* False Hardware Error from an Access in the Shadow of a Conditional Branch */
Michael Hennerichdc26aec2008-11-18 17:48:22 +080059#define ANOMALY_05000245 (1)
60/* Maximum External Clock Speed for Timers */
61#define ANOMALY_05000253 (1)
Michael Hennerichdc26aec2008-11-18 17:48:22 +080062/* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Decrease */
63#define ANOMALY_05000270 (__SILICON_REVISION__ < 4)
64/* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
Mike Frysinger979365b2011-06-08 18:15:18 -040065#define ANOMALY_05000272 (ANOMALY_BF538)
Michael Hennerichdc26aec2008-11-18 17:48:22 +080066/* Writes to Synchronous SDRAM Memory May Be Lost */
67#define ANOMALY_05000273 (__SILICON_REVISION__ < 4)
68/* Writes to an I/O Data Register One SCLK Cycle after an Edge Is Detected May Clear Interrupt */
69#define ANOMALY_05000277 (__SILICON_REVISION__ < 4)
70/* Disabling Peripherals with DMA Running May Cause DMA System Instability */
71#define ANOMALY_05000278 (__SILICON_REVISION__ < 4)
Mike Frysinger979365b2011-06-08 18:15:18 -040072/* False Hardware Error when ISR Context Is Not Restored */
Michael Hennerichdc26aec2008-11-18 17:48:22 +080073#define ANOMALY_05000281 (__SILICON_REVISION__ < 4)
74/* Memory DMA Corruption with 32-Bit Data and Traffic Control */
75#define ANOMALY_05000282 (__SILICON_REVISION__ < 4)
Mike Frysingera200ad22009-06-13 06:37:14 -040076/* System MMR Write Is Stalled Indefinitely when Killed in a Particular Stage */
Michael Hennerichdc26aec2008-11-18 17:48:22 +080077#define ANOMALY_05000283 (__SILICON_REVISION__ < 4)
78/* SPORTs May Receive Bad Data If FIFOs Fill Up */
79#define ANOMALY_05000288 (__SILICON_REVISION__ < 4)
80/* Reads from CAN Mailbox and Acceptance Mask Area Can Fail */
81#define ANOMALY_05000291 (__SILICON_REVISION__ < 4)
82/* Hibernate Leakage Current Is Higher Than Specified */
83#define ANOMALY_05000293 (__SILICON_REVISION__ < 4)
84/* Timer Pin Limitations for PPI TX Modes with External Frame Syncs */
85#define ANOMALY_05000294 (1)
86/* Memory-To-Memory DMA Source/Destination Descriptors Must Be in Same Memory Space */
87#define ANOMALY_05000301 (__SILICON_REVISION__ < 4)
88/* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
89#define ANOMALY_05000304 (__SILICON_REVISION__ < 4)
90/* SCKELOW Bit Does Not Maintain State Through Hibernate */
91#define ANOMALY_05000307 (__SILICON_REVISION__ < 4)
92/* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
93#define ANOMALY_05000310 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -040094/* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
Michael Hennerichdc26aec2008-11-18 17:48:22 +080095#define ANOMALY_05000312 (__SILICON_REVISION__ < 5)
Mike Frysingera4136472009-05-08 07:40:25 +000096/* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
Michael Hennerichdc26aec2008-11-18 17:48:22 +080097#define ANOMALY_05000313 (__SILICON_REVISION__ < 4)
Mike Frysingera200ad22009-06-13 06:37:14 -040098/* Killed System MMR Write Completes Erroneously on Next System MMR Access */
Michael Hennerichdc26aec2008-11-18 17:48:22 +080099#define ANOMALY_05000315 (__SILICON_REVISION__ < 4)
Mike Frysinger979365b2011-06-08 18:15:18 -0400100/* PFx Glitch on Write to PORTFIO or PORTFIO_TOGGLE */
101#define ANOMALY_05000317 (__SILICON_REVISION__ < 4) /* XXX: Same as 05000318 */
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800102/* PFx Glitch on Write to FIO_FLAG_D or FIO_FLAG_T */
Mike Frysinger979365b2011-06-08 18:15:18 -0400103#define ANOMALY_05000318 (__SILICON_REVISION__ < 4) /* XXX: Same as 05000317 */
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800104/* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
105#define ANOMALY_05000355 (__SILICON_REVISION__ < 5)
106/* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
107#define ANOMALY_05000357 (__SILICON_REVISION__ < 5)
108/* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
109#define ANOMALY_05000366 (1)
110/* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
111#define ANOMALY_05000371 (__SILICON_REVISION__ < 5)
112/* Entering Hibernate State with Peripheral Wakeups Enabled Draws Excess Current */
113#define ANOMALY_05000374 (__SILICON_REVISION__ == 4)
Mike Frysingera200ad22009-06-13 06:37:14 -0400114/* GPIO Pins PC1 and PC4 Can Function as Normal Outputs */
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800115#define ANOMALY_05000375 (__SILICON_REVISION__ < 4)
116/* SSYNC Stalls Processor when Executed from Non-Cacheable Memory */
Yi Libd411b12009-08-05 10:02:14 +0000117#define ANOMALY_05000402 (__SILICON_REVISION__ == 3)
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800118/* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
119#define ANOMALY_05000403 (1)
120/* Speculative Fetches Can Cause Undesired External FIFO Operations */
121#define ANOMALY_05000416 (1)
Mike Frysinger6651ece2009-01-07 23:14:38 +0800122/* Multichannel SPORT Channel Misalignment Under Specific Configuration */
123#define ANOMALY_05000425 (1)
124/* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
125#define ANOMALY_05000426 (1)
126/* Specific GPIO Pins May Change State when Entering Hibernate */
127#define ANOMALY_05000436 (__SILICON_REVISION__ > 3)
Mike Frysinger3529e042008-10-28 16:22:41 +0800128/* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
129#define ANOMALY_05000443 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -0400130/* False Hardware Error when RETI Points to Invalid Memory */
Mike Frysingera4136472009-05-08 07:40:25 +0000131#define ANOMALY_05000461 (1)
Mike Frysingerdc7101b2010-05-27 21:47:31 +0000132/* Synchronization Problem at Startup May Cause SPORT Transmit Channels to Misalign */
133#define ANOMALY_05000462 (1)
Mike Frysinger979365b2011-06-08 18:15:18 -0400134/* Interrupted SPORT Receive Data Register Read Results In Underflow when SLEN > 15 */
Mike Frysingeraf5d7fc2009-11-15 18:18:41 -0500135#define ANOMALY_05000473 (1)
Mike Frysinger979365b2011-06-08 18:15:18 -0400136/* Possible Lockup Condition when Modifying PLL from External Memory */
Mike Frysingerdc7101b2010-05-27 21:47:31 +0000137#define ANOMALY_05000475 (1)
Mike Frysingeraf5d7fc2009-11-15 18:18:41 -0500138/* TESTSET Instruction Cannot Be Interrupted */
139#define ANOMALY_05000477 (1)
Mike Frysingerdc7101b2010-05-27 21:47:31 +0000140/* Reads of ITEST_COMMAND and ITEST_DATA Registers Cause Cache Corruption */
141#define ANOMALY_05000481 (1)
Mike Frysinger979365b2011-06-08 18:15:18 -0400142/* PLL May Latch Incorrect Values Coming Out of Reset */
143#define ANOMALY_05000489 (1)
144/* Instruction Memory Stalls Can Cause IFLUSH to Fail */
Mike Frysingerdc7101b2010-05-27 21:47:31 +0000145#define ANOMALY_05000491 (1)
Mike Frysinger979365b2011-06-08 18:15:18 -0400146/* EXCPT Instruction May Be Lost If NMI Happens Simultaneously */
147#define ANOMALY_05000494 (1)
148/* RXS Bit in SPI_STAT May Become Stuck In RX DMA Modes */
149#define ANOMALY_05000501 (1)
150
151/*
152 * These anomalies have been "phased" out of analog.com anomaly sheets and are
153 * here to show running on older silicon just isn't feasible.
154 */
155
156/* If I-Cache Is On, CSYNC/SSYNC/IDLE Around Change of Control Causes Failures */
157#define ANOMALY_05000244 (__SILICON_REVISION__ < 3)
158/* DCPLB_FAULT_ADDR MMR Register May Be Corrupted */
159#define ANOMALY_05000261 (__SILICON_REVISION__ < 3)
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800160
161/* Anomalies that don't exist on this proc */
Mike Frysingera4136472009-05-08 07:40:25 +0000162#define ANOMALY_05000099 (0)
163#define ANOMALY_05000120 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400164#define ANOMALY_05000125 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000165#define ANOMALY_05000149 (0)
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800166#define ANOMALY_05000158 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000167#define ANOMALY_05000171 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400168#define ANOMALY_05000182 (0)
Graf Yang976119b2009-07-01 07:05:40 +0000169#define ANOMALY_05000189 (0)
Mike Frysinger3529e042008-10-28 16:22:41 +0800170#define ANOMALY_05000198 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400171#define ANOMALY_05000202 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000172#define ANOMALY_05000215 (0)
173#define ANOMALY_05000220 (0)
174#define ANOMALY_05000227 (0)
Mike Frysinger3529e042008-10-28 16:22:41 +0800175#define ANOMALY_05000230 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000176#define ANOMALY_05000231 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400177#define ANOMALY_05000234 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000178#define ANOMALY_05000242 (0)
179#define ANOMALY_05000248 (0)
180#define ANOMALY_05000250 (0)
181#define ANOMALY_05000254 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400182#define ANOMALY_05000257 (0)
Mike Frysinger3529e042008-10-28 16:22:41 +0800183#define ANOMALY_05000263 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400184#define ANOMALY_05000266 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000185#define ANOMALY_05000274 (0)
186#define ANOMALY_05000287 (0)
Mike Frysingerc18e99c2009-03-04 17:36:49 +0800187#define ANOMALY_05000305 (0)
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800188#define ANOMALY_05000311 (0)
189#define ANOMALY_05000323 (0)
Mike Frysinger3529e042008-10-28 16:22:41 +0800190#define ANOMALY_05000353 (1)
Mike Frysingera4136472009-05-08 07:40:25 +0000191#define ANOMALY_05000362 (1)
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800192#define ANOMALY_05000363 (0)
Graf Yang976119b2009-07-01 07:05:40 +0000193#define ANOMALY_05000364 (0)
Mike Frysingeree554be2009-03-03 16:52:55 +0800194#define ANOMALY_05000380 (0)
Mike Frysinger93f17422011-05-06 02:26:38 -0400195#define ANOMALY_05000383 (0)
Mike Frysinger3529e042008-10-28 16:22:41 +0800196#define ANOMALY_05000386 (1)
Mike Frysingera4136472009-05-08 07:40:25 +0000197#define ANOMALY_05000389 (0)
198#define ANOMALY_05000400 (0)
Mike Frysinger6651ece2009-01-07 23:14:38 +0800199#define ANOMALY_05000412 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000200#define ANOMALY_05000430 (0)
Mike Frysinger6651ece2009-01-07 23:14:38 +0800201#define ANOMALY_05000432 (0)
Mike Frysinger94b28212008-11-18 17:48:21 +0800202#define ANOMALY_05000435 (0)
Mike Frysinger93f17422011-05-06 02:26:38 -0400203#define ANOMALY_05000440 (0)
Mike Frysinger7dbc3f62009-03-06 00:20:49 +0800204#define ANOMALY_05000447 (0)
205#define ANOMALY_05000448 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000206#define ANOMALY_05000456 (0)
207#define ANOMALY_05000450 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400208#define ANOMALY_05000465 (0)
209#define ANOMALY_05000467 (0)
Mike Frysingeraf5d7fc2009-11-15 18:18:41 -0500210#define ANOMALY_05000474 (0)
Mike Frysinger93f17422011-05-06 02:26:38 -0400211#define ANOMALY_05000480 (0)
Mike Frysingerdc7101b2010-05-27 21:47:31 +0000212#define ANOMALY_05000485 (0)
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800213
214#endif