aboutsummaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorCharles Frey <charles.frey@c-s.fr>2020-02-19 16:50:15 +0000
committerTom Rini <trini@konsulko.com>2020-04-24 10:09:59 -0400
commitea8de984e5d77a755c7802833a4808c65d380fb0 (patch)
treea32c82b6d792351c4d276c1ea47f90056143530a /dts
parentdbfd9e0e61ff1f9c65703959ed8e3ceb410d1e7e (diff)
downloadu-boot-ea8de984e5d77a755c7802833a4808c65d380fb0.zip
u-boot-ea8de984e5d77a755c7802833a4808c65d380fb0.tar.gz
u-boot-ea8de984e5d77a755c7802833a4808c65d380fb0.tar.bz2
watchdog: mpc8xx_wdt: Allow selection of watchdog mode through environment
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>
Diffstat (limited to 'dts')
0 files changed, 0 insertions, 0 deletions