Root/target/linux/adm5120/patches-2.6.32/310-adm5120_wdt.patch

1--- a/drivers/watchdog/Kconfig
2+++ b/drivers/watchdog/Kconfig
3@@ -790,6 +790,18 @@ config RC32434_WDT
4       To compile this driver as a module, choose M here: the
5       module will be called rc32434_wdt.
6 
7+config ADM5120_WDT
8+ tristate "Infineon ADM5120 SoC hardware watchdog"
9+ depends on WATCHDOG && ADM5120
10+ help
11+ This is a driver for hardware watchdog integrated in Infineon
12+ ADM5120 SoC. This watchdog simply watches your kernel to make sure
13+ it doesn't freeze, and if it does, it reboots your computer after a
14+ certain amount of time.
15+
16+ To compile this driver as a module, choose M here: the module will be
17+ called adm5120_wdt.
18+
19 config INDYDOG
20     tristate "Indy/I2 Hardware Watchdog"
21     depends on SGI_HAS_INDYDOG
22--- a/drivers/watchdog/Makefile
23+++ b/drivers/watchdog/Makefile
24@@ -113,6 +113,7 @@ obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o
25 obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
26 obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
27 obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
28+obj-$(CONFIG_ADM5120_WDT) += adm5120_wdt.o
29 
30 # PARISC Architecture
31 
32

Archive Download this file



interactive