anomaly.h 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /*
  2. * File: include/asm-blackfin/mach-bf537/anomaly.h
  3. * Bugs: Enter bugs at http://blackfin.uclinux.org/
  4. *
  5. * Copyright (C) 2004-2008 Analog Devices Inc.
  6. * Licensed under the GPL-2 or later.
  7. */
  8. /* This file shoule be up to date with:
  9. * - Revision C, 02/08/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. /* Turning SPORTs on while External Frame Sync Is Active May Corrupt Data */
  41. #define ANOMALY_05000167 (1)
  42. /* PPI_DELAY not functional in PPI modes with 0 frame syncs */
  43. #define ANOMALY_05000180 (1)
  44. /* Instruction Cache Is Not Functional */
  45. #define ANOMALY_05000237 (__SILICON_REVISION__ < 2)
  46. /* If i-cache is on, CSYNC/SSYNC/IDLE around Change of Control causes failures */
  47. #define ANOMALY_05000244 (__SILICON_REVISION__ < 3)
  48. /* Spurious Hardware Error from an access in the shadow of a conditional branch */
  49. #define ANOMALY_05000245 (1)
  50. /* CLKIN Buffer Output Enable Reset Behavior Is Changed */
  51. #define ANOMALY_05000247 (1)
  52. /* Incorrect Bit-Shift of Data Word in Multichannel (TDM) mode in certain conditions */
  53. #define ANOMALY_05000250 (__SILICON_REVISION__ < 3)
  54. /* EMAC Tx DMA error after an early frame abort */
  55. #define ANOMALY_05000252 (__SILICON_REVISION__ < 3)
  56. /* Maximum external clock speed for Timers */
  57. #define ANOMALY_05000253 (__SILICON_REVISION__ < 3)
  58. /* Incorrect Timer Pulse Width in Single-Shot PWM_OUT mode with external clock */
  59. #define ANOMALY_05000254 (__SILICON_REVISION__ > 2)
  60. /* Entering Hibernate Mode with RTC Seconds event interrupt not functional */
  61. #define ANOMALY_05000255 (__SILICON_REVISION__ < 3)
  62. /* EMAC MDIO input latched on wrong MDC edge */
  63. #define ANOMALY_05000256 (__SILICON_REVISION__ < 3)
  64. /* Interrupt/Exception during short hardware loop may cause bad instruction fetches */
  65. #define ANOMALY_05000257 (__SILICON_REVISION__ < 3)
  66. /* Instruction Cache is corrupted when bits 9 and 12 of the ICPLB Data registers differ */
  67. #define ANOMALY_05000258 (((ANOMALY_BF536 || ANOMALY_BF537) && __SILICON_REVISION__ == 1) || __SILICON_REVISION__ == 2)
  68. /* ICPLB_STATUS MMR register may be corrupted */
  69. #define ANOMALY_05000260 (__SILICON_REVISION__ == 2)
  70. /* DCPLB_FAULT_ADDR MMR register may be corrupted */
  71. #define ANOMALY_05000261 (__SILICON_REVISION__ < 3)
  72. /* Stores to data cache may be lost */
  73. #define ANOMALY_05000262 (__SILICON_REVISION__ < 3)
  74. /* Hardware loop corrupted when taking an ICPLB exception */
  75. #define ANOMALY_05000263 (__SILICON_REVISION__ == 2)
  76. /* CSYNC/SSYNC/IDLE causes infinite stall in second to last instruction in hardware loop */
  77. #define ANOMALY_05000264 (__SILICON_REVISION__ < 3)
  78. /* Sensitivity to noise with slow input edge rates on external SPORT TX and RX clocks */
  79. #define ANOMALY_05000265 (1)
  80. /* Memory DMA error when peripheral DMA is running with non-zero DEB_TRAFFIC_PERIOD */
  81. #define ANOMALY_05000268 (__SILICON_REVISION__ < 3)
  82. /* High I/O activity causes output voltage of internal voltage regulator (VDDint) to decrease */
  83. #define ANOMALY_05000270 (__SILICON_REVISION__ < 3)
  84. /* Certain data cache write through modes fail for VDDint <=0.9V */
  85. #define ANOMALY_05000272 (1)
  86. /* Writes to Synchronous SDRAM memory may be lost */
  87. #define ANOMALY_05000273 (__SILICON_REVISION__ < 3)
  88. /* Writes to an I/O data register one SCLK cycle after an edge is detected may clear interrupt */
  89. #define ANOMALY_05000277 (__SILICON_REVISION__ < 3)
  90. /* Disabling Peripherals with DMA running may cause DMA system instability */
  91. #define ANOMALY_05000278 (((ANOMALY_BF536 || ANOMALY_BF537) && __SILICON_REVISION__ < 3) || (ANOMALY_BF534 && __SILICON_REVISION__ < 2))
  92. /* SPI Master boot mode does not work well with Atmel Data flash devices */
  93. #define ANOMALY_05000280 (1)
  94. /* False Hardware Error Exception when ISR context is not restored */
  95. #define ANOMALY_05000281 (__SILICON_REVISION__ < 3)
  96. /* Memory DMA corruption with 32-bit data and traffic control */
  97. #define ANOMALY_05000282 (__SILICON_REVISION__ < 3)
  98. /* System MMR Write Is Stalled Indefinitely When Killed in a Particular Stage */
  99. #define ANOMALY_05000283 (__SILICON_REVISION__ < 3)
  100. /* New Feature: EMAC TX DMA Word Alignment (Not Available On Older Silicon) */
  101. #define ANOMALY_05000285 (__SILICON_REVISION__ < 3)
  102. /* SPORTs may receive bad data if FIFOs fill up */
  103. #define ANOMALY_05000288 (__SILICON_REVISION__ < 3)
  104. /* Memory to memory DMA source/destination descriptors must be in same memory space */
  105. #define ANOMALY_05000301 (1)
  106. /* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
  107. #define ANOMALY_05000304 (__SILICON_REVISION__ < 3)
  108. /* New Feature: Additional Hysteresis on SPORT Input Pins (Not Available On Older Silicon) */
  109. #define ANOMALY_05000305 (__SILICON_REVISION__ < 3)
  110. /* SCKELOW Bit Does Not Maintain State Through Hibernate */
  111. #define ANOMALY_05000307 (__SILICON_REVISION__ < 3)
  112. /* Writing UART_THR while UART clock is disabled sends erroneous start bit */
  113. #define ANOMALY_05000309 (__SILICON_REVISION__ < 3)
  114. /* False hardware errors caused by fetches at the boundary of reserved memory */
  115. #define ANOMALY_05000310 (1)
  116. /* Errors when SSYNC, CSYNC, or loads to LT, LB and LC registers are interrupted */
  117. #define ANOMALY_05000312 (1)
  118. /* PPI is level sensitive on first transfer */
  119. #define ANOMALY_05000313 (1)
  120. /* Killed System MMR Write Completes Erroneously On Next System MMR Access */
  121. #define ANOMALY_05000315 (__SILICON_REVISION__ < 3)
  122. /* EMAC RMII mode: collisions occur in Full Duplex mode */
  123. #define ANOMALY_05000316 (__SILICON_REVISION__ < 3)
  124. /* EMAC RMII mode: TX frames in half duplex fail with status No Carrier */
  125. #define ANOMALY_05000321 (__SILICON_REVISION__ < 3)
  126. /* EMAC RMII mode at 10-Base-T speed: RX frames not received properly */
  127. #define ANOMALY_05000322 (1)
  128. /* Ethernet MAC MDIO Reads Do Not Meet IEEE Specification */
  129. #define ANOMALY_05000341 (__SILICON_REVISION__ >= 3)
  130. /* New Feature: UART Remains Enabled after UART Boot */
  131. #define ANOMALY_05000350 (__SILICON_REVISION__ >= 3)
  132. /* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
  133. #define ANOMALY_05000355 (1)
  134. /* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
  135. #define ANOMALY_05000357 (1)
  136. /* DMAs that Go Urgent during Tight Core Writes to External Memory Are Blocked */
  137. #define ANOMALY_05000359 (1)
  138. /* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
  139. #define ANOMALY_05000366 (1)
  140. /* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
  141. #define ANOMALY_05000371 (1)
  142. /* SSYNC Stalls Processor when Executed from Non-Cacheable Memory */
  143. #define ANOMALY_05000402 (__SILICON_REVISION__ >= 5)
  144. /* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
  145. #define ANOMALY_05000403 (1)
  146. /* Anomalies that don't exist on this proc */
  147. #define ANOMALY_05000125 (0)
  148. #define ANOMALY_05000158 (0)
  149. #define ANOMALY_05000183 (0)
  150. #define ANOMALY_05000198 (0)
  151. #define ANOMALY_05000230 (0)
  152. #define ANOMALY_05000266 (0)
  153. #define ANOMALY_05000311 (0)
  154. #define ANOMALY_05000323 (0)
  155. #define ANOMALY_05000353 (1)
  156. #define ANOMALY_05000363 (0)
  157. #endif