Debian Codegraph @

drivers/watchdog/Kconfig

raw
1 #
2 # Copyright © 2022 The Crust Firmware Authors.
3 # SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
4 #
5
6 choice
7 bool "Watchdog timer"
8 default WATCHDOG_SUN9I_A80_TWD if PLATFORM_H6
9 default WATCHDOG_SUN6I_A31_WDT
10 help
11 The firmware is monitored by a watchdog timer. If an
12 error occurs, the watchdog will reset the system instead
13 of allowing it to hang.
14
15 The watchdog also services user-requested system resets.
16
17 config WATCHDOG_SUN6I_A31_WDT
18 bool "Watchdog (R_WDOG)"
19 help
20 This driver supports the watchdog in A31 and newer SoCs.
21
22 This watchdog timer can reset the system after a minimum
23 delay of one half second.
24
25 Due to a bug in the H6 SoC, this watchdog timer hardware
26 is used by other system software on that platform. When
27 building for an H6 board, do not select this driver
28 unless you know what you are doing.
29
30 config WATCHDOG_SUN9I_A80_TWD
31 bool "Trusted watchdog (R_TWD)"
32 depends on HAVE_R_TWD
33 help
34 This driver supports the trusted watchdog in A80 and
35 newer SoCs.
36
37 This watchdog timer can reset the system immediately.
38
39 Older versions of Linux may interfere with this device,
40 causing an unexpected reboot during system resume. As a
41 workaround, select a different watchdog device.
42
43 endchoice