blob: b9f4ecc9581648681d05456dd9920985bfe6d1c3 [file] [log] [blame]
Mike Frysingerd4d77302008-02-04 19:26:55 -05001/*
Mike Frysinger53ea1502010-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 Frysingerd4d77302008-02-04 19:26:55 -05007 *
Mike Frysinger53ea1502010-05-05 02:38:34 -04008 * Copyright 2004-2010 Analog Devices Inc.
9 * Licensed under the ADI BSD license.
10 * https://docs.blackfin.uclinux.org/doku.php?id=adi_bsd
Mike Frysingerd4d77302008-02-04 19:26:55 -050011 */
12
Mike Frysinger51ee6e02009-04-04 08:22:36 -040013/* This file should be up to date with:
Mike Frysingere5d89842010-10-14 14:22:02 -040014 * - Revision J, 06/03/2010; ADSP-BF542/BF544/BF547/BF548/BF549 Blackfin Processor Anomaly List
Mike Frysingerd4d77302008-02-04 19:26:55 -050015 */
16
17#ifndef _MACH_ANOMALY_H_
18#define _MACH_ANOMALY_H_
19
Mike Frysinger53ea1502010-05-05 02:38:34 -040020/* We do not support 0.0 or 0.1 silicon - sorry */
21/* XXX: let u-boot slide
22#if __SILICON_REVISION__ < 2
23# error will not work on BF548 silicon version 0.0, or 0.1
24#endif
25*/
26
27/* Multi-Issue Instruction with dsp32shiftimm in slot1 and P-reg Store in slot2 Not Supported */
Mike Frysingerd4d77302008-02-04 19:26:55 -050028#define ANOMALY_05000074 (1)
29/* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
30#define ANOMALY_05000119 (1)
31/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
32#define ANOMALY_05000122 (1)
Mike Frysinger53ea1502010-05-05 02:38:34 -040033/* Data Corruption/Core Hang with L2/L3 Configured in Writeback Cache Mode */
34#define ANOMALY_05000220 (1)
Mike Frysinger51ee6e02009-04-04 08:22:36 -040035/* False Hardware Error from an Access in the Shadow of a Conditional Branch */
Mike Frysingerd4d77302008-02-04 19:26:55 -050036#define ANOMALY_05000245 (1)
37/* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
38#define ANOMALY_05000265 (1)
39/* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
40#define ANOMALY_05000272 (1)
Mike Frysinger53ea1502010-05-05 02:38:34 -040041/* False Hardware Error Exception when ISR Context Is Not Restored */
Mike Frysingerd4d77302008-02-04 19:26:55 -050042#define ANOMALY_05000281 (__SILICON_REVISION__ < 1)
43/* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
44#define ANOMALY_05000304 (__SILICON_REVISION__ < 1)
45/* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
46#define ANOMALY_05000310 (1)
Mike Frysinger53ea1502010-05-05 02:38:34 -040047/* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
Mike Frysingerd4d77302008-02-04 19:26:55 -050048#define ANOMALY_05000312 (__SILICON_REVISION__ < 1)
49/* TWI Slave Boot Mode Is Not Functional */
50#define ANOMALY_05000324 (__SILICON_REVISION__ < 1)
Mike Frysinger53ea1502010-05-05 02:38:34 -040051/* FIFO Boot Mode Not Functional */
Mike Frysinger47832cd2008-10-06 03:45:55 -040052#define ANOMALY_05000325 (__SILICON_REVISION__ < 2)
Mike Frysingerd4d77302008-02-04 19:26:55 -050053/* Data Lost When Core and DMA Accesses Are Made to the USB FIFO Simultaneously */
54#define ANOMALY_05000327 (__SILICON_REVISION__ < 1)
55/* Incorrect Access of OTP_STATUS During otp_write() Function */
56#define ANOMALY_05000328 (__SILICON_REVISION__ < 1)
57/* Synchronous Burst Flash Boot Mode Is Not Functional */
58#define ANOMALY_05000329 (__SILICON_REVISION__ < 1)
Mike Frysinger0656ef22008-08-07 13:09:50 -040059/* Host DMA Boot Modes Are Not Functional */
Mike Frysingerd4d77302008-02-04 19:26:55 -050060#define ANOMALY_05000330 (__SILICON_REVISION__ < 1)
61/* Inadequate Timing Margins on DDR DQS to DQ and DQM Skew */
62#define ANOMALY_05000334 (__SILICON_REVISION__ < 1)
63/* Inadequate Rotary Debounce Logic Duration */
64#define ANOMALY_05000335 (__SILICON_REVISION__ < 1)
65/* Phantom Interrupt Occurs After First Configuration of Host DMA Port */
66#define ANOMALY_05000336 (__SILICON_REVISION__ < 1)
67/* Disallowed Configuration Prevents Subsequent Allowed Configuration on Host DMA Port */
68#define ANOMALY_05000337 (__SILICON_REVISION__ < 1)
69/* Slave-Mode SPI0 MISO Failure With CPHA = 0 */
70#define ANOMALY_05000338 (__SILICON_REVISION__ < 1)
71/* If Memory Reads Are Enabled on SDH or HOSTDP, Other DMAC1 Peripherals Cannot Read */
72#define ANOMALY_05000340 (__SILICON_REVISION__ < 1)
73/* Boot Host Wait (HWAIT) and Boot Host Wait Alternate (HWAITA) Signals Are Swapped */
74#define ANOMALY_05000344 (__SILICON_REVISION__ < 1)
Mike Frysinger51ee6e02009-04-04 08:22:36 -040075/* USB Calibration Value Is Not Initialized */
Mike Frysingerd4d77302008-02-04 19:26:55 -050076#define ANOMALY_05000346 (__SILICON_REVISION__ < 1)
Mike Frysinger47832cd2008-10-06 03:45:55 -040077/* USB Calibration Value to use */
78#define ANOMALY_05000346_value 0x5411
Mike Frysinger0656ef22008-08-07 13:09:50 -040079/* Preboot Routine Incorrectly Alters Reset Value of USB Register */
Mike Frysingerd4d77302008-02-04 19:26:55 -050080#define ANOMALY_05000347 (__SILICON_REVISION__ < 1)
81/* Data Lost when Core Reads SDH Data FIFO */
82#define ANOMALY_05000349 (__SILICON_REVISION__ < 1)
83/* PLL Status Register Is Inaccurate */
84#define ANOMALY_05000351 (__SILICON_REVISION__ < 1)
Mike Frysinger0656ef22008-08-07 13:09:50 -040085/* bfrom_SysControl() Firmware Function Performs Improper System Reset */
Mike Frysinger47832cd2008-10-06 03:45:55 -040086#define ANOMALY_05000353 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -040087/* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
88#define ANOMALY_05000355 (__SILICON_REVISION__ < 1)
89/* System Stalled During A Core Access To AMC While A Core Access To NFC FIFO Is Required */
90#define ANOMALY_05000356 (__SILICON_REVISION__ < 1)
Mike Frysingerd4d77302008-02-04 19:26:55 -050091/* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
92#define ANOMALY_05000357 (1)
93/* External Memory Read Access Hangs Core With PLL Bypass */
94#define ANOMALY_05000360 (1)
95/* DMAs that Go Urgent during Tight Core Writes to External Memory Are Blocked */
96#define ANOMALY_05000365 (1)
Mike Frysinger0656ef22008-08-07 13:09:50 -040097/* WURESET Bit In SYSCR Register Does Not Properly Indicate Hibernate Wake-Up */
98#define ANOMALY_05000367 (__SILICON_REVISION__ < 1)
Mike Frysingerd4d77302008-02-04 19:26:55 -050099/* Addressing Conflict between Boot ROM and Asynchronous Memory */
100#define ANOMALY_05000369 (1)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400101/* Default PLL MSEL and SSEL Settings Can Cause 400MHz Product To Violate Specifications */
102#define ANOMALY_05000370 (__SILICON_REVISION__ < 1)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500103/* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400104#define ANOMALY_05000371 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400105/* USB DP/DM Data Pins May Lose State When Entering Hibernate */
106#define ANOMALY_05000372 (__SILICON_REVISION__ < 1)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500107/* Security/Authentication Speedpath Causes Authentication To Fail To Initiate */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400108#define ANOMALY_05000378 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400109/* 16-Bit NAND FLASH Boot Mode Is Not Functional */
110#define ANOMALY_05000379 (1)
111/* 8-Bit NAND Flash Boot Mode Not Functional */
112#define ANOMALY_05000382 (__SILICON_REVISION__ < 1)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400113/* Boot from OTP Memory Not Functional */
114#define ANOMALY_05000385 (__SILICON_REVISION__ < 1)
115/* bfrom_SysControl() Firmware Routine Not Functional */
116#define ANOMALY_05000386 (__SILICON_REVISION__ < 1)
117/* Programmable Preboot Settings Not Functional */
118#define ANOMALY_05000387 (__SILICON_REVISION__ < 1)
119/* CRC32 Checksum Support Not Functional */
120#define ANOMALY_05000388 (__SILICON_REVISION__ < 1)
121/* Reset Vector Must Not Be in SDRAM Memory Space */
122#define ANOMALY_05000389 (__SILICON_REVISION__ < 1)
123/* Changed Meaning of BCODE Field in SYSCR Register */
124#define ANOMALY_05000390 (__SILICON_REVISION__ < 1)
125/* Repeated Boot from Page-Mode or Burst-Mode Flash Memory May Fail */
126#define ANOMALY_05000391 (__SILICON_REVISION__ < 1)
127/* pTempCurrent Not Present in ADI_BOOT_DATA Structure */
128#define ANOMALY_05000392 (__SILICON_REVISION__ < 1)
129/* Deprecated Value of dTempByteCount in ADI_BOOT_DATA Structure */
130#define ANOMALY_05000393 (__SILICON_REVISION__ < 1)
131/* Log Buffer Not Functional */
132#define ANOMALY_05000394 (__SILICON_REVISION__ < 1)
133/* Hook Routine Not Functional */
134#define ANOMALY_05000395 (__SILICON_REVISION__ < 1)
135/* Header Indirect Bit Not Functional */
136#define ANOMALY_05000396 (__SILICON_REVISION__ < 1)
137/* BK_ONES, BK_ZEROS, and BK_DATECODE Constants Not Functional */
138#define ANOMALY_05000397 (__SILICON_REVISION__ < 1)
139/* Lockbox SESR Disallows Certain User Interrupts */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400140#define ANOMALY_05000404 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400141/* Lockbox SESR Firmware Does Not Save/Restore Full Context */
142#define ANOMALY_05000405 (1)
143/* Lockbox SESR Argument Checking Does Not Check L2 Memory Protection Range */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400144#define ANOMALY_05000406 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400145/* Lockbox SESR Firmware Arguments Are Not Retained After First Initialization */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400146#define ANOMALY_05000407 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400147/* Lockbox Firmware Memory Cleanup Routine Does not Clear Registers */
148#define ANOMALY_05000408 (1)
149/* Lockbox firmware leaves MDMA0 channel enabled */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400150#define ANOMALY_05000409 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400151/* bfrom_SysControl() Firmware Function Cannot be Used to Enter Power Saving Modes */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400152#define ANOMALY_05000411 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400153/* NAND Boot Mode Not Compatible With Some NAND Flash Devices */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400154#define ANOMALY_05000413 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400155/* OTP_CHECK_FOR_PREV_WRITE Bit is Not Functional in bfrom_OtpWrite() API */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400156#define ANOMALY_05000414 (__SILICON_REVISION__ < 2)
157/* Speculative Fetches Can Cause Undesired External FIFO Operations */
158#define ANOMALY_05000416 (1)
159/* Multichannel SPORT Channel Misalignment Under Specific Configuration */
160#define ANOMALY_05000425 (1)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400161/* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400162#define ANOMALY_05000426 (1)
163/* CORE_EPPI_PRIO bit and SYS_EPPI_PRIO bit in the HMDMA1_CONTROL register are not functional */
164#define ANOMALY_05000427 (__SILICON_REVISION__ < 2)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400165/* WB_EDGE Bit in NFC_IRQSTAT Incorrectly Reflects Buffer Status Instead of IRQ Status */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400166#define ANOMALY_05000429 (__SILICON_REVISION__ < 2)
167/* Software System Reset Corrupts PLL_LOCKCNT Register */
168#define ANOMALY_05000430 (__SILICON_REVISION__ >= 2)
Mike Frysingera9d67772009-02-18 12:51:31 -0500169/* Incorrect Use of Stack in Lockbox Firmware During Authentication */
170#define ANOMALY_05000431 (__SILICON_REVISION__ < 3)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400171/* SW Breakpoints Ignored Upon Return From Lockbox Authentication */
172#define ANOMALY_05000434 (1)
Mike Frysingera9d67772009-02-18 12:51:31 -0500173/* OTP Write Accesses Not Supported */
174#define ANOMALY_05000442 (__SILICON_REVISION__ < 1)
Mike Frysinger47832cd2008-10-06 03:45:55 -0400175/* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
176#define ANOMALY_05000443 (1)
Mike Frysingera9d67772009-02-18 12:51:31 -0500177/* CDMAPRIO and L2DMAPRIO Bits in the SYSCR Register Are Not Functional */
178#define ANOMALY_05000446 (1)
179/* UART IrDA Receiver Fails on Extended Bit Pulses */
180#define ANOMALY_05000447 (1)
181/* DDR Clock Duty Cycle Spec Violation (tCH, tCL) */
182#define ANOMALY_05000448 (__SILICON_REVISION__ == 1)
183/* Reduced Timing Margins on DDR Output Setup and Hold (tDS and tDH) */
184#define ANOMALY_05000449 (__SILICON_REVISION__ == 1)
185/* USB DMA Mode 1 Short Packet Data Corruption */
Mike Frysinger53ea1502010-05-05 02:38:34 -0400186#define ANOMALY_05000450 (1)
187/* Incorrect Default Hysteresis Setting for RESET, NMI, and BMODE Signals */
188#define ANOMALY_05000452 (__SILICON_REVISION__ < 1)
189/* USB Receive Interrupt Is Not Generated in DMA Mode 1 */
190#define ANOMALY_05000456 (1)
191/* Host DMA Port Responds to Certain Bus Activity Without HOST_CE Assertion */
192#define ANOMALY_05000457 (1)
193/* USB DMA Mode 1 Failure When Multiple USB DMA Channels Are Concurrently Enabled */
194#define ANOMALY_05000460 (1)
195/* False Hardware Error when RETI Points to Invalid Memory */
196#define ANOMALY_05000461 (1)
197/* Synchronization Problem at Startup May Cause SPORT Transmit Channels to Misalign */
198#define ANOMALY_05000462 (1)
199/* USB DMA RX Data Corruption */
200#define ANOMALY_05000463 (1)
201/* USB TX DMA Hang */
202#define ANOMALY_05000464 (1)
203/* USB Rx DMA hang */
204#define ANOMALY_05000465 (1)
205/* TxPktRdy Bit Not Set for Transmit Endpoint When Core and DMA Access USB Endpoint FIFOs Simultaneously */
206#define ANOMALY_05000466 (1)
207/* Possible RX data corruption when control & data EP FIFOs are accessed via the core */
208#define ANOMALY_05000467 (1)
209/* Interrupted 32-Bit SPORT Data Register Access Results In Underflow */
210#define ANOMALY_05000473 (1)
211/* Access to DDR-SDRAM causes system hang under certain PLL/VR settings */
212#define ANOMALY_05000474 (1)
213/* TESTSET Instruction Cannot Be Interrupted */
214#define ANOMALY_05000477 (1)
215/* Reads of ITEST_COMMAND and ITEST_DATA Registers Cause Cache Corruption */
216#define ANOMALY_05000481 (1)
217/* Possible USB Data Corruption When Multiple Endpoints Are Accessed by the Core */
218#define ANOMALY_05000483 (1)
Mike Frysingere5d89842010-10-14 14:22:02 -0400219/* DDR Trim May Not Be Performed for Certain VLEV Values in OTP Page PBS00L */
220#define ANOMALY_05000484 (__SILICON_REVISION__ < 3)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400221/* PLL_CTL Change Using bfrom_SysControl() Can Result in Processor Overclocking */
222#define ANOMALY_05000485 (__SILICON_REVISION__ >= 2)
223/* IFLUSH sucks at life */
224#define ANOMALY_05000491 (1)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500225
226/* Anomalies that don't exist on this proc */
Mike Frysinger53ea1502010-05-05 02:38:34 -0400227#define ANOMALY_05000099 (0)
228#define ANOMALY_05000120 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500229#define ANOMALY_05000125 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400230#define ANOMALY_05000149 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500231#define ANOMALY_05000158 (0)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400232#define ANOMALY_05000171 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400233#define ANOMALY_05000179 (0)
234#define ANOMALY_05000182 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500235#define ANOMALY_05000183 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400236#define ANOMALY_05000189 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500237#define ANOMALY_05000198 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400238#define ANOMALY_05000202 (0)
239#define ANOMALY_05000215 (0)
240#define ANOMALY_05000219 (0)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400241#define ANOMALY_05000227 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500242#define ANOMALY_05000230 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400243#define ANOMALY_05000231 (0)
244#define ANOMALY_05000233 (0)
245#define ANOMALY_05000234 (0)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400246#define ANOMALY_05000242 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500247#define ANOMALY_05000244 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400248#define ANOMALY_05000248 (0)
249#define ANOMALY_05000250 (0)
250#define ANOMALY_05000254 (0)
251#define ANOMALY_05000257 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500252#define ANOMALY_05000261 (0)
253#define ANOMALY_05000263 (0)
254#define ANOMALY_05000266 (0)
255#define ANOMALY_05000273 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400256#define ANOMALY_05000274 (0)
Mike Frysingera9d67772009-02-18 12:51:31 -0500257#define ANOMALY_05000278 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400258#define ANOMALY_05000283 (0)
259#define ANOMALY_05000287 (0)
260#define ANOMALY_05000301 (0)
Mike Frysingera9d67772009-02-18 12:51:31 -0500261#define ANOMALY_05000305 (0)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400262#define ANOMALY_05000307 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500263#define ANOMALY_05000311 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400264#define ANOMALY_05000315 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500265#define ANOMALY_05000323 (0)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400266#define ANOMALY_05000362 (1)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400267#define ANOMALY_05000363 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400268#define ANOMALY_05000364 (0)
Mike Frysingera9d67772009-02-18 12:51:31 -0500269#define ANOMALY_05000380 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400270#define ANOMALY_05000400 (0)
271#define ANOMALY_05000402 (0)
Mike Frysinger47832cd2008-10-06 03:45:55 -0400272#define ANOMALY_05000412 (0)
273#define ANOMALY_05000432 (0)
274#define ANOMALY_05000435 (0)
Mike Frysingere5d89842010-10-14 14:22:02 -0400275#define ANOMALY_05000440 (0)
Mike Frysinger53ea1502010-05-05 02:38:34 -0400276#define ANOMALY_05000475 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500277
278#endif