commit | 3eaf6e2e42c5855036a11dd7c00831226c27f152 | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | Thu Aug 19 11:56:58 2021 +0200 |
committer | Stefan Roese <sr@denx.de> | Tue Aug 31 12:04:03 2021 +0200 |
tree | 2c2f100647b32dfab2917a3c0ee93f40ce743220 | |
parent | 068f8eafe985a8658aaea8f476316c4f3940c7bd [diff] |
watchdog: wdt-uclass.c: refactor initr_watchdog() In preparation for handling all DM watchdogs in watchdog_reset(), pull out the code which handles starting (or not) the gd->watchdog_dev device. Include the device name in various printfs. Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>