public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Daniel Hobi <dhobi@gmx.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] CONFIG_HW_WATCHDOG in 1.1.6
Date: Tue, 20 Mar 2007 09:52:53 +0100	[thread overview]
Message-ID: <45FFA0E5.1090006@gmx.net> (raw)
In-Reply-To: <f608b67d0703191743id58c79cjb0ff4d2fdf1975b7@mail.gmail.com>

On 20.03.2007 01:43, vb wrote:
> I am trying to enable hardware watchdog in version 1.1.6 on an 85xx
> based platform.
> 
> I added CONFIG_HW_WATCHDOG definition to include/configs/<platform>.h
> and provided the hw_watchdog_reset() function. The image compiled and
> linked nicely, but once I run it in u-boot CLI (monitor) mode - it
> gets killed by the watchdog in no time.

The 85xx seems to support a timer interrupt based hardware watchdog 
model by enabling CONFIG_WATCHDOG (note the difference to your define). 
Have a look at these functions:

cpu/mpc85xx/interrupts.c: timer_interrupt
cpu/mpc85xx/cpu.c: reset_85xx_watchdog

Maybe these fit your need?

Best Regards,
Daniel

  parent reply	other threads:[~2007-03-20  8:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20  0:43 [U-Boot-Users] CONFIG_HW_WATCHDOG in 1.1.6 vb
2007-03-20  1:36 ` Wolfgang Denk
2007-03-20  8:56   ` Daniel Hobi
2007-03-20 12:10     ` Wolfgang Denk
2007-03-20 22:00   ` vb
2007-03-20 23:02     ` Wolfgang Denk
2007-03-20 23:12       ` vb
2007-03-20  8:52 ` Daniel Hobi [this message]
2007-03-20 15:23   ` vb
2007-03-20 21:19     ` Wolfgang Denk

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=45FFA0E5.1090006@gmx.net \
    --to=dhobi@gmx.net \
    --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