[PATCH] watchdog: mpc8xx_wdt: Allow selection of watchdog mode through environment
Tom Rini
trini at konsulko.com
Fri Apr 24 19:08:40 CEST 2020
On Wed, Feb 19, 2020 at 04:50:15PM +0000, Christophe Leroy wrote:
> From: Charles Frey <charles.frey at c-s.fr>
>
> The mpc8xx watchdog can work either in 'reset mode' or 'NMI mode'.
> The selection can be done at startup only.
> It is desirable to select the mode without rebuilding U-boot.
> It is also desirable to disable the watchdog without rebuilding.
>
> At watchdog startup, check environment variable 'watchdog_mode'.
> If it is 'off', the watchdog is not started. If it is 'nmi',
> the watchdog is started in NMI mode. Otherwise, it is started
> in reset mode which is the default mode.
>
> Signed-off-by: Charles Frey <charles.frey at c-s.fr>
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200424/f71a5c26/attachment.sig>
More information about the U-Boot
mailing list