Jerome Forissier 77f0bed326 net: extract function net_sntp_set_rtc() from sntp_handler()
Extract the code that sets the RTC clock from sntp_handler() in
net/sntp.c and make it a new function net_sntp_set_rtc() in
net/net-common.c. This will allow re-use with NET_LWIP.

According to [1] it is safe to assume that all devices have been
converted to DM_RTC so drop the useless code.

[1] https://lists.denx.de/pipermail/u-boot/2025-June/591376.html

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
2025-07-08 11:07:37 +02:00
..
2025-07-08 11:07:37 +02:00
2023-12-21 08:54:37 -05:00
2024-07-15 12:12:18 -06:00
2024-12-25 22:31:04 -06:00
2023-12-21 08:54:37 -05:00
2024-05-05 11:21:39 -03:00
2025-04-08 16:23:51 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2025-05-29 08:30:25 -06:00
2023-12-21 08:54:37 -05:00
2024-07-15 12:12:18 -06:00
2018-07-02 14:14:20 -05:00