[PATCH v4 3/3] sntp: use udp framework
Simon Glass
sjg at chromium.org
Sat Sep 19 04:59:43 CEST 2020
Hi Philippe,
On Fri, 18 Sep 2020 at 06:13, Philippe Reynes
<philippe.reynes at softathome.com> wrote:
>
> 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 at softathome.com>
> ---
>
> Changelog:
> v4:
> - new patch in the serie
>
> cmd/Kconfig | 1 +
> cmd/net.c | 10 +++++++++-
> include/net/sntp.h | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> net/net.c | 31 +----------------------------
> net/sntp.c | 29 +++++++++++++++++++++++++--
> net/sntp.h | 57 -----------------------------------------------------
> 6 files changed, 96 insertions(+), 90 deletions(-)
> create mode 100644 include/net/sntp.h
> delete mode 100644 net/sntp.h
>
Reviewed-by: Simon Glass <sjg at chromium.org>
I wonder if we should use driver model to have a network-protocol uclass?
Regards,
Simon
More information about the U-Boot
mailing list