u-boot/drivers/watchdog
Charles Frey ea8de984e5 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>
2020-04-24 10:09:59 -04:00
..
armada-37xx-wdt.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ast_wdt.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
at91sam9_wdt.c watchdog: at91sam9_wdt: Remove now superfluous wdt start and reset 2019-04-26 09:16:32 +02:00
bcm6345_wdt.c watchdog: bcm6345: callback start use tick instead of ms 2019-05-18 12:31:58 -04:00
cdns_wdt.c watchdog: cadence: Remove DECLARE_GLOBAL_DATA_PTR from driver 2020-04-06 12:52:45 +02:00
cortina_wdt.c watchdog: cortina_wdt: add support for HW WDT on CAxxxx SoCs 2020-02-07 16:15:57 -05:00
designware_wdt.c watchdog: designware: Optionally fetch clock and reset from DT 2020-02-05 03:01:57 +01:00
ftwdt010_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
imx_watchdog.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
Kconfig watchdog: versal: Add support for Xilinx window watchdog 2020-04-06 12:52:45 +02:00
Makefile watchdog: versal: Add support for Xilinx window watchdog 2020-04-06 12:52:45 +02:00
mpc8xx_wdt.c watchdog: mpc8xx_wdt: Allow selection of watchdog mode through environment 2020-04-24 10:09:59 -04:00
mt7621_wdt.c wdt: Add MT7621 watchdog driver 2018-11-18 16:02:22 +01:00
mtk_wdt.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
omap_wdt.c watchdog: omap_wdt: Fix WDT coding style 2020-02-04 09:07:25 +05:30
orion_wdt.c watchdog: orion_wdt: take timeout value in ms 2019-04-12 07:04:18 +02:00
s5p_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_wdt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sp805_wdt.c watchdog: sp805_wdt: get platform clock from dt file 2020-04-15 08:54:07 +02:00
stm32mp_wdt.c watchdog: stm32mp: Add watchdog driver 2019-06-06 17:40:16 +02:00
tangier_wdt.c watchdog: tangier: Convert to use WDT class 2019-06-22 22:27:13 +08:00
ulp_wdog.c common: Move reset_cpu() to the CPU header 2020-01-17 14:02:31 -05:00
wdt-uclass.c watchdog: honour hw_margin_ms DT property 2020-04-15 08:54:00 +02:00
xilinx_tb_wdt.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
xilinx_wwdt.c watchdog: versal: Add support for Xilinx window watchdog 2020-04-06 12:52:45 +02:00