From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Kagstrom Date: Thu, 29 Oct 2009 09:07:49 +0100 Subject: [U-Boot] [PATCH v2 0/2]: Watchdog support from the command line In-Reply-To: <20091028151105.2c167d01@marrow.netinsight.se> References: <20091028151105.2c167d01@marrow.netinsight.se> Message-ID: <20091029090749.2a2c91d7@marrow.netinsight.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 - 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