package/kernel: add module for the Booke watchdog

Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31522
lede-17.01
Gabor Juhos 2012-04-29 15:00:37 +00:00
parent 296086868a
commit 01a9103254
1 changed files with 18 additions and 0 deletions

View File

@ -720,6 +720,24 @@ endef
$(eval $(call KernelPackage,wdt-ath79)) $(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 define KernelPackage/pwm
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=PWM generic API TITLE:=PWM generic API