Move this into its own function to reduce the size of do_buildman(). Signed-off-by: Simon Glass <sjg at chromium.org> --- (no changes since v1) tools/buildman/control.py | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) Applied to u-boot-dm, thanks!