This patch adds kernelmodule for watchdog timer on platform orion.

Signed-off-by: Michael Kämmerer <mrk_at_h3c_._de>
--------------------------------------------------------------



Index: package/kernel/modules/other.mk
===================================================================
--- package/kernel/modules/other.mk	(Revision 24456)
+++ package/kernel/modules/other.mk	(Arbeitskopie)
@@ -844,3 +844,19 @@
 endef
 
 $(eval $(call KernelPackage,rtc-pcf8563))
+
+define KernelPackage/wdt-orion
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Orion Watchdog timer
+  DEPENDS:=...@target_orion
+  KCONFIG:=CONFIG_ORION_WATCHDOG
+  FILES:=$(LINUX_DIR)/drivers/watchdog/orion_wdt.ko
+  AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
+endef
+
+define KernelPackage/wdt-orion/description
+  Kernel module for Marvell orion watchdog timer.
+endef
+
+$(eval $(call KernelPackage,wdt-orion))
+
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to