[U-Boot] [PATCH] README: Clarify difference of CONFIG_WATCHDOG and CONFIG_HW_WATCHDOG

Mike Frysinger vapier at gentoo.org
Wed Apr 27 18:27:12 CEST 2011


On Wed, Apr 27, 2011 at 11:25, Detlev Zundel wrote:
> Now that we have the documentation, the code should be changed to reflect
> it ;)
>
> Asd far as I can see, these are the places where HW_WATCHDOG is used
> instead of WATCHDOG:

the trouble is that watchdog.h doesnt seem to match, nor does the
name.  "hardware" means to me "hardware" as in "the cpu hardware".

#ifdef CONFIG_HW_WATCHDOG
...
#else
    /*
     * Maybe a software watchdog?
     */
...
#endif

i dont see how a watchdog in the SoC could be a "software" watchdog or
a "non-hardware" watchdog.

the watchdog system is a legacy mess, so probably be easier to just
gut the whole thing.
-mike


More information about the U-Boot mailing list