]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit5031114cdb11e129c33cd7f9c9cc354014e713cb
tree32bd274c80d04abc847c38b32dca225ac4ef15bd
parentf2a05db5826c273723af15719958b69a7d3ebefc
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