anomaly.h 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. /*
  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
  7. *
  8. * Copyright 2004-2011 Analog Devices Inc.
  9. * Licensed under the Clear BSD license.
  10. */
  11. /* This file should be up to date with:
  12. * - Revision F, 05/23/2011; ADSP-BF534/ADSP-BF536/ADSP-BF537 Blackfin Processor Anomaly List
  13. */
  14. #ifndef _MACH_ANOMALY_H_
  15. #define _MACH_ANOMALY_H_
  16. /* 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
  19. #endif
  20. #if defined(__ADSPBF534__)
  21. # define ANOMALY_BF534 1
  22. #else
  23. # define ANOMALY_BF534 0
  24. #endif
  25. #if defined(__ADSPBF536__)
  26. # define ANOMALY_BF536 1
  27. #else
  28. # define ANOMALY_BF536 0
  29. #endif
  30. #if defined(__ADSPBF537__)
  31. # define ANOMALY_BF537 1
  32. #else
  33. # define ANOMALY_BF537 0
  34. #endif
  35. /* Multi-Issue Instruction with dsp32shiftimm in slot1 and P-reg Store in slot2 Not Supported */
  36. #define ANOMALY_05000074 (1)
  37. /* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
  38. #define ANOMALY_05000119 (1)
  39. /* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
  40. #define ANOMALY_05000122 (1)
  41. /* PPI_DELAY Not Functional in PPI Modes with 0 Frame Syncs */
  42. #define ANOMALY_05000180 (1)
  43. /* If I-Cache Is On, CSYNC/SSYNC/IDLE Around Change of Control Causes Failures */
  44. #define ANOMALY_05000244 (__SILICON_REVISION__ < 3)
  45. /* False Hardware Error from an Access in the Shadow of a Conditional Branch */
  46. #define ANOMALY_05000245 (1)
  47. /* Incorrect Bit Shift of Data Word in Multichannel (TDM) Mode in Certain Conditions */
  48. #define ANOMALY_05000250 (__SILICON_REVISION__ < 3)
  49. /* EMAC TX DMA Error After an Early Frame Abort */
  50. #define ANOMALY_05000252 (__SILICON_REVISION__ < 3)
  51. /* Maximum External Clock Speed for Timers */
  52. #define ANOMALY_05000253 (__SILICON_REVISION__ < 3)
  53. /* Incorrect Timer Pulse Width in Single-Shot PWM_OUT Mode with External Clock */
  54. #define ANOMALY_05000254 (__SILICON_REVISION__ > 2)
  55. /* Entering Hibernate State with RTC Seconds Interrupt Not Functional */
  56. #define ANOMALY_05000255 (__SILICON_REVISION__ < 3)
  57. /* EMAC MDIO Input Latched on Wrong MDC Edge */
  58. #define ANOMALY_05000256 (__SILICON_REVISION__ < 3)
  59. /* Interrupt/Exception During Short Hardware Loop May Cause Bad Instruction Fetches */
  60. #define ANOMALY_05000257 (__SILICON_REVISION__ < 3)
  61. /* Instruction Cache Is Corrupted When Bits 9 and 12 of the ICPLB Data Registers Differ */
  62. #define ANOMALY_05000258 (((ANOMALY_BF536 || ANOMALY_BF537) && __SILICON_REVISION__ == 1) || __SILICON_REVISION__ == 2)
  63. /* ICPLB_STATUS MMR Register May Be Corrupted */
  64. #define ANOMALY_05000260 (__SILICON_REVISION__ == 2)
  65. /* DCPLB_FAULT_ADDR MMR Register May Be Corrupted */
  66. #define ANOMALY_05000261 (__SILICON_REVISION__ < 3)
  67. /* Stores To Data Cache May Be Lost */
  68. #define ANOMALY_05000262 (__SILICON_REVISION__ < 3)
  69. /* Hardware Loop Corrupted When Taking an ICPLB Exception */
  70. #define ANOMALY_05000263 (__SILICON_REVISION__ == 2)
  71. /* CSYNC/SSYNC/IDLE Causes Infinite Stall in Penultimate Instruction in Hardware Loop */
  72. #define ANOMALY_05000264 (__SILICON_REVISION__ < 3)
  73. /* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
  74. #define ANOMALY_05000265 (1)
  75. /* Memory DMA Error when Peripheral DMA Is Running with Non-Zero DEB_TRAFFIC_PERIOD */
  76. #define ANOMALY_05000268 (__SILICON_REVISION__ < 3)
  77. /* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Decrease */
  78. #define ANOMALY_05000270 (__SILICON_REVISION__ < 3)
  79. /* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
  80. #define ANOMALY_05000272 (1)
  81. /* Writes to Synchronous SDRAM Memory May Be Lost */
  82. #define ANOMALY_05000273 (__SILICON_REVISION__ < 3)
  83. /* Writes to an I/O Data Register One SCLK Cycle after an Edge Is Detected May Clear Interrupt */
  84. #define ANOMALY_05000277 (__SILICON_REVISION__ < 3)
  85. /* Disabling Peripherals with DMA Running May Cause DMA System Instability */
  86. #define ANOMALY_05000278 (((ANOMALY_BF536 || ANOMALY_BF537) && __SILICON_REVISION__ < 3) || (ANOMALY_BF534 && __SILICON_REVISION__ < 2))
  87. /* SPI Master Boot Mode Does Not Work Well with Atmel Data Flash Devices */
  88. #define ANOMALY_05000280 (1)
  89. /* False Hardware Error when ISR Context Is Not Restored */
  90. #define ANOMALY_05000281 (__SILICON_REVISION__ < 3)
  91. /* Memory DMA Corruption with 32-Bit Data and Traffic Control */
  92. #define ANOMALY_05000282 (__SILICON_REVISION__ < 3)
  93. /* System MMR Write Is Stalled Indefinitely when Killed in a Particular Stage */
  94. #define ANOMALY_05000283 (__SILICON_REVISION__ < 3)
  95. /* TXDWA Bit in EMAC_SYSCTL Register Is Not Functional */
  96. #define ANOMALY_05000285 (__SILICON_REVISION__ < 3)
  97. /* SPORTs May Receive Bad Data If FIFOs Fill Up */
  98. #define ANOMALY_05000288 (__SILICON_REVISION__ < 3)
  99. /* Memory-To-Memory DMA Source/Destination Descriptors Must Be in Same Memory Space */
  100. #define ANOMALY_05000301 (1)
  101. /* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
  102. #define ANOMALY_05000304 (__SILICON_REVISION__ < 3)
  103. /* SPORT_HYS Bit in PLL_CTL Register Is Not Functional */
  104. #define ANOMALY_05000305 (__SILICON_REVISION__ < 3)
  105. /* SCKELOW Bit Does Not Maintain State Through Hibernate */
  106. #define ANOMALY_05000307 (__SILICON_REVISION__ < 3)
  107. /* Writing UART_THR While UART Clock Is Disabled Sends Erroneous Start Bit */
  108. #define ANOMALY_05000309 (__SILICON_REVISION__ < 3)
  109. /* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
  110. #define ANOMALY_05000310 (1)
  111. /* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
  112. #define ANOMALY_05000312 (1)
  113. /* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
  114. #define ANOMALY_05000313 (1)
  115. /* Killed System MMR Write Completes Erroneously on Next System MMR Access */
  116. #define ANOMALY_05000315 (__SILICON_REVISION__ < 3)
  117. /* EMAC RMII Mode: Collisions Occur in Full Duplex Mode */
  118. #define ANOMALY_05000316 (__SILICON_REVISION__ < 3)
  119. /* EMAC RMII Mode: TX Frames in Half Duplex Fail with Status "No Carrier" */
  120. #define ANOMALY_05000321 (__SILICON_REVISION__ < 3)
  121. /* EMAC RMII Mode at 10-Base-T Speed: RX Frames Not Received Properly */
  122. #define ANOMALY_05000322 (1)
  123. /* Ethernet MAC MDIO Reads Do Not Meet IEEE Specification */
  124. #define ANOMALY_05000341 (__SILICON_REVISION__ >= 3)
  125. /* UART Gets Disabled after UART Boot */
  126. #define ANOMALY_05000350 (__SILICON_REVISION__ >= 3)
  127. /* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
  128. #define ANOMALY_05000355 (1)
  129. /* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
  130. #define ANOMALY_05000357 (1)
  131. /* DMAs that Go Urgent during Tight Core Writes to External Memory Are Blocked */
  132. #define ANOMALY_05000359 (1)
  133. /* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
  134. #define ANOMALY_05000366 (1)
  135. /* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
  136. #define ANOMALY_05000371 (1)
  137. /* SSYNC Stalls Processor when Executed from Non-Cacheable Memory */
  138. #define ANOMALY_05000402 (__SILICON_REVISION__ == 2)
  139. /* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
  140. #define ANOMALY_05000403 (1)
  141. /* Speculative Fetches Can Cause Undesired External FIFO Operations */
  142. #define ANOMALY_05000416 (1)
  143. /* Multichannel SPORT Channel Misalignment Under Specific Configuration */
  144. #define ANOMALY_05000425 (1)
  145. /* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
  146. #define ANOMALY_05000426 (1)
  147. /* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
  148. #define ANOMALY_05000443 (1)
  149. /* False Hardware Error when RETI Points to Invalid Memory */
  150. #define ANOMALY_05000461 (1)
  151. /* Synchronization Problem at Startup May Cause SPORT Transmit Channels to Misalign */
  152. #define ANOMALY_05000462 (1)
  153. /* Interrupted SPORT Receive Data Register Read Results In Underflow when SLEN > 15 */
  154. #define ANOMALY_05000473 (1)
  155. /* Possible Lockup Condition when Modifying PLL from External Memory */
  156. #define ANOMALY_05000475 (1)
  157. /* TESTSET Instruction Cannot Be Interrupted */
  158. #define ANOMALY_05000477 (1)
  159. /* Multiple Simultaneous Urgent DMA Requests May Cause DMA System Instability */
  160. #define ANOMALY_05000480 (__SILICON_REVISION__ < 3)
  161. /* Reads of ITEST_COMMAND and ITEST_DATA Registers Cause Cache Corruption */
  162. #define ANOMALY_05000481 (1)
  163. /* PLL May Latch Incorrect Values Coming Out of Reset */
  164. #define ANOMALY_05000489 (1)
  165. /* Instruction Memory Stalls Can Cause IFLUSH to Fail */
  166. #define ANOMALY_05000491 (1)
  167. /* EXCPT Instruction May Be Lost If NMI Happens Simultaneously */
  168. #define ANOMALY_05000494 (1)
  169. /* RXS Bit in SPI_STAT May Become Stuck In RX DMA Modes */
  170. #define ANOMALY_05000501 (1)
  171. /*
  172. * These anomalies have been "phased" out of analog.com anomaly sheets and are
  173. * here to show running on older silicon just isn't feasible.
  174. */
  175. /* Killed 32-Bit MMR Write Leads to Next System MMR Access Thinking It Should Be 32-Bit */
  176. #define ANOMALY_05000157 (__SILICON_REVISION__ < 2)
  177. /* Instruction Cache Is Not Functional */
  178. #define ANOMALY_05000237 (__SILICON_REVISION__ < 2)
  179. /* Buffered CLKIN Output Is Disabled by Default */
  180. #define ANOMALY_05000247 (__SILICON_REVISION__ < 2)
  181. /* Anomalies that don't exist on this proc */
  182. #define ANOMALY_05000099 (0)
  183. #define ANOMALY_05000120 (0)
  184. #define ANOMALY_05000125 (0)
  185. #define ANOMALY_05000149 (0)
  186. #define ANOMALY_05000158 (0)
  187. #define ANOMALY_05000171 (0)
  188. #define ANOMALY_05000179 (0)
  189. #define ANOMALY_05000182 (0)
  190. #define ANOMALY_05000183 (0)
  191. #define ANOMALY_05000189 (0)
  192. #define ANOMALY_05000198 (0)
  193. #define ANOMALY_05000202 (0)
  194. #define ANOMALY_05000215 (0)
  195. #define ANOMALY_05000219 (0)
  196. #define ANOMALY_05000220 (0)
  197. #define ANOMALY_05000227 (0)
  198. #define ANOMALY_05000230 (0)
  199. #define ANOMALY_05000231 (0)
  200. #define ANOMALY_05000233 (0)
  201. #define ANOMALY_05000234 (0)
  202. #define ANOMALY_05000242 (0)
  203. #define ANOMALY_05000248 (0)
  204. #define ANOMALY_05000266 (0)
  205. #define ANOMALY_05000274 (0)
  206. #define ANOMALY_05000287 (0)
  207. #define ANOMALY_05000311 (0)
  208. #define ANOMALY_05000323 (0)
  209. #define ANOMALY_05000353 (1)
  210. #define ANOMALY_05000362 (1)
  211. #define ANOMALY_05000363 (0)
  212. #define ANOMALY_05000364 (0)
  213. #define ANOMALY_05000380 (0)
  214. #define ANOMALY_05000383 (0)
  215. #define ANOMALY_05000386 (1)
  216. #define ANOMALY_05000389 (0)
  217. #define ANOMALY_05000400 (0)
  218. #define ANOMALY_05000412 (0)
  219. #define ANOMALY_05000430 (0)
  220. #define ANOMALY_05000432 (0)
  221. #define ANOMALY_05000435 (0)
  222. #define ANOMALY_05000440 (0)
  223. #define ANOMALY_05000447 (0)
  224. #define ANOMALY_05000448 (0)
  225. #define ANOMALY_05000456 (0)
  226. #define ANOMALY_05000450 (0)
  227. #define ANOMALY_05000465 (0)
  228. #define ANOMALY_05000467 (0)
  229. #define ANOMALY_05000474 (0)
  230. #define ANOMALY_05000485 (0)
  231. #define ANOMALY_16000030 (0)
  232. #endif