[U-Boot] [PATCH 51/53] binman: Split control.WriteEntryToImage() into separate functions
sjg at google.com
sjg at google.com
Mon Jul 29 21:21:51 UTC 2019
This code has three distinct phases:
1. The image is loaded and the state module is set up
2. The entry is written to the image
3. The image is repacked and written back to the file
Split the code out with three separate functions, one for each phase.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/control.py | 76 ++++++++++++++++++++++++++++++++---------
1 file changed, 59 insertions(+), 17 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list