sntp: use udp framework
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 18 Sep 2020 12:13:02 +0000 (14:13 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 20:55:03 +0000 (16:55 -0400)
commit912ece4c3dd486bcd62f0d0dfee760b9f01caac6
tree4bc13b0c8d593e9012b58ce22c65d52e916e14bf
parent6b981a224e86b77a983438fd90cc90dd511fbb1a
sntp: use udp framework

This commits update the support of sntp to use
the framework udp. This change allows to remove
all the reference to sntp in the main network
file net/net.c.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/net.c
include/net/sntp.h [moved from net/sntp.h with 94% similarity]
net/net.c
net/sntp.c