aboutsummaryrefslogtreecommitdiff
path: root/cmd/wdt.c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-18command: Remove the cmd_tbl_t typedefSimon Glass1-6/+6
We should not use typedefs in U-Boot. They cannot be used as forward declarations which means that header files must include the full header to access them. Drop the typedef and rename the struct to remove the _s suffix which is now not useful. This requires quite a few header-file additions. Signed-off-by: Simon Glass <sjg@chromium.org>
2019-04-12cmd: add wdt commandMichael Walle1-0/+174
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 <michael@walle.cc> Signed-off-by: Stefan Roese <sr@denx.de>