PageRenderTime 63ms CodeModel.GetById 36ms RepoModel.GetById 0ms app.codeStats 0ms

/arch/blackfin/mach-bf527/include/mach/anomaly.h

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