README.mxc_ocotp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Driver implementing the fuse API for Freescale's On-Chip OTP Controller (OCOTP)
  2. on MXC
  3. This IP can be found on the following SoCs:
  4. - Vybrid VF610,
  5. - i.MX6.
  6. Note that this IP is different from albeit similar to the IPs of the same name
  7. that can be found on the following SoCs:
  8. - i.MX23,
  9. - i.MX28,
  10. - i.MX50.
  11. The section numbers in this file refer to the i.MX6 Reference Manual.
  12. A fuse word contains 32 fuse bit slots, as explained in 46.2.1.
  13. A bank contains 8 fuse word slots, as explained in 46.2.1 and shown by the
  14. memory map in 46.4.
  15. Some fuse bit or word slots may not have the corresponding fuses actually
  16. implemented in the fusebox.
  17. See the README files of the SoCs using this driver in order to know the
  18. conventions used by U-Boot to store some specific data in the fuses, e.g. MAC
  19. addresses.
  20. Fuse operations:
  21. Read
  22. Read operations are implemented as read accesses to the shadow registers,
  23. using "Bankx Wordy" from the memory map in 46.4. This is explained in
  24. detail by the first two paragraphs in 46.2.1.2.
  25. Sense
  26. Sense operations are implemented as the direct fusebox read explained by
  27. the steps in 46.2.1.2.
  28. Program
  29. Program operations are implemented as explained by the steps in 46.2.1.3.
  30. Following this operation, the shadow registers are not reloaded by the
  31. hardware.
  32. Override
  33. Override operations are implemented as write accesses to the shadow
  34. registers, as explained by the first paragraph in 46.2.1.3.
  35. Configuration:
  36. CONFIG_MXC_OCOTP
  37. Define this to enable the mxc_ocotp driver.