arm: mvebu: a37xx: Add support for writing Security OTP values
authorPali Rohár <pali@kernel.org>
Thu, 7 Apr 2022 09:32:10 +0000 (11:32 +0200)
committerStefan Roese <sr@denx.de>
Thu, 21 Apr 2022 10:31:36 +0000 (12:31 +0200)
commit1d71bbca45b03eb5ba6cabbb2859047b8cb80229
tree1474e7783e36e83cea8128c1d0d0644ebad1fa30
parent2975bba6dfdd3c190a473686765e9a936938c394
arm: mvebu: a37xx: Add support for writing Security OTP values

Implement write support for Security OTP values via mailbox API commands
MBOX_CMD_OTP_WRITE_32B and MBOX_CMD_OTP_WRITE.

Write support for North and South Bridge OTPs are not implemented as these
OTPs are already burned in factory with some data.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
arch/arm/mach-mvebu/armada3700/efuse.c