The Binman() function is very long. Split out the image code to make it more manageable. Signed-off-by: Simon Glass <sjg at chromium.org> --- tools/binman/control.py | 103 ++++++++++++++++++++++------------------ 1 file changed, 57 insertions(+), 46 deletions(-) Applied to u-boot-dm, thanks!