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)
commitc2ff69a444bdc209eecf1bba0685edd7eb5957c3
tree4a86e331cabf0bfabeab4e1ddf927300eb33711e
parentf3729ba6e7b2dff9a6f6e72e8839d99c2e3dbb03
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