]> git.dujemihanovic.xyz Git - u-boot.git/commit
ti: wdt: omap: Disable watchdog timer before performing initialization
authorLukasz Majewski <lukma@denx.de>
Sun, 19 Feb 2017 22:24:38 +0000 (23:24 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 9 Apr 2017 01:32:49 +0000 (21:32 -0400)
commitb633b9c8fe26519f3abaee3724115fec7b86aab2
tree831d8e05e7687bdf266a680cd659d30ad81b839b
parent737af8192753a665cd716f58774513b3c7063d27
ti: wdt: omap: Disable watchdog timer before performing initialization

The OMAP WDT IP block requires to be stopped before any write to its
registers is performed.

This problem has been thoroughly described in Linux kernel:

"watchdog: omap: assert the counter being stopped before reprogramming:
SHA1: 530c11d432727c697629ad5f9d00ee8e2864d453

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/watchdog/omap_wdt.c