anomaly.h 8.0 KB
Newer Older
1
/*
M
Mike Frysinger 已提交
2 3 4 5 6
 * DO NOT EDIT THIS FILE
 * This file is under version control at
 *   svn://sources.blackfin.uclinux.org/toolchain/trunk/proc-defs/header-frags/
 * and can be replaced with that version at any time
 * DO NOT EDIT THIS FILE
7
 *
M
Mike Frysinger 已提交
8 9 10
 * Copyright 2004-2009 Analog Devices Inc.
 * Licensed under the ADI BSD license.
 *   https://docs.blackfin.uclinux.org/doku.php?id=adi_bsd
11 12
 */

13
/* This file should be up to date with:
14 15
 *  - Revision G, 09/18/2008; ADSP-BF538/BF538F Blackfin Processor Anomaly List
 *  - Revision L, 09/18/2008; ADSP-BF539/BF539F Blackfin Processor Anomaly List
16 17 18 19 20
 */

#ifndef _MACH_ANOMALY_H_
#define _MACH_ANOMALY_H_

21
/* We do not support old silicon - sorry */
22
#if __SILICON_REVISION__ < 4
23
# error will not work on BF538/BF539 silicon version 0.0, 0.1, 0.2, or 0.3
24 25
#endif

26 27 28 29 30 31 32 33 34 35 36
#if defined(__ADSPBF538__)
# define ANOMALY_BF538 1
#else
# define ANOMALY_BF538 0
#endif
#if defined(__ADSPBF539__)
# define ANOMALY_BF539 1
#else
# define ANOMALY_BF539 0
#endif

M
Mike Frysinger 已提交
37
/* Multi-Issue Instruction with dsp32shiftimm in slot1 and P-reg Store in slot2 Not Supported */
38 39 40 41 42
#define ANOMALY_05000074 (1)
/* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
#define ANOMALY_05000119 (1)
/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
#define ANOMALY_05000122 (1)
M
Mike Frysinger 已提交
43
/* PPI Data Lengths between 8 and 16 Do Not Zero Out Upper Bits */
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
#define ANOMALY_05000166 (1)
/* PPI_COUNT Cannot Be Programmed to 0 in General Purpose TX or RX Modes */
#define ANOMALY_05000179 (1)
/* PPI_DELAY Not Functional in PPI Modes with 0 Frame Syncs */
#define ANOMALY_05000180 (1)
/* False I/O Pin Interrupts on Edge-Sensitive Inputs When Polarity Setting Is Changed */
#define ANOMALY_05000193 (1)
/* Current DMA Address Shows Wrong Value During Carry Fix */
#define ANOMALY_05000199 (__SILICON_REVISION__ < 4)
/* NMI Event at Boot Time Results in Unpredictable State */
#define ANOMALY_05000219 (1)
/* SPI Slave Boot Mode Modifies Registers from Reset Value */
#define ANOMALY_05000229 (1)
/* PPI_FS3 Is Not Driven in 2 or 3 Internal Frame Sync Transmit Modes */
#define ANOMALY_05000233 (1)
59
/* If I-Cache Is On, CSYNC/SSYNC/IDLE Around Change of Control Causes Failures */
60
#define ANOMALY_05000244 (__SILICON_REVISION__ < 3)
61
/* False Hardware Error from an Access in the Shadow of a Conditional Branch */
62 63 64
#define ANOMALY_05000245 (1)
/* Maximum External Clock Speed for Timers */
#define ANOMALY_05000253 (1)
65
/* DCPLB_FAULT_ADDR MMR Register May Be Corrupted */
66 67 68 69 70 71 72 73 74 75 76
#define ANOMALY_05000261 (__SILICON_REVISION__ < 3)
/* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Decrease */
#define ANOMALY_05000270 (__SILICON_REVISION__ < 4)
/* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
#define ANOMALY_05000272 (1)
/* Writes to Synchronous SDRAM Memory May Be Lost */
#define ANOMALY_05000273 (__SILICON_REVISION__ < 4)
/* Writes to an I/O Data Register One SCLK Cycle after an Edge Is Detected May Clear Interrupt */
#define ANOMALY_05000277 (__SILICON_REVISION__ < 4)
/* Disabling Peripherals with DMA Running May Cause DMA System Instability */
#define ANOMALY_05000278 (__SILICON_REVISION__ < 4)
M
Mike Frysinger 已提交
77
/* False Hardware Error Exception when ISR Context Is Not Restored */
78 79 80
#define ANOMALY_05000281 (__SILICON_REVISION__ < 4)
/* Memory DMA Corruption with 32-Bit Data and Traffic Control */
#define ANOMALY_05000282 (__SILICON_REVISION__ < 4)
M
Mike Frysinger 已提交
81
/* System MMR Write Is Stalled Indefinitely when Killed in a Particular Stage */
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
#define ANOMALY_05000283 (__SILICON_REVISION__ < 4)
/* SPORTs May Receive Bad Data If FIFOs Fill Up */
#define ANOMALY_05000288 (__SILICON_REVISION__ < 4)
/* Reads from CAN Mailbox and Acceptance Mask Area Can Fail */
#define ANOMALY_05000291 (__SILICON_REVISION__ < 4)
/* Hibernate Leakage Current Is Higher Than Specified */
#define ANOMALY_05000293 (__SILICON_REVISION__ < 4)
/* Timer Pin Limitations for PPI TX Modes with External Frame Syncs */
#define ANOMALY_05000294 (1)
/* Memory-To-Memory DMA Source/Destination Descriptors Must Be in Same Memory Space */
#define ANOMALY_05000301 (__SILICON_REVISION__ < 4)
/* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
#define ANOMALY_05000304 (__SILICON_REVISION__ < 4)
/* SCKELOW Bit Does Not Maintain State Through Hibernate */
#define ANOMALY_05000307 (__SILICON_REVISION__ < 4)
/* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
#define ANOMALY_05000310 (1)
M
Mike Frysinger 已提交
99
/* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
100
#define ANOMALY_05000312 (__SILICON_REVISION__ < 5)
101
/* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
102
#define ANOMALY_05000313 (__SILICON_REVISION__ < 4)
M
Mike Frysinger 已提交
103
/* Killed System MMR Write Completes Erroneously on Next System MMR Access */
104 105
#define ANOMALY_05000315 (__SILICON_REVISION__ < 4)
/* PFx Glitch on Write to FIO_FLAG_D or FIO_FLAG_T */
106
#define ANOMALY_05000318 (ANOMALY_BF539 && __SILICON_REVISION__ < 4)
107 108 109 110 111 112 113 114 115 116
/* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
#define ANOMALY_05000355 (__SILICON_REVISION__ < 5)
/* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
#define ANOMALY_05000357 (__SILICON_REVISION__ < 5)
/* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
#define ANOMALY_05000366 (1)
/* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
#define ANOMALY_05000371 (__SILICON_REVISION__ < 5)
/* Entering Hibernate State with Peripheral Wakeups Enabled Draws Excess Current */
#define ANOMALY_05000374 (__SILICON_REVISION__ == 4)
M
Mike Frysinger 已提交
117
/* GPIO Pins PC1 and PC4 Can Function as Normal Outputs */
118 119
#define ANOMALY_05000375 (__SILICON_REVISION__ < 4)
/* SSYNC Stalls Processor when Executed from Non-Cacheable Memory */
Y
Yi Li 已提交
120
#define ANOMALY_05000402 (__SILICON_REVISION__ == 3)
121 122 123 124
/* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
#define ANOMALY_05000403 (1)
/* Speculative Fetches Can Cause Undesired External FIFO Operations */
#define ANOMALY_05000416 (1)
125 126 127 128 129 130
/* Multichannel SPORT Channel Misalignment Under Specific Configuration */
#define ANOMALY_05000425 (1)
/* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
#define ANOMALY_05000426 (1)
/* Specific GPIO Pins May Change State when Entering Hibernate */
#define ANOMALY_05000436 (__SILICON_REVISION__ > 3)
131 132
/* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
#define ANOMALY_05000443 (1)
M
Mike Frysinger 已提交
133
/* False Hardware Error when RETI Points to Invalid Memory */
134
#define ANOMALY_05000461 (1)
M
Mike Frysinger 已提交
135 136 137 138
/* Interrupted 32-Bit SPORT Data Register Access Results In Underflow */
#define ANOMALY_05000473 (1)
/* TESTSET Instruction Cannot Be Interrupted */
#define ANOMALY_05000477 (1)
139 140

/* Anomalies that don't exist on this proc */
141 142
#define ANOMALY_05000099 (0)
#define ANOMALY_05000120 (0)
M
Mike Frysinger 已提交
143
#define ANOMALY_05000125 (0)
144
#define ANOMALY_05000149 (0)
145
#define ANOMALY_05000158 (0)
146
#define ANOMALY_05000171 (0)
M
Mike Frysinger 已提交
147
#define ANOMALY_05000182 (0)
148
#define ANOMALY_05000189 (0)
149
#define ANOMALY_05000198 (0)
M
Mike Frysinger 已提交
150
#define ANOMALY_05000202 (0)
151 152 153
#define ANOMALY_05000215 (0)
#define ANOMALY_05000220 (0)
#define ANOMALY_05000227 (0)
154
#define ANOMALY_05000230 (0)
155
#define ANOMALY_05000231 (0)
M
Mike Frysinger 已提交
156
#define ANOMALY_05000234 (0)
157 158 159 160
#define ANOMALY_05000242 (0)
#define ANOMALY_05000248 (0)
#define ANOMALY_05000250 (0)
#define ANOMALY_05000254 (0)
M
Mike Frysinger 已提交
161
#define ANOMALY_05000257 (0)
162
#define ANOMALY_05000263 (0)
M
Mike Frysinger 已提交
163
#define ANOMALY_05000266 (0)
164 165
#define ANOMALY_05000274 (0)
#define ANOMALY_05000287 (0)
166
#define ANOMALY_05000305 (0)
167 168
#define ANOMALY_05000311 (0)
#define ANOMALY_05000323 (0)
169
#define ANOMALY_05000353 (1)
170
#define ANOMALY_05000362 (1)
171
#define ANOMALY_05000363 (0)
172
#define ANOMALY_05000364 (0)
173
#define ANOMALY_05000380 (0)
174
#define ANOMALY_05000386 (1)
175 176
#define ANOMALY_05000389 (0)
#define ANOMALY_05000400 (0)
177
#define ANOMALY_05000412 (0)
178
#define ANOMALY_05000430 (0)
179
#define ANOMALY_05000432 (0)
180
#define ANOMALY_05000435 (0)
181 182
#define ANOMALY_05000447 (0)
#define ANOMALY_05000448 (0)
183 184
#define ANOMALY_05000456 (0)
#define ANOMALY_05000450 (0)
M
Mike Frysinger 已提交
185 186
#define ANOMALY_05000465 (0)
#define ANOMALY_05000467 (0)
M
Mike Frysinger 已提交
187 188
#define ANOMALY_05000474 (0)
#define ANOMALY_05000475 (0)
189 190

#endif