diff options
author | Samuel Holland <samuel@sholland.org> | 2021-11-04 06:55:13 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-11-04 10:57:19 +0300 |
commit | 5544a0114258ec4eba2a361fc975e91c419b227e (patch) | |
tree | 539eaa9dbaef8fcffecd1827b54ce425a40cc5e5 /dts | |
parent | 30ba45dbd6f3a470c739bd5db0663bee86b4cbf6 (diff) | |
download | u-boot-5544a0114258ec4eba2a361fc975e91c419b227e.tar.xz |
sysreset: watchdog: Move watchdog reference to plat data
Currently, the wdt_reboot driver always gets its watchdog device
reference from an OF node. This prevents selecting a watchdog at
runtime. Move the watchdog device reference to the plat data, so
the driver can be bound with the reference pre-provided. The
reference will still be acquired from the OF node if it is not
already provided.
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'dts')
0 files changed, 0 insertions, 0 deletions