On Tuesday 22 April 2008, Wolfgang Denk wrote: > From: Yuri Tikhonov <[EMAIL PROTECTED]> > > Limit the rate of h/w watch-dog triggering on the LWMON5 board by > the CONFIG_WD_MAX_RATE value. > > Note that an earlier version of this patch which used microseconds > instead of ticks dis not work. The problem was that we used > usec2ticks() to convert microseconds into ticks. usec2ticks() uses > get_tbclk(), which in turn calls get_sys_info(). It turns out that > this function does a lot of prolonged operations (like divisions) > which take too much time so we do not trigger the watchdog in time, > and it resets the system. > > Signed-off-by: Yuri Tikhonov <[EMAIL PROTECTED]>
Applied to u-boot-ppc4xx repository. Thanks. Best regards, 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: [EMAIL PROTECTED] ===================================================================== ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
