diff options
author | Simon Glass <sjg@chromium.org> | 2020-10-26 17:40:11 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-10-29 14:42:59 -0600 |
commit | 17ea9f35e780d073820a770b8e65641761a31d1f (patch) | |
tree | 3c8cd49d42ab6a9101e90fa4e1c06d9c50040230 /tools/binman/image.py | |
parent | 4eec34c91f84d6c3915b300f0688f9b055e04dda (diff) |
binman: Move section-building code into a function
Create a new _BuildSectionData() to hold the code that is now in
GetData(), so that it is clearly separated from entry.GetData() base
function.
Separate out the 'pad-before' processing to make this easier to
understand.
Unfortunately this breaks the testDual test. Rather than squash several
patches into an un-reviewable glob, disable the test for now.
This also affects testSkipAtStartSectionPad(), although it still not
quite what it should be. Update that temporarily for now.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/image.py')
0 files changed, 0 insertions, 0 deletions