arm: mvebu: a37xx: Move generic mbox code to arch/arm/mach-mvebu
authorPali Rohár <pali@kernel.org>
Wed, 23 Feb 2022 13:15:47 +0000 (14:15 +0100)
committerStefan Roese <sr@denx.de>
Thu, 21 Apr 2022 10:31:36 +0000 (12:31 +0200)
commit46ce9c78a99814639763d8ea9ac1bf7354b6ea8d
tree46e4871e3e189537f7036357b606cbcb84b14a13
parent122dae90844719d2bc5c64f602e840f7e2babad9
arm: mvebu: a37xx: Move generic mbox code to arch/arm/mach-mvebu

Generic A3720 mbox code is currently in Turris Mox specific board file
board/CZ.NIC/turris_mox/mox_sp.c. Move it to board independent arch file
arch/arm/mach-mvebu/armada3700/mbox.c.

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/Makefile
arch/arm/mach-mvebu/armada3700/mbox.c [new file with mode: 0644]
arch/arm/mach-mvebu/include/mach/mbox.h [new file with mode: 0644]
board/CZ.NIC/turris_mox/mox_sp.c