
24 Apr
2020
24 Apr
'20
7:08 p.m.
On Wed, Feb 19, 2020 at 04:50:15PM +0000, Christophe Leroy wrote:
From: Charles Frey charles.frey@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@c-s.fr Signed-off-by: Christophe Leroy christophe.leroy@c-s.fr
Applied to u-boot/master, thanks!
--
Tom