buildman: Move Boards-object code into a function
authorSimon Glass <sjg@chromium.org>
Wed, 19 Jul 2023 23:48:41 +0000 (17:48 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 24 Jul 2023 15:34:11 +0000 (09:34 -0600)
commit180c718a0450d3c5785534e4b5305b89a99b7b17
tree8049f39f706a11508b3f90544cd766f4b2116e9c
parent9df59e4c193d5a929f84154eeb9eba1efa15d834
buildman: Move Boards-object code into a function

Move the code which obtains a Boards object into its own function, to
reduce the size of the main function.

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