commit | d7fa4e4b22d8f493e6f643843f0a7aaf448d098a | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 20 12:24:13 2019 -0600 |
committer | Simon Glass <sjg@chromium.org> | Mon Jul 29 09:38:06 2019 -0600 |
tree | 8521b3dc158d876d2db161ead2a66689f7ecf9f4 | |
parent | 3ad804e6bd1d1b9d3a669a053796ae4341e235dc [diff] |
binman: Split control.WriteEntryToImage() into separate functions 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@chromium.org>