buildman: Move the download function to tools
authorSimon Glass <sjg@chromium.org>
Mon, 10 Jan 2022 03:13:41 +0000 (20:13 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Jan 2022 19:36:10 +0000 (12:36 -0700)
commit8ea6d23ffb7787c5c42b78c38466e46a43bd55ad
treecbe281881d477bd21a2558f0637ffec6c56cb9af
parentade5327655802b0149a4a569dd489318ad59adc3
buildman: Move the download function to tools

This function is handy for binman as well. Move it into the shared 'tools'
module.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/toolchain.py
tools/patman/tools.py