]> git.baikalelectronics.ru Git - uboot.git/commit
arm: at91: Enable watchdog support
authorStefan Roese <sr@denx.de>
Wed, 3 Apr 2019 05:37:40 +0000 (07:37 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 9 Apr 2019 06:28:50 +0000 (09:28 +0300)
commit08fb986f66cbab1cab39c3496439a1ea0cec83ea
tree2ee19c4cdb862e194900282f1efe0377135895b4
parent3235ae88316b96dcf05ba3dd671493287c7cbe2f
arm: at91: Enable watchdog support

This patch enables and starts the watchdog on the AT91 platform if
configured. The WD timeout value is read in the AT91 WD device driver
from the DT, using the "timeout-sec" DT property. If not provided in
the DT, the default value of 2 seconds is used.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Andreas Bießmann <andreas@biessmann.org>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
arch/arm/mach-at91/clock.c
arch/arm/mach-at91/include/mach/at91_wdt.h
drivers/watchdog/at91sam9_wdt.c