Skip to content

: Watchdog support from the command line

Simon Kagstrom u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

ChangeLog from the cover letter

v2: Adapt according to comments from Prafulla and Wolfgang
* Passing zero as timeout is invalid (Prafulla)
* Add return value from watchdog_enable(), negative means failure (Prafulla, Wolfgang)
* Remove watchdog_disable() (Wolfgang)
* Use weak default function for watchdog_enable() (Wolfgang)
* Provide friendly and helpful printouts when invalid parameters are passed to the CLI command

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2: common: Add a watchdog CLI commandcommon/Makefile common/cmd_watchdog.c common/main.c +1 more+72 -01 reply
1/2: common: Add a watchdog CLI command+0 -02 replies
2/2: arm:kirkwood: Add hardware watchdog support for Marvell Kirkwood boardscpu/arm926ejs/kirkwood/timer.c+38 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/2]: Watchdog support from the command line

Hi!

These two patches add a generic watchdog CLI command and a driver for the watchdog on Marvell Kirkwood that uses it.

The command usage is

watchdog - Watchdog commands

Usage:
watchdog <timeout> - start the watchdog with `timeout' seconds timeout

ChangeLog:
v2: Adapt according to comments from Prafulla and Wolfgang
* Passing zero as timeout is invalid (Prafulla)
* Add return value from watchdog_enable(), negative means failure (Prafulla, Wolfgang)
* Remove watchdog_disable() (Wolfgang)
* Use weak default function for watchdog_enable() (Wolfgang)
* Provide friendly and helpful printouts when invalid parameters are passed to the CLI command

// Simon