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

Simon Kagstrom simon.kagstrom at netinsight.net
Thu Oct 29 09:07:49 CET 2009


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


More information about the U-Boot mailing list