mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-22 12:05:32 +00:00
kernel: Add kmod-rtc-x1205
To support the IXP42x platforms we need a kernel module for the X1205 RTC so we can load it as an optional module. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
743dc8dd15
commit
806b359bbc
@ -780,6 +780,22 @@ endef
|
||||
|
||||
$(eval $(call KernelPackage,rtc-s35390a))
|
||||
|
||||
define KernelPackage/rtc-x1205
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=Xicor Intersil X1205
|
||||
DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
|
||||
DEPENDS:=+kmod-i2c-core
|
||||
KCONFIG:=CONFIG_RTC_DRV_X1205 \
|
||||
CONFIG_RTC_CLASS=y
|
||||
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-x1205.ko
|
||||
AUTOLOAD:=$(call AutoProbe,rtc-x1205)
|
||||
endef
|
||||
|
||||
define KernelPackage/rtc-x1205/description
|
||||
Kernel module for Xicor Intersil X1205 I2C RTC chip
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,rtc-x1205))
|
||||
|
||||
define KernelPackage/mtdtests
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
|
Loading…
x
Reference in New Issue
Block a user