aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-29 15:00:37 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-29 15:00:37 +0000
commit01a9103254ad48dedaa5d67a53090024c680eb4a (patch)
tree9aff06ccfa2da0ceebf9063e3e1b1bd5bd3c933f
parent296086868afffb1b5a3508868704dd49e0979bfa (diff)
downloadupstream-01a9103254ad48dedaa5d67a53090024c680eb4a.tar.gz
upstream-01a9103254ad48dedaa5d67a53090024c680eb4a.tar.bz2
upstream-01a9103254ad48dedaa5d67a53090024c680eb4a.zip
package/kernel: add module for the Booke watchdog
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com> SVN-Revision: 31522
-rw-r--r--package/kernel/modules/other.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index d3450cf73b..d6eab58704 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -720,6 +720,24 @@ endef
$(eval $(call KernelPackage,wdt-ath79))
+define KernelPackage/booke-wdt
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=PowerPC Book-E Watchdog Timer
+ DEPENDS:=@(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x)
+ KCONFIG:=\
+ CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT=38 \
+ CONFIG_BOOKE_WDT
+ FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
+ AUTOLOAD:=$(call AutoLoad,50,booke_wdt)
+endef
+
+define KernelPackage/booke-wdt/description
+ Kernel module for PowerPC Book-E Watchdog Timer.
+endef
+
+$(eval $(call KernelPackage,booke-wdt))
+
+
define KernelPackage/pwm
SUBMENU:=$(OTHER_MENU)
TITLE:=PWM generic API