aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorMatteo Croce <matteo@openwrt.org>2008-05-18 23:13:25 +0000
committerMatteo Croce <matteo@openwrt.org>2008-05-18 23:13:25 +0000
commit32929bc11e6a0facc0a5242999308f79c77b8e04 (patch)
treef0e0601745b5c36fad6257670e21c033ac58a487 /package/kernel
parent337c22b2aeb591cfbaeede05c9661ae423378504 (diff)
downloadupstream-32929bc11e6a0facc0a5242999308f79c77b8e04.tar.gz
upstream-32929bc11e6a0facc0a5242999308f79c77b8e04.tar.bz2
upstream-32929bc11e6a0facc0a5242999308f79c77b8e04.zip
avr32: add watchdog driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11192 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index b7e6cab748..d7d078d370 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -275,6 +275,22 @@ ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.24)),1)
endif
WATCHDOG_DIR?=char/watchdog
+define KernelPackage/atmel-wdt
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=AT32AP700x watchdog
+ DEPENDS:=@TARGET_avr32
+ KCONFIG:=CONFIG_AT32AP700X_WDT
+ FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/at32ap700x_wdt.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,at32ap700x_wdt)
+endef
+
+define KernelPackage/atmel-wdt/description
+ AT32AP700x watchdog
+endef
+
+$(eval $(call KernelPackage,atmel-wdt))
+
+
define KernelPackage/softdog
SUBMENU:=$(OTHER_MENU)
TITLE:=Software watchdog driver