commands: wd: support configuring watchdog by name
So far, wd has always configured the highest-priority watchdog when
multiple are available. Add an optional -d parameter to support
configuring the other watchdogs as well. The name passed can be either
the watchdog device name (e.g. wdog0) or the hardware device name (e.g.
efi-wdt).

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9ba3943 commit b7a06921166d44f0bc3c6638144351382fef409d
@Ahmad Fatoum Ahmad Fatoum authored on 23 Oct 2019
Sascha Hauer committed on 29 Oct 2019
Showing 1 changed file
View
commands/wd.c