On Wed, 8 Nov 2023 at 04:07, Masahisa Kojima <masahisa.koj...@linaro.org> wrote: > > Current wget takes the target uri in this format: > "<http server ip>:<file path>" e.g.) 192.168.1.1:/bar > The http server ip address must be resolved before > calling wget. > > This commit adds the utility function runs wget with dhs. > User can call wget with the uri like "http://foo/bar". > > Signed-off-by: Masahisa Kojima <masahisa.koj...@linaro.org> > Reviewed-by: Ilias Apalodimas <ilias.apalodi...@linaro.org> > Reviewed-by: Ramon Fried <rfried....@gmail.com> > --- > include/net.h | 9 +++++++++ > net/wget.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 63 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org>