kernel: Add kernel module for OMAP WDT
authorHamish Guthrie <hcg@openwrt.org>
Thu, 28 Oct 2010 08:50:43 +0000 (08:50 +0000)
committerHamish Guthrie <hcg@openwrt.org>
Thu, 28 Oct 2010 08:50:43 +0000 (08:50 +0000)
SVN-Revision: 23689

package/kernel/modules/other.mk

index 53080f8cdf2197eb02747896eef1033128db6dd9..b5b659a967d846b04368b83477482e996b478000 100644 (file)
@@ -680,6 +680,22 @@ endef
 $(eval $(call KernelPackage,wdt-geode))
 
 
+define KernelPackage/wdt-omap
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=OMAP Watchdog timer
+  DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
+  KCONFIG:=CONFIG_OMAP_WATCHDOG
+  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
+  AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
+endef
+
+define KernelPackage/wdt-omap/description
+  Kernel module for TI omap watchdog timer.
+endef
+
+$(eval $(call KernelPackage,wdt-omap))
+
+
 define KernelPackage/wdt-sc520
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Natsemi SC520 Watchdog support