blob: 192dd67c23ab4b0c8dd4051e72049a7ca14ad848 [file] [log] [blame]
Mike Frysingerd4d77302008-02-04 19:26:55 -05001/*
2 * File: include/asm-blackfin/mach-bf548/anomaly.h
3 * Bugs: Enter bugs at http://blackfin.uclinux.org/
4 *
Mike Frysingera9d67772009-02-18 12:51:31 -05005 * Copyright (C) 2004-2009 Analog Devices Inc.
Mike Frysingerd4d77302008-02-04 19:26:55 -05006 * Licensed under the GPL-2 or later.
7 */
8
Mike Frysinger51ee6e02009-04-04 08:22:36 -04009/* This file should be up to date with:
Mike Frysingera9d67772009-02-18 12:51:31 -050010 * - Revision H, 01/16/2009; ADSP-BF542/BF544/BF547/BF548/BF549 Blackfin Processor Anomaly List
Mike Frysingerd4d77302008-02-04 19:26:55 -050011 */
12
13#ifndef _MACH_ANOMALY_H_
14#define _MACH_ANOMALY_H_
15
Mike Frysinger51ee6e02009-04-04 08:22:36 -040016/* Multi-issue instruction with dsp32shiftimm in slot1 and P-reg store in slot 2 not supported */
Mike Frysingerd4d77302008-02-04 19:26:55 -050017#define ANOMALY_05000074 (1)
18/* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
19#define ANOMALY_05000119 (1)
20/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
21#define ANOMALY_05000122 (1)
Mike Frysinger51ee6e02009-04-04 08:22:36 -040022/* False Hardware Error from an Access in the Shadow of a Conditional Branch */
Mike Frysingerd4d77302008-02-04 19:26:55 -050023#define ANOMALY_05000245 (1)
24/* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
25#define ANOMALY_05000265 (1)
26/* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
27#define ANOMALY_05000272 (1)
Mike Frysinger51ee6e02009-04-04 08:22:36 -040028/* False Hardware Error Exception When ISR Context Is Not Restored */
Mike Frysingerd4d77302008-02-04 19:26:55 -050029#define ANOMALY_05000281 (__SILICON_REVISION__ < 1)
30/* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
31#define ANOMALY_05000304 (__SILICON_REVISION__ < 1)
32/* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
33#define ANOMALY_05000310 (1)
34/* Errors When SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
35#define ANOMALY_05000312 (__SILICON_REVISION__ < 1)
36/* TWI Slave Boot Mode Is Not Functional */
37#define ANOMALY_05000324 (__SILICON_REVISION__ < 1)
38/* External FIFO Boot Mode Is Not Functional */
Mike Frysinger47832cd2008-10-06 03:45:55 -040039#define ANOMALY_05000325 (__SILICON_REVISION__ < 2)
Mike Frysingerd4d77302008-02-04 19:26:55 -050040/* Data Lost When Core and DMA Accesses Are Made to the USB FIFO Simultaneously */
41#define ANOMALY_05000327 (__SILICON_REVISION__ < 1)
42/* Incorrect Access of OTP_STATUS During otp_write() Function */
43#define ANOMALY_05000328 (__SILICON_REVISION__ < 1)
44/* Synchronous Burst Flash Boot Mode Is Not Functional */
45#define ANOMALY_05000329 (__SILICON_REVISION__ < 1)
Mike Frysinger0656ef22008-08-07 13:09:50 -040046/* Host DMA Boot Modes Are Not Functional */
Mike Frysingerd4d77302008-02-04 19:26:55 -050047#define ANOMALY_05000330 (__SILICON_REVISION__ < 1)
48/* Inadequate Timing Margins on DDR DQS to DQ and DQM Skew */
49#define ANOMALY_05000334 (__SILICON_REVISION__ < 1)
50/* Inadequate Rotary Debounce Logic Duration */
51#define ANOMALY_05000335 (__SILICON_REVISION__ < 1)
52/* Phantom Interrupt Occurs After First Configuration of Host DMA Port */
53#define ANOMALY_05000336 (__SILICON_REVISION__ < 1)
54/* Disallowed Configuration Prevents Subsequent Allowed Configuration on Host DMA Port */
55#define ANOMALY_05000337 (__SILICON_REVISION__ < 1)
56/* Slave-Mode SPI0 MISO Failure With CPHA = 0 */
57#define ANOMALY_05000338 (__SILICON_REVISION__ < 1)
58/* If Memory Reads Are Enabled on SDH or HOSTDP, Other DMAC1 Peripherals Cannot Read */
59#define ANOMALY_05000340 (__SILICON_REVISION__ < 1)
60/* Boot Host Wait (HWAIT) and Boot Host Wait Alternate (HWAITA) Signals Are Swapped */
61#define ANOMALY_05000344 (__SILICON_REVISION__ < 1)
Mike Frysinger51ee6e02009-04-04 08:22:36 -040062/* USB Calibration Value Is Not Initialized */
Mike Frysingerd4d77302008-02-04 19:26:55 -050063#define ANOMALY_05000346 (__SILICON_REVISION__ < 1)
Mike Frysinger47832cd2008-10-06 03:45:55 -040064/* USB Calibration Value to use */
65#define ANOMALY_05000346_value 0x5411
Mike Frysinger0656ef22008-08-07 13:09:50 -040066/* Preboot Routine Incorrectly Alters Reset Value of USB Register */
Mike Frysingerd4d77302008-02-04 19:26:55 -050067#define ANOMALY_05000347 (__SILICON_REVISION__ < 1)
68/* Data Lost when Core Reads SDH Data FIFO */
69#define ANOMALY_05000349 (__SILICON_REVISION__ < 1)
70/* PLL Status Register Is Inaccurate */
71#define ANOMALY_05000351 (__SILICON_REVISION__ < 1)
Mike Frysinger0656ef22008-08-07 13:09:50 -040072/* bfrom_SysControl() Firmware Function Performs Improper System Reset */
Mike Frysinger47832cd2008-10-06 03:45:55 -040073#define ANOMALY_05000353 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -040074/* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
75#define ANOMALY_05000355 (__SILICON_REVISION__ < 1)
76/* System Stalled During A Core Access To AMC While A Core Access To NFC FIFO Is Required */
77#define ANOMALY_05000356 (__SILICON_REVISION__ < 1)
Mike Frysingerd4d77302008-02-04 19:26:55 -050078/* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
79#define ANOMALY_05000357 (1)
80/* External Memory Read Access Hangs Core With PLL Bypass */
81#define ANOMALY_05000360 (1)
82/* DMAs that Go Urgent during Tight Core Writes to External Memory Are Blocked */
83#define ANOMALY_05000365 (1)
Mike Frysinger0656ef22008-08-07 13:09:50 -040084/* WURESET Bit In SYSCR Register Does Not Properly Indicate Hibernate Wake-Up */
85#define ANOMALY_05000367 (__SILICON_REVISION__ < 1)
Mike Frysingerd4d77302008-02-04 19:26:55 -050086/* Addressing Conflict between Boot ROM and Asynchronous Memory */
87#define ANOMALY_05000369 (1)
Mike Frysinger0656ef22008-08-07 13:09:50 -040088/* Default PLL MSEL and SSEL Settings Can Cause 400MHz Product To Violate Specifications */
89#define ANOMALY_05000370 (__SILICON_REVISION__ < 1)
Mike Frysingerd4d77302008-02-04 19:26:55 -050090/* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
Mike Frysinger47832cd2008-10-06 03:45:55 -040091#define ANOMALY_05000371 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -040092/* USB DP/DM Data Pins May Lose State When Entering Hibernate */
93#define ANOMALY_05000372 (__SILICON_REVISION__ < 1)
Mike Frysingerd4d77302008-02-04 19:26:55 -050094/* Security/Authentication Speedpath Causes Authentication To Fail To Initiate */
Mike Frysinger47832cd2008-10-06 03:45:55 -040095#define ANOMALY_05000378 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -040096/* 16-Bit NAND FLASH Boot Mode Is Not Functional */
97#define ANOMALY_05000379 (1)
98/* 8-Bit NAND Flash Boot Mode Not Functional */
99#define ANOMALY_05000382 (__SILICON_REVISION__ < 1)
100/* Some ATAPI Modes Are Not Functional */
101#define ANOMALY_05000383 (1)
102/* Boot from OTP Memory Not Functional */
103#define ANOMALY_05000385 (__SILICON_REVISION__ < 1)
104/* bfrom_SysControl() Firmware Routine Not Functional */
105#define ANOMALY_05000386 (__SILICON_REVISION__ < 1)
106/* Programmable Preboot Settings Not Functional */
107#define ANOMALY_05000387 (__SILICON_REVISION__ < 1)
108/* CRC32 Checksum Support Not Functional */
109#define ANOMALY_05000388 (__SILICON_REVISION__ < 1)
110/* Reset Vector Must Not Be in SDRAM Memory Space */
111#define ANOMALY_05000389 (__SILICON_REVISION__ < 1)
112/* Changed Meaning of BCODE Field in SYSCR Register */
113#define ANOMALY_05000390 (__SILICON_REVISION__ < 1)
114/* Repeated Boot from Page-Mode or Burst-Mode Flash Memory May Fail */
115#define ANOMALY_05000391 (__SILICON_REVISION__ < 1)
116/* pTempCurrent Not Present in ADI_BOOT_DATA Structure */
117#define ANOMALY_05000392 (__SILICON_REVISION__ < 1)
118/* Deprecated Value of dTempByteCount in ADI_BOOT_DATA Structure */
119#define ANOMALY_05000393 (__SILICON_REVISION__ < 1)
120/* Log Buffer Not Functional */
121#define ANOMALY_05000394 (__SILICON_REVISION__ < 1)
122/* Hook Routine Not Functional */
123#define ANOMALY_05000395 (__SILICON_REVISION__ < 1)
124/* Header Indirect Bit Not Functional */
125#define ANOMALY_05000396 (__SILICON_REVISION__ < 1)
126/* BK_ONES, BK_ZEROS, and BK_DATECODE Constants Not Functional */
127#define ANOMALY_05000397 (__SILICON_REVISION__ < 1)
128/* Lockbox SESR Disallows Certain User Interrupts */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400129#define ANOMALY_05000404 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400130/* Lockbox SESR Firmware Does Not Save/Restore Full Context */
131#define ANOMALY_05000405 (1)
132/* Lockbox SESR Argument Checking Does Not Check L2 Memory Protection Range */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400133#define ANOMALY_05000406 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400134/* Lockbox SESR Firmware Arguments Are Not Retained After First Initialization */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400135#define ANOMALY_05000407 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400136/* Lockbox Firmware Memory Cleanup Routine Does not Clear Registers */
137#define ANOMALY_05000408 (1)
138/* Lockbox firmware leaves MDMA0 channel enabled */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400139#define ANOMALY_05000409 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400140/* bfrom_SysControl() Firmware Function Cannot be Used to Enter Power Saving Modes */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400141#define ANOMALY_05000411 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400142/* NAND Boot Mode Not Compatible With Some NAND Flash Devices */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400143#define ANOMALY_05000413 (__SILICON_REVISION__ < 2)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400144/* OTP_CHECK_FOR_PREV_WRITE Bit is Not Functional in bfrom_OtpWrite() API */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400145#define ANOMALY_05000414 (__SILICON_REVISION__ < 2)
146/* Speculative Fetches Can Cause Undesired External FIFO Operations */
147#define ANOMALY_05000416 (1)
148/* Multichannel SPORT Channel Misalignment Under Specific Configuration */
149#define ANOMALY_05000425 (1)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400150/* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400151#define ANOMALY_05000426 (1)
152/* CORE_EPPI_PRIO bit and SYS_EPPI_PRIO bit in the HMDMA1_CONTROL register are not functional */
153#define ANOMALY_05000427 (__SILICON_REVISION__ < 2)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400154/* WB_EDGE Bit in NFC_IRQSTAT Incorrectly Reflects Buffer Status Instead of IRQ Status */
Mike Frysinger47832cd2008-10-06 03:45:55 -0400155#define ANOMALY_05000429 (__SILICON_REVISION__ < 2)
156/* Software System Reset Corrupts PLL_LOCKCNT Register */
157#define ANOMALY_05000430 (__SILICON_REVISION__ >= 2)
Mike Frysingera9d67772009-02-18 12:51:31 -0500158/* Incorrect Use of Stack in Lockbox Firmware During Authentication */
159#define ANOMALY_05000431 (__SILICON_REVISION__ < 3)
160/* OTP Write Accesses Not Supported */
161#define ANOMALY_05000442 (__SILICON_REVISION__ < 1)
Mike Frysinger47832cd2008-10-06 03:45:55 -0400162/* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
163#define ANOMALY_05000443 (1)
Mike Frysingera9d67772009-02-18 12:51:31 -0500164/* CDMAPRIO and L2DMAPRIO Bits in the SYSCR Register Are Not Functional */
165#define ANOMALY_05000446 (1)
166/* UART IrDA Receiver Fails on Extended Bit Pulses */
167#define ANOMALY_05000447 (1)
168/* DDR Clock Duty Cycle Spec Violation (tCH, tCL) */
169#define ANOMALY_05000448 (__SILICON_REVISION__ == 1)
170/* Reduced Timing Margins on DDR Output Setup and Hold (tDS and tDH) */
171#define ANOMALY_05000449 (__SILICON_REVISION__ == 1)
172/* USB DMA Mode 1 Short Packet Data Corruption */
173#define ANOMALY_05000450 (1
Mike Frysingerd4d77302008-02-04 19:26:55 -0500174
175/* Anomalies that don't exist on this proc */
176#define ANOMALY_05000125 (0)
177#define ANOMALY_05000158 (0)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400178#define ANOMALY_05000171 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500179#define ANOMALY_05000183 (0)
180#define ANOMALY_05000198 (0)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400181#define ANOMALY_05000227 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500182#define ANOMALY_05000230 (0)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400183#define ANOMALY_05000242 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500184#define ANOMALY_05000244 (0)
185#define ANOMALY_05000261 (0)
186#define ANOMALY_05000263 (0)
187#define ANOMALY_05000266 (0)
188#define ANOMALY_05000273 (0)
Mike Frysingera9d67772009-02-18 12:51:31 -0500189#define ANOMALY_05000278 (0)
190#define ANOMALY_05000305 (0)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400191#define ANOMALY_05000307 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500192#define ANOMALY_05000311 (0)
193#define ANOMALY_05000323 (0)
Mike Frysinger51ee6e02009-04-04 08:22:36 -0400194#define ANOMALY_05000362 (1)
Mike Frysinger0656ef22008-08-07 13:09:50 -0400195#define ANOMALY_05000363 (0)
Mike Frysingera9d67772009-02-18 12:51:31 -0500196#define ANOMALY_05000380 (0)
Mike Frysinger47832cd2008-10-06 03:45:55 -0400197#define ANOMALY_05000412 (0)
198#define ANOMALY_05000432 (0)
199#define ANOMALY_05000435 (0)
Mike Frysingerd4d77302008-02-04 19:26:55 -0500200
201#endif