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

binman: Avoid calculated section data repeatedly



Refactor the implementation slightly so that section data is not
rebuilt when it is already available.

We still have GetData() set up to rebuild the section, since we don't
currently track when things change that might affect a section. For
example, if a blob is updated within a section, we must rebuild it.
Tracking that would be possible but is more complex, so it left for
another time.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 8f5ef89f
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