From 002cbc89c36e9e80e96bd461db4726efca3aa4dc Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Thu, 20 May 2021 16:40:10 +0000 Subject: [PATCH] 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 2d5635fee72..a2ee53b35a0 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); }