anomaly.h 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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-BF526 Blackfin Processor Anomaly List
  13. * - Revision I, 05/23/2011; ADSP-BF527 Blackfin Processor Anomaly List
  14. */
  15. #ifndef _MACH_ANOMALY_H_
  16. #define _MACH_ANOMALY_H_
  17. /* We do not support old silicon - sorry */
  18. #if __SILICON_REVISION__ < 0
  19. # error will not work on BF526/BF527 silicon version
  20. #endif
  21. #if defined(__ADSPBF522__) || defined(__ADSPBF524__) || defined(__ADSPBF526__)
  22. # define ANOMALY_BF526 1
  23. #else
  24. # define ANOMALY_BF526 0
  25. #endif
  26. #if defined(__ADSPBF523__) || defined(__ADSPBF525__) || defined(__ADSPBF527__)
  27. # define ANOMALY_BF527 1
  28. #else
  29. # define ANOMALY_BF527 0
  30. #endif
  31. #define _ANOMALY_BF526(rev526) (ANOMALY_BF526 && __SILICON_REVISION__ rev526)
  32. #define _ANOMALY_BF527(rev527) (ANOMALY_BF527 && __SILICON_REVISION__ rev527)
  33. #define _ANOMALY_BF526_BF527(rev526, rev527) (_ANOMALY_BF526(rev526) || _ANOMALY_BF527(rev527))
  34. /* Multi-Issue Instruction with dsp32shiftimm in slot1 and P-reg Store in slot2 Not Supported */
  35. #define ANOMALY_05000074 (1)
  36. /* DMA_RUN Bit Is Not Valid after a Peripheral Receive Channel DMA Stops */
  37. #define ANOMALY_05000119 (1)
  38. /* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
  39. #define ANOMALY_05000122 (1)
  40. /* False Hardware Error from an Access in the Shadow of a Conditional Branch */
  41. #define ANOMALY_05000245 (1)
  42. /* Incorrect Timer Pulse Width in Single-Shot PWM_OUT Mode with External Clock */
  43. #define ANOMALY_05000254 (1)
  44. /* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
  45. #define ANOMALY_05000265 (1)
  46. /* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
  47. #define ANOMALY_05000310 (1)
  48. /* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
  49. #define ANOMALY_05000313 (_ANOMALY_BF526_BF527(< 1, < 2))
  50. /* Incorrect Access of OTP_STATUS During otp_write() Function */
  51. #define ANOMALY_05000328 (_ANOMALY_BF527(< 2))
  52. /* Host DMA Boot Modes Are Not Functional */
  53. #define ANOMALY_05000330 (_ANOMALY_BF527(< 2))
  54. /* Disallowed Configuration Prevents Subsequent Allowed Configuration on Host DMA Port */
  55. #define ANOMALY_05000337 (_ANOMALY_BF527(< 2))
  56. /* Ethernet MAC MDIO Reads Do Not Meet IEEE Specification */
  57. #define ANOMALY_05000341 (_ANOMALY_BF527(< 2))
  58. /* TWI May Not Operate Correctly Under Certain Signal Termination Conditions */
  59. #define ANOMALY_05000342 (_ANOMALY_BF527(< 2))
  60. /* USB Calibration Value Is Not Initialized */
  61. #define ANOMALY_05000346 (_ANOMALY_BF526_BF527(< 1, < 2))
  62. /* USB Calibration Value to use */
  63. #define ANOMALY_05000346_value 0xE510
  64. /* Preboot Routine Incorrectly Alters Reset Value of USB Register */
  65. #define ANOMALY_05000347 (_ANOMALY_BF527(< 2))
  66. /* Security Features Are Not Functional */
  67. #define ANOMALY_05000348 (_ANOMALY_BF527(< 1))
  68. /* bfrom_SysControl() Firmware Function Performs Improper System Reset */
  69. #define ANOMALY_05000353 (_ANOMALY_BF526(< 1))
  70. /* Regulator Programming Blocked when Hibernate Wakeup Source Remains Active */
  71. #define ANOMALY_05000355 (_ANOMALY_BF527(< 2))
  72. /* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
  73. #define ANOMALY_05000357 (_ANOMALY_BF527(< 2))
  74. /* Incorrect Revision Number in DSPID Register */
  75. #define ANOMALY_05000364 (_ANOMALY_BF527(== 1))
  76. /* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
  77. #define ANOMALY_05000366 (1)
  78. /* Incorrect Default CSEL Value in PLL_DIV */
  79. #define ANOMALY_05000368 (_ANOMALY_BF527(< 2))
  80. /* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
  81. #define ANOMALY_05000371 (_ANOMALY_BF527(< 2))
  82. /* Authentication Fails To Initiate */
  83. #define ANOMALY_05000376 (_ANOMALY_BF527(< 2))
  84. /* Data Read From L3 Memory by USB DMA May be Corrupted */
  85. #define ANOMALY_05000380 (_ANOMALY_BF527(< 2))
  86. /* 8-Bit NAND Flash Boot Mode Not Functional */
  87. #define ANOMALY_05000382 (_ANOMALY_BF526_BF527(< 1, < 2))
  88. /* Boot from OTP Memory Not Functional */
  89. #define ANOMALY_05000385 (_ANOMALY_BF527(< 2))
  90. /* bfrom_SysControl() Firmware Routine Not Functional */
  91. #define ANOMALY_05000386 (_ANOMALY_BF527(< 2))
  92. /* Programmable Preboot Settings Not Functional */
  93. #define ANOMALY_05000387 (_ANOMALY_BF527(< 2))
  94. /* CRC32 Checksum Support Not Functional */
  95. #define ANOMALY_05000388 (_ANOMALY_BF526_BF527(< 1, < 2))
  96. /* Reset Vector Must Not Be in SDRAM Memory Space */
  97. #define ANOMALY_05000389 (_ANOMALY_BF527(< 2))
  98. /* pTempCurrent Not Present in ADI_BOOT_DATA Structure */
  99. #define ANOMALY_05000392 (_ANOMALY_BF527(< 2))
  100. /* Deprecated Value of dTempByteCount in ADI_BOOT_DATA Structure */
  101. #define ANOMALY_05000393 (_ANOMALY_BF527(< 2))
  102. /* Log Buffer Not Functional */
  103. #define ANOMALY_05000394 (_ANOMALY_BF527(< 2))
  104. /* Hook Routine Not Functional */
  105. #define ANOMALY_05000395 (_ANOMALY_BF527(< 2))
  106. /* Header Indirect Bit Not Functional */
  107. #define ANOMALY_05000396 (_ANOMALY_BF527(< 2))
  108. /* BK_ONES, BK_ZEROS, and BK_DATECODE Constants Not Functional */
  109. #define ANOMALY_05000397 (_ANOMALY_BF527(< 2))
  110. /* SWRESET, DFRESET and WDRESET Bits in the SYSCR Register Not Functional */
  111. #define ANOMALY_05000398 (_ANOMALY_BF527(< 2))
  112. /* BCODE_NOBOOT in BCODE Field of SYSCR Register Not Functional */
  113. #define ANOMALY_05000399 (_ANOMALY_BF527(< 2))
  114. /* PPI Data Signals D0 and D8 do not Tristate After Disabling PPI */
  115. #define ANOMALY_05000401 (_ANOMALY_BF526_BF527(< 1, < 2))
  116. /* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
  117. #define ANOMALY_05000403 (_ANOMALY_BF526_BF527(< 1, < 2))
  118. /* Lockbox SESR Disallows Certain User Interrupts */
  119. #define ANOMALY_05000404 (_ANOMALY_BF526_BF527(< 1, < 2))
  120. /* Lockbox SESR Firmware Does Not Save/Restore Full Context */
  121. #define ANOMALY_05000405 (1)
  122. /* Lockbox SESR Firmware Arguments Are Not Retained After First Initialization */
  123. #define ANOMALY_05000407 (_ANOMALY_BF526_BF527(< 1, < 2))
  124. /* Lockbox Firmware Memory Cleanup Routine Does not Clear Registers */
  125. #define ANOMALY_05000408 (1)
  126. /* Lockbox firmware leaves MDMA0 channel enabled */
  127. #define ANOMALY_05000409 (_ANOMALY_BF526_BF527(< 1, < 2))
  128. /* Incorrect Default Internal Voltage Regulator Setting */
  129. #define ANOMALY_05000410 (_ANOMALY_BF527(< 2))
  130. /* bfrom_SysControl() Firmware Function Cannot be Used to Enter Power Saving Modes */
  131. #define ANOMALY_05000411 (_ANOMALY_BF526(< 1))
  132. /* OTP_CHECK_FOR_PREV_WRITE Bit is Not Functional in bfrom_OtpWrite() API */
  133. #define ANOMALY_05000414 (_ANOMALY_BF526_BF527(< 1, < 2))
  134. /* DEB2_URGENT Bit Not Functional */
  135. #define ANOMALY_05000415 (_ANOMALY_BF526_BF527(< 1, < 2))
  136. /* Speculative Fetches Can Cause Undesired External FIFO Operations */
  137. #define ANOMALY_05000416 (1)
  138. /* SPORT0 Ignores External TSCLK0 on PG14 When TMR6 is an Output */
  139. #define ANOMALY_05000417 (_ANOMALY_BF527(< 2))
  140. /* PPI Timing Requirements tSFSPE and tHFSPE Do Not Meet Data Sheet Specifications */
  141. #define ANOMALY_05000418 (_ANOMALY_BF526_BF527(< 1, < 2))
  142. /* USB PLL_STABLE Bit May Not Accurately Reflect the USB PLL's Status */
  143. #define ANOMALY_05000420 (_ANOMALY_BF526_BF527(< 1, < 2))
  144. /* TWI Fall Time (Tof) May Violate the Minimum I2C Specification */
  145. #define ANOMALY_05000421 (1)
  146. /* TWI Input Capacitance (Ci) May Violate the Maximum I2C Specification */
  147. #define ANOMALY_05000422 (_ANOMALY_BF526_BF527(> 0, > 1))
  148. /* Certain Ethernet Frames With Errors are Misclassified in RMII Mode */
  149. #define ANOMALY_05000423 (_ANOMALY_BF526_BF527(< 1, < 2))
  150. /* Internal Voltage Regulator Not Trimmed */
  151. #define ANOMALY_05000424 (_ANOMALY_BF527(< 2))
  152. /* Multichannel SPORT Channel Misalignment Under Specific Configuration */
  153. #define ANOMALY_05000425 (_ANOMALY_BF526_BF527(< 1, < 2))
  154. /* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
  155. #define ANOMALY_05000426 (1)
  156. /* WB_EDGE Bit in NFC_IRQSTAT Incorrectly Reflects Buffer Status Instead of IRQ Status */
  157. #define ANOMALY_05000429 (_ANOMALY_BF526_BF527(< 1, < 2))
  158. /* Software System Reset Corrupts PLL_LOCKCNT Register */
  159. #define ANOMALY_05000430 (_ANOMALY_BF527(> 1))
  160. /* Incorrect Use of Stack in Lockbox Firmware During Authentication */
  161. #define ANOMALY_05000431 (1)
  162. /* bfrom_SysControl() Does Not Clear SIC_IWR1 Before Executing PLL Programming Sequence */
  163. #define ANOMALY_05000432 (_ANOMALY_BF526(< 1))
  164. /* SW Breakpoints Ignored Upon Return From Lockbox Authentication */
  165. #define ANOMALY_05000434 (1)
  166. /* Certain SIC Registers are not Reset After Soft or Core Double Fault Reset */
  167. #define ANOMALY_05000435 (_ANOMALY_BF526_BF527(< 1, >= 0))
  168. /* Preboot Cannot be Used to Alter the PLL_DIV Register */
  169. #define ANOMALY_05000439 (_ANOMALY_BF526_BF527(< 1, >= 0))
  170. /* bfrom_SysControl() Cannot be Used to Write the PLL_DIV Register */
  171. #define ANOMALY_05000440 (_ANOMALY_BF526_BF527(< 1, >= 0))
  172. /* OTP Write Accesses Not Supported */
  173. #define ANOMALY_05000442 (_ANOMALY_BF527(< 1))
  174. /* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
  175. #define ANOMALY_05000443 (1)
  176. /* The WURESET Bit in the SYSCR Register is not Functional */
  177. #define ANOMALY_05000445 (_ANOMALY_BF527(>= 0))
  178. /* USB DMA Short Packet Data Corruption */
  179. #define ANOMALY_05000450 (1)
  180. /* BCODE_QUICKBOOT, BCODE_ALLBOOT, and BCODE_FULLBOOT Settings in SYSCR Register Not Functional */
  181. #define ANOMALY_05000451 (_ANOMALY_BF527(>= 0))
  182. /* Incorrect Default Hysteresis Setting for RESET, NMI, and BMODE Signals */
  183. #define ANOMALY_05000452 (_ANOMALY_BF526_BF527(< 1, >= 0))
  184. /* USB Receive Interrupt Is Not Generated in DMA Mode 1 */
  185. #define ANOMALY_05000456 (1)
  186. /* Host DMA Port Responds to Certain Bus Activity Without HOST_CE Assertion */
  187. #define ANOMALY_05000457 (1)
  188. /* USB DMA Mode 1 Failure When Multiple USB DMA Channels Are Concurrently Enabled */
  189. #define ANOMALY_05000460 (1)
  190. /* False Hardware Error when RETI Points to Invalid Memory */
  191. #define ANOMALY_05000461 (1)
  192. /* Synchronization Problem at Startup May Cause SPORT Transmit Channels to Misalign */
  193. #define ANOMALY_05000462 (1)
  194. /* USB Rx DMA Hang */
  195. #define ANOMALY_05000465 (1)
  196. /* TxPktRdy Bit Not Set for Transmit Endpoint When Core and DMA Access USB Endpoint FIFOs Simultaneously */
  197. #define ANOMALY_05000466 (1)
  198. /* Possible USB RX Data Corruption When Control & Data EP FIFOs are Accessed via the Core */
  199. #define ANOMALY_05000467 (1)
  200. /* PLL Latches Incorrect Settings During Reset */
  201. #define ANOMALY_05000469 (1)
  202. /* Incorrect Default MSEL Value in PLL_CTL */
  203. #define ANOMALY_05000472 (_ANOMALY_BF526(>= 0))
  204. /* Interrupted SPORT Receive Data Register Read Results In Underflow when SLEN > 15 */
  205. #define ANOMALY_05000473 (1)
  206. /* Possible Lockup Condition when Modifying PLL from External Memory */
  207. #define ANOMALY_05000475 (1)
  208. /* TESTSET Instruction Cannot Be Interrupted */
  209. #define ANOMALY_05000477 (1)
  210. /* Reads of ITEST_COMMAND and ITEST_DATA Registers Cause Cache Corruption */
  211. #define ANOMALY_05000481 (1)
  212. /* Possible USB Data Corruption When Multiple Endpoints Are Accessed by the Core */
  213. #define ANOMALY_05000483 (1)
  214. /* PLL_CTL Change Using bfrom_SysControl() Can Result in Processor Overclocking */
  215. #define ANOMALY_05000485 (_ANOMALY_BF526_BF527(< 2, >= 0))
  216. /* The CODEC Zero-Cross Detect Feature is not Functional */
  217. #define ANOMALY_05000487 (1)
  218. /* SPI Master Boot Can Fail Under Certain Conditions */
  219. #define ANOMALY_05000490 (1)
  220. /* Instruction Memory Stalls Can Cause IFLUSH to Fail */
  221. #define ANOMALY_05000491 (1)
  222. /* EXCPT Instruction May Be Lost If NMI Happens Simultaneously */
  223. #define ANOMALY_05000494 (1)
  224. /* CNT_COMMAND Functionality Depends on CNT_IMASK Configuration */
  225. #define ANOMALY_05000498 (1)
  226. /* RXS Bit in SPI_STAT May Become Stuck In RX DMA Modes */
  227. #define ANOMALY_05000501 (1)
  228. /* Anomalies that don't exist on this proc */
  229. #define ANOMALY_05000099 (0)
  230. #define ANOMALY_05000120 (0)
  231. #define ANOMALY_05000125 (0)
  232. #define ANOMALY_05000149 (0)
  233. #define ANOMALY_05000158 (0)
  234. #define ANOMALY_05000171 (0)
  235. #define ANOMALY_05000179 (0)
  236. #define ANOMALY_05000182 (0)
  237. #define ANOMALY_05000183 (0)
  238. #define ANOMALY_05000189 (0)
  239. #define ANOMALY_05000198 (0)
  240. #define ANOMALY_05000202 (0)
  241. #define ANOMALY_05000215 (0)
  242. #define ANOMALY_05000219 (0)
  243. #define ANOMALY_05000220 (0)
  244. #define ANOMALY_05000227 (0)
  245. #define ANOMALY_05000230 (0)
  246. #define ANOMALY_05000231 (0)
  247. #define ANOMALY_05000233 (0)
  248. #define ANOMALY_05000234 (0)
  249. #define ANOMALY_05000242 (0)
  250. #define ANOMALY_05000244 (0)
  251. #define ANOMALY_05000248 (0)
  252. #define ANOMALY_05000250 (0)
  253. #define ANOMALY_05000257 (0)
  254. #define ANOMALY_05000261 (0)
  255. #define ANOMALY_05000263 (0)
  256. #define ANOMALY_05000266 (0)
  257. #define ANOMALY_05000273 (0)
  258. #define ANOMALY_05000274 (0)
  259. #define ANOMALY_05000278 (0)
  260. #define ANOMALY_05000281 (0)
  261. #define ANOMALY_05000283 (0)
  262. #define ANOMALY_05000285 (0)
  263. #define ANOMALY_05000287 (0)
  264. #define ANOMALY_05000301 (0)
  265. #define ANOMALY_05000305 (0)
  266. #define ANOMALY_05000307 (0)
  267. #define ANOMALY_05000311 (0)
  268. #define ANOMALY_05000312 (0)
  269. #define ANOMALY_05000315 (0)
  270. #define ANOMALY_05000323 (0)
  271. #define ANOMALY_05000362 (1)
  272. #define ANOMALY_05000363 (0)
  273. #define ANOMALY_05000383 (0)
  274. #define ANOMALY_05000400 (0)
  275. #define ANOMALY_05000402 (0)
  276. #define ANOMALY_05000412 (0)
  277. #define ANOMALY_05000447 (0)
  278. #define ANOMALY_05000448 (0)
  279. #define ANOMALY_05000474 (0)
  280. #define ANOMALY_05000480 (0)
  281. #define ANOMALY_16000030 (0)
  282. #endif