[PATCH u-boot-mvebu] watchdog: armada_37xx: Probe driver also when watchdog is already running
marek.behun at nic.cz
Wed Feb 23 15:35:37 CET 2022
On Wed, 23 Feb 2022 14:21:40 +0100
Pali Rohár <pali at kernel.org> wrote:
> If Armada 37xx watchdog is started before U-Boot then CNTR_CTRL_ACTIVE bit
> is set, U-Boot armada-37xx-wdt.c driver fails to initialize and so U-Boot
> is unable to use or kick this watchdog.
> Do not check for CNTR_CTRL_ACTIVE bit and always initialize watchdog. Same
> behavior is implemented in Linux kernel driver.
> This change allows to activate watchdog in firmware which loads U-Boot.
> Signed-off-by: Pali Rohár <pali at kernel.org>
Reviewed-by: Marek Behún <marek.behun at nic.cz>
More information about the U-Boot