[LEDE-DEV] [PATCH] kernel: Add iTCO_wdt watchdog timer module support

michael at michaelmarley.com michael at michaelmarley.com
Sat Mar 11 14:48:16 PST 2017


From: Michael Marley <michael at michaelmarley.com>

This supports the Intel TCO Watchdog Timer Device, which has been
nearly ubiquitous in Intel chipsets for almost 20 years.

Signed-off-by: Michael Marley <michael at michaelmarley.com>
---
 package/kernel/linux/modules/other.mk | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 40869c6bb0..6b7afb75d9 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -1003,3 +1003,18 @@ define KernelPackage/tpm-i2c-atmel/description
 endef
 
 $(eval $(call KernelPackage,tpm-i2c-atmel))
+
+define KernelPackage/iTCO_wdt
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Intel TCO watchdog timer driver
+  KCONFIG:=CONFIG_ITCO_WDT
+  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_wdt.ko
+  AUTOLOAD:=$(call AutoLoad,40,iTCO_wdt,1)
+endef
+
+define KernelPackage/iTCO_wdt/description
+	This enables the driver for the watchdog timer hardware included in
+	many Intel chipsets.
+endef
+
+$(eval $(call KernelPackage,iTCO_wdt))
-- 
2.11.0




More information about the Lede-dev mailing list