anomaly.h 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. /*
  2. * File: include/asm-blackfin/mach-bf538/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 G, 09/18/2008; ADSP-BF538/BF538F Blackfin Processor Anomaly List
  10. * - Revision L, 09/18/2008; ADSP-BF539/BF539F Blackfin Processor Anomaly List
  11. */
  12. #ifndef _MACH_ANOMALY_H_
  13. #define _MACH_ANOMALY_H_
  14. /* We do not support old silicon - sorry */
  15. #if __SILICON_REVISION__ < 4
  16. # error will not work on BF538/BF539 silicon version 0.0, 0.1, 0.2, or 0.3
  17. #endif
  18. #if defined(__ADSPBF538__)
  19. # define ANOMALY_BF538 1
  20. #else
  21. # define ANOMALY_BF538 0
  22. #endif
  23. #if defined(__ADSPBF539__)
  24. # define ANOMALY_BF539 1
  25. #else
  26. # define ANOMALY_BF539 0
  27. #endif
  28. /* Multi-Issue Instruction with dsp32shiftimm in slot1 and P-reg Store in slot2 Not Supported */
  29. #define ANOMALY_05000074 (1)
  30. /* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
  31. #define ANOMALY_05000119 (1)
  32. /* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
  33. #define ANOMALY_05000122 (1)
  34. /* PPI Data Lengths between 8 and 16 Do Not Zero Out Upper Bits */
  35. #define ANOMALY_05000166 (1)
  36. /* PPI_COUNT Cannot Be Programmed to 0 in General Purpose TX or RX Modes */
  37. #define ANOMALY_05000179 (1)
  38. /* PPI_DELAY Not Functional in PPI Modes with 0 Frame Syncs */
  39. #define ANOMALY_05000180 (1)
  40. /* False I/O Pin Interrupts on Edge-Sensitive Inputs When Polarity Setting Is Changed */
  41. #define ANOMALY_05000193 (1)
  42. /* Current DMA Address Shows Wrong Value During Carry Fix */
  43. #define ANOMALY_05000199 (__SILICON_REVISION__ < 4)
  44. /* NMI Event at Boot Time Results in Unpredictable State */
  45. #define ANOMALY_05000219 (1)
  46. /* SPI Slave Boot Mode Modifies Registers from Reset Value */
  47. #define ANOMALY_05000229 (1)
  48. /* PPI_FS3 Is Not Driven in 2 or 3 Internal Frame Sync Transmit Modes */
  49. #define ANOMALY_05000233 (1)
  50. /* If I-Cache Is On, CSYNC/SSYNC/IDLE Around Change of Control Causes Failures */
  51. #define ANOMALY_05000244 (__SILICON_REVISION__ < 3)
  52. /* False Hardware Error from an Access in the Shadow of a Conditional Branch */
  53. #define ANOMALY_05000245 (1)
  54. /* Maximum External Clock Speed for Timers */
  55. #define ANOMALY_05000253 (1)
  56. /* DCPLB_FAULT_ADDR MMR Register May Be Corrupted */
  57. #define ANOMALY_05000261 (__SILICON_REVISION__ < 3)
  58. /* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Decrease */
  59. #define ANOMALY_05000270 (__SILICON_REVISION__ < 4)
  60. /* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
  61. #define ANOMALY_05000272 (1)
  62. /* Writes to Synchronous SDRAM Memory May Be Lost */
  63. #define ANOMALY_05000273 (__SILICON_REVISION__ < 4)
  64. /* Writes to an I/O Data Register One SCLK Cycle after an Edge Is Detected May Clear Interrupt */
  65. #define ANOMALY_05000277 (__SILICON_REVISION__ < 4)
  66. /* Disabling Peripherals with DMA Running May Cause DMA System Instability */
  67. #define ANOMALY_05000278 (__SILICON_REVISION__ < 4)
  68. /* False Hardware Error Exception when ISR Context Is Not Restored */
  69. #define ANOMALY_05000281 (__SILICON_REVISION__ < 4)
  70. /* Memory DMA Corruption with 32-Bit Data and Traffic Control */
  71. #define ANOMALY_05000282 (__SILICON_REVISION__ < 4)
  72. /* System MMR Write Is Stalled Indefinitely when Killed in a Particular Stage */
  73. #define ANOMALY_05000283 (__SILICON_REVISION__ < 4)
  74. /* SPORTs May Receive Bad Data If FIFOs Fill Up */
  75. #define ANOMALY_05000288 (__SILICON_REVISION__ < 4)
  76. /* Reads from CAN Mailbox and Acceptance Mask Area Can Fail */
  77. #define ANOMALY_05000291 (__SILICON_REVISION__ < 4)
  78. /* Hibernate Leakage Current Is Higher Than Specified */
  79. #define ANOMALY_05000293 (__SILICON_REVISION__ < 4)
  80. /* Timer Pin Limitations for PPI TX Modes with External Frame Syncs */
  81. #define ANOMALY_05000294 (1)
  82. /* Memory-To-Memory DMA Source/Destination Descriptors Must Be in Same Memory Space */
  83. #define ANOMALY_05000301 (__SILICON_REVISION__ < 4)
  84. /* SSYNCs After Writes To CAN/DMA MMR Registers Are Not Always Handled Correctly */
  85. #define ANOMALY_05000304 (__SILICON_REVISION__ < 4)
  86. /* SCKELOW Bit Does Not Maintain State Through Hibernate */
  87. #define ANOMALY_05000307 (__SILICON_REVISION__ < 4)
  88. /* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
  89. #define ANOMALY_05000310 (1)
  90. /* Errors when SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
  91. #define ANOMALY_05000312 (__SILICON_REVISION__ < 5)
  92. /* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
  93. #define ANOMALY_05000313 (__SILICON_REVISION__ < 4)
  94. /* Killed System MMR Write Completes Erroneously on Next System MMR Access */
  95. #define ANOMALY_05000315 (__SILICON_REVISION__ < 4)
  96. /* PFx Glitch on Write to FIO_FLAG_D or FIO_FLAG_T */
  97. #define ANOMALY_05000318 (ANOMALY_BF539 && __SILICON_REVISION__ < 4)
  98. /* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
  99. #define ANOMALY_05000355 (__SILICON_REVISION__ < 5)
  100. /* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
  101. #define ANOMALY_05000357 (__SILICON_REVISION__ < 5)
  102. /* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
  103. #define ANOMALY_05000366 (1)
  104. /* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
  105. #define ANOMALY_05000371 (__SILICON_REVISION__ < 5)
  106. /* Entering Hibernate State with Peripheral Wakeups Enabled Draws Excess Current */
  107. #define ANOMALY_05000374 (__SILICON_REVISION__ == 4)
  108. /* GPIO Pins PC1 and PC4 Can Function as Normal Outputs */
  109. #define ANOMALY_05000375 (__SILICON_REVISION__ < 4)
  110. /* SSYNC Stalls Processor when Executed from Non-Cacheable Memory */
  111. #define ANOMALY_05000402 (__SILICON_REVISION__ == 3)
  112. /* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
  113. #define ANOMALY_05000403 (1)
  114. /* Speculative Fetches Can Cause Undesired External FIFO Operations */
  115. #define ANOMALY_05000416 (1)
  116. /* Multichannel SPORT Channel Misalignment Under Specific Configuration */
  117. #define ANOMALY_05000425 (1)
  118. /* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
  119. #define ANOMALY_05000426 (1)
  120. /* Specific GPIO Pins May Change State when Entering Hibernate */
  121. #define ANOMALY_05000436 (__SILICON_REVISION__ > 3)
  122. /* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
  123. #define ANOMALY_05000443 (1)
  124. /* False Hardware Error when RETI Points to Invalid Memory */
  125. #define ANOMALY_05000461 (1)
  126. /* Anomalies that don't exist on this proc */
  127. #define ANOMALY_05000099 (0)
  128. #define ANOMALY_05000120 (0)
  129. #define ANOMALY_05000125 (0)
  130. #define ANOMALY_05000149 (0)
  131. #define ANOMALY_05000158 (0)
  132. #define ANOMALY_05000171 (0)
  133. #define ANOMALY_05000182 (0)
  134. #define ANOMALY_05000189 (0)
  135. #define ANOMALY_05000198 (0)
  136. #define ANOMALY_05000202 (0)
  137. #define ANOMALY_05000215 (0)
  138. #define ANOMALY_05000220 (0)
  139. #define ANOMALY_05000227 (0)
  140. #define ANOMALY_05000230 (0)
  141. #define ANOMALY_05000231 (0)
  142. #define ANOMALY_05000234 (0)
  143. #define ANOMALY_05000242 (0)
  144. #define ANOMALY_05000248 (0)
  145. #define ANOMALY_05000250 (0)
  146. #define ANOMALY_05000254 (0)
  147. #define ANOMALY_05000257 (0)
  148. #define ANOMALY_05000263 (0)
  149. #define ANOMALY_05000266 (0)
  150. #define ANOMALY_05000274 (0)
  151. #define ANOMALY_05000287 (0)
  152. #define ANOMALY_05000305 (0)
  153. #define ANOMALY_05000311 (0)
  154. #define ANOMALY_05000323 (0)
  155. #define ANOMALY_05000353 (1)
  156. #define ANOMALY_05000362 (1)
  157. #define ANOMALY_05000363 (0)
  158. #define ANOMALY_05000364 (0)
  159. #define ANOMALY_05000380 (0)
  160. #define ANOMALY_05000386 (1)
  161. #define ANOMALY_05000389 (0)
  162. #define ANOMALY_05000400 (0)
  163. #define ANOMALY_05000412 (0)
  164. #define ANOMALY_05000430 (0)
  165. #define ANOMALY_05000432 (0)
  166. #define ANOMALY_05000435 (0)
  167. #define ANOMALY_05000447 (0)
  168. #define ANOMALY_05000448 (0)
  169. #define ANOMALY_05000456 (0)
  170. #define ANOMALY_05000450 (0)
  171. #define ANOMALY_05000465 (0)
  172. #define ANOMALY_05000467 (0)
  173. #endif