From 552857303980e2ce8b7747a4baccf02c0cfa7975 Mon Sep 17 00:00:00 2001
From: Paul Wassi
Date: Sun, 23 Oct 2016 14:21:22 +0200
Subject: [PATCH] kirkwood: 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: Paul Wassi
---
target/linux/kirkwood/config-4.4 | 2 +-
target/linux/kirkwood/profiles/100-generic.mk | 2 +-
target/linux/kirkwood/profiles/110-nas.mk | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/target/linux/kirkwood/config-4.4 b/target/linux/kirkwood/config-4.4
index 1caec8b98944..8ca0ebb04e16 100644
--- a/target/linux/kirkwood/config-4.4
+++ b/target/linux/kirkwood/config-4.4
@@ -266,7 +266,7 @@ CONFIG_REGMAP=y
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_RTC_CLASS=y
-# CONFIG_RTC_DRV_MV is not set
+CONFIG_RTC_DRV_MV=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_SCHED_HRTICK=y
# CONFIG_SCHED_INFO is not set
diff --git a/target/linux/kirkwood/profiles/100-generic.mk b/target/linux/kirkwood/profiles/100-generic.mk
index f07cea80d683..07371737b579 100644
--- a/target/linux/kirkwood/profiles/100-generic.mk
+++ b/target/linux/kirkwood/profiles/100-generic.mk
@@ -11,7 +11,7 @@ define Profile/Generic
kmod-mmc kmod-mvsdio kmod-usb2 kmod-usb-storage \
kmod-i2c-core kmod-i2c-mv64xxx \
kmod-ata-core kmod-ata-marvell-sata \
- kmod-rtc-marvell kmod-thermal-kirkwood \
+ kmod-thermal-kirkwood \
kmod-mwl8k swconfig wpad-mini
endef
diff --git a/target/linux/kirkwood/profiles/110-nas.mk b/target/linux/kirkwood/profiles/110-nas.mk
index 614dc4d7543b..7ccef69aa86d 100644
--- a/target/linux/kirkwood/profiles/110-nas.mk
+++ b/target/linux/kirkwood/profiles/110-nas.mk
@@ -8,7 +8,7 @@
define Profile/DOCKSTAR
NAME:=Seagate FreeAgent Dockstar
PACKAGES:= \
- kmod-rtc-marvell kmod-usb2 kmod-usb-storage
+ kmod-usb2 kmod-usb-storage
endef
define Profile/DOCKSTAR/Description
@@ -21,7 +21,7 @@ define Profile/GOFLEXHOME
NAME:=Seagate GoFlexHome
PACKAGES:= \
kmod-ata-core kmod-ata-marvell-sata \
- kmod-rtc-marvell kmod-usb2 kmod-usb-storage \
+ kmod-usb2 kmod-usb-storage \
uboot-envtools
endef
@@ -48,7 +48,7 @@ define Profile/IB62X0
NAME:=RaidSonic ICY BOX IB-NAS62x0
PACKAGES:= \
kmod-ata-core kmod-ata-marvell-sata \
- kmod-rtc-marvell kmod-usb2 kmod-usb-storage
+ kmod-usb2 kmod-usb-storage
endef
define Profile/IB62X0/Description
@@ -86,7 +86,7 @@ define Profile/NSA310S
NAME:=ZyXEL NSA310S
PACKAGES:= \
kmod-ata-core kmod-ata-marvell-sata \
- kmod-rtc-marvell kmod-usb2 kmod-usb-storage
+ kmod-usb2 kmod-usb-storage
endef
define Profile/NSA310S/Description
--
2.30.2