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

1--- a/drivers/watchdog/Kconfig
2+++ b/drivers/watchdog/Kconfig
3@@ -943,6 +943,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@@ -122,6 +122,7 @@ obj-$(CONFIG_ATH79_WDT) += ath79_wdt.o
25 obj-$(CONFIG_BCM47XX_WDT) += bcm47xx_wdt.o
26 obj-$(CONFIG_BCM63XX_WDT) += bcm63xx_wdt.o
27 obj-$(CONFIG_RC32434_WDT) += rc32434_wdt.o
28+obj-$(CONFIG_ADM5120_WDT) += adm5120_wdt.o
29 obj-$(CONFIG_INDYDOG) += indydog.o
30 obj-$(CONFIG_JZ4740_WDT) += jz4740_wdt.o
31 obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o
32

Archive Download this file



interactive