[PATCH 10/17] binman: Allow overriding BuildSectionData()

Simon Glass sjg at chromium.org
Thu Dec 2 22:17:59 CET 2021


This method is currently marked private. However it is useful to be able
to subclass it, since much of the entry_Section code can be reused. Rename
it.

Also document one confusing part of this code, so people can understand
how to add a test for this case.

Fix up a few pylint warnings to avoid regressing the score.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/etype/section.py | 16 ++++++++++++----
 tools/binman/ftest.py         |  2 +-
 2 files changed, 13 insertions(+), 5 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list