From: Peter Robinson <pbrobinson(a)gmail.com>
We already enable RTC_HCTOSYS in common config, this is the inverse
for syncing NTP to HW RTCs, and seems slightly better/preferred on
non x86-style CMOS RTCa than update_persistent_clock.
Signed-off-by: Peter Robinson <pbrobinson(a)gmail.com>
---
redhat/configs/common/generic/CONFIG_RTC_SYSTOHC | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
b/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
index 03ebe734a152..f3581c76b8c6 100644
--- a/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
+++ b/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
@@ -1 +1 @@
-# CONFIG_RTC_SYSTOHC is not set
+CONFIG_RTC_SYSTOHC=y
--
GitLab
Show replies by date
From: Peter Robinson <pbrobinson(a)gmail.com>
We already enable RTC_HCTOSYS in common config, this is the inverse
for syncing NTP to HW RTCs, and seems slightly better/preferred on
non x86-style CMOS RTCa than update_persistent_clock.
Set the device to rtc0, the same as we set RTC_HCTOSYS to.
Signed-off-by: Peter Robinson <pbrobinson(a)gmail.com>
---
redhat/configs/common/generic/CONFIG_RTC_SYSTOHC | 2 +-
redhat/configs/common/generic/CONFIG_RTC_SYSTOHC_DEVICE | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
create mode 100644 redhat/configs/common/generic/CONFIG_RTC_SYSTOHC_DEVICE
diff --git a/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
b/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
index 03ebe734a152..f3581c76b8c6 100644
--- a/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
+++ b/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC
@@ -1 +1 @@
-# CONFIG_RTC_SYSTOHC is not set
+CONFIG_RTC_SYSTOHC=y
diff --git a/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC_DEVICE
b/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC_DEVICE
new file mode 100644
index 000000000000..031950602e96
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_RTC_SYSTOHC_DEVICE
@@ -0,0 +1 @@
+CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
--
GitLab