[PATCH v2 14/28] binman: Refactor _BuildSectionData()
Simon Glass
sjg at chromium.org
Fri Oct 30 04:33:56 CET 2020
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 <sjg at chromium.org>
---
(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!
More information about the U-Boot
mailing list