anomaly.h 8.9 KB
Newer Older
B
Bryan Wu 已提交
1
/*
2 3
 * File: include/asm-blackfin/mach-bf537/anomaly.h
 * Bugs: Enter bugs at http://blackfin.uclinux.org/
B
Bryan Wu 已提交
4
 *
5
 * Copyright (C) 2004-2009 Analog Devices Inc.
6
 * Licensed under the GPL-2 or later.
B
Bryan Wu 已提交
7 8
 */

9
/* This file should be up to date with:
10
 *  - Revision D, 09/18/2008; ADSP-BF534/ADSP-BF536/ADSP-BF537 Blackfin Processor Anomaly List
B
Bryan Wu 已提交
11 12 13 14 15 16
 */

#ifndef _MACH_ANOMALY_H_
#define _MACH_ANOMALY_H_

/* We do not support 0.1 silicon - sorry */
17
#if __SILICON_REVISION__ < 2
18
# error will not work on BF537 silicon version 0.0 or 0.1
B
Bryan Wu 已提交
19 20
#endif

21 22 23 24
#if defined(__ADSPBF534__)
# define ANOMALY_BF534 1
#else
# define ANOMALY_BF534 0
B
Bryan Wu 已提交
25
#endif
26 27 28 29
#if defined(__ADSPBF536__)
# define ANOMALY_BF536 1
#else
# define ANOMALY_BF536 0
B
Bryan Wu 已提交
30
#endif
31 32 33 34
#if defined(__ADSPBF537__)
# define ANOMALY_BF537 1
#else
# define ANOMALY_BF537 0
B
Bryan Wu 已提交
35 36
#endif

37 38
/* Multi-issue instruction with dsp32shiftimm in slot1 and P-reg store in slot 2 not supported */
#define ANOMALY_05000074 (1)
39
/* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
40
#define ANOMALY_05000119 (1)
41
/* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
42 43 44
#define ANOMALY_05000122 (1)
/* Killed 32-bit MMR write leads to next system MMR access thinking it should be 32-bit */
#define ANOMALY_05000157 (__SILICON_REVISION__ < 2)
45
/* PPI_DELAY Not Functional in PPI Modes with 0 Frame Syncs */
46 47 48
#define ANOMALY_05000180 (1)
/* Instruction Cache Is Not Functional */
#define ANOMALY_05000237 (__SILICON_REVISION__ < 2)
49
/* If I-Cache Is On, CSYNC/SSYNC/IDLE Around Change of Control Causes Failures */
50
#define ANOMALY_05000244 (__SILICON_REVISION__ < 3)
51
/* False Hardware Error from an Access in the Shadow of a Conditional Branch */
52 53 54
#define ANOMALY_05000245 (1)
/* CLKIN Buffer Output Enable Reset Behavior Is Changed */
#define ANOMALY_05000247 (1)
55
/* Incorrect Bit Shift of Data Word in Multichannel (TDM) Mode in Certain Conditions */
56 57 58
#define ANOMALY_05000250 (__SILICON_REVISION__ < 3)
/* EMAC Tx DMA error after an early frame abort */
#define ANOMALY_05000252 (__SILICON_REVISION__ < 3)
59
/* Maximum External Clock Speed for Timers */
60
#define ANOMALY_05000253 (__SILICON_REVISION__ < 3)
61
/* Incorrect Timer Pulse Width in Single-Shot PWM_OUT Mode with External Clock */
62
#define ANOMALY_05000254 (__SILICON_REVISION__ > 2)
63
/* Entering Hibernate State with RTC Seconds Interrupt Not Functional */
64 65 66
#define ANOMALY_05000255 (__SILICON_REVISION__ < 3)
/* EMAC MDIO input latched on wrong MDC edge */
#define ANOMALY_05000256 (__SILICON_REVISION__ < 3)
67
/* Interrupt/Exception During Short Hardware Loop May Cause Bad Instruction Fetches */
68
#define ANOMALY_05000257 (__SILICON_REVISION__ < 3)
69
/* Instruction Cache Is Corrupted When Bits 9 and 12 of the ICPLB Data Registers Differ */
70
#define ANOMALY_05000258 (((ANOMALY_BF536 || ANOMALY_BF537) && __SILICON_REVISION__ == 1) || __SILICON_REVISION__ == 2)
71
/* ICPLB_STATUS MMR Register May Be Corrupted */
72
#define ANOMALY_05000260 (__SILICON_REVISION__ == 2)
73
/* DCPLB_FAULT_ADDR MMR Register May Be Corrupted */
74
#define ANOMALY_05000261 (__SILICON_REVISION__ < 3)
75
/* Stores To Data Cache May Be Lost */
76
#define ANOMALY_05000262 (__SILICON_REVISION__ < 3)
77
/* Hardware Loop Corrupted When Taking an ICPLB Exception */
78
#define ANOMALY_05000263 (__SILICON_REVISION__ == 2)
79
/* CSYNC/SSYNC/IDLE Causes Infinite Stall in Penultimate Instruction in Hardware Loop */
80
#define ANOMALY_05000264 (__SILICON_REVISION__ < 3)
81
/* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
82 83 84
#define ANOMALY_05000265 (1)
/* Memory DMA error when peripheral DMA is running with non-zero DEB_TRAFFIC_PERIOD */
#define ANOMALY_05000268 (__SILICON_REVISION__ < 3)
85
/* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Decrease */
86
#define ANOMALY_05000270 (__SILICON_REVISION__ < 3)
87
/* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
88
#define ANOMALY_05000272 (1)
89
/* Writes to Synchronous SDRAM Memory May Be Lost */
90
#define ANOMALY_05000273 (__SILICON_REVISION__ < 3)
91
/* Writes to an I/O Data Register One SCLK Cycle after an Edge Is Detected May Clear Interrupt */
92
#define ANOMALY_05000277 (__SILICON_REVISION__ < 3)
93
/* Disabling Peripherals with DMA Running May Cause DMA System Instability */
94 95 96
#define ANOMALY_05000278 (((ANOMALY_BF536 || ANOMALY_BF537) && __SILICON_REVISION__ < 3) || (ANOMALY_BF534 && __SILICON_REVISION__ < 2))
/* SPI Master boot mode does not work well with Atmel Data flash devices */
#define ANOMALY_05000280 (1)
97
/* False Hardware Error Exception When ISR Context Is Not Restored */
98
#define ANOMALY_05000281 (__SILICON_REVISION__ < 3)
99
/* Memory DMA Corruption with 32-Bit Data and Traffic Control */
100 101 102 103 104
#define ANOMALY_05000282 (__SILICON_REVISION__ < 3)
/* System MMR Write Is Stalled Indefinitely When Killed in a Particular Stage */
#define ANOMALY_05000283 (__SILICON_REVISION__ < 3)
/* New Feature: EMAC TX DMA Word Alignment (Not Available On Older Silicon) */
#define ANOMALY_05000285 (__SILICON_REVISION__ < 3)
105
/* SPORTs May Receive Bad Data If FIFOs Fill Up */
106
#define ANOMALY_05000288 (__SILICON_REVISION__ < 3)
107
/* Memory-To-Memory DMA Source/Destination Descriptors Must Be in Same Memory Space */
108 109 110
#define ANOMALY_05000301 (1)
/* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
#define ANOMALY_05000304 (__SILICON_REVISION__ < 3)
111
/* SPORT_HYS Bit in PLL_CTL Register Is Not Functional */
112 113 114 115 116
#define ANOMALY_05000305 (__SILICON_REVISION__ < 3)
/* SCKELOW Bit Does Not Maintain State Through Hibernate */
#define ANOMALY_05000307 (__SILICON_REVISION__ < 3)
/* Writing UART_THR while UART clock is disabled sends erroneous start bit */
#define ANOMALY_05000309 (__SILICON_REVISION__ < 3)
117
/* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
118
#define ANOMALY_05000310 (1)
119
/* Errors When SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
120
#define ANOMALY_05000312 (1)
121
/* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
122 123 124 125 126 127 128 129 130
#define ANOMALY_05000313 (1)
/* Killed System MMR Write Completes Erroneously On Next System MMR Access */
#define ANOMALY_05000315 (__SILICON_REVISION__ < 3)
/* EMAC RMII mode: collisions occur in Full Duplex mode */
#define ANOMALY_05000316 (__SILICON_REVISION__ < 3)
/* EMAC RMII mode: TX frames in half duplex fail with status No Carrier */
#define ANOMALY_05000321 (__SILICON_REVISION__ < 3)
/* EMAC RMII mode at 10-Base-T speed: RX frames not received properly */
#define ANOMALY_05000322 (1)
131 132
/* Ethernet MAC MDIO Reads Do Not Meet IEEE Specification */
#define ANOMALY_05000341 (__SILICON_REVISION__ >= 3)
133 134
/* New Feature: UART Remains Enabled after UART Boot */
#define ANOMALY_05000350 (__SILICON_REVISION__ >= 3)
135 136
/* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
#define ANOMALY_05000355 (1)
137 138 139 140
/* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
#define ANOMALY_05000357 (1)
/* DMAs that Go Urgent during Tight Core Writes to External Memory Are Blocked */
#define ANOMALY_05000359 (1)
141 142 143 144 145
/* 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 (1)
/* SSYNC Stalls Processor when Executed from Non-Cacheable Memory */
146
#define ANOMALY_05000402 (__SILICON_REVISION__ >= 5)
147 148
/* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
#define ANOMALY_05000403 (1)
149 150 151 152 153 154
/* Speculative Fetches Can Cause Undesired External FIFO Operations */
#define ANOMALY_05000416 (1)
/* 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)
155 156
/* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
#define ANOMALY_05000443 (1)
157 158
/* False Hardware Error when RETI points to invalid memory */
#define ANOMALY_05000461 (1)
159

160
/* Anomalies that don't exist on this proc */
161 162
#define ANOMALY_05000099 (0)
#define ANOMALY_05000120 (0)
163
#define ANOMALY_05000125 (0)
164
#define ANOMALY_05000149 (0)
165
#define ANOMALY_05000158 (0)
166 167
#define ANOMALY_05000171 (0)
#define ANOMALY_05000179 (0)
168 169
#define ANOMALY_05000183 (0)
#define ANOMALY_05000198 (0)
170 171 172
#define ANOMALY_05000215 (0)
#define ANOMALY_05000220 (0)
#define ANOMALY_05000227 (0)
173
#define ANOMALY_05000230 (0)
174 175 176 177
#define ANOMALY_05000231 (0)
#define ANOMALY_05000233 (0)
#define ANOMALY_05000242 (0)
#define ANOMALY_05000248 (0)
178
#define ANOMALY_05000266 (0)
179 180
#define ANOMALY_05000274 (0)
#define ANOMALY_05000287 (0)
181
#define ANOMALY_05000311 (0)
182
#define ANOMALY_05000323 (0)
183
#define ANOMALY_05000353 (1)
184
#define ANOMALY_05000362 (1)
185
#define ANOMALY_05000363 (0)
186
#define ANOMALY_05000380 (0)
187
#define ANOMALY_05000386 (1)
188 189
#define ANOMALY_05000389 (0)
#define ANOMALY_05000400 (0)
190
#define ANOMALY_05000412 (0)
191
#define ANOMALY_05000430 (0)
192
#define ANOMALY_05000432 (0)
193
#define ANOMALY_05000435 (0)
194 195
#define ANOMALY_05000447 (0)
#define ANOMALY_05000448 (0)
196 197
#define ANOMALY_05000456 (0)
#define ANOMALY_05000450 (0)
198 199

#endif