At present this function does the padding needed around an entry. It is easier to understand what is going on if we have a function that returns the contents of an entry, with padding included.
Refactor the code accordingly, adding a new GetPaddedData() method. Signed-off-by: Simon Glass <[email protected]> --- (no changes since v1) tools/binman/etype/section.py | 59 +++++++++++++++++++++++++++++------ tools/binman/image.py | 2 +- 2 files changed, 51 insertions(+), 10 deletions(-) Applied to u-boot-dm, thanks!

