]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mvebu: a37xx: Extend mbox_do_cmd() code
authorPali Rohár <pali@kernel.org>
Wed, 23 Feb 2022 13:15:48 +0000 (14:15 +0100)
committerStefan Roese <sr@denx.de>
Thu, 21 Apr 2022 10:31:36 +0000 (12:31 +0200)
commit25a7251e32239cf88134a7c774fca35571f66ad0
treed44dc0a74a4e929be030f640bbbb3037932b7230
parenta50d2cfcc553e66d14fc7176b1a7a2b2c73763fa
arm: mvebu: a37xx: Extend mbox_do_cmd() code

Allow to specify input parameters, define all available mbox commands
supported by CZ.NIC's secure firmware and also Marvell's fuse.bin firmware
and fix parsing response from Marvell OTP commands.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/armada3700/mbox.c
arch/arm/mach-mvebu/include/mach/mbox.h
board/CZ.NIC/turris_mox/mox_sp.c