On Wed, 28 Oct 2009 05:57:34 -0700 Prafulla Wadaskar <prafu...@marvell.com> wrote:
> > Sure, but WATCHDOG_RESET() will be called anyway (and probably before > > my code), so it will be enabled anyhow in that case. My point is that > > sometimes you don't want the watchdog to get started directly, hence > > the function to enable it. > > That is also valid point, > This will be the generic need for all architectures. > Lets introduce WATCHDOG_INIT() as new generic interface. Yes, something like that. What I was thinking was a void watchdog_enable(unsigned int timeout_secs); void watchdog_disable(void); and a command-line interface to go with these. I'm cooking up a patch with this. // Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot