summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2012-07-15 14:25:30 +0000
committerLuka Perkov <luka@openwrt.org>2012-07-15 14:25:30 +0000
commit03a6d65c37b4dd5481da48bdf11d3f9c714a6ef4 (patch)
tree420e5572f90de6cc8ddedad59d9293514833a83b /package/kernel
parentc727c2aacf7fc47a6394dd40ddd385c24ff60f02 (diff)
downloadmtk-20170518-03a6d65c37b4dd5481da48bdf11d3f9c714a6ef4.zip
mtk-20170518-03a6d65c37b4dd5481da48bdf11d3f9c714a6ef4.tar.gz
mtk-20170518-03a6d65c37b4dd5481da48bdf11d3f9c714a6ef4.tar.bz2
kernel: add Marvell SoC built-in RTC to modules
Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 32732
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 1bf1755..773a2bc 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -731,6 +731,23 @@ endef
$(eval $(call KernelPackage,pwm-gpio))
+
+define KernelPackage/rtc-marvell
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Marvell SoC built-in RTC support
+ $(call AddDepends/rtc)
+ DEPENDS+=@TARGET_kirkwood||TARGET_orion
+ KCONFIG:=CONFIG_RTC_DRV_MV
+ FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
+ AUTOLOAD:=$(call AutoLoad,60,rtc-mv)
+endef
+
+define KernelPackage/rtc-marvell/description
+ Kernel module for Marvell SoC built-in RTC.
+endef
+
+$(eval $(call KernelPackage,rtc-marvell))
+
define KernelPackage/rtc-pcf8563
SUBMENU:=$(OTHER_MENU)
TITLE:=Philips PCF8563/Epson RTC8564 RTC support