[U-Boot] [PATCH] arm:kirkwood: Add hardware watchdog support for Marvell Kirkwood boards

Stefan Roese sr at denx.de
Tue Sep 29 15:59:38 CEST 2009


On Tuesday 29 September 2009 15:45:44 Prafulla Wadaskar wrote:
> > > But do you really need Watchdog support for u-boot?
> >
> > Paranoia really has no limits :-). The main objective for me
> > personally
> > is to have the watchdog on when Linux starts, but if there is a risk
> > (for whatever reason) that U-boot hangs, it would also help there.
> 
> Its good to have watchdog, it will be very useful for some applications.
> But I don't think we should do it at u-boot level.

I think it's perfectly legal to enable the watchdog already in U-Boot. And as 
Simon already mentioned, it has some advantages doing this as early as 
possible.

> Secondly If it is supported on Kirkwood platforms in Linux,
> then the same can be triggered from OS too.

But things could go wrong while booting Linux.
 
> In u-boot I didn't find much watchdog implementation for other arm
>  architectures.

It doesn't matter if there are many, but there are at least some. And the 
infrastructure is there. Why not use it. You don't have to enable the watchdog 
support for your boards of course. :)
 
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list