anomaly.h 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. /*
  2. * File: include/asm-blackfin/mach-bf537/anomaly.h
  3. * Bugs: Enter bugs at http://blackfin.uclinux.org/
  4. *
  5. * Copyright (C) 2004-2009 Analog Devices Inc.
  6. * Licensed under the GPL-2 or later.
  7. */
  8. /* This file should be up to date with:
  9. * - Revision D, 09/18/2008; ADSP-BF534/ADSP-BF536/ADSP-BF537 Blackfin Processor Anomaly List
  10. */
  11. #ifndef _MACH_ANOMALY_H_
  12. #define _MACH_ANOMALY_H_
  13. /* We do not support 0.1 silicon - sorry */
  14. #if __SILICON_REVISION__ < 2
  15. # error will not work on BF537 silicon version 0.0 or 0.1
  16. #endif
  17. #if defined(__ADSPBF534__)
  18. # define ANOMALY_BF534 1
  19. #else
  20. # define ANOMALY_BF534 0
  21. #endif
  22. #if defined(__ADSPBF536__)
  23. # define ANOMALY_BF536 1
  24. #else
  25. # define ANOMALY_BF536 0
  26. #endif
  27. #if defined(__ADSPBF537__)
  28. # define ANOMALY_BF537 1
  29. #else
  30. # define ANOMALY_BF537 0
  31. #endif
  32. /* Multi-issue instruction with dsp32shiftimm in slot1 and P-reg store in slot 2 not supported */
  33. #define ANOMALY_05000074 (1)
  34. /* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
  35. #define ANOMALY_05000119 (1)
  36. /* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
  37. #define ANOMALY_05000122 (1)
  38. /* Killed 32-bit MMR write leads to next system MMR access thinking it should be 32-bit */
  39. #define ANOMALY_05000157 (__SILICON_REVISION__ < 2)
  40. /* PPI_DELAY Not Functional in PPI Modes with 0 Frame Syncs */
  41. #define ANOMALY_05000180 (1)
  42. /* Instruction Cache Is Not Functional */
  43. #define ANOMALY_05000237 (__SILICON_REVISION__ < 2)
  44. /* If I-Cache Is On, CSYNC/SSYNC/IDLE Around Change of Control Causes Failures */
  45. #define ANOMALY_05000244 (__SILICON_REVISION__ < 3)
  46. /* False Hardware Error from an Access in the Shadow of a Conditional Branch */
  47. #define ANOMALY_05000245 (1)
  48. /* CLKIN Buffer Output Enable Reset Behavior Is Changed */
  49. #define ANOMALY_05000247 (1)
  50. /* Incorrect Bit Shift of Data Word in Multichannel (TDM) Mode in Certain Conditions */
  51. #define ANOMALY_05000250 (__SILICON_REVISION__ < 3)
  52. /* EMAC Tx DMA error after an early frame abort */
  53. #define ANOMALY_05000252 (__SILICON_REVISION__ < 3)
  54. /* Maximum External Clock Speed for Timers */
  55. #define ANOMALY_05000253 (__SILICON_REVISION__ < 3)
  56. /* Incorrect Timer Pulse Width in Single-Shot PWM_OUT Mode with External Clock */
  57. #define ANOMALY_05000254 (__SILICON_REVISION__ > 2)
  58. /* Entering Hibernate State with RTC Seconds Interrupt Not Functional */
  59. #define ANOMALY_05000255 (__SILICON_REVISION__ < 3)
  60. /* EMAC MDIO input latched on wrong MDC edge */
  61. #define ANOMALY_05000256 (__SILICON_REVISION__ < 3)
  62. /* Interrupt/Exception During Short Hardware Loop May Cause Bad Instruction Fetches */
  63. #define ANOMALY_05000257 (__SILICON_REVISION__ < 3)
  64. /* Instruction Cache Is Corrupted When Bits 9 and 12 of the ICPLB Data Registers Differ */
  65. #define ANOMALY_05000258 (((ANOMALY_BF536 || ANOMALY_BF537) && __SILICON_REVISION__ == 1) || __SILICON_REVISION__ == 2)
  66. /* ICPLB_STATUS MMR Register May Be Corrupted */
  67. #define ANOMALY_05000260 (__SILICON_REVISION__ == 2)
  68. /* DCPLB_FAULT_ADDR MMR Register May Be Corrupted */
  69. #define ANOMALY_05000261 (__SILICON_REVISION__ < 3)
  70. /* Stores To Data Cache May Be Lost */
  71. #define ANOMALY_05000262 (__SILICON_REVISION__ < 3)
  72. /* Hardware Loop Corrupted When Taking an ICPLB Exception */
  73. #define ANOMALY_05000263 (__SILICON_REVISION__ == 2)
  74. /* CSYNC/SSYNC/IDLE Causes Infinite Stall in Penultimate Instruction in Hardware Loop */
  75. #define ANOMALY_05000264 (__SILICON_REVISION__ < 3)
  76. /* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
  77. #define ANOMALY_05000265 (1)
  78. /* Memory DMA error when peripheral DMA is running with non-zero DEB_TRAFFIC_PERIOD */
  79. #define ANOMALY_05000268 (__SILICON_REVISION__ < 3)
  80. /* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Decrease */
  81. #define ANOMALY_05000270 (__SILICON_REVISION__ < 3)
  82. /* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
  83. #define ANOMALY_05000272 (1)
  84. /* Writes to Synchronous SDRAM Memory May Be Lost */
  85. #define ANOMALY_05000273 (__SILICON_REVISION__ < 3)
  86. /* Writes to an I/O Data Register One SCLK Cycle after an Edge Is Detected May Clear Interrupt */
  87. #define ANOMALY_05000277 (__SILICON_REVISION__ < 3)
  88. /* Disabling Peripherals with DMA Running May Cause DMA System Instability */
  89. #define ANOMALY_05000278 (((ANOMALY_BF536 || ANOMALY_BF537) && __SILICON_REVISION__ < 3) || (ANOMALY_BF534 && __SILICON_REVISION__ < 2))
  90. /* SPI Master boot mode does not work well with Atmel Data flash devices */
  91. #define ANOMALY_05000280 (1)
  92. /* False Hardware Error Exception When ISR Context Is Not Restored */
  93. #define ANOMALY_05000281 (__SILICON_REVISION__ < 3)
  94. /* Memory DMA Corruption with 32-Bit Data and Traffic Control */
  95. #define ANOMALY_05000282 (__SILICON_REVISION__ < 3)
  96. /* System MMR Write Is Stalled Indefinitely When Killed in a Particular Stage */
  97. #define ANOMALY_05000283 (__SILICON_REVISION__ < 3)
  98. /* New Feature: EMAC TX DMA Word Alignment (Not Available On Older Silicon) */
  99. #define ANOMALY_05000285 (__SILICON_REVISION__ < 3)
  100. /* SPORTs May Receive Bad Data If FIFOs Fill Up */
  101. #define ANOMALY_05000288 (__SILICON_REVISION__ < 3)
  102. /* Memory-To-Memory DMA Source/Destination Descriptors Must Be in Same Memory Space */
  103. #define ANOMALY_05000301 (1)
  104. /* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
  105. #define ANOMALY_05000304 (__SILICON_REVISION__ < 3)
  106. /* SPORT_HYS Bit in PLL_CTL Register Is Not Functional */
  107. #define ANOMALY_05000305 (__SILICON_REVISION__ < 3)
  108. /* SCKELOW Bit Does Not Maintain State Through Hibernate */
  109. #define ANOMALY_05000307 (__SILICON_REVISION__ < 3)
  110. /* Writing UART_THR while UART clock is disabled sends erroneous start bit */
  111. #define ANOMALY_05000309 (__SILICON_REVISION__ < 3)
  112. /* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
  113. #define ANOMALY_05000310 (1)
  114. /* Errors When SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
  115. #define ANOMALY_05000312 (1)
  116. /* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
  117. #define ANOMALY_05000313 (1)
  118. /* Killed System MMR Write Completes Erroneously On Next System MMR Access */
  119. #define ANOMALY_05000315 (__SILICON_REVISION__ < 3)
  120. /* EMAC RMII mode: collisions occur in Full Duplex mode */
  121. #define ANOMALY_05000316 (__SILICON_REVISION__ < 3)
  122. /* EMAC RMII mode: TX frames in half duplex fail with status No Carrier */
  123. #define ANOMALY_05000321 (__SILICON_REVISION__ < 3)
  124. /* EMAC RMII mode at 10-Base-T speed: RX frames not received properly */
  125. #define ANOMALY_05000322 (1)
  126. /* Ethernet MAC MDIO Reads Do Not Meet IEEE Specification */
  127. #define ANOMALY_05000341 (__SILICON_REVISION__ >= 3)
  128. /* New Feature: UART Remains Enabled after UART Boot */
  129. #define ANOMALY_05000350 (__SILICON_REVISION__ >= 3)
  130. /* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
  131. #define ANOMALY_05000355 (1)
  132. /* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
  133. #define ANOMALY_05000357 (1)
  134. /* DMAs that Go Urgent during Tight Core Writes to External Memory Are Blocked */
  135. #define ANOMALY_05000359 (1)
  136. /* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
  137. #define ANOMALY_05000366 (1)
  138. /* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
  139. #define ANOMALY_05000371 (1)
  140. /* SSYNC Stalls Processor when Executed from Non-Cacheable Memory */
  141. #define ANOMALY_05000402 (__SILICON_REVISION__ >= 5)
  142. /* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
  143. #define ANOMALY_05000403 (1)
  144. /* Speculative Fetches Can Cause Undesired External FIFO Operations */
  145. #define ANOMALY_05000416 (1)
  146. /* Multichannel SPORT Channel Misalignment Under Specific Configuration */
  147. #define ANOMALY_05000425 (1)
  148. /* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
  149. #define ANOMALY_05000426 (1)
  150. /* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
  151. #define ANOMALY_05000443 (1)
  152. /* Anomalies that don't exist on this proc */
  153. #define ANOMALY_05000125 (0)
  154. #define ANOMALY_05000158 (0)
  155. #define ANOMALY_05000171 (0)
  156. #define ANOMALY_05000183 (0)
  157. #define ANOMALY_05000198 (0)
  158. #define ANOMALY_05000227 (0)
  159. #define ANOMALY_05000230 (0)
  160. #define ANOMALY_05000242 (0)
  161. #define ANOMALY_05000266 (0)
  162. #define ANOMALY_05000311 (0)
  163. #define ANOMALY_05000323 (0)
  164. #define ANOMALY_05000353 (1)
  165. #define ANOMALY_05000362 (1)
  166. #define ANOMALY_05000363 (0)
  167. #define ANOMALY_05000380 (0)
  168. #define ANOMALY_05000386 (1)
  169. #define ANOMALY_05000412 (0)
  170. #define ANOMALY_05000430 (0)
  171. #define ANOMALY_05000432 (0)
  172. #define ANOMALY_05000435 (0)
  173. #define ANOMALY_05000447 (0)
  174. #define ANOMALY_05000448 (0)
  175. #endif