git: 002cbc89c36e - main - arm64/rk805: remove RTC Set logging
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Jun 5 17:24:30 UTC 2021
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=002cbc89c36e9e80e96bd461db4726efca3aa4dc
commit 002cbc89c36e9e80e96bd461db4726efca3aa4dc
Author: Bjoern A. Zeeb <bz at FreeBSD.org>
AuthorDate: 2021-05-20 16:40:10 +0000
Commit: Bjoern A. Zeeb <bz at FreeBSD.org>
CommitDate: 2021-06-05 17:07:56 +0000
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
---
sys/arm64/rockchip/rk805.c | 6 ------
1 file changed, 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);
}
More information about the dev-commits-src-all
mailing list