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

Pali Rohár pali at kernel.org
Wed Feb 23 14:15:44 CET 2022


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

-- 
2.20.1



More information about the U-Boot mailing list