Skip to content

arm: mvebu: a37xx: Add support for reading OTP

Pali Rohár u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 5 repliesIn review
  2. v25 patches 7 repliesSuperseded
  3. v15 patches 11 repliesSuperseded

Changes in v3 from the cover letter

* Updated comment in patch 5/5 about MBOX_CMD_OTP_READ command
* In patch 5/5 fixed number of output arguments for MBOX_CMD_OTP_READ_32B command

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5arm: mvebu: a37xx: Add support for reading NB and SB fuse OTP valuearch/arm/mach-mvebu/Kconfig arch/arm/mach-mvebu/Makefile arch/arm/mach-mvebu/armada3700/Makefile +1 more+141 -00 replies
2/5arm: mvebu: a37xx: Enable fuse command on all Armada 3720 boardsconfigs/mvebu_db-88f3720_defconfig configs/mvebu_espressobin-88f3720_defconfig configs/turris_mox_defconfig +1 more+8 -00 replies
3/5arm: mvebu: a37xx: Move generic mbox code to arch/arm/mach-mvebuarch/arm/mach-mvebu/armada3700/Makefile arch/arm/mach-mvebu/armada3700/mbox.c arch/arm/mach-mvebu/include/mach/mbox.h +1 more+92 -690 replies
4/5arm: mvebu: a37xx: Extend mbox_do_cmd() codearch/arm/mach-mvebu/armada3700/mbox.c arch/arm/mach-mvebu/include/mach/mbox.h board/CZ.NIC/turris_mox/mox_sp.c+38 -50 replies
5/5arm: mvebu: a37xx: Add support for reading Security OTP valuesarch/arm/mach-mvebu/armada3700/efuse.c+37 -20 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMarek BehúnStefan Roese
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH u-boot-mvebu v3 0/5] arm: mvebu: a37xx: Add support for reading OTP

Add support for reading NB fuse OTP, SB fuse OTP and Security OTP values via U-Boot fuse API on Armada 37xx boards.

Changes in v3:
* Updated comment in patch 5/5 about MBOX_CMD_OTP_READ command
* In patch 5/5 fixed number of output arguments for MBOX_CMD_OTP_READ_32B command

Pali Rohár (5):
arm: mvebu: a37xx: Add support for reading NB and SB fuse OTP value
arm: mvebu: a37xx: Enable fuse command on all Armada 3720 boards
arm: mvebu: a37xx: Move generic mbox code to arch/arm/mach-mvebu
arm: mvebu: a37xx: Extend mbox_do_cmd() code
arm: mvebu: a37xx: Add support for reading Security OTP values

 arch/arm/mach-mvebu/Kconfig                 |   1 +
 arch/arm/mach-mvebu/Makefile                |   3 +
 arch/arm/mach-mvebu/armada3700/Makefile     |   3 +-
 arch/arm/mach-mvebu/armada3700/efuse.c      | 171 ++++++++++++++++++++
 arch/arm/mach-mvebu/armada3700/mbox.c       |  83 ++++++++++
 arch/arm/mach-mvebu/include/mach/mbox.h     |  40 +++++
 board/CZ.NIC/turris_mox/mox_sp.c            |  73 +--------
 configs/mvebu_db-88f3720_defconfig          |   2 +
 configs/mvebu_espressobin-88f3720_defconfig |   2 +
 configs/turris_mox_defconfig                |   2 +
 configs/uDPU_defconfig                      |   2 +
 11 files changed, 311 insertions(+), 71 deletions(-)
 create mode 100644 arch/arm/mach-mvebu/armada3700/efuse.c
 create mode 100644 arch/arm/mach-mvebu/armada3700/mbox.c
 create mode 100644 arch/arm/mach-mvebu/include/mach/mbox.h
Signature · 1 line
2.20.1