This has become quite long, so move it into a separate function. Signed-off-by: Simon Glass <sjg at chromium.org> --- tools/binman/control.py | 78 ++++++++++++++++++++++++----------------- 1 file changed, 46 insertions(+), 32 deletions(-) Applied to u-boot-dm, thanks!