From: Rosen Penev Date: Sun, 30 Oct 2016 03:50:45 +0000 (-0700) Subject: ramips: Add RTC driver to kernel for working hctosys X-Git-Tag: v17.01.0-rc1~994 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=369884c2a18cf082f0d13652deaf2415700dc842;p=openwrt%2Fstaging%2Fxback.git ramips: Add RTC driver to kernel for working hctosys Build the RTC driver into the kernel, (and remove the optional module), in order to make hctosys working. (Currently the module is loaded after hctosys has failed previously) Signed-off-by: Rosen Penev --- diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 234c7a76d9..e0fbb61119 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -96,7 +96,7 @@ define Device/pbr-m1 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := PBR-M1 DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci \ - kmod-rtc-pcf8563 kmod-i2c-mt7621 + kmod-i2c-mt7621 endef TARGET_DEVICES += pbr-m1 @@ -119,7 +119,7 @@ define Device/witi IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := MQmaker WiTi DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci \ - kmod-rtc-pcf8563 kmod-i2c-mt7621 + kmod-i2c-mt7621 endef TARGET_DEVICES += witi diff --git a/target/linux/ramips/mt7621/config-4.4 b/target/linux/ramips/mt7621/config-4.4 index 9132d894df..47b208b773 100644 --- a/target/linux/ramips/mt7621/config-4.4 +++ b/target/linux/ramips/mt7621/config-4.4 @@ -214,6 +214,7 @@ CONFIG_RESET_CONTROLLER=y CONFIG_RFS_ACCEL=y CONFIG_RPS=y CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_PCF8563=y CONFIG_SCHED_HRTICK=y # CONFIG_SCHED_INFO is not set CONFIG_SCHED_SMT=y