lib: Add WATCHDOG_RESET to wait_bit.h
authorMichal Simek <michal.simek@xilinx.com>
Mon, 12 Dec 2016 08:46:09 +0000 (09:46 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 10 Jan 2017 09:18:11 +0000 (10:18 +0100)
commit3cd42180a8f691c68d88b9ef428054348c2f0432
tree638374045339ddc3b36f5d758672e5cdb4f4e668
parenta705ebc81b7f91bbd0ef7c634284208342901149
lib: Add WATCHDOG_RESET to wait_bit.h

wait_for_bit() is missing reset watchdog in case watchdog
is configured.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/wait_bit.h