summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2022-11-17 09:20:34 +0100
committerStefan Roese <sr@denx.de>2022-11-22 08:56:26 +0100
commit5cbd0295392be32be3bb80da4fa3edee9a5c7287 (patch)
tree65c81cde441b1eb0e737988ed4fb307331ab0d1f /drivers/watchdog
parentdca313ff9dea03d523e3a63568b5ed265f811c91 (diff)
downloadu-boot-5cbd0295392be32be3bb80da4fa3edee9a5c7287.tar.gz
u-boot-5cbd0295392be32be3bb80da4fa3edee9a5c7287.tar.bz2
u-boot-5cbd0295392be32be3bb80da4fa3edee9a5c7287.zip
watchdog: Drop GD_FLG_WDT_READY as it's not used any more
Since commit c2fd0ca1a822 ("watchdog: Integrate watchdog triggering into the cyclic framework") GD_FLG_WDT_READY has become write-only. This patch now removes this flag completely. The vacant spot in gd_flags is filled with the newly introduced GD_FLG_CYCLIC_RUNNING flag. Suggested-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/wdt-uclass.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/watchdog/wdt-uclass.c b/drivers/watchdog/wdt-uclass.c
index 82df0ff0be..509896a1b8 100644
--- a/drivers/watchdog/wdt-uclass.c
+++ b/drivers/watchdog/wdt-uclass.c
@@ -105,7 +105,6 @@ int initr_watchdog(void)
init_watchdog_dev(dev);
}
- gd->flags |= GD_FLG_WDT_READY;
return 0;
}