arm: socfpga: soc64: Check FPGA Config status register before bridge reset
authorChee Hong Ang <chee.hong.ang@intel.com>
Thu, 6 Aug 2020 03:56:29 +0000 (11:56 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Thu, 3 Sep 2020 03:26:07 +0000 (11:26 +0800)
commit6b6307ed22121a38c5b1a5198e737e78b7135312
treed75f11668164b1b152b4e44fa3efd2cdb8994461
parent7149077353ef4837ab2fcdce5d7e52c5ed4b026a
arm: socfpga: soc64: Check FPGA Config status register before bridge reset

Instead of querying SDM for FPGA configuration status through mailbox
messages, U-Boot now checks System Manager's FPGA Config status register
for FPGA configuration status before resetting bridge.

Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/include/mach/misc.h
arch/arm/mach-socfpga/include/mach/system_manager_soc64.h
arch/arm/mach-socfpga/misc_s10.c