
Hi Philippe,
On Fri, 18 Sep 2020 at 06:13, Philippe Reynes philippe.reynes@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@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@chromium.org
I wonder if we should use driver model to have a network-protocol uclass?
Regards, Simon