aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2021-05-20 16:40:10 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2021-06-05 17:07:56 +0000
commit002cbc89c36e9e80e96bd461db4726efca3aa4dc (patch)
treeac805c0b6b9be232f3677f224326fcac653c2712
parentb5d37e5a20ab1b189499e2824dc269d998c31989 (diff)
downloadsrc-002cbc89c36e9e80e96bd461db4726efca3aa4dc.tar.gz
src-002cbc89c36e9e80e96bd461db4726efca3aa4dc.zip
arm64/rk805: remove RTC Set logging
When ntpd is synchronizing the system time, it also periodically (30m) syncs the the RTC time. Remove printf in rk805_settime which triggers every 30m, as settime_task_func() will log errors under bootverbose. We leave the RTC Read logging, which should happen only once at boot. Commit message by: imp Reviewed by: manu, imp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D30361
-rw-r--r--sys/arm64/rockchip/rk805.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/arm64/rockchip/rk805.c b/sys/arm64/rockchip/rk805.c
index 2d5635fee72a..a2ee53b35a07 100644
--- a/sys/arm64/rockchip/rk805.c
+++ b/sys/arm64/rockchip/rk805.c
@@ -841,12 +841,6 @@ rk805_settime(device_t dev, struct timespec *ts)
ctrl &= ~RK805_RTC_CTRL_STOP;
rk805_write(dev, RK805_RTC_CTRL, &ctrl, 1);
- if (bootverbose)
- device_printf(dev,
- "Set RTC at %04x-%02x-%02x %02x:%02x:%02x[.%09ld]\n",
- bct.year, bct.mon, bct.day, bct.hour, bct.min, bct.sec,
- bct.nsec);
-
return (error);
}