PageRenderTime 49ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 1ms

/u-boot-2011.09/arch/blackfin/include/asm/mach-bf537/anomaly.h

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