From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] bugfix: the watchdog post for lwmon5
Date: Tue, 01 Apr 2008 13:32:37 +0200 [thread overview]
Message-ID: <20080401113237.50CEB2476E@gemini.denx.de> (raw)
In-Reply-To: Your message of "Tue, 01 Apr 2008 10:33:20 +0200." <20080401083320.B918D24544@gemini.denx.de>
In message <20080401083320.B918D24544@gemini.denx.de> I wrote:
>
> > /* 3.2.2. strobe watchdog once */
> > WATCHDOG_RESET();
> > + base = post_time_ms (0);
> > + while (post_time_ms (base) < 2)
> > + WATCHDOG_RESET();
>
> Are you absolutely sure that is needed?
Maybe I should have been more explicit - note that above code with
correct indentation looks like this:
/* 3.2.2. strobe watchdog once */
WATCHDOG_RESET();
base = post_time_ms (0);
while (post_time_ms (base) < 2)
WATCHDOG_RESET();
I. e. the comment "once" is wrong - you trigger the watchdog many more
times that you probably think.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Witch! Witch! They'll burn ya!
-- Hag, "Tomorrow is Yesterday", stardate unknown
next prev parent reply other threads:[~2008-04-01 11:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 7:59 [U-Boot-Users] [PATCH] bugfix: the watchdog post for lwmon5 Sascha Laue
2008-04-01 8:33 ` Wolfgang Denk
2008-04-01 11:32 ` Wolfgang Denk [this message]
2008-04-01 13:13 ` Sascha Laue
2008-04-14 6:33 ` Wolfgang Denk
2008-04-14 17:44 ` Detlev Zundel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080401113237.50CEB2476E@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox