]> git.dujemihanovic.xyz Git - u-boot.git/commit
buildman: Avoid globals in leaf functions
authorSimon Glass <sjg@chromium.org>
Wed, 19 Jul 2023 23:48:14 +0000 (17:48 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 24 Jul 2023 15:34:10 +0000 (09:34 -0600)
commitb27e9891973ad855251ea9c64ac163319f950849
tree53d54c5a3b40c088a81faf58f1c72870f34d38bd
parent6a754c67520705eef890b88c38f1fbbd3e3c1067
buildman: Avoid globals in leaf functions

Rather than using the global thoughout each function, pass in these
values. This allows tests to use different values when testing the same
functions.

Improve a few comments while we are here.

No functional change is intended.

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