[PATCH v2 15/28] binman: Move section padding to the parent

Simon Glass sjg at chromium.org
Fri Oct 30 04:33:55 CET 2020


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 <sjg at chromium.org>
---

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!


More information about the U-Boot mailing list