]> git.baikalelectronics.ru Git - uboot.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)
commitf33657da0a7f8c4a2ce09989607fd3031ef73012
tree50590424a89ff8b448566e3de3794e2087037f6a
parentd79cefb02aa54a48fbbaa178e4e397becd00c373
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