]> git.ipfire.org Git - thirdparty/u-boot.git/commit
ARM: socfpga: Moving the watchdog reset to the for-loop status polling
authorTien Fong Chee <tien.fong.chee@intel.com>
Tue, 7 May 2019 09:42:27 +0000 (17:42 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 10 May 2019 20:48:10 +0000 (22:48 +0200)
commitc1cf5391807640159edcd363ea1cbaf226a56b58
tree50590424a89ff8b448566e3de3794e2087037f6a
parentf4b53b24d04fb223a6d5332c3744b955c462326d
ARM: socfpga: Moving the watchdog reset to the for-loop status polling

Current watchdog reset is misplaced after for-loop status polling, so
this poses a risk that watchdog can't be reset timely if polling taking
longer than watchdog timeout. This patch moving the watchdog reset
into polling to ensure the watchdog can be reset timely.

Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
drivers/fpga/socfpga_arria10.c