blob: cd040fe0bc5c10e47b38f6fbd1882d5f3dbdad34 [file] [log] [blame]
Roy Huang088eec12007-06-21 11:34:16 +08001/*
Mike Frysinger287050f2007-07-24 15:23:20 +08002 * File: include/asm-blackfin/mach-bf548/anomaly.h
3 * Bugs: Enter bugs at http://blackfin.uclinux.org/
Roy Huang088eec12007-06-21 11:34:16 +08004 *
Mike Frysingerc18e99c2009-03-04 17:36:49 +08005 * Copyright (C) 2004-2009 Analog Devices Inc.
Mike Frysinger287050f2007-07-24 15:23:20 +08006 * Licensed under the GPL-2 or later.
Roy Huang088eec12007-06-21 11:34:16 +08007 */
8
Mike Frysingera4136472009-05-08 07:40:25 +00009/* This file should be up to date with:
Mike Frysingerc18e99c2009-03-04 17:36:49 +080010 * - Revision H, 01/16/2009; ADSP-BF542/BF544/BF547/BF548/BF549 Blackfin Processor Anomaly List
Mike Frysinger1aafd902007-07-25 11:19:14 +080011 */
12
Roy Huang088eec12007-06-21 11:34:16 +080013#ifndef _MACH_ANOMALY_H_
14#define _MACH_ANOMALY_H_
Mike Frysinger287050f2007-07-24 15:23:20 +080015
Mike Frysingera4136472009-05-08 07:40:25 +000016/* We do not support 0.0 or 0.1 silicon - sorry */
17#if __SILICON_REVISION__ < 2
18# error will not work on BF548 silicon version 0.0, or 0.1
19#endif
20
Mike Frysingera200ad22009-06-13 06:37:14 -040021/* Multi-Issue Instruction with dsp32shiftimm in slot1 and P-reg Store in slot2 Not Supported */
Mike Frysinger1aafd902007-07-25 11:19:14 +080022#define ANOMALY_05000074 (1)
23/* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
24#define ANOMALY_05000119 (1)
25/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
26#define ANOMALY_05000122 (1)
Mike Frysingera4136472009-05-08 07:40:25 +000027/* False Hardware Error from an Access in the Shadow of a Conditional Branch */
Mike Frysinger1aafd902007-07-25 11:19:14 +080028#define ANOMALY_05000245 (1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080029/* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
30#define ANOMALY_05000265 (1)
31/* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
32#define ANOMALY_05000272 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -040033/* False Hardware Error Exception when ISR Context Is Not Restored */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080034#define ANOMALY_05000281 (__SILICON_REVISION__ < 1)
Mike Frysingerbc8c84c2007-08-05 17:32:25 +080035/* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080036#define ANOMALY_05000304 (__SILICON_REVISION__ < 1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080037/* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
38#define ANOMALY_05000310 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -040039/* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080040#define ANOMALY_05000312 (__SILICON_REVISION__ < 1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080041/* TWI Slave Boot Mode Is Not Functional */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080042#define ANOMALY_05000324 (__SILICON_REVISION__ < 1)
Mike Frysingera200ad22009-06-13 06:37:14 -040043/* FIFO Boot Mode Not Functional */
Mike Frysinger4e8086d2008-10-10 21:07:55 +080044#define ANOMALY_05000325 (__SILICON_REVISION__ < 2)
Mike Frysinger1aafd902007-07-25 11:19:14 +080045/* Data Lost When Core and DMA Accesses Are Made to the USB FIFO Simultaneously */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080046#define ANOMALY_05000327 (__SILICON_REVISION__ < 1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080047/* Incorrect Access of OTP_STATUS During otp_write() Function */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080048#define ANOMALY_05000328 (__SILICON_REVISION__ < 1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080049/* Synchronous Burst Flash Boot Mode Is Not Functional */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080050#define ANOMALY_05000329 (__SILICON_REVISION__ < 1)
Mike Frysinger4e8086d2008-10-10 21:07:55 +080051/* Host DMA Boot Modes Are Not Functional */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080052#define ANOMALY_05000330 (__SILICON_REVISION__ < 1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080053/* Inadequate Timing Margins on DDR DQS to DQ and DQM Skew */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080054#define ANOMALY_05000334 (__SILICON_REVISION__ < 1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080055/* Inadequate Rotary Debounce Logic Duration */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080056#define ANOMALY_05000335 (__SILICON_REVISION__ < 1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080057/* Phantom Interrupt Occurs After First Configuration of Host DMA Port */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080058#define ANOMALY_05000336 (__SILICON_REVISION__ < 1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080059/* Disallowed Configuration Prevents Subsequent Allowed Configuration on Host DMA Port */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080060#define ANOMALY_05000337 (__SILICON_REVISION__ < 1)
Mike Frysinger1aafd902007-07-25 11:19:14 +080061/* Slave-Mode SPI0 MISO Failure With CPHA = 0 */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080062#define ANOMALY_05000338 (__SILICON_REVISION__ < 1)
Mike Frysingerbc8c84c2007-08-05 17:32:25 +080063/* If Memory Reads Are Enabled on SDH or HOSTDP, Other DMAC1 Peripherals Cannot Read */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080064#define ANOMALY_05000340 (__SILICON_REVISION__ < 1)
Mike Frysingerbc8c84c2007-08-05 17:32:25 +080065/* Boot Host Wait (HWAIT) and Boot Host Wait Alternate (HWAITA) Signals Are Swapped */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080066#define ANOMALY_05000344 (__SILICON_REVISION__ < 1)
Mike Frysingera4136472009-05-08 07:40:25 +000067/* USB Calibration Value Is Not Initialized */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080068#define ANOMALY_05000346 (__SILICON_REVISION__ < 1)
Robin Getz202d7bd2008-10-09 11:59:46 +080069/* USB Calibration Value to use */
70#define ANOMALY_05000346_value 0x5411
Mike Frysinger4e8086d2008-10-10 21:07:55 +080071/* Preboot Routine Incorrectly Alters Reset Value of USB Register */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080072#define ANOMALY_05000347 (__SILICON_REVISION__ < 1)
Mike Frysingerbc8c84c2007-08-05 17:32:25 +080073/* Data Lost when Core Reads SDH Data FIFO */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080074#define ANOMALY_05000349 (__SILICON_REVISION__ < 1)
Mike Frysingerbc8c84c2007-08-05 17:32:25 +080075/* PLL Status Register Is Inaccurate */
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080076#define ANOMALY_05000351 (__SILICON_REVISION__ < 1)
Mike Frysinger4e8086d2008-10-10 21:07:55 +080077/* bfrom_SysControl() Firmware Function Performs Improper System Reset */
78#define ANOMALY_05000353 (__SILICON_REVISION__ < 2)
79/* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
80#define ANOMALY_05000355 (__SILICON_REVISION__ < 1)
81/* System Stalled During A Core Access To AMC While A Core Access To NFC FIFO Is Required */
82#define ANOMALY_05000356 (__SILICON_REVISION__ < 1)
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080083/* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
84#define ANOMALY_05000357 (1)
85/* External Memory Read Access Hangs Core With PLL Bypass */
86#define ANOMALY_05000360 (1)
87/* DMAs that Go Urgent during Tight Core Writes to External Memory Are Blocked */
88#define ANOMALY_05000365 (1)
Mike Frysinger4e8086d2008-10-10 21:07:55 +080089/* WURESET Bit In SYSCR Register Does Not Properly Indicate Hibernate Wake-Up */
90#define ANOMALY_05000367 (__SILICON_REVISION__ < 1)
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080091/* Addressing Conflict between Boot ROM and Asynchronous Memory */
92#define ANOMALY_05000369 (1)
Mike Frysinger4e8086d2008-10-10 21:07:55 +080093/* Default PLL MSEL and SSEL Settings Can Cause 400MHz Product To Violate Specifications */
94#define ANOMALY_05000370 (__SILICON_REVISION__ < 1)
Mike Frysingera70ce072008-05-31 15:47:17 +080095/* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
Mike Frysinger4e8086d2008-10-10 21:07:55 +080096#define ANOMALY_05000371 (__SILICON_REVISION__ < 2)
97/* USB DP/DM Data Pins May Lose State When Entering Hibernate */
98#define ANOMALY_05000372 (__SILICON_REVISION__ < 1)
Mike Frysinger7cc1c4b2007-12-24 20:05:09 +080099/* Security/Authentication Speedpath Causes Authentication To Fail To Initiate */
Mike Frysinger4e8086d2008-10-10 21:07:55 +0800100#define ANOMALY_05000378 (__SILICON_REVISION__ < 2)
101/* 16-Bit NAND FLASH Boot Mode Is Not Functional */
102#define ANOMALY_05000379 (1)
103/* 8-Bit NAND Flash Boot Mode Not Functional */
104#define ANOMALY_05000382 (__SILICON_REVISION__ < 1)
105/* Some ATAPI Modes Are Not Functional */
106#define ANOMALY_05000383 (1)
107/* Boot from OTP Memory Not Functional */
108#define ANOMALY_05000385 (__SILICON_REVISION__ < 1)
109/* bfrom_SysControl() Firmware Routine Not Functional */
110#define ANOMALY_05000386 (__SILICON_REVISION__ < 1)
111/* Programmable Preboot Settings Not Functional */
112#define ANOMALY_05000387 (__SILICON_REVISION__ < 1)
113/* CRC32 Checksum Support Not Functional */
114#define ANOMALY_05000388 (__SILICON_REVISION__ < 1)
115/* Reset Vector Must Not Be in SDRAM Memory Space */
116#define ANOMALY_05000389 (__SILICON_REVISION__ < 1)
117/* Changed Meaning of BCODE Field in SYSCR Register */
118#define ANOMALY_05000390 (__SILICON_REVISION__ < 1)
119/* Repeated Boot from Page-Mode or Burst-Mode Flash Memory May Fail */
120#define ANOMALY_05000391 (__SILICON_REVISION__ < 1)
121/* pTempCurrent Not Present in ADI_BOOT_DATA Structure */
122#define ANOMALY_05000392 (__SILICON_REVISION__ < 1)
123/* Deprecated Value of dTempByteCount in ADI_BOOT_DATA Structure */
124#define ANOMALY_05000393 (__SILICON_REVISION__ < 1)
125/* Log Buffer Not Functional */
126#define ANOMALY_05000394 (__SILICON_REVISION__ < 1)
127/* Hook Routine Not Functional */
128#define ANOMALY_05000395 (__SILICON_REVISION__ < 1)
129/* Header Indirect Bit Not Functional */
130#define ANOMALY_05000396 (__SILICON_REVISION__ < 1)
131/* BK_ONES, BK_ZEROS, and BK_DATECODE Constants Not Functional */
132#define ANOMALY_05000397 (__SILICON_REVISION__ < 1)
133/* Lockbox SESR Disallows Certain User Interrupts */
134#define ANOMALY_05000404 (__SILICON_REVISION__ < 2)
135/* Lockbox SESR Firmware Does Not Save/Restore Full Context */
136#define ANOMALY_05000405 (1)
137/* Lockbox SESR Argument Checking Does Not Check L2 Memory Protection Range */
138#define ANOMALY_05000406 (__SILICON_REVISION__ < 2)
139/* Lockbox SESR Firmware Arguments Are Not Retained After First Initialization */
140#define ANOMALY_05000407 (__SILICON_REVISION__ < 2)
141/* Lockbox Firmware Memory Cleanup Routine Does not Clear Registers */
142#define ANOMALY_05000408 (1)
143/* Lockbox firmware leaves MDMA0 channel enabled */
144#define ANOMALY_05000409 (__SILICON_REVISION__ < 2)
145/* bfrom_SysControl() Firmware Function Cannot be Used to Enter Power Saving Modes */
146#define ANOMALY_05000411 (__SILICON_REVISION__ < 2)
147/* NAND Boot Mode Not Compatible With Some NAND Flash Devices */
148#define ANOMALY_05000413 (__SILICON_REVISION__ < 2)
149/* OTP_CHECK_FOR_PREV_WRITE Bit is Not Functional in bfrom_OtpWrite() API */
150#define ANOMALY_05000414 (__SILICON_REVISION__ < 2)
151/* Speculative Fetches Can Cause Undesired External FIFO Operations */
152#define ANOMALY_05000416 (1)
153/* Multichannel SPORT Channel Misalignment Under Specific Configuration */
154#define ANOMALY_05000425 (1)
Mike Frysingera4136472009-05-08 07:40:25 +0000155/* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
Mike Frysinger4e8086d2008-10-10 21:07:55 +0800156#define ANOMALY_05000426 (1)
157/* CORE_EPPI_PRIO bit and SYS_EPPI_PRIO bit in the HMDMA1_CONTROL register are not functional */
158#define ANOMALY_05000427 (__SILICON_REVISION__ < 2)
Mike Frysingera4136472009-05-08 07:40:25 +0000159/* WB_EDGE Bit in NFC_IRQSTAT Incorrectly Reflects Buffer Status Instead of IRQ Status */
Mike Frysinger4e8086d2008-10-10 21:07:55 +0800160#define ANOMALY_05000429 (__SILICON_REVISION__ < 2)
161/* Software System Reset Corrupts PLL_LOCKCNT Register */
162#define ANOMALY_05000430 (__SILICON_REVISION__ >= 2)
Mike Frysingerc18e99c2009-03-04 17:36:49 +0800163/* Incorrect Use of Stack in Lockbox Firmware During Authentication */
164#define ANOMALY_05000431 (__SILICON_REVISION__ < 3)
165/* OTP Write Accesses Not Supported */
166#define ANOMALY_05000442 (__SILICON_REVISION__ < 1)
Mike Frysinger3529e0412008-10-28 16:22:41 +0800167/* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
168#define ANOMALY_05000443 (1)
Mike Frysingerc18e99c2009-03-04 17:36:49 +0800169/* CDMAPRIO and L2DMAPRIO Bits in the SYSCR Register Are Not Functional */
170#define ANOMALY_05000446 (1)
171/* UART IrDA Receiver Fails on Extended Bit Pulses */
172#define ANOMALY_05000447 (1)
173/* DDR Clock Duty Cycle Spec Violation (tCH, tCL) */
174#define ANOMALY_05000448 (__SILICON_REVISION__ == 1)
175/* Reduced Timing Margins on DDR Output Setup and Hold (tDS and tDH) */
176#define ANOMALY_05000449 (__SILICON_REVISION__ == 1)
177/* USB DMA Mode 1 Short Packet Data Corruption */
Mike Frysingera4136472009-05-08 07:40:25 +0000178#define ANOMALY_05000450 (1)
179/* USB Receive Interrupt Is Not Generated in DMA Mode 1 */
180#define ANOMALY_05000456 (__SILICON_REVISION__ < 3)
Mike Frysingera200ad22009-06-13 06:37:14 -0400181/* False Hardware Error when RETI Points to Invalid Memory */
Mike Frysingera4136472009-05-08 07:40:25 +0000182#define ANOMALY_05000461 (1)
Mike Frysingera200ad22009-06-13 06:37:14 -0400183/* USB Rx DMA hang */
184#define ANOMALY_05000465 (1)
185/* Possible RX data corruption when control & data EP FIFOs are accessed via the core */
186#define ANOMALY_05000467 (1)
Roy Huang088eec12007-06-21 11:34:16 +0800187
Mike Frysinger1aafd902007-07-25 11:19:14 +0800188/* Anomalies that don't exist on this proc */
Mike Frysingera4136472009-05-08 07:40:25 +0000189#define ANOMALY_05000099 (0)
190#define ANOMALY_05000120 (0)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800191#define ANOMALY_05000125 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000192#define ANOMALY_05000149 (0)
Bryan Wu2cbfe102007-08-05 15:31:16 +0800193#define ANOMALY_05000158 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000194#define ANOMALY_05000171 (0)
195#define ANOMALY_05000179 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400196#define ANOMALY_05000182 (0)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800197#define ANOMALY_05000183 (0)
Graf Yang976119b2009-07-01 07:05:40 +0000198#define ANOMALY_05000189 (0)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800199#define ANOMALY_05000198 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400200#define ANOMALY_05000202 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000201#define ANOMALY_05000215 (0)
202#define ANOMALY_05000220 (0)
203#define ANOMALY_05000227 (0)
Mike Frysinger0174dd52007-08-05 16:53:10 +0800204#define ANOMALY_05000230 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000205#define ANOMALY_05000231 (0)
206#define ANOMALY_05000233 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400207#define ANOMALY_05000234 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000208#define ANOMALY_05000242 (0)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800209#define ANOMALY_05000244 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000210#define ANOMALY_05000248 (0)
211#define ANOMALY_05000250 (0)
212#define ANOMALY_05000254 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400213#define ANOMALY_05000257 (0)
Mike Frysinger60e93562007-07-25 11:56:01 +0800214#define ANOMALY_05000261 (0)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800215#define ANOMALY_05000263 (0)
216#define ANOMALY_05000266 (0)
217#define ANOMALY_05000273 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000218#define ANOMALY_05000274 (0)
Mike Frysingeree554be2009-03-03 16:52:55 +0800219#define ANOMALY_05000278 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400220#define ANOMALY_05000283 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000221#define ANOMALY_05000287 (0)
222#define ANOMALY_05000301 (0)
Mike Frysingerc18e99c2009-03-04 17:36:49 +0800223#define ANOMALY_05000305 (0)
Mike Frysinger4e8086d2008-10-10 21:07:55 +0800224#define ANOMALY_05000307 (0)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800225#define ANOMALY_05000311 (0)
Mike Frysingera200ad22009-06-13 06:37:14 -0400226#define ANOMALY_05000315 (0)
Michael Hennerich2b393312007-10-10 16:58:49 +0800227#define ANOMALY_05000323 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000228#define ANOMALY_05000362 (1)
Sonic Zhang4d555632008-04-25 03:28:10 +0800229#define ANOMALY_05000363 (0)
Graf Yang976119b2009-07-01 07:05:40 +0000230#define ANOMALY_05000364 (0)
Bryan Wu1c302b62009-02-04 16:49:45 +0800231#define ANOMALY_05000380 (0)
Mike Frysingera4136472009-05-08 07:40:25 +0000232#define ANOMALY_05000400 (0)
Mike Frysinger6651ece2009-01-07 23:14:38 +0800233#define ANOMALY_05000412 (0)
234#define ANOMALY_05000432 (0)
Mike Frysinger94b28212008-11-18 17:48:21 +0800235#define ANOMALY_05000435 (0)
Mike Frysinger1aafd902007-07-25 11:19:14 +0800236
237#endif