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

Philip Prindeville philipp_subx at redfish-solutions.com
Mon Mar 13 17:37:47 PDT 2017


Did you look at:

https://github.com/openwrt/openwrt/pull/326

it might be easier just to cherry-pick this in.


> On Mar 11, 2017, at 3:48 PM, michael at michaelmarley.com wrote:
> 
> 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
> 
> 
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev




More information about the Lede-dev mailing list