cmd: add wdt command
PATCH 1/1 cmd: add wdt command
Add a command to control the watchdog devices. This is useful if the watchdog is rather long running (eg. seconds) and it should be controlled by scripts. It is also handy during debugging.
Signed-off-by Michael Walle <[email protected]>
--- cmd/Kconfig | 6 +++ cmd/Makefile | 1 + cmd/wdt.c | 174 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 181 insertions(+) create mode 100644 cmd/wdt.c
cmd/Kconfig +6 -0
@@ -1101,6 +1101,12 @@ config CMD_VIRTIO help VirtIO block device support +config CMD_WDT + bool "wdt" + depends on WDT + help + This provides commands to control the watchdog timer devices. + config CMD_AXI bool "axi" depends on AXI
cmd/Makefile +1 -0
@@ -142,6 +142,7 @@ obj-$(CONFIG_CMD_UBIFS) += ubifs.o obj-$(CONFIG_CMD_UNIVERSE) += universe.o obj-$(CONFIG_CMD_UNZIP) += unzip.o obj-$(CONFIG_CMD_VIRTIO) += virtio.o +obj-$(CONFIG_CMD_WDT) += wdt.o obj-$(CONFIG_CMD_LZMADEC) += lzmadec.o obj-$(CONFIG_CMD_USB) += usb.o disk.o
cmd/wdt.c new file +174 -0
174 lines not on this page · raw message
Signature · 1 line
2.11.0
PATCH 1/1 cmd: add wdt command
Quoted 5 lines · Michael Walle
Add a command to control the watchdog devices. This is useful if the watchdog is rather long running (eg. seconds) and it should be controlled by scripts. It is also handy during debugging.
Signed-off-by Michael Walle <[email protected]>
Applied to u-boot-marvell/master.
Thanks,
Stefan