
29 Oct
2009
29 Oct
'09
9:07 a.m.
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