arm: socfpga: stratix10: Add generic FPGA reconfig mailbox API for S10
authorAng, Chee Hong <chee.hong.ang@intel.com>
Thu, 20 Dec 2018 02:35:12 +0000 (18:35 -0800)
committerMarek Vasut <marex@denx.de>
Thu, 20 Dec 2018 16:12:25 +0000 (17:12 +0100)
commitd99f1e92a20b4e7025da76bcad6ec18bab9d14be
tree4c5927a3757dad7ee1aeab43e2c2ad273a8084fb
parent1f2e948d6d53f77a2ddb2dde3531b0d5bc2815ad
arm: socfpga: stratix10: Add generic FPGA reconfig mailbox API for S10

Add a generic mailbox API for FPGA reconfig status which can be
called by others. This new function accepts 2 different mailbox
commands: CONFIG_STATUS or RECONFIG_STATUS.

Signed-off-by: Ang, Chee Hong <chee.hong.ang@intel.com>
arch/arm/mach-socfpga/include/mach/mailbox_s10.h
arch/arm/mach-socfpga/mailbox_s10.c