]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: watchdog: wdt-uclass.c: add a property u-boot, noautostart
authorPhilippe Reynes <philippe.reynes@softathome.com>
Thu, 10 Feb 2022 17:17:54 +0000 (18:17 +0100)
committerStefan Roese <sr@denx.de>
Tue, 8 Mar 2022 08:08:00 +0000 (09:08 +0100)
commit2243e4ccca0b5dce35133f8083d6bebccb94ab02
tree13b85a7a1f03e5e8a37a8225f7c9ac65e77bdf2e
parenta1c206c0f284c1349973c2a8c74bf1f171c7158c
drivers: watchdog: wdt-uclass.c: add a property u-boot, noautostart

Since commit 2f4a831bf7a2 ("watchdog: wdt-uclass.c: handle all DM
watchdogs in watchdog_reset()"), all the watchdog are started when
the config WATCHDOG_AUTOSTART.

To avoid a binary choice none/all, a property u-boot,noautostart
may be added in the watchdog node of the u-boot device tree to not
autostart this watchdog.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/wdt-uclass.c