]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Move section padding to the parent
authorSimon Glass <sjg@chromium.org>
Mon, 26 Oct 2020 23:40:13 +0000 (17:40 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:59 +0000 (14:42 -0600)
commitd1d3ad7d1fea137a6fe0709458947ca84ffb124c
treef5e1df52b70b40a5b99c055a72579fe12db0cd75
parent4a655c9bd7d0e58206ed4417e8da31ad5da4926b
binman: Move section padding to the parent

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@chromium.org>
tools/binman/etype/section.py
tools/binman/ftest.py