mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
kernel: rtc: add RTC non volatile storage support
By enabling the kmod-rtc-nvmem you enable the RTC non volatile storage support including nvmem sysfs access. This make it possible to store some (small) information in the (often battery backed) storage present on RTCs. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
This commit is contained in:
parent
c67d5189a4
commit
4e90ae9682
@ -116,6 +116,22 @@ endef
|
||||
$(eval $(call KernelPackage,rtc-mv))
|
||||
|
||||
|
||||
define KernelPackage/rtc-nvmem
|
||||
SUBMENU:=$(RTC_MENU)
|
||||
TITLE:=RTC non volatile storage support
|
||||
DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
|
||||
KCONFIG:=CONFIG_RTC_NVMEM=y \
|
||||
CONFIG_NVMEM_SYSFS=y
|
||||
endef
|
||||
|
||||
define KernelPackage/rtc-nvmem/description
|
||||
Say yes here to add support for the non volatile (often battery
|
||||
backed) storage present on RTCs.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,rtc-nvmem))
|
||||
|
||||
|
||||
define KernelPackage/rtc-pcf8563
|
||||
SUBMENU:=$(RTC_MENU)
|
||||
TITLE:=Philips PCF8563/Epson RTC8564 RTC support
|
||||
|
Loading…
Reference in New Issue
Block a user