ARM: socfpga: stratix10: Probe FPGA status before bridge enable
authorAng, Chee Hong <chee.hong.ang@intel.com>
Fri, 3 May 2019 08:18:27 +0000 (01:18 -0700)
committerMarek Vasut <marex@denx.de>
Mon, 6 May 2019 10:44:45 +0000 (12:44 +0200)
commit32e308dd796f34f85d1c088e3218fa3403a9080f
tree32bd274c80d04abc847c38b32dca225ac4ef15bd
parenta03e9d9fe5e2645be1c053b2765cfe6a9126d362
ARM: socfpga: stratix10: Probe FPGA status before bridge enable

Send CONFIG_STATUS and RECONFIG_STATUS mailbox commands to Secure
Device Manager (SDM) to get the status of FPGA and make sure the
FPGA is in user mode before enable the bridge.

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