Переглянути джерело

add Marvell orion watchdog timer module

This patch adds kernelmodule for watchdog timer on platform orion.

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

SVN-Revision: 25620
Florian Fainelli 14 роки тому
батько
коміт
43d7aff94e
1 змінених файлів з 16 додано та 0 видалено
  1. 16 0
      package/kernel/modules/other.mk

+ 16 - 0
package/kernel/modules/other.mk

@@ -770,6 +770,22 @@ endef
 $(eval $(call KernelPackage,wdt-omap))
 
 
+define KernelPackage/wdt-orion
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Marvell Orion Watchdog timer
+  DEPENDS:=@TARGET_orion
+  KCONFIG:=CONFIG_ORION_WATCHDOG
+  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/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))
+
+
 define KernelPackage/wdt-sc520
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Natsemi SC520 Watchdog support