Skip to content
Commit d7fa4e4b authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 3ad804e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment