In message <[EMAIL PROTECTED]> you wrote:
> 
> I want to use the watchdog in my MCF5373L board (which is
> supported by U-Boot using the MCF532x code). I find
> watchdog_init and so on but I did not see any of these being
> called anywhere from within U-Boot. However, when enabling

How did you search? You might want to do  a  case-insensitive  search
for watchdog_init and watchdog_reset. There is some CPP trickery
involved.

> >From other posts I found some things that I would like to state
> as assumptions, please correct me if any of these is wrong
> 
> - watchdog is not initialized by default, has to be done by
>   board-specific code

Wrong, INIT_FUNC_WATCHDOG_INIT get's called by global init code -  at
least   on   the   architectures  where  watchdog  support  has  been
implemented. For reference, please see the PPC code.

> - watchdog servicing (reset the counter) is also not done
>   by default - has to be done by board-specific code

Wrong, this is being done globally.

> - I saw a patch by Wolfgang that splits udelay, but did not
>   see how the watchdog_reset is handled by this? Where
>   is this done?

Search watchdog_reset ignoring case so you will find for example
INIT_FUNC_WATCHDOG_RESET as well...

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: [EMAIL PROTECTED]
"Have you lived in this village all your life?"        "No, not yet."

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to