[source] ramips: Add RTC driver to kernel for working hctosys

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 31 11:13:02 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/369884c2a18cf082f0d13652deaf2415700dc842

commit 369884c2a18cf082f0d13652deaf2415700dc842
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Sat Oct 29 20:50:45 2016 -0700

    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 <rosenp at gmail.com>
---
 target/linux/ramips/image/mt7621.mk   | 4 ++--
 target/linux/ramips/mt7621/config-4.4 | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 234c7a7..e0fbb61 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 9132d89..47b208b 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



More information about the lede-commits mailing list