summaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-10-26 17:40:26 -0600
committerSimon Glass <sjg@chromium.org>2020-10-29 14:42:59 -0600
commit2424057b2ad0eacdd2d81e35e7bea5df97802b8f (patch)
tree05ca2faf2306fcaf19a5bab678bf05887880c0da /test/py
parent8f5ef89f00133df6381e60f0415269ded39647c1 (diff)
downloadu-boot-2424057b2ad0eacdd2d81e35e7bea5df97802b8f.tar.gz
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py')
0 files changed, 0 insertions, 0 deletions