]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/blackfin/include/asm/mach-bf527/anomaly.h
mx6sxsabreauto: Remove legacy CONFIG_PCA953X
[people/ms/u-boot.git] / arch / blackfin / include / asm / mach-bf527 / anomaly.h
CommitLineData
d4d77308 1/*
53ea1505
MF
2 * 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
d4d77308 7 *
bc9c6427 8 * Copyright 2004-2011 Analog Devices Inc.
53ea1505
MF
9 * Licensed under the ADI BSD license.
10 * https://docs.blackfin.uclinux.org/doku.php?id=adi_bsd
d4d77308
MF
11 */
12
51ee6e05 13/* This file should be up to date with:
bc9c6427
MF
14 * - Revision F, 05/23/2011; ADSP-BF526 Blackfin Processor Anomaly List
15 * - Revision I, 05/23/2011; ADSP-BF527 Blackfin Processor Anomaly List
d4d77308
MF
16 */
17
18#ifndef _MACH_ANOMALY_H_
19#define _MACH_ANOMALY_H_
20
53ea1505
MF
21/* We do not support old silicon - sorry */
22#if __SILICON_REVISION__ < 0
23# error will not work on BF526/BF527 silicon version
24#endif
25
47832cd1
MF
26#if defined(__ADSPBF522__) || defined(__ADSPBF524__) || defined(__ADSPBF526__)
27# define ANOMALY_BF526 1
28#else
29# define ANOMALY_BF526 0
30#endif
31#if defined(__ADSPBF523__) || defined(__ADSPBF525__) || defined(__ADSPBF527__)
32# define ANOMALY_BF527 1
33#else
34# define ANOMALY_BF527 0
35#endif
36
53ea1505
MF
37#define _ANOMALY_BF526(rev526) (ANOMALY_BF526 && __SILICON_REVISION__ rev526)
38#define _ANOMALY_BF527(rev527) (ANOMALY_BF527 && __SILICON_REVISION__ rev527)
39#define _ANOMALY_BF526_BF527(rev526, rev527) (_ANOMALY_BF526(rev526) || _ANOMALY_BF527(rev527))
40
41/* Multi-Issue Instruction with dsp32shiftimm in slot1 and P-reg Store in slot2 Not Supported */
d4d77308
MF
42#define ANOMALY_05000074 (1)
43/* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
53ea1505 44#define ANOMALY_05000119 (1)
d4d77308
MF
45/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
46#define ANOMALY_05000122 (1)
51ee6e05 47/* False Hardware Error from an Access in the Shadow of a Conditional Branch */
d4d77308 48#define ANOMALY_05000245 (1)
51ee6e05
MF
49/* Incorrect Timer Pulse Width in Single-Shot PWM_OUT Mode with External Clock */
50#define ANOMALY_05000254 (1)
d4d77308
MF
51/* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
52#define ANOMALY_05000265 (1)
47832cd1
MF
53/* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
54#define ANOMALY_05000310 (1)
55/* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
53ea1505 56#define ANOMALY_05000313 (_ANOMALY_BF526_BF527(< 1, < 2))
d4d77308 57/* Incorrect Access of OTP_STATUS During otp_write() Function */
53ea1505 58#define ANOMALY_05000328 (_ANOMALY_BF527(< 2))
51ee6e05 59/* Host DMA Boot Modes Are Not Functional */
bc9c6427 60#define ANOMALY_05000330 (_ANOMALY_BF527(< 2))
d4d77308 61/* Disallowed Configuration Prevents Subsequent Allowed Configuration on Host DMA Port */
53ea1505 62#define ANOMALY_05000337 (_ANOMALY_BF527(< 2))
0656ef2b 63/* Ethernet MAC MDIO Reads Do Not Meet IEEE Specification */
53ea1505 64#define ANOMALY_05000341 (_ANOMALY_BF527(< 2))
0656ef2b 65/* TWI May Not Operate Correctly Under Certain Signal Termination Conditions */
53ea1505 66#define ANOMALY_05000342 (_ANOMALY_BF527(< 2))
0656ef2b 67/* USB Calibration Value Is Not Initialized */
53ea1505 68#define ANOMALY_05000346 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1
MF
69/* USB Calibration Value to use */
70#define ANOMALY_05000346_value 0xE510
0656ef2b 71/* Preboot Routine Incorrectly Alters Reset Value of USB Register */
53ea1505 72#define ANOMALY_05000347 (_ANOMALY_BF527(< 2))
0656ef2b 73/* Security Features Are Not Functional */
53ea1505 74#define ANOMALY_05000348 (_ANOMALY_BF527(< 1))
47832cd1 75/* bfrom_SysControl() Firmware Function Performs Improper System Reset */
53ea1505 76#define ANOMALY_05000353 (_ANOMALY_BF526(< 1))
0656ef2b 77/* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
53ea1505 78#define ANOMALY_05000355 (_ANOMALY_BF527(< 2))
0656ef2b 79/* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
53ea1505 80#define ANOMALY_05000357 (_ANOMALY_BF527(< 2))
0656ef2b 81/* Incorrect Revision Number in DSPID Register */
53ea1505 82#define ANOMALY_05000364 (_ANOMALY_BF527(== 1))
0656ef2b
MF
83/* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
84#define ANOMALY_05000366 (1)
47832cd1 85/* Incorrect Default CSEL Value in PLL_DIV */
53ea1505 86#define ANOMALY_05000368 (_ANOMALY_BF527(< 2))
d4d77308 87/* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
53ea1505 88#define ANOMALY_05000371 (_ANOMALY_BF527(< 2))
0656ef2b 89/* Authentication Fails To Initiate */
53ea1505 90#define ANOMALY_05000376 (_ANOMALY_BF527(< 2))
0656ef2b 91/* Data Read From L3 Memory by USB DMA May be Corrupted */
53ea1505 92#define ANOMALY_05000380 (_ANOMALY_BF527(< 2))
47832cd1 93/* 8-Bit NAND Flash Boot Mode Not Functional */
53ea1505 94#define ANOMALY_05000382 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1 95/* Boot from OTP Memory Not Functional */
53ea1505 96#define ANOMALY_05000385 (_ANOMALY_BF527(< 2))
47832cd1 97/* bfrom_SysControl() Firmware Routine Not Functional */
53ea1505 98#define ANOMALY_05000386 (_ANOMALY_BF527(< 2))
47832cd1 99/* Programmable Preboot Settings Not Functional */
53ea1505 100#define ANOMALY_05000387 (_ANOMALY_BF527(< 2))
47832cd1 101/* CRC32 Checksum Support Not Functional */
53ea1505 102#define ANOMALY_05000388 (_ANOMALY_BF526_BF527(< 1, < 2))
0656ef2b 103/* Reset Vector Must Not Be in SDRAM Memory Space */
53ea1505 104#define ANOMALY_05000389 (_ANOMALY_BF527(< 2))
47832cd1 105/* pTempCurrent Not Present in ADI_BOOT_DATA Structure */
53ea1505 106#define ANOMALY_05000392 (_ANOMALY_BF527(< 2))
47832cd1 107/* Deprecated Value of dTempByteCount in ADI_BOOT_DATA Structure */
53ea1505 108#define ANOMALY_05000393 (_ANOMALY_BF527(< 2))
47832cd1 109/* Log Buffer Not Functional */
53ea1505 110#define ANOMALY_05000394 (_ANOMALY_BF527(< 2))
47832cd1 111/* Hook Routine Not Functional */
53ea1505 112#define ANOMALY_05000395 (_ANOMALY_BF527(< 2))
47832cd1 113/* Header Indirect Bit Not Functional */
53ea1505 114#define ANOMALY_05000396 (_ANOMALY_BF527(< 2))
47832cd1 115/* BK_ONES, BK_ZEROS, and BK_DATECODE Constants Not Functional */
53ea1505 116#define ANOMALY_05000397 (_ANOMALY_BF527(< 2))
47832cd1 117/* SWRESET, DFRESET and WDRESET Bits in the SYSCR Register Not Functional */
53ea1505 118#define ANOMALY_05000398 (_ANOMALY_BF527(< 2))
47832cd1 119/* BCODE_NOBOOT in BCODE Field of SYSCR Register Not Functional */
53ea1505 120#define ANOMALY_05000399 (_ANOMALY_BF527(< 2))
0656ef2b 121/* PPI Data Signals D0 and D8 do not Tristate After Disabling PPI */
53ea1505 122#define ANOMALY_05000401 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1 123/* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
53ea1505 124#define ANOMALY_05000403 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1 125/* Lockbox SESR Disallows Certain User Interrupts */
53ea1505 126#define ANOMALY_05000404 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1
MF
127/* Lockbox SESR Firmware Does Not Save/Restore Full Context */
128#define ANOMALY_05000405 (1)
129/* Lockbox SESR Firmware Arguments Are Not Retained After First Initialization */
53ea1505 130#define ANOMALY_05000407 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1
MF
131/* Lockbox Firmware Memory Cleanup Routine Does not Clear Registers */
132#define ANOMALY_05000408 (1)
133/* Lockbox firmware leaves MDMA0 channel enabled */
53ea1505 134#define ANOMALY_05000409 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1 135/* Incorrect Default Internal Voltage Regulator Setting */
53ea1505 136#define ANOMALY_05000410 (_ANOMALY_BF527(< 2))
47832cd1 137/* bfrom_SysControl() Firmware Function Cannot be Used to Enter Power Saving Modes */
bc9c6427 138#define ANOMALY_05000411 (_ANOMALY_BF526(< 1))
47832cd1 139/* OTP_CHECK_FOR_PREV_WRITE Bit is Not Functional in bfrom_OtpWrite() API */
53ea1505 140#define ANOMALY_05000414 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1 141/* DEB2_URGENT Bit Not Functional */
53ea1505 142#define ANOMALY_05000415 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1
MF
143/* Speculative Fetches Can Cause Undesired External FIFO Operations */
144#define ANOMALY_05000416 (1)
145/* SPORT0 Ignores External TSCLK0 on PG14 When TMR6 is an Output */
53ea1505 146#define ANOMALY_05000417 (_ANOMALY_BF527(< 2))
51ee6e05 147/* PPI Timing Requirements tSFSPE and tHFSPE Do Not Meet Data Sheet Specifications */
53ea1505 148#define ANOMALY_05000418 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1 149/* USB PLL_STABLE Bit May Not Accurately Reflect the USB PLL's Status */
53ea1505 150#define ANOMALY_05000420 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1
MF
151/* TWI Fall Time (Tof) May Violate the Minimum I2C Specification */
152#define ANOMALY_05000421 (1)
153/* TWI Input Capacitance (Ci) May Violate the Maximum I2C Specification */
53ea1505 154#define ANOMALY_05000422 (_ANOMALY_BF526_BF527(> 0, > 1))
47832cd1 155/* Certain Ethernet Frames With Errors are Misclassified in RMII Mode */
53ea1505 156#define ANOMALY_05000423 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1 157/* Internal Voltage Regulator Not Trimmed */
53ea1505 158#define ANOMALY_05000424 (_ANOMALY_BF527(< 2))
47832cd1 159/* Multichannel SPORT Channel Misalignment Under Specific Configuration */
53ea1505 160#define ANOMALY_05000425 (_ANOMALY_BF526_BF527(< 1, < 2))
51ee6e05 161/* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
47832cd1
MF
162#define ANOMALY_05000426 (1)
163/* WB_EDGE Bit in NFC_IRQSTAT Incorrectly Reflects Buffer Status Instead of IRQ Status */
53ea1505 164#define ANOMALY_05000429 (_ANOMALY_BF526_BF527(< 1, < 2))
47832cd1 165/* Software System Reset Corrupts PLL_LOCKCNT Register */
53ea1505 166#define ANOMALY_05000430 (_ANOMALY_BF527(> 1))
51ee6e05
MF
167/* Incorrect Use of Stack in Lockbox Firmware During Authentication */
168#define ANOMALY_05000431 (1)
47832cd1 169/* bfrom_SysControl() Does Not Clear SIC_IWR1 Before Executing PLL Programming Sequence */
53ea1505
MF
170#define ANOMALY_05000432 (_ANOMALY_BF526(< 1))
171/* SW Breakpoints Ignored Upon Return From Lockbox Authentication */
172#define ANOMALY_05000434 (1)
47832cd1 173/* Certain SIC Registers are not Reset After Soft or Core Double Fault Reset */
53ea1505 174#define ANOMALY_05000435 (_ANOMALY_BF526_BF527(< 1, >= 0))
51ee6e05 175/* Preboot Cannot be Used to Alter the PLL_DIV Register */
53ea1505 176#define ANOMALY_05000439 (_ANOMALY_BF526_BF527(< 1, >= 0))
51ee6e05 177/* bfrom_SysControl() Cannot be Used to Write the PLL_DIV Register */
53ea1505 178#define ANOMALY_05000440 (_ANOMALY_BF526_BF527(< 1, >= 0))
51ee6e05 179/* OTP Write Accesses Not Supported */
53ea1505 180#define ANOMALY_05000442 (_ANOMALY_BF527(< 1))
47832cd1
MF
181/* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
182#define ANOMALY_05000443 (1)
51ee6e05 183/* The WURESET Bit in the SYSCR Register is not Functional */
bc9c6427
MF
184#define ANOMALY_05000445 (_ANOMALY_BF527(>= 0))
185/* USB DMA Short Packet Data Corruption */
53ea1505 186#define ANOMALY_05000450 (1)
51ee6e05 187/* BCODE_QUICKBOOT, BCODE_ALLBOOT, and BCODE_FULLBOOT Settings in SYSCR Register Not Functional */
bc9c6427 188#define ANOMALY_05000451 (_ANOMALY_BF527(>= 0))
51ee6e05 189/* Incorrect Default Hysteresis Setting for RESET, NMI, and BMODE Signals */
53ea1505 190#define ANOMALY_05000452 (_ANOMALY_BF526_BF527(< 1, >= 0))
51ee6e05
MF
191/* USB Receive Interrupt Is Not Generated in DMA Mode 1 */
192#define ANOMALY_05000456 (1)
193/* Host DMA Port Responds to Certain Bus Activity Without HOST_CE Assertion */
194#define ANOMALY_05000457 (1)
53ea1505
MF
195/* USB DMA Mode 1 Failure When Multiple USB DMA Channels Are Concurrently Enabled */
196#define ANOMALY_05000460 (1)
197/* False Hardware Error when RETI Points to Invalid Memory */
198#define ANOMALY_05000461 (1)
199/* Synchronization Problem at Startup May Cause SPORT Transmit Channels to Misalign */
200#define ANOMALY_05000462 (1)
bc9c6427 201/* USB Rx DMA Hang */
53ea1505
MF
202#define ANOMALY_05000465 (1)
203/* TxPktRdy Bit Not Set for Transmit Endpoint When Core and DMA Access USB Endpoint FIFOs Simultaneously */
204#define ANOMALY_05000466 (1)
bc9c6427 205/* Possible USB RX Data Corruption When Control & Data EP FIFOs are Accessed via the Core */
53ea1505
MF
206#define ANOMALY_05000467 (1)
207/* PLL Latches Incorrect Settings During Reset */
208#define ANOMALY_05000469 (1)
209/* Incorrect Default MSEL Value in PLL_CTL */
210#define ANOMALY_05000472 (_ANOMALY_BF526(>= 0))
bc9c6427 211/* Interrupted SPORT Receive Data Register Read Results In Underflow when SLEN > 15 */
53ea1505 212#define ANOMALY_05000473 (1)
bc9c6427 213/* Possible Lockup Condition when Modifying PLL from External Memory */
53ea1505
MF
214#define ANOMALY_05000475 (1)
215/* TESTSET Instruction Cannot Be Interrupted */
216#define ANOMALY_05000477 (1)
217/* Reads of ITEST_COMMAND and ITEST_DATA Registers Cause Cache Corruption */
218#define ANOMALY_05000481 (1)
219/* Possible USB Data Corruption When Multiple Endpoints Are Accessed by the Core */
220#define ANOMALY_05000483 (1)
221/* PLL_CTL Change Using bfrom_SysControl() Can Result in Processor Overclocking */
bc9c6427 222#define ANOMALY_05000485 (_ANOMALY_BF526_BF527(< 2, >= 0))
e5d8984b
MF
223/* The CODEC Zero-Cross Detect Feature is not Functional */
224#define ANOMALY_05000487 (1)
bc9c6427
MF
225/* SPI Master Boot Can Fail Under Certain Conditions */
226#define ANOMALY_05000490 (1)
227/* Instruction Memory Stalls Can Cause IFLUSH to Fail */
53ea1505 228#define ANOMALY_05000491 (1)
bc9c6427
MF
229/* EXCPT Instruction May Be Lost If NMI Happens Simultaneously */
230#define ANOMALY_05000494 (1)
231/* CNT_COMMAND Functionality Depends on CNT_IMASK Configuration */
232#define ANOMALY_05000498 (1)
233/* RXS Bit in SPI_STAT May Become Stuck In RX DMA Modes */
234#define ANOMALY_05000501 (1)
d4d77308
MF
235
236/* Anomalies that don't exist on this proc */
53ea1505
MF
237#define ANOMALY_05000099 (0)
238#define ANOMALY_05000120 (0)
d4d77308 239#define ANOMALY_05000125 (0)
53ea1505 240#define ANOMALY_05000149 (0)
d4d77308 241#define ANOMALY_05000158 (0)
51ee6e05 242#define ANOMALY_05000171 (0)
53ea1505
MF
243#define ANOMALY_05000179 (0)
244#define ANOMALY_05000182 (0)
d4d77308 245#define ANOMALY_05000183 (0)
53ea1505 246#define ANOMALY_05000189 (0)
d4d77308 247#define ANOMALY_05000198 (0)
53ea1505
MF
248#define ANOMALY_05000202 (0)
249#define ANOMALY_05000215 (0)
250#define ANOMALY_05000219 (0)
251#define ANOMALY_05000220 (0)
51ee6e05 252#define ANOMALY_05000227 (0)
d4d77308 253#define ANOMALY_05000230 (0)
53ea1505
MF
254#define ANOMALY_05000231 (0)
255#define ANOMALY_05000233 (0)
256#define ANOMALY_05000234 (0)
51ee6e05 257#define ANOMALY_05000242 (0)
d4d77308 258#define ANOMALY_05000244 (0)
53ea1505
MF
259#define ANOMALY_05000248 (0)
260#define ANOMALY_05000250 (0)
261#define ANOMALY_05000257 (0)
d4d77308
MF
262#define ANOMALY_05000261 (0)
263#define ANOMALY_05000263 (0)
264#define ANOMALY_05000266 (0)
265#define ANOMALY_05000273 (0)
53ea1505 266#define ANOMALY_05000274 (0)
a9d6777d 267#define ANOMALY_05000278 (0)
53ea1505
MF
268#define ANOMALY_05000281 (0)
269#define ANOMALY_05000283 (0)
47832cd1 270#define ANOMALY_05000285 (0)
53ea1505
MF
271#define ANOMALY_05000287 (0)
272#define ANOMALY_05000301 (0)
a9d6777d 273#define ANOMALY_05000305 (0)
0656ef2b 274#define ANOMALY_05000307 (0)
d4d77308 275#define ANOMALY_05000311 (0)
47832cd1 276#define ANOMALY_05000312 (0)
53ea1505 277#define ANOMALY_05000315 (0)
d4d77308 278#define ANOMALY_05000323 (0)
51ee6e05 279#define ANOMALY_05000362 (1)
0656ef2b 280#define ANOMALY_05000363 (0)
bc9c6427 281#define ANOMALY_05000383 (0)
53ea1505
MF
282#define ANOMALY_05000400 (0)
283#define ANOMALY_05000402 (0)
47832cd1 284#define ANOMALY_05000412 (0)
a9d6777d
MF
285#define ANOMALY_05000447 (0)
286#define ANOMALY_05000448 (0)
53ea1505 287#define ANOMALY_05000474 (0)
bc9c6427 288#define ANOMALY_05000480 (0)
d4d77308
MF
289
290#endif