Each section is padded up to its size, if the contents are not large
enough. Move this logic from _BuildSectionData() to
GetPaddedDataForEntry() so that all the padding is in one place.

With this, the testDual test is working again, so enable it.

Signed-off-by: Simon Glass <[email protected]>
---

Changes in v2:
- Update testSkipAtStartSectionPad which now works as expected

 tools/binman/etype/section.py | 18 ++++++++++--------
 tools/binman/ftest.py         |  6 ++----
 2 files changed, 12 insertions(+), 12 deletions(-)

Applied to u-boot-dm, thanks!

Reply via email to