]> git.baikalelectronics.ru Git - uboot.git/commit
watchdog: at91sam9_wdt: Remove now superfluous wdt start and reset
authorStefan Roese <sr@denx.de>
Thu, 11 Apr 2019 13:58:47 +0000 (15:58 +0200)
committerStefan Roese <sr@denx.de>
Fri, 26 Apr 2019 07:16:32 +0000 (09:16 +0200)
commitd89fb238511000af37c5c6072af1aa6f050e4ca2
tree4a86e331cabf0bfabeab4e1ddf927300eb33711e
parented61301a8419f5222495d8eb59c42987fd6cdf9c
watchdog: at91sam9_wdt: Remove now superfluous wdt start and reset

With the new generic function, the scattered other functions are now
removed to be replaced by the generic one. The new version also enables
the configuration of the watchdog timeout via the DT "timeout-sec"
property (if enabled via CONFIG_OF_CONTROL).

The watchdog servicing is enabled via CONFIG_WATCHDOG.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
arch/arm/mach-at91/clock.c
arch/arm/mach-at91/include/mach/at91_wdt.h
configs/gardena-smart-gateway-at91sam_defconfig
drivers/watchdog/at91sam9_wdt.c